/*
Theme Name: Covaya Properties
Theme URI: https://kemetova.com.eg
Author: Kemetova
Author URI: https://kemetova.com.eg
Description: Custom ultra-luxury real estate theme engineered for Covaya Properties in the Red Sea, Egypt.
Version: 1.0.0
Text Domain: covaya
*/

/* --- High-End CSS Variables --- */
        :root {
            --brand-navy: #0B1B36; /* Reverted to Covaya Brand Navy */
            --brand-gold: #C5A059; /* Sophisticated gold accent */
            --brand-teal: #1CA3A3;
            --brand-orange: #F18F01;
            --white: #FFFFFF;
            --text-dark: #1A1A1A;
            --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: #F9F9F9; /* Light background for the rest of the site */
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
            /* Added min-height just so you can scroll to test the header effect */
            min-height: 150vh; 
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
        }

        a { text-decoration: none; color: inherit; transition: var(--transition); }

          /* 1. Top Bar */
        .top-bar {
            background-color: var(--brand-navy);
            color: #E0E0E0;
            height: 45px; /* STRICT HEIGHT */
            padding: 0 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.8rem;
            font-weight: 500;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1001; 
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

        .top-bar-contact, .top-bar-socials { display: flex; align-items: center; gap: 20px; }
        .top-bar a { display: flex; align-items: center; gap: 8px; transition: var(--transition); }
        .top-bar a:hover { color: var(--white); }
        .top-bar svg { color: var(--brand-gold); } /* Accent Color */

        /* 2. Main Header */
        header {
            position: fixed;
            top: 45px; /* MATCHES TOP BAR HEIGHT PERFECTLY */
            width: 100%;
            padding: 15px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: rgba(11, 27, 54, 0.4); 
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            transition: var(--transition);
        }

        header.scrolled {
            top: 0; /* Snaps to top on scroll */
            background: rgba(11, 27, 54, 0.98);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
            border-bottom: 1px solid transparent;
        }

        .brand-logo img { height: 45px; transition: var(--transition); }
        header.scrolled .brand-logo img { height: 40px; }

        nav ul { display: flex; gap: 30px; font-size: 0.85rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.5px; color: var(--white); }
        nav ul li a { position: relative; padding-bottom: 5px; color: #F0F0F0; }
        nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--brand-gold); transition: var(--transition); }
        nav ul li a:hover { color: var(--white); }
        nav ul li a:hover::after { width: 100%; }

        .header-controls { display: flex; gap: 15px; align-items: center; }
        .header-controls select { background: transparent; color: var(--white); border: none; cursor: pointer; text-transform: uppercase; outline: none; font-weight: 600; }
        .header-controls select option { background: var(--brand-navy); color: var(--white); }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            header { top: 0; }
            nav ul { display: none; }
        }

        /* --- 2. Cinematic Hero --- */
        .hero {
            height: 100vh;
            /* Navy gradient overlay on top of the Unsplash luxury image */
            background: linear-gradient(to bottom, rgba(11, 27, 54, 0.3), rgba(11, 27, 54, 0.8)), url('images/hero-bg.jpg') center/cover no-repeat;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 0 5%;
            position: relative;
        }

        .hero-content { 
            max-width: 950px; 
            margin-bottom: 50px; 
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s ease forwards 0.2s;
        }
        .hero-content h1 { 
            font-size: 4.5rem; 
            color: var(--white); 
            margin-bottom: 20px; 
            line-height: 1.1; 
            text-shadow: 0 10px 30px rgba(0,0,0,0.5); 
        }
        .hero-content p { 
            font-size: 1.25rem; 
            color: #EAEAEA; 
            font-weight: 300; 
            letter-spacing: 1px; 
        }

        /* Glassmorphism Smart Search Bar */
        .smart-search {
            background: rgba(255, 255, 255, 0.15);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.25);
            padding: 12px;
            border-radius: 60px;
            display: flex;
            gap: 12px;
            width: 100%;
            max-width: 1050px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.2);
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 1s ease forwards 0.4s;
        }

        .smart-search select, .smart-search button {
            padding: 20px 25px;
            border: none;
            border-radius: 50px;
            flex: 1;
            font-size: 0.95rem;
            outline: none;
            font-family: 'Montserrat', sans-serif;
            background: rgba(255, 255, 255, 0.95); 
            color: var(--brand-navy); 
            cursor: pointer; 
            font-weight: 500;
            appearance: none; /* Removes default browser arrow */
            transition: var(--transition);
        }

        .smart-search select:hover {
            background: var(--white);
        }

        /* Custom Dropdown Arrow */
        .select-wrapper {
            flex: 1;
            position: relative;
            display: flex;
        }
        .select-wrapper::after {
            content: '▼';
            font-size: 0.6rem;
            color: var(--brand-gold);
            position: absolute;
            right: 25px;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: none;
        }

        .smart-search select option {
            background: var(--white);
            color: var(--brand-navy);
        }

        .smart-search button {
            background: var(--brand-gold); 
            color: var(--white); 
            font-weight: 600; 
            text-transform: uppercase; 
            letter-spacing: 1.5px; 
            cursor: pointer; 
        }
        .smart-search button:hover { 
            background: #b08d4a; 
            transform: translateY(-2px); 
            box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        }

        @keyframes fadeUp {
            to { opacity: 1; transform: translateY(0); }
        }

        /* Responsive Layouts */
        @media (max-width: 1024px) {
            .hero-content h1 { font-size: 3.5rem; }
            nav ul { display: none; } /* On a real site this would be a burger menu */
        }

        @media (max-width: 768px) {
            .smart-search { flex-direction: column; border-radius: 20px; padding: 20px; }
            .smart-search select, .smart-search button { border-radius: 10px; }
            .hero-content h1 { font-size: 2.8rem; }
        }
        /* --- 3. Featured Destinations (Bento Grid) --- */
        .destinations {
            padding: 100px 5%;
            background-color: #F9F9F9;
        }

        .section-header {
            text-align: center;
            margin-bottom: 60px;
            max-width: 700px;
            margin-inline: auto;
        }

        .section-header h2 {
            font-size: 2.8rem;
            color: var(--brand-navy);
            margin-bottom: 15px;
        }

        .section-header p {
            color: #666666;
            font-size: 1.1rem;
        }

        .destination-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 300px 300px;
            gap: 20px;
        }

        .dest-card {
            position: relative;
            border-radius: 12px;
            overflow: hidden;
            cursor: pointer;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        }

        .dest-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .dest-card:hover img {
            transform: scale(1.08);
        }

        /* Make the first item take up more space for visual hierarchy */
        .dest-card.large {
            grid-row: span 2;
        }

        .dest-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(11,27,54,0.9) 0%, rgba(11,27,54,0.3) 50%, transparent 100%);
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 30px;
            color: var(--white);
            transition: var(--transition);
        }

        .dest-card:hover .dest-overlay {
            background: linear-gradient(to top, rgba(11,27,54,0.95) 0%, rgba(11,27,54,0.5) 60%, transparent 100%);
        }

        .dest-overlay h3 {
            font-size: 2rem;
            margin-bottom: 5px;
            transform: translateY(10px);
            transition: transform 0.4s ease;
        }
        
        .dest-overlay p {
            font-size: 0.95rem;
            color: var(--brand-gold);
            font-weight: 500;
            opacity: 0;
            transform: translateY(10px);
            transition: all 0.4s ease;
        }

        /* Hover animations for text reveal */
        .dest-card:hover .dest-overlay h3 {
            transform: translateY(0);
        }

        .dest-card:hover .dest-overlay p {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .destination-grid {
                grid-template-columns: 1fr 1fr;
                grid-template-rows: auto;
            }
            .dest-card.large {
                grid-row: auto;
                grid-column: span 2;
                height: 400px;
            }
            .dest-card {
                height: 300px;
            }
        }

        @media (max-width: 768px) {
            .destination-grid {
                grid-template-columns: 1fr;
            }
            .dest-card.large {
                grid-column: span 1;
                height: 350px;
            }
        }

        /* --- 4. Spotlight Projects (4-Column Grid) --- */
        .projects {
            padding: 100px 5%;
            background-color: var(--white); /* Crisp white to contrast the light gray destinations */
        }

        /* 4 Columns on Desktop */
        .grid-4 {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 60px;
        }

        .project-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.04);
            transition: var(--transition);
            position: relative;
            cursor: pointer;
            border: 1px solid #f0f0f0;
            display: flex;
            flex-direction: column;
        }

        .project-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .project-img {
            height: 240px;
            position: relative;
            overflow: hidden;
        }

        .project-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .project-card:hover .project-img img {
            transform: scale(1.08);
        }

        .project-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(11, 27, 54, 0.9);
            backdrop-filter: blur(5px);
            color: var(--brand-gold);
            padding: 8px 15px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 2;
        }

        .project-content {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .project-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--brand-navy);
            margin-bottom: 8px;
        }

        .project-location {
            color: #666666;
            font-size: 0.85rem;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .project-price {
            font-weight: 600;
            color: var(--brand-navy);
            font-size: 1.1rem;
            border-top: 1px solid #eee;
            padding-top: 15px;
            margin-top: auto; /* Pushes price to the bottom to align all cards */
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .project-price span {
            color: var(--brand-gold);
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* Call to Action Button */
        .center-cta {
            text-align: center;
        }

        .btn-outline {
            display: inline-block;
            padding: 18px 45px;
            border: 2px solid var(--brand-navy);
            color: var(--brand-navy);
            font-weight: 600;
            border-radius: 50px;
            text-transform: uppercase;
            font-size: 0.9rem;
            letter-spacing: 1.5px;
            transition: var(--transition);
        }

        .btn-outline:hover {
            background: var(--brand-navy);
            color: var(--brand-gold);
        }

        /* Responsive adjustments */
        @media (max-width: 1200px) {
            .grid-4 { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 900px) {
            .grid-4 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 600px) {
            .grid-4 { grid-template-columns: 1fr; }
        }

        /* --- 5. Properties for Sale (3-Column Grid) --- */
        .properties-section {
            padding: 100px 5%;
            /* Alternating background color to separate it from the Projects section */
            background-color: #F9F9F9; 
        }

        /* 3 Columns on Desktop */
        .grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 35px;
            margin-bottom: 60px;
        }

        .prop-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            border: 1px solid #eaeaea;
        }

        .prop-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .prop-img-wrapper {
            position: relative;
            height: 280px;
            overflow: hidden;
        }

        .prop-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        .prop-card:hover .prop-img-wrapper img {
            transform: scale(1.08);
        }

        /* Using teal for "For Sale" to add a pop of luxury color */
        .status-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--brand-teal);
            color: var(--white);
            padding: 8px 16px;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .prop-type-badge {
            position: absolute;
            bottom: -15px;
            right: 20px;
            background: var(--brand-navy);
            color: var(--brand-gold);
            padding: 6px 15px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            z-index: 3;
            border: 2px solid var(--white);
        }

        .prop-info {
            padding: 35px 25px 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .prop-price {
            font-family: 'Playfair Display', serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--brand-navy);
            margin-bottom: 5px;
        }

        .prop-title {
            font-size: 1.15rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 10px;
            line-height: 1.4;
        }

        .prop-desc {
            color: #666666;
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 20px;
            /* Truncates text to 2 lines for uniform card heights */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Property Meta Data (Icons) */
        .prop-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-top: 1px solid #eee;
            border-bottom: 1px solid #eee;
            margin-bottom: 20px;
            margin-top: auto; /* Pushes the meta and button to the bottom */
        }

        .meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--brand-navy);
            font-size: 0.85rem;
            font-weight: 600;
        }

        .meta-item svg {
            color: var(--brand-gold);
        }

        .btn-solid {
            display: block;
            text-align: center;
            padding: 15px;
            background-color: var(--brand-navy);
            color: var(--white);
            border-radius: 4px;
            font-weight: 600;
            text-transform: uppercase;
            font-size: 0.85rem;
            letter-spacing: 1px;
            transition: var(--transition);
        }

        .btn-solid:hover {
            background-color: var(--brand-gold);
            color: var(--brand-navy);
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .grid-3 { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .grid-3 { grid-template-columns: 1fr; }
        }

        /* --- 8. Trust & Social Proof (Split Section) --- */
        .trust-section {
            padding: 100px 5%;
            background-color: var(--brand-navy);
            color: var(--white);
            grid-template-columns: 1fr 1fr;
            gap: 80px;
            align-items: center;
        }

        /* Left Side: Why Choose Covaya */
        .why-covaya h2 {
            font-size: 2.8rem;
            color: var(--white);
            margin-bottom: 20px;
        }

        .why-covaya > p {
            color: #E0E0E0;
            font-size: 1.1rem;
            margin-bottom: 40px;
            line-height: 1.8;
        }

        .feature-list {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }

        .feature-item {
            align-items: flex-start;
            gap: 20px;
        }

        .feature-icon {
            background: rgba(255, 255, 255, 0.1);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            color: var(--brand-gold);
            border: 1px solid rgba(197, 160, 89, 0.3);
        }

        .feature-text h4 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 5px;
            color: var(--brand-gold);
        }

        .feature-text p {
            font-size: 0.9rem;
            color: #CCCCCC;
            line-height: 1.5;
        }

        /* Right Side: Testimonials */
        .testimonials-wrapper {
            position: relative;
        }

        .testimonial-card {
            background: var(--white);
            color: var(--text-dark);
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            position: relative;
        }

        /* Decorative Quote Mark */
        .testimonial-card::before {
            content: '“';
            font-family: 'Playfair Display', serif;
            font-size: 8rem;
            color: rgba(197, 160, 89, 0.15); /* Faint gold */
            position: absolute;
            top: -20px;
            left: 20px;
            line-height: 1;
            z-index: 0;
        }

        .testimonial-text {
            font-size: 1.15rem;
            font-style: italic;
            line-height: 1.8;
            margin-bottom: 30px;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            gap: 15px;
            position: relative;
            z-index: 1;
        }

        .author-img {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-gold);
        }

        .author-info h4 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.05rem;
            color: var(--brand-navy);
            margin-bottom: 2px;
        }

        .author-info p {
            font-size: 0.85rem;
            color: #666;
        }

        .star-rating {
            color: var(--brand-gold);
            font-size: 0.9rem;
            margin-bottom: 15px;
            position: relative;
            z-index: 1;
        }

        /* Secondary stacked card for depth */
        .testimonial-card.secondary {
            position: absolute;
            bottom: -30px;
            right: -30px;
            width: 100%;
            z-index: -1;
            opacity: 0.4;
            transform: scale(0.95);
            background: rgba(255,255,255,0.8);
        }

        /* Responsive adjustments */
        @media (max-width: 968px) {
            .trust-section {
                grid-template-columns: 1fr;
                gap: 60px;
            }
            .testimonial-card.secondary {
                display: none; /* Hide the stacked effect on mobile to save space */
            }
        }

        /* --- 9. Latest News & Tips (Blog Grid) --- */
        .blog-section {
            padding: 100px 5%;
            background-color: #F9F9F9; /* Off-white for contrast against the Navy trust section */
        }

        .blog-card {
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.04);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            border: 1px solid #eaeaea;
        }

        .blog-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .blog-img {
            height: 220px;
            overflow: hidden;
            position: relative;
        }

        .blog-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease;
        }

        .blog-card:hover .blog-img img {
            transform: scale(1.08);
        }

        .blog-category {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--brand-navy);
            color: var(--brand-gold);
            padding: 5px 12px;
            border-radius: 4px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            z-index: 2;
        }

        .blog-content {
            padding: 30px 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .blog-meta {
            font-size: 0.8rem;
            color: var(--brand-orange);
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
        }

        .blog-title {
            font-family: 'Playfair Display', serif;
            font-size: 1.3rem;
            color: var(--brand-navy);
            margin-bottom: 15px;
            line-height: 1.4;
        }

        .blog-excerpt {
            color: #666666;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 25px;
        }

        .read-more {
            margin-top: auto;
            color: var(--brand-navy);
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            transition: var(--transition);
        }

        .read-more:hover {
            color: var(--brand-gold);
        }

        /* --- 10. Developers Carousel (Pure CSS) --- */
        .developers-section {
            padding: 80px 0;
            background-color: var(--white);
            border-top: 1px solid #eaeaea;
            overflow: hidden;
        }

        .developers-section .section-header {
            margin-bottom: 40px;
        }

        .carousel-container {
            width: 100%;
            overflow: hidden;
            position: relative;
            /* Fades the edges for a seamless scrolling effect */
            -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
            mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
        }

        .carousel-track {
            display: flex;
            align-items: center;
            width: calc(250px * 12); /* 6 original + 6 duplicated logos for infinite scroll */
            animation: scroll 30s linear infinite;
        }

        .carousel-track:hover {
            animation-play-state: paused; /* Pauses when user hovers over a logo */
        }

        .developer-logo {
            width: 250px;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 30px;
        }

        /* Styling the placeholder logos to look premium */
        .developer-logo img {
            max-width: 100%;
            max-height: 60px;
            filter: grayscale(100%) opacity(40%);
            transition: var(--transition);
            cursor: pointer;
        }

        .developer-logo img:hover {
            filter: grayscale(0%) opacity(100%);
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-250px * 6)); } /* Scrolls half the width to reset perfectly */
        }

        /* --- 12. Main Footer & Copyright (Updated) --- */
        footer {
            background-color: #071122; /* Deep depth color */
            padding: 80px 5% 30px;
            color: #999999;
        }

        .footer-grid {
            display: grid;
            /* 4 columns: Brand takes slightly more space, Contact takes the most on the right */
            grid-template-columns: 2fr 1fr 1fr 1.5fr; 
            gap: 40px;
            margin-bottom: 60px;
        }

        .footer-brand img {
            height: 50px;
            margin-bottom: 25px;
        }

        .footer-brand p {
            font-size: 0.95rem;
            line-height: 1.8;
            max-width: 320px;
        }

        .footer-col h4 {
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            font-size: 1.1rem;
            margin-bottom: 25px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-col ul {
            list-style: none;
        }

        .footer-col ul li {
            margin-bottom: 12px;
        }

        .footer-col ul li a {
            color: #999999;
            font-size: 0.95rem;
            transition: var(--transition);
            display: inline-block;
        }

        .footer-col ul li a:hover {
            color: var(--brand-gold);
            transform: translateX(5px); /* Subtle hover slide */
        }

        /* Specialized styling for the Contact column */
        .footer-contact-info li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        
        .footer-contact-info span {
            color: var(--brand-gold);
            font-weight: 600;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 25px;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255,255,255,0.05);
            color: var(--brand-gold);
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--brand-gold);
            color: var(--brand-navy);
            transform: translateY(-3px);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9rem;
            flex-wrap: wrap;
            gap: 15px;
        }

        .footer-bottom a {
            color: var(--brand-gold);
            font-weight: 600;
        }

        .footer-bottom a:hover {
            color: var(--white);
        }

        /* Responsive Footer Adjustments */
        @media (max-width: 1024px) {
            .footer-grid {
                grid-template-columns: 1fr 1fr; /* Drops to 2 columns on tablets */
            }
        }

        @media (max-width: 600px) {
            .footer-grid {
                grid-template-columns: 1fr; /* Stacks vertically on mobile */
            }
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }

          /* ==========================================================================
           PROPERTY DETAILS STYLING
           ========================================================================== */

        /* Header Spacing */
        .page-spacing { padding-top: 130px; padding-bottom: 40px; padding-left: 5%; padding-right: 5%; }

        /* Breadcrumbs & Title Area */
        .breadcrumbs { font-size: 0.85rem; color: #666; margin-bottom: 20px; }
        .breadcrumbs a { color: var(--brand-navy); font-weight: 500; }
        .breadcrumbs a:hover { color: var(--brand-gold); }

        .property-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 30px; }
        .property-header-left h1 { font-size: 2.8rem; color: var(--brand-navy); margin-bottom: 10px; line-height: 1.2; }
        .property-header-left p { font-size: 1.1rem; color: #666; display: flex; align-items: center; gap: 8px; }
        .property-header-left p svg { color: var(--brand-gold); }
        
        .property-header-right { text-align: right; }
        .property-price-tag { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--brand-navy); line-height: 1; }
        .status-badges { display: flex; gap: 10px; justify-content: flex-end; margin-bottom: 10px; }
        .badge { padding: 6px 15px; border-radius: 4px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
        .badge.sale { background: var(--brand-teal); color: var(--white); }
        .badge.type { background: var(--brand-navy); color: var(--brand-gold); border: 1px solid var(--brand-gold); }

        /* Airbnb-Style Image Gallery */
        .gallery-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 250px 250px;
            gap: 15px;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 50px;
        }
        .gallery-img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; transition: filter 0.3s ease; }
        .gallery-img:hover { filter: brightness(0.9); }
        .gallery-main { grid-row: span 2; }

        /* Main Layout: 70/30 Split */
        .property-container { display: flex; gap: 60px; max-width: 1400px; margin: 0 auto; }
        .property-main { flex: 1; }
        .property-sidebar { width: 380px; flex-shrink: 0; }

        /* Quick Features Bar */
        .quick-features {
            display: flex; flex-wrap: wrap; gap: 40px; padding: 25px 0;
            border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; margin-bottom: 40px;
        }
        .feature-item { align-items: center; gap: 12px; }
        .feature-icon { width: 45px; height: 45px; background: rgba(197, 160, 89, 0.1); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--brand-gold); }
        .feature-text h4 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; color: var(--brand-navy); margin-bottom: 2px; }
        .feature-text p { font-size: 0.85rem; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }

        /* Content Sections */
        .content-section { margin-bottom: 50px; }
        .content-section h2 { font-size: 1.8rem; color: var(--brand-navy); margin-bottom: 25px; padding-bottom: 10px; border-bottom: 2px solid #eaeaea; }
        .content-section p { font-size: 1.05rem; color: #555; margin-bottom: 15px; line-height: 1.8; }

        /* Amenities List */
        .amenities-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
        .amenities-list li { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: #444; }
        .amenities-list li svg { color: var(--brand-teal); flex-shrink: 0; }

        /* Sticky Sidebar Form */
        .sticky-wrapper { position: sticky; top: 100px; }
        .lead-form-box { background: var(--white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); border: 1px solid #eaeaea; }
        .lead-form-box h3 { font-size: 1.6rem; color: var(--brand-navy); margin-bottom: 10px; }
        .lead-form-box p { font-size: 0.95rem; color: #666; margin-bottom: 25px; }
        
        .agent-profile { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #eaeaea; }
        .agent-profile img { width: 65px; height: 65px; border-radius: 50%; object-fit: cover; border: 2px solid var(--brand-gold); }
        .agent-profile-info h4 { font-size: 1.1rem; color: var(--brand-navy); margin-bottom: 3px; }
        .agent-profile-info p { font-size: 0.85rem; color: var(--brand-gold); font-weight: 600; }

        .form-group { margin-bottom: 15px; }
        .form-group input, .form-group textarea {
            width: 100%; padding: 15px; border-radius: 6px; border: 1px solid #ddd;
            background: #fdfdfd; color: var(--text-dark); font-family: 'Montserrat', sans-serif; outline: none; transition: var(--transition);
        }
        .form-group input:focus, .form-group textarea:focus { border-color: var(--brand-gold); box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1); }
        
        .btn-submit {
            width: 100%; padding: 18px; background: var(--brand-navy); color: var(--white); border: none; border-radius: 6px;
            font-weight: 700; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: var(--transition); margin-top: 10px;
        }
        .btn-submit:hover { background: var(--brand-gold); color: var(--brand-navy); }
        .btn-whatsapp {
            display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; padding: 15px; margin-top: 15px;
            background: #25D366; color: var(--white); border-radius: 6px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
        }
        .btn-whatsapp:hover { background: #1ebe57; }

        /* ==========================================================================
           SIMILAR PROPERTIES (Reused CSS)
           ========================================================================== */
        .related-section { padding: 80px 5%; background-color: var(--brand-navy); color: var(--white); margin-top: 60px; }
        .related-section h2 { font-size: 2.2rem; margin-bottom: 40px; color: var(--white); }
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
        .prop-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: var(--transition); display: flex; flex-direction: column; color: var(--text-dark); }
        .prop-card:hover { transform: translateY(-8px); }
        .prop-img-wrapper { position: relative; height: 240px; overflow: hidden; }
        .prop-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
        .prop-card:hover .prop-img-wrapper img { transform: scale(1.08); }
        .status-badge { position: absolute; top: 15px; left: 15px; background: var(--brand-teal); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; z-index: 2; }
        .prop-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
        .prop-price { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 5px; }
        .prop-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 15px; }
        .prop-meta { display: flex; justify-content: space-between; padding: 15px 0 0; border-top: 1px solid #eee; margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--brand-navy); }
        .meta-item { display: flex; align-items: center; gap: 5px; }
        .meta-item svg { color: var(--brand-gold); }

        /* Responsive */
        @media (max-width: 1024px) {
            .property-container { flex-direction: column; }
            .property-sidebar { width: 100%; }
            .gallery-grid { grid-template-columns: 1fr; grid-template-rows: 350px 200px 200px; }
            .gallery-main { grid-row: span 1; }
        }
        @media (max-width: 768px) {
            .property-header { flex-direction: column; gap: 20px; }
            .property-header-right { text-align: left; }
            .status-badges { justify-content: flex-start; }
            .property-header-left h1 { font-size: 2.2rem; }
            .quick-features { gap: 20px; }
            .feature-item { width: 45%; }
        }

                /* ==========================================================================
           PROJECT DETAILS STYLING
           ========================================================================== */

        /* Hero Image */
        .project-hero {
            height: 70vh;
            background: linear-gradient(to bottom, rgba(11,27,54,0.2), rgba(11,27,54,0.8)), url('https://images.unsplash.com/photo-1613490908571-9d6da04af255?auto=format&fit=crop&w=1920&q=80') center/cover;
            display: flex;
            align-items: flex-end;
            padding: 50px 5%;
            color: var(--white);
        }

        .hero-title h1 { font-size: 3.5rem; margin-bottom: 10px; }
        .hero-title p { font-size: 1.1rem; color: var(--brand-gold); font-weight: 500; display: flex; align-items: center; gap: 8px;}

        /* Breadcrumbs */
        .breadcrumbs { padding: 20px 5%; font-size: 0.85rem; color: #666; background: var(--white); border-bottom: 1px solid #eaeaea; }
        .breadcrumbs a { color: var(--brand-navy); font-weight: 500; }
        .breadcrumbs a:hover { color: var(--brand-gold); }

        /* Main Layout: 70/30 Split */
        .project-container {
            display: flex;
            gap: 50px;
            padding: 60px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .project-main { flex: 1; }
        .project-sidebar { width: 380px; flex-shrink: 0; }

        /* Quick Info Grid */
        .quick-info {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            background: var(--white);
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.03);
            margin-bottom: 40px;
            border: 1px solid #eaeaea;
        }
        .info-box h4 { font-family: 'Montserrat', sans-serif; font-size: 0.8rem; color: #888; text-transform: uppercase; margin-bottom: 5px; }
        .info-box p { font-size: 1.1rem; color: var(--brand-navy); font-weight: 600; }

        /* Content Sections */
        .content-section { margin-bottom: 50px; }
        .content-section h2 { font-size: 2rem; color: var(--brand-navy); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #eaeaea; }
        .content-section p { font-size: 1.05rem; color: #555; margin-bottom: 15px; }

        /* Amenities Grid */
        .amenities-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
        .amenity-item {
            display: flex;
            align-items: center;
            gap: 12px;
            background: var(--white);
            padding: 15px;
            border-radius: 6px;
            border: 1px solid #eaeaea;
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--brand-navy);
        }
        .amenity-item svg { color: var(--brand-gold); }

        /* Sticky Sidebar Form */
        .sticky-wrapper {
            position: sticky;
            top: 100px; /* Sticks just below the header */
        }

        .lead-form-box {
            background: var(--brand-navy);
            color: var(--white);
            padding: 40px 30px;
            border-radius: 8px;
            box-shadow: 0 15px 30px rgba(11, 27, 54, 0.2);
        }
        .lead-form-box h3 { font-size: 1.8rem; color: var(--brand-gold); margin-bottom: 10px; }
        .lead-form-box p { font-size: 0.9rem; color: #ccc; margin-bottom: 25px; }
        
        .form-group { margin-bottom: 15px; }
        .form-group input, .form-group select {
            width: 100%;
            padding: 15px;
            border-radius: 4px;
            border: 1px solid rgba(255,255,255,0.2);
            background: rgba(255,255,255,0.05);
            color: var(--white);
            font-family: 'Montserrat', sans-serif;
            outline: none;
        }
        .form-group input::placeholder { color: #888; }
        
        .btn-submit {
            width: 100%;
            padding: 18px;
            background: var(--brand-gold);
            color: var(--brand-navy);
            border: none;
            border-radius: 4px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 10px;
        }
        .btn-submit:hover { background: var(--white); }

        .agent-card {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-top: 30px;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        .agent-card img { width: 60px; height: 60px; border-radius: 50%; border: 2px solid var(--brand-gold); }
        .agent-info h4 { font-size: 1rem; color: var(--white); margin-bottom: 2px; }
        .agent-info p { font-size: 0.8rem; color: var(--brand-gold); }

        /* Responsive */
        @media (max-width: 1024px) {
            .project-container { flex-direction: column; }
            .project-sidebar { width: 100%; }
            .quick-info { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 768px) {
            .hero-title h1 { font-size: 2.5rem; }
        }

        /* ==========================================================================
           FULL WIDTH BOTTOM SECTIONS (Units, Guides, Related)
           ========================================================================== */
        
        .full-width-section {
            padding: 80px 5%;
            background-color: var(--white);
            border-top: 1px solid #eaeaea;
        }

        .full-width-section.bg-light {
            background-color: var(--bg-light);
        }

        .section-header {
            margin-bottom: 40px;
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .section-header h2 {
            font-size: 2.2rem;
            color: var(--brand-navy);
            margin-bottom: 5px;
        }

        .section-header p {
            color: #666;
            font-size: 1.05rem;
        }

        .view-all-btn {
            padding: 12px 25px;
            border: 1px solid var(--brand-navy);
            color: var(--brand-navy);
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .view-all-btn:hover {
            background: var(--brand-navy);
            color: var(--brand-gold);
        }

        /* 3-Column & 4-Column Grids */
        .grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
        .grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }

        /* Reused Property Card */
        .prop-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition); border: 1px solid #eaeaea; display: flex; flex-direction: column; }
        .prop-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
        .prop-img-wrapper { position: relative; height: 240px; overflow: hidden; }
        .prop-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
        .prop-card:hover .prop-img-wrapper img { transform: scale(1.08); }
        .status-badge { position: absolute; top: 15px; left: 15px; background: var(--brand-teal); color: var(--white); padding: 5px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; z-index: 2; }
        .prop-info { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
        .prop-price { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 5px; }
        .prop-title { font-size: 1.1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 15px; }
        .prop-meta { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid #eee; margin-top: auto; font-size: 0.85rem; font-weight: 600; color: var(--brand-navy); }
        .meta-item { display: flex; align-items: center; gap: 5px; }
        .meta-item svg { color: var(--brand-gold); }

        /* Reused Blog Card */
        .blog-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: var(--transition); border: 1px solid #eaeaea; }
        .blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
        .blog-img { height: 200px; overflow: hidden; position: relative; }
        .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .blog-card:hover .blog-img img { transform: scale(1.08); }
        .blog-content { padding: 25px; }
        .blog-meta { font-size: 0.75rem; color: var(--brand-orange); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; }
        .blog-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--brand-navy); margin-bottom: 15px; line-height: 1.4; }
        .read-more { color: var(--brand-navy); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; }

        /* Reused Project Card */
        .project-card { background: var(--white); border-radius: 8px; overflow: hidden; border: 1px solid #eaeaea; transition: var(--transition); }
        .project-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
        .project-img { height: 200px; position: relative; overflow: hidden; }
        .project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .project-card:hover .project-img img { transform: scale(1.08); }
        .project-badge { position: absolute; top: 15px; left: 15px; background: rgba(11, 27, 54, 0.9); color: var(--brand-gold); padding: 5px 12px; border-radius: 4px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; z-index: 2; }
        .project-content { padding: 20px; }
        .project-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--brand-navy); margin-bottom: 5px; }
        .project-location { color: #666; font-size: 0.8rem; margin-bottom: 15px; }
        .project-price { font-weight: 600; color: var(--brand-navy); font-size: 1rem; border-top: 1px solid #eee; padding-top: 15px; display: flex; justify-content: space-between; }
        .project-price span { color: var(--brand-gold); font-size: 0.75rem; text-transform: uppercase; }

        /* --- Navigation & Dropdown Styling --- */
nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
    list-style: none;
}

nav ul li a {
    position: relative;
    padding: 8px 0;
    color: #F0F0F0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

/* Gold underline on top-level hover */
nav > ul > li > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--brand-gold);
    transition: var(--transition);
}

nav > ul > li:hover > a {
    color: var(--white);
}

nav > ul > li:hover > a::after {
    width: 100%;
}

/* Subtle Dropdown Indicator Chevron for Parent Items */
nav ul li.menu-item-has-children > a::after {
    display: none; /* Disables standard underline on parent if you prefer chevron animation */
}

nav ul li.menu-item-has-children > a {
    padding-right: 12px;
}

nav ul li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 0.65rem;
    color: var(--brand-gold);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

nav ul li.menu-item-has-children:hover > a::after {
    transform: translateY(-50%) rotate(180deg);
}

/* --- Dropdown Submenu Container --- */
nav ul .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 230px;
    background: rgba(11, 27, 54, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    padding: 8px 0;
    display: flex;
    flex-direction: column; /* Stacks items vertically */
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1050;
}

/* Invisible bridge preventing menu from closing when moving cursor */
nav ul .sub-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

/* Reveal Dropdown on Hover */
nav ul li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Submenu Items & Links */
nav ul .sub-menu li {
    width: 100%;
}

nav ul .sub-menu li a {
    display: block;
    padding: 12px 20px;
    color: #D9D9D9;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

nav ul .sub-menu li:last-child a {
    border-bottom: none;
}

/* Submenu Item Hover */
nav ul .sub-menu li a:hover {
    background: rgba(197, 160, 89, 0.12);
    color: var(--brand-gold);
    padding-left: 25px; /* Subtle slide effect */
}

/* Multi-level nested dropdowns (3rd level) */
nav ul .sub-menu .menu-item-has-children:hover > .sub-menu {
    top: 0;
    left: 100%;
}