:root {
    /* Premium Agricultural Palette - Gold & Black */
    --primary-color: #d4af37;
    /* Satin Gold */
    --secondary-color: #000000;
    /* Pure Black */
    --accent-color: #c5a028;
    /* Darker Gold */
    --gold-accent: #ffd700;
    /* Bright Gold */
    --bg-dark: #111111;
    /* Dark Background */

    --text-main: #111827;
    /* Gray 900 */
    --text-light: #4b5563;
    /* Gray 600 */
    --bg-light: #f9fafb;
    /* Gray 50 */
    --white: #ffffff;

    --weather-bg: rgba(0, 0, 0, 0.6);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.top-social-bar {
    z-index: 1200;
}

.top-social-bar a {
    transition: all 0.3s ease;
}

.top-social-bar a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .top-social-bar {
        justify-content: center !important;
        padding: 8px !important;
    }
    .top-social-bar .social-links-modern {
        gap: 25px !important;
    }
}


.weather-marquee-top {
    font-size: 0.7rem;
    color: #fff;
    background: var(--weather-bg);
    padding: 0;
    height: 26px;
    line-height: 26px;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1100;
    margin-bottom: 5px; /* Added slight gap below marquee */
}

.weather-marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 25s linear infinite;
}

@keyframes marquee-scroll {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

@media (max-width: 991px) {
    .navbar {
        position: relative;
        top: 0;
        background: var(--bg-dark) !important;
    }
}


.weather-marquee-item {
    margin-right: 50px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.weather-marquee-item i {
    color: var(--primary-color);
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    position: relative;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    /* Prevent accidental horizontal swipes/zooms */
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.btn-admin-modern {
    background: linear-gradient(135deg, #000 0%, #d4af37 100%);
    color: #fff !important;
    border: 1px solid var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    text-decoration: none !important;
    font-size: 0.65rem;
    display: inline-block;
}

.btn-admin-modern:hover {
    background: linear-gradient(135deg, #d4af37 0%, #000 100%);
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}



.search-container-modern {
    position: relative;
    max-width: 180px;
}

.search-input-modern {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    padding: 4px 35px 4px 15px;
    color: #fff;
    font-size: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input-modern:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.search-btn-modern {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.9rem;
    padding: 0;
    transition: all 0.2s ease;
}

.search-btn-modern:hover {
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

/* Contact Page Modern Theme */
.contact-form-dark {
    background: #000 !important;
    border: 1px solid var(--primary-color) !important;
    color: #fff !important;
}

.contact-form-dark .form-control {
    background: #111;
    border: 1px solid #333;
    color: #fff;
}

.contact-form-dark .form-control:focus {
    background: #1a1a1a;
    border-color: var(--primary-color);
    box-shadow: none;
}

.contact-form-dark .form-label {
    color: var(--primary-color);
}

.contact-form-dark h3 {
    color: var(--gold-accent) !important;
}


p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.navbar {
    padding: 0;
    transition: all 0.3s ease;
    z-index: 1050;
    background: transparent;
    backdrop-filter: blur(5px);
    position: absolute;
    top: 85px; /* Increased to give more breathing room from marquee */
    width: 100%;
}


.navbar-mini {
    position: relative;
    top: 0;
    background: transparent !important;
}

.header-container {
    width: 100%;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-top: 20px; /* Explicit space from the weather marquee above */
    font-size: 0.72rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 991px) {
    .header-top-row {
        display: none !important; /* redundant on mobile now */
    }
    .top-social-bar .social-links-modern i {
        font-size: 1.2rem;
    }
    .top-social-bar .top-contact-links i {
        font-size: 1.2rem;
    }
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-link {
    color: var(--white) !important;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 8px 15px !important;
    transition: all 0.3s ease;
}

/* Navbar Search Box */
.search-box-navbar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 20px;
    padding: 2px 10px;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.search-box-navbar:focus-within {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.search-input-navbar {
    background: none;
    border: none;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 5px;
    width: 80px;
    outline: none;
    transition: width 0.3s ease;
}

.search-input-navbar:focus {
    width: 120px;
}

.search-btn-navbar {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.95rem;
    padding: 0 5px;
    cursor: pointer;
}

.search-btn-navbar:hover {
    color: #fff;
}

@media (max-width: 991px) {
    .search-box-navbar {
        margin: 10px 0;
        width: 100%;
        justify-content: space-between;
    }
    .search-input-navbar {
        width: 100%;
    }
    .search-input-navbar:focus {
        width: 100%;
    }
}
.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
}

.contact-info-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 30px;
}

.contact-info-top a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-top i {
    color: var(--primary-color);
}

.social-top {
    display: flex;
    gap: 15px;
}

.social-top a {
    color: var(--white);
    opacity: 0.8;
    transition: all 0.3s;
}

.social-top a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
}

.navbar-brand img {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

@media (max-width: 991px) {
    .navbar {
        background: transparent !important;
        position: absolute !important;
        padding: 10px 0;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        margin-top: 1rem;
        border-radius: 12px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        color: #333 !important;
    }
}

/* Navigation */
/* The previous .navbar, .navbar-brand, .navbar-nav .nav-link, .navbar-nav .nav-link:hover, .navbar-nav .nav-link.active rules were replaced/moved */

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--gold-accent);
    transition: width 0.3s ease;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 1.5rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        margin-bottom: 1rem;
    }

    .navbar-brand img {
        max-height: 70px !important;
        width: auto;
    }
}

/* Navbar brand logo rule consolidated above */

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    background-color: var(--secondary-color);
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.hero-overlay {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 4rem 1.25rem;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    max-width: 50rem; /* Fixed width for better centering with sides */
    width: 100%;
    text-align: center;
}

/* Floating Side Links */
.hero-side-links {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 5;
}

.left-side {
    left: 4rem;
}

.right-side {
    right: 4rem;
    text-align: right;
}

.glass-link {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 180px;
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.glass-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateX(10px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.right-side .glass-link:hover {
    transform: translateX(-10px);
}

@media (max-width: 1200px) {
    .left-side { left: 2rem; }
    .right-side { right: 2rem; }
    .glass-link { padding: 0.8rem 1.5rem; min-width: 151px; }
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3);
    line-height: 1.1;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    margin-bottom: 1.5rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row.g-4 {
        justify-content: center;
        --bs-gutter-x: 1rem;
    }
}

/* Sections */
section {
    padding: 1.5rem 0;
    /* Further reduced vertical spacing */
}

@media (max-width: 991px) {
    section {
        padding: 3rem 0;
        /* Reduced on tablets/mobile */
    }
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

/* Cards */
.card {
    border: none;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
    /* Ensure cards in a row match height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    /* Standard property */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Inner Page Header */
header.bg-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%) !important;
    border-bottom: 3px solid var(--primary-color);
    padding: 6rem 0 4rem;
    /* More top padding for fixed nav */
    margin-top: 0;
    margin-bottom: 0;
}

/* Category Cards */
.category-card {
    display: block;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-color);
}

.category-card i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-card:hover i {
    color: var(--gold-accent);
}

.category-card h6 {
    margin: 0;
    font-weight: 600;
    color: inherit;
}

/* Partners Section */
.partners-section {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.partner-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer-corner-logo {
    position: absolute;
    bottom: 20px;
    opacity: 0.8;
    max-height: 60px;
    width: auto;
    transition: opacity 0.3s;
}

.footer-corner-logo:hover {
    opacity: 1;
}

.footer-logo-left {
    left: 20px;
}

.footer-logo-right {
    right: 20px;
}

@media (max-width: 991px) {
    .footer-corner-logo {
        position: static;
        display: inline-block;
        margin: 20px 10px 0;
        max-height: 50px;
    }

    footer .border-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        border-color: rgba(212, 175, 55, 0.3) !important;
    }
}

footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer a {
    color: rgba(255, 255, 255, 0.6);
}

footer a:hover {
    color: var(--gold-accent);
}

/* Mobile Responsiveness & Utility */
/* Mobile Responsiveness & Utility - Combined & Optimized */
@media (max-width: 991px) {

    html,
    body {
        position: relative;
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        touch-action: pan-y;
    }

    /* Fixed zoom-out issue by ensuring no horizontal overflow */
    * {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }

    section {
        overflow-x: hidden !important;
    }

    /* Navbar Brand Shrink */
    .navbar-brand img {
        max-height: 60px !important;
        width: auto;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    /* Hero Section Fix - Restore visibility and height */
    .hero-section,
    .carousel,
    .carousel-inner,
    .carousel-item {
        min-height: 85vh !important;
        min-height: 85dvh !important;
        height: auto;
        overflow: hidden !important;
    }

    .hero-overlay {
        padding: 9.5rem 1rem 3rem 1rem !important;
        /* Enhanced nav clearance */
        min-height: 85vh !important;
        min-height: 85dvh !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.85));
    }

    .hero-content h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 10px;
    }

    /* Hero Buttons */
    .hero-content .btn {
        width: 85% !important;
        margin: 0 auto 10px auto !important;
        display: block !important;
        padding: 0.85rem !important;
        font-size: 0.95rem;
    }

    /* Section spacing - Reduce white gaps */
    section {
        padding: 2rem 0 !important;
        width: 100%;
        overflow-x: hidden;
    }

    .section-title {
        margin-bottom: 2rem !important;
        font-size: 1.6rem !important;
    }

    /* Category Cards */
    .category-card {
        padding: 1.25rem 0.5rem !important;
        margin-bottom: 10px;
    }

    /* Partners Section */
    .partners-section {
        padding: 2rem 0 !important;
    }

    .partner-logo-container {
        gap: 1.2rem !important;
    }

    .partner-logo {
        max-height: 50px !important;
    }

    /* Category list horizontal scroll */
    #category-list {
        flex-direction: row !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        display: flex !important;
        padding: 10px 0 !important;
        gap: 8px;
        width: 100%;
    }

    #category-list .list-group-item {
        padding: 8px 18px !important;
        font-size: 0.85rem;
        flex: 0 0 auto;
    }

    /* Inner page header (urunler.html etc) */
    header.bg-primary {
        padding: 7rem 0 3rem !important;
        /* Proper clearance for nav */
    }

    /* Footer adjustments */
    footer {
        padding: 2.5rem 1rem 1rem 1rem !important;
        text-align: center;
    }

    .footer-corner-logo {
        max-height: 40px !important;
        position: static !important;
        display: inline-block;
        margin: 10px !important;
    }

    footer .row.gy-4 {
        text-align: center;
    }

    footer h5 {
        margin-top: 1.5rem;
    }

    /* Universal Image Fix */
    img {
        max-width: 100%;
        height: auto;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Announcements Section Styles */
.announcement-card {
    background: #1a1a1a;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.announcement-card:hover {
    transform: translateX(10px);
    background: #222;
}

.announcement-date {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.announcement-title {
    color: var(--gold-accent);
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Social Media Icons */
.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Sidebar Categories Styling - Premium Gold & Black */
#category-list {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #fff;
}

#category-list .list-group-item {
    background: #fff;
    border: none;
    border-bottom: 1px solid #f8f9fa;
    color: #444;
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 0.95rem;
}

#category-list .list-group-item:last-child {
    border-bottom: none;
}

#category-list .list-group-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fdfaf0;
    color: var(--primary-color);
    border-radius: 10px;
    margin-right: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#category-list .list-group-item:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateX(8px);
}

#category-list .list-group-item:hover i {
    background: var(--primary-color);
    color: #000;
}

#category-list .list-group-item.active {
    background: #fff !important;
    color: var(--primary-color) !important;
}

#category-list .list-group-item.active i {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.category-header-title {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.category-group-label {
    background: #fafafa;
    color: #999;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    padding: 1rem 1.5rem 0.5rem 1.5rem;
}

.card-header.bg-primary {
    background: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    padding: 1.25rem;
    border-bottom: 2px solid var(--primary-color);
}

.list-group-item.bg-light.small {
    background: #f8f9fa !important;
    color: #888 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 0.75rem 1.25rem !important;
}

/* Back Button Top Left */
.back-button-fixed {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
    padding: 10px 20px;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-color) !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-button-fixed:hover {
    background: var(--primary-color);
    color: var(--secondary-color) !important;
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 991px) {
    .back-button-fixed {
        top: 20px;
        left: 20px;
        padding: 8px 15px;
        font-size: 0.75rem;
    }
}

/* Modern Hero Button */
.btn-hero-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color) !important;
    background: linear-gradient(135deg, var(--gold-accent) 0%, #fff1b8 50%, var(--gold-accent) 100%);
    background-size: 200% auto;
    border: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
    text-decoration: none;
}

.btn-hero-modern i {
    transition: transform 0.4s ease;
}

.btn-hero-modern:hover {
    background-position: right center;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.6);
    color: #000 !important;
}

.btn-hero-modern:hover i {
    transform: translateX(8px);
}

/* Modern Footer Styles */
.modern-footer {
    background: linear-gradient(180deg, #111 0%, #000 100%);
    color: #ccc;
    font-family: 'Outfit', sans-serif;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    padding-top: 3rem;
}

.modern-footer .footer-brand {
    color: var(--gold-accent);
    font-weight: 800;
    letter-spacing: 2px;
}

.modern-footer .footer-header {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.modern-footer .footer-links a,
.modern-footer .contact-list a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.modern-footer .footer-links a:hover,
.modern-footer .contact-list a:hover {
    color: var(--gold-accent);
    padding-left: 5px;
}

.modern-footer .footer-links a.text-white {
    color: #fff !important;
}

.modern-footer .footer-links a.text-white:hover {
    color: var(--gold-accent) !important;
}

.modern-footer .contact-list i {
    color: var(--gold-accent);
    width: 25px;
}

.social-links-modern a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50%;
    margin-right: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.social-links-modern a:hover {
    background: var(--gold-accent);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.modern-footer .footer-bottom {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-left, .footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333333;
    font-weight: 500;
}

.footer-bottom-center {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-bottom-center a {
    color: var(--secondary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-center a:hover {
    color: var(--primary-color) !important;
}

.footer-ark-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-ark-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-bottom-content {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* Category Modern Icons */
.category-card-modern {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.category-card-modern .icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    color: var(--gold-accent);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.75rem;
}
.category-card-modern h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
}

.category-card-modern:hover .icon-wrapper {
    background: var(--gold-accent);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

/* Animated Banner Image Pan */
.animated-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    animation: panImage 20s linear infinite alternate;
}

@keyframes panImage {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@media (max-width: 991px) {
    .header-top-row {
        justify-content: center;
        padding: 5px 0;
    }
    .header-top-row .contact-top {
        display: none;
    }
    
    .hero-side-links {
        display: none;
    }
    
    .carousel-item {
        min-height: 60vh !important;
        height: auto;
    }
    
    .hero-overlay {
        min-height: 60vh !important;
        padding: 4rem 1rem 3rem;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-content p {
        font-size: 0.85rem !important;
        margin-bottom: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    .header-top-row .container {
        flex-direction: column;
        gap: 5px;
    }
    
    .header-top-row .contact-top {
        display: none !important;
    }

    .hero-content h1 {
        font-size: 1.5rem !important;
    }

    .btn-hero-modern {
        padding: 0.6rem 1.4rem;
        font-size: 0.75rem;
    }

    .category-card-modern {
        padding: 1rem 0.5rem;
    }
    
    .category-card-modern .icon-wrapper {
        width: 45px;
        height: 45px;
        margin-bottom: 0.75rem;
    }
    
    .category-card-modern h6 {
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.4rem !important;
    }
    
    .modern-footer {
        text-align: center;
    }
    
    .modern-footer .social-links-modern {
        justify-content: center;
        display: flex;
        margin-bottom: 2rem;
    }
    
    .contact-list li {
        text-align: center;
        justify-content: center;
    }
    
    .col-6 {
        width: 50%;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 2px 4px 15px rgba(0,0,0,0.3);
    z-index: 1050;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 2px 6px 20px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 30px;
        bottom: 15px;
        right: 15px;
    }
}