/* --- 1. THEME VARIABLES --- */
        :root {
            /* Brand Identity Colors */
            --brand-navy: #022e47;
            --brand-cream: #FAF8F1;
            --brand-orange: #f68f1d;
            --brand-pink: #ea3b60;
            
            /* Default LIGHT Theme Mapping */
            --bg-body: var(--brand-cream);
            --text-main: var(--brand-navy);
            --text-muted: rgba(2, 46, 71, 0.6);
            --nav-bg-scrolled: rgba(250, 248, 241, 0.95);
            --nav-mobile-bg: #FAF8F1;
            --nav-mobile-shadow: rgba(0,0,0,0.1);
            
            /* Footer is always dark */
            --footer-bg: var(--brand-navy);
            
            --vf-grad: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
            
            --font-display: 'Bakbak One', cursive;
            --font-body: 'Work Sans', sans-serif;
        }

        /* DARK THEME OVERRIDES */
        [data-theme="dark"] {
            --bg-body: #011a2a; 
            --text-main: #e6e6e6;
            --text-muted: rgba(255, 255, 255, 0.6);
            --nav-bg-scrolled: rgba(1, 26, 42, 0.95);
            --nav-mobile-bg: #022e47;
            --nav-mobile-shadow: rgba(0,0,0,0.4);
        }

        /* --- 2. GLOBAL STYLES --- */
        body {
            background-color: var(--bg-body);
            font-family: var(--font-body);
            color: var(--text-main);
            overflow-x: hidden;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        h1, h2, h3, h4, h5, h6 {
              font-family: var(--font-display);
              text-transform: uppercase;
              font-weight: 600; /* Semi-bold globally */
        }

        .text-gradient {
            background: var(--vf-grad);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        /* --- 3. AMBIENT BACKGROUND --- */
        .ambient-light {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            z-index: -1; pointer-events: none; overflow: hidden;
            background: var(--bg-body);
            transition: background-color 0.3s ease;
        }

        .orb {
            position: absolute; border-radius: 50%;
            filter: blur(80px); opacity: 0.5;
            animation: floatOrb 20s infinite ease-in-out;
        }

        .orb-1 { width: 100vw; height: 100vw; background: var(--brand-orange); top: -10%; left: -10%; opacity: 0.15;}
        .orb-2 { width: 30vw; height: 30vw; background: var(--brand-pink); bottom: 10%; right: -5%; animation-delay: -5s; opacity: 0.15;}
        .orb-3 { width: 60vw; height: 60vw; background: #ff5500; top: 40%; left: 40%; animation-delay: -10s; opacity: 0.1;}

        @keyframes floatOrb {
            0%, 100% { transform: translate(0, 0) scale(1); }
            50% { transform: translate(30px, -50px) scale(1.1); }
        }

        /* --- 4. NAVBAR STYLING --- */
		
        .navbar-prestige {
            background: transparent; 
            padding: 1.5rem 0;
            transition: all 0.4s ease-in-out;
        }

        .navbar-prestige.scrolled {
            padding: 15px 0;
            background: var(--nav-bg-scrolled);
            backdrop-filter: blur(12px);
            box-shadow: 0 4px 20px rgba(0,0,0, 0.1);
        }
        
        [data-theme="dark"] .navbar-brand .logo-text {
            background: linear-gradient(120deg, #f68f1d 40%, #ffffff 50%, #ea3b60 75%, #f68f1d 65%);
            background-size: 200% auto;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* --- Updated Nav Link Styling --- */
		.nav-link {
			font-family: var(--font-body); 
			font-weight: 700; /* Changed from 500 to 700 to make the text bold */
			color: var(--text-main) !important;
			margin: 0 10px; 
			position: relative; 
			transition: color 0.3s ease-in-out;
			padding-bottom: 5px; /* Adds breathing room between the text and the underline */
		}

		/* Orange text color when hovered or active */
			.nav-link:hover, .nav-link.active { 
			color: #f68f1d !important; 
		}

		/* Setup for the gradient underline */
		.nav-link::after {
			content: '';
			position: absolute;
			width: 0; /* Starts at 0 width (invisible) */
			height: 3px; /* Thickness of the underline */
			bottom: 0;
			left: 0;
    
			/* Using your specified gradient */
			background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange) 65%, var(--brand-pink) 100%);
			transition: width 0.3s ease-in-out;
			border-radius: 2px; /* Optional: rounds the edges of the underline */
			}

			/* Expand the underline to 100% width on hover and active states */
			.nav-link:hover::after, 
			.nav-link.active::after {
			width: 100%;
		}

        /* --- 5. NAVBAR CONTACT BUTTON (Smaller & Static) --- */
		.btn-nav-contact {
			background: var(--vf-grad); 
			color: white !important; 
			padding: 8px 22px; /* Decreased padding to make it smaller */
			border-radius: 50px; 
			text-decoration: none; 
			font-family: var(--font-body);
			font-weight: 700; /* Uses the bold rule */
			font-size: 0.8rem; /* Scaled down font size */
			letter-spacing: 1px;
			text-transform: uppercase; 
			display: inline-flex; 
			align-items: center; 
			border: none; 
			position: relative; 
			z-index: 1; 
			transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
			box-shadow: 0 4px 10px rgba(246, 143, 29, 0.2);
			margin-right: 15px; /* Spacing for the theme toggle */
		}

		.btn-nav-contact:hover { 
			transform: translateY(-2px); 
			color: white; 
			box-shadow: 0 8px 20px rgba(246, 143, 29, 0.4); 
		}

		@media (max-width: 991px) {
			.btn-nav-contact { 
				margin-right: 0; 
				margin-bottom: 15px; 
				width: 100%; 
				justify-content: center; 
			}
		}

        /* --- 6. CAPSULE TOGGLE (Ball holds Icon) --- */
        .theme-switch-wrapper {
            display: flex; align-items: center; cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .theme-switch-track {
            width: 70px; height: 36px;
            background-color: #dbe4eb; 
            border-radius: 50px;
            position: relative;
            box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
            transition: background-color 0.4s;
        }

        [data-theme="dark"] .theme-switch-track {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .theme-switch-ball {
            position: absolute;
            top: 3px; left: 3px;
            width: 30px; height: 30px;
            background-color: white;
            border-radius: 50%;
            transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            
            /* Center the icon inside the ball */
            display: flex; align-items: center; justify-content: center;
        }

        [data-theme="dark"] .theme-switch-ball {
            transform: translateX(34px); /* Move to right */
            background-color: #022e47; /* Dark ball */
        }

        /* Icons inside the ball */
        .ball-icon {
            font-size: 14px;
            position: absolute;
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        .icon-sun { color: #f68f1d; opacity: 1; transform: scale(1); }
        .icon-moon { color: #fff; opacity: 0; transform: scale(0.5) rotate(-90deg); }

        /* Dark Mode State: Swap Opacity & Transform */
        [data-theme="dark"] .icon-sun { opacity: 0; transform: scale(0.5) rotate(90deg); }
        [data-theme="dark"] .icon-moon { opacity: 1; transform: scale(1) rotate(0); }

        /* Mobile Menu Adjustments */
        .navbar-toggler { border: none; padding: 0; }
        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(2, 46, 71, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }
        [data-theme="dark"] .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        @media (max-width: 991px) {
            .navbar-collapse {
                background: var(--nav-mobile-bg);
                padding: 20px;
                border-radius: 12px;
                box-shadow: 0 10px 40px var(--nav-mobile-shadow);
                margin-top: 15px;
                border: 1px solid rgba(255,255,255,0.05);
            }
            .nav-item { border-bottom: 1px solid rgba(128,128,128,0.1); padding: 8px 0; }
            .nav-item:last-child { border-bottom: none; }
            
            /* Center elements on mobile */
            .navbar-nav { align-items: center !important; }
            .btn-pulse { margin-right: 0; margin-bottom: 15px; width: 100%; justify-content: center; }
            .theme-switch-wrapper { margin-top: 10px; }
        }
		
		
		/* --- 7. HERO SECTION (RESTORED & STYLED) --- */
        .hero-section {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 100px; /* Offset for fixed nav */
        }
		.brand-logo {
			height: 70px; /* Adjust this value if you want the logo bigger or smaller */
			width: auto;
		object-fit: contain;
		}

		/* Default (Light Theme) Settings */
		.logo-light {
			display: block;
		}
		.logo-dark {
			display: none;
		}

		/* Dark Theme Settings */
		/* Targets the images when your JS adds data-theme="dark" to the html tag */
		html[data-theme="dark"] .logo-light {
			display: none;
		}
		html[data-theme="dark"] .logo-dark {
			display: block;
		}
		/* Project Specific Styles */
            .back-to-projects-btn {
                color: var(--brand-pink);
                text-decoration: none;
                font-family: var(--font-body);
                font-weight: 700;
                font-size: 0.85rem;
                letter-spacing: 1px;
                display: inline-flex;
                align-items: center;
                transition: all 0.3s ease;
            }
            .back-to-projects-btn:hover {
                color: var(--brand-pink);
                transform: translateX(-5px);
            }
            .project-tag {
                background: rgba(128, 128, 128, 0.1);
                color: var(--text-main);
                font-family: var(--font-body);
                font-weight: 600;
                font-size: 0.75rem;
                text-transform: uppercase;
                letter-spacing: 1px;
                padding: 6px 12px;
                border-radius: 50px;
                border: 1px solid rgba(128, 128, 128, 0.2);
            }
            
            /* Base Card Styles (White in Light Mode) */
            .project-sidebar-card {
                background: #ffffff;
                border: 1px solid rgba(128, 128, 128, 0.15);
                border-radius: 16px; 
                box-shadow: 0 10px 30px rgba(0,0,0,0.04);
                transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            }
            .stat-card {
                background: #ffffff;
                border: 1px solid rgba(128, 128, 128, 0.15);
                border-radius: 16px;
                padding: 40px 30px; 
                text-align: center;
                box-shadow: 0 10px 30px rgba(0,0,0,0.04);
                height: 100%;
                display: flex; 
                flex-direction: column; 
                justify-content: center;
                transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            }
            .stat-card:hover {
                transform: translateY(-5px);
                border-color: var(--brand-orange);
            }
            
            /* Typography and Gallery */
            .stat-number {
                font-family: var(--font-display);
                font-size: 2.5rem;
                line-height: 1;
                margin-bottom: 5px;
            }
            .gallery-img {
                border-radius: 8px;
                width: 100%;
                height: 250px;
                object-fit: cover;
                transition: transform 0.4s ease, filter 0.4s ease;
                filter: grayscale(20%);
            }
            .gallery-img:hover {
                transform: scale(1.03);
                filter: grayscale(0%);
                box-shadow: 0 15px 35px rgba(0,0,0,0.1);
                z-index: 1;
                position: relative;
            }

            [data-theme="dark"] .project-sidebar-card,
            [data-theme="dark"] .stat-card {
                background: rgba(0, 0, 0, 0.4); /* The sleek black mask */
                backdrop-filter: blur(12px); /* High-end glass blur */
                -webkit-backdrop-filter: blur(12px); /* Safari support */
                border: 1px solid rgba(255, 255, 255, 0.08); /* Subtle edge highlight */
            }

            /* Ensure all text is bright and readable in Dark Mode */
            [data-theme="dark"] .project-showcase-section h1,
            [data-theme="dark"] .project-showcase-section h3,
            [data-theme="dark"] .project-showcase-section h4,
            [data-theme="dark"] .project-showcase-section span:not(.text-gradient) {
                color: #ffffff !important;
            }
            [data-theme="dark"] .project-showcase-section p {
                color: rgba(255, 255, 255, 0.9) !important;
            }
            [data-theme="dark"] .project-showcase-section .text-muted {
                color: rgba(255, 255, 255, 0.65) !important;
            }
            [data-theme="dark"] .back-to-projects-btn {
                color: rgba(255, 255, 255, 0.8) !important;
            }
            [data-theme="dark"] .back-to-projects-btn:hover {
                color: var(--brand-pink) !important;
            }
            [data-theme="dark"] .project-tag {
                color: #ffffff !important;
                background: rgba(255, 255, 255, 0.1);
                border-color: rgba(255, 255, 255, 0.2);
            }
			
        /* Increased Title Size */
        .project-title {
            font-family: var(--font-display);
            line-height: 1.1;
            color: var(--text-main);
            /* Uses clamp to make it massive on desktop, but scale down safely on mobile */
            font-size: clamp(3rem, 5vw, 4.5rem) !important; 
        }

        .keyword-tag {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            background-color: #f0f2f5; /* Very soft, cool gray */
            color: #4a4a4a; /* Dark gray for readability without being harsh */
            font-family: var(--font-body);
            font-size: 0.8rem;
            font-weight: 500;
            border-radius: 6px; /* Soft square corners instead of full pills */
            transition: all 0.2s ease-in-out;
            cursor: default;
        }

        /* Hover Effect: Fills with brand orange and turns text white */
        .keyword-tag:hover {
            background-color: var(--brand-orange);
            color: #ffffff;
            transform: translateY(-2px); /* Very subtle lift */
        }

        /* Dark Mode Overrides */
        [data-theme="dark"] .keyword-tag {
            background-color: rgba(255, 255, 255, 0.06);
            color: #d1d1d1;
        }
        [data-theme="dark"] .keyword-tag:hover {
            background-color: var(--brand-orange);
            color: #ffffff;
        }
        
        /* Clean UI typography for descriptions */
        .project-description {
            font-family: var(--font-body);
            font-weight: 400; 
            line-height: 1.8; 
            color: #000000; /* Updated to solid black for maximum readability */
            max-width: 650px;
        }
        .project-description p {
            margin-bottom: 1.25rem;
        }
        .project-description p:last-child {
            margin-bottom: 0;
        }

        /* --- 9. GOAL CALLOUT BOX --- */
        .goal-callout-box {
            background: #ffffff; /* Solid white background to make it pop */
            border: 1px solid rgba(128, 128, 128, 0.2); /* Subtle outline */
            border-left: 6px solid var(--brand-orange); /* Thicker orange ribbon */
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Nice drop shadow to lift it */
            padding: 1.5rem 2rem;
            margin: 2rem 0;
            border-radius: 8px;
            font-family: var(--font-body);
            font-size: 1.1rem;
            color: #000000; /* Solid black text inside the box */
            line-height: 1.6;
        }

        [data-theme="dark"] .project-title { 
            color: #ffffff; 
        }
        
        [data-theme="dark"] .project-description { 
            color: rgba(255, 255, 255, 0.9); /* Keeps it readable white in dark mode */
        }
        
        [data-theme="dark"] .goal-callout-box {
            background: rgba(0, 0, 0, 0.4); /* Deep glass effect */
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 6px solid var(--brand-orange);
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
		
		/* --- 10. MODERN PROJECT TAGS --- */
        .tags-heading {
            font-size: 0.75rem;
            letter-spacing: 1.5px;
            color: #888888;
            margin-bottom: 12px;
            text-transform: uppercase;
            font-weight: 700;
        }

        .project-tag {
            display: inline-flex;
            align-items: center;
            padding: 8px 18px;
            background: #f8f9fa; /* Clean, light gray background */
            border: 1px solid rgba(0,0,0,0.06);
            color: #333333;
            font-size: 0.85rem;
            font-family: var(--font-body);
            font-weight: 600;
            border-radius: 50px; /* Perfect pill shape */
            transition: all 0.3s ease;
            cursor: default; /* Change to pointer if you plan to make them clickable links */
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }

        /* Subtle orange dot before text for a premium feel */
        .project-tag::before {
            content: "";
            display: inline-block;
            width: 6px;
            height: 6px;
            background-color: var(--brand-orange); /* Uses your brand color */
            border-radius: 50%;
            margin-right: 8px;
            transition: transform 0.3s ease;
        }

        /* Hover Effect */
        .project-tag:hover {
            background: #ffffff;
            border-color: var(--brand-orange);
            color: #000000;
            transform: translateY(-2px); /* Slight lift */
            box-shadow: 0 5px 15px rgba(246, 143, 29, 0.15); /* Soft orange glow */
        }

        .project-tag:hover::before {
            transform: scale(1.5); /* Dot enlarges slightly on hover */
        }

        /* Dark Mode Overrides */
        [data-theme="dark"] .project-tag {
            background: rgba(255, 255, 255, 0.05);
            border-color: rgba(255, 255, 255, 0.1);
            color: #eeeeee;
        }
        [data-theme="dark"] .project-tag:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--brand-orange);
            color: #ffffff;
        }
		/* --- 12. FULL-BLEED / EDGE-TO-EDGE CONTAINERS --- */
        .full-bleed {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            overflow: hidden;
            /* Optional: Add a top/bottom border if you want a subtle frame */
            border-top: 1px solid rgba(128,128,128,0.1);
            border-bottom: 1px solid rgba(128,128,128,0.1);
        }

        .full-bleed img {
            width: 100%;
            height: auto;
            object-fit: cover;
            /* Prevents the image from getting ridiculously tall on huge monitors */
            max-height: 70vh; 
        }
		
		/* --- 13. OBJECTIVE HIGHLIGHT BOX --- */
        .objective-highlight-box {
            background-color: #ffffff; /* Crisp white in light mode */
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-left: 5px solid var(--brand-orange);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
            transition: background-color 0.3s ease, border-color 0.3s ease;
        }

        /* Dark Mode Override */
        [data-theme="dark"] .objective-highlight-box {
            background: rgba(0, 0, 0, 0.4); /* Deep glass effect */
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 6px solid var(--brand-orange);
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
		
		/* --- 14. MODERN PROJECT SIDEBAR --- */
        .project-sidebar-modern {
            background: #ffffff;
            border: 1px solid rgba(0, 0, 0, 0.04);
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
        }

        .sidebar-detail-item {
            display: flex;
            align-items: flex-start;
            gap: 1.2rem;
            margin-bottom: 1.5rem;
        }

        .sidebar-detail-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background-color: #fff4ed; /* Very soft orange tint */
            color: var(--brand-orange);
            border-radius: 12px;
            font-size: 1.1rem;
            flex-shrink: 0;
            transition: transform 0.3s ease;
        }

        .sidebar-detail-item:hover .sidebar-detail-icon {
            transform: scale(1.05);
        }

        [data-theme="dark"] .project-sidebar-modern {
             background: rgba(0, 0, 0, 0.4); /* Deep glass effect */
            border: 1px solid rgba(255, 255, 255, 0.1);
            color: #ffffff;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        [data-theme="dark"] .sidebar-detail-icon {
            background-color: rgba(255, 255, 255, 0.05);
        }
		
		/* 1. Default Light Mode Colors */
        .sidebar-label {
            color: #888888 !important;
        }
        .sidebar-value {
            color: var(--text-main) !important;
        }

        /* 2. Dark Mode Overrides (Covers multiple framework types) */
        [data-theme="dark"] .sidebar-label,
        [data-bs-theme="dark"] .sidebar-label,
        .dark-mode .sidebar-label,
        body.dark .sidebar-label {
            color: #5c7eb0 !important; /* Soft navy */
        }

        [data-theme="dark"] .sidebar-value,
        [data-bs-theme="dark"] .sidebar-value,
        .dark-mode .sidebar-value,
        body.dark .sidebar-value {
            color: #8bb4f7 !important; /* Bright navy/blue */
        }

.iphone-frame {
  position: relative;
  width: 360px;   /* wider */
  height: 720px;  /* taller */
  border: 14px solid #000;
  border-radius: 48px;
  background: #000;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.iphone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  background: #333;
  border-radius: 5px;
}

/* ==========================================================================
   ACCORDION DRAWER COMPONENT (SLEEK FLOAT & LARGE GRID)
   ========================================================================== */

.vf-drawer-wrapper {
    margin-bottom: 2.5rem;
    width: 100%;
}

/* --- 1. MAIN CTA TRIGGER --- */
.vf-drawer-trigger.premium-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="dark"] .vf-drawer-trigger.premium-cta {
    background: #141416;
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Internal Layout */
.vf-drawer-content-left {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.vf-drawer-action-block {
    display: flex;
    align-items: center;
}

/* --- 2. LIVE STATUS BADGE --- */
.vf-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.vf-badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--brand-orange, #FF7A00);
    border-radius: 50%;
    position: relative;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Breathing Animation for the dot */
.vf-badge-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    opacity: 0.4;
    animation: vf-pulse 2s infinite ease-in-out;
}

@keyframes vf-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.vf-cta-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--brand-orange, #FF7A00);
    transition: color 0.3s ease;
}

/* --- 3. TYPOGRAPHY & ICONS --- */
.vf-drawer-title {
    margin: 0;
    font-family: var(--font-display, sans-serif);
    color: var(--text-main, #1c1c1e);
    font-size: 1.65rem;
    font-weight: 600 !important;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

[data-theme="dark"] .vf-drawer-title {
    color: #ffffff;
}

.vf-drawer-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-main, #1c1c1e);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

[data-theme="dark"] .vf-drawer-icon-wrapper {
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.04);
}

.vf-drawer-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- 4. CTA INTERACTIVE STATES --- */
.vf-drawer-trigger.premium-cta:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 122, 0, 0.25);
    box-shadow: 0 12px 24px -4px rgba(255, 122, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .vf-drawer-trigger.premium-cta:hover {
    border-color: rgba(255, 122, 0, 0.35);
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.5);
}

.vf-drawer-trigger.premium-cta:hover .vf-drawer-icon-wrapper {
    background: var(--brand-orange, #FF7A00);
    color: #ffffff;
    border-color: var(--brand-orange, #FF7A00);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.2);
}

/* Expanded/Open State */
.vf-drawer-trigger.premium-cta[aria-expanded="true"] {
    border-color: rgba(255, 0, 122, 0.2);
    box-shadow: 0 4px 16px rgba(255, 0, 122, 0.04);
    background: #fcfbfc;
}

[data-theme="dark"] .vf-drawer-trigger.premium-cta[aria-expanded="true"] {
    background: #171517;
    border-color: rgba(255, 0, 122, 0.25);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.vf-drawer-trigger.premium-cta[aria-expanded="true"] .vf-badge-dot {
    background-color: var(--brand-pink, #FF007A);
}

.vf-drawer-trigger.premium-cta[aria-expanded="true"] .vf-cta-tag {
    color: var(--brand-pink, #FF007A);
}

.vf-drawer-trigger.premium-cta[aria-expanded="true"] .vf-drawer-icon-wrapper {
    background: var(--brand-pink, #FF007A);
    color: #ffffff;
    border-color: var(--brand-pink, #FF007A);
    box-shadow: 0 4px 12px rgba(255, 0, 122, 0.25);
}

.vf-drawer-trigger.premium-cta[aria-expanded="true"] .vf-drawer-icon {
    transform: rotate(180deg);
}

/* --- 5. BULLETPROOF HEIGHT ENGINE --- */
.vf-drawer-content {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vf-drawer-trigger[aria-expanded="true"] + .vf-drawer-content {
    grid-template-rows: 1fr;
}

.vf-drawer-inner {
    min-height: 0;
    overflow: hidden; /* Hides padding/gaps when closed */
}

/* --- 6. TWO-COLUMN IMAGE GRID --- */
.vf-image-grid.cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.5rem;
    padding: 1.5rem 0 2.5rem 0;
}

/* Large Presentation Cards */
.vf-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .vf-image-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.vf-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .vf-image-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Image Formatting */
.vf-image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10; /* Cinematic landscape proportions */
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vf-image-card:hover img {
    transform: scale(1.04);
}

/* Overlay Text Styling */
.vf-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    padding: 3rem 1.5rem 1.25rem;
    color: #ffffff;
    font-family: var(--font-display, sans-serif);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none; /* Prevents blocking clicks on the card */
}

.vf-image-card:hover .vf-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 600px) {
    /* CTA Button scaling */
    .vf-drawer-trigger.premium-cta {
        padding: 1rem 1.25rem;
        border-radius: 14px;
    }
    .vf-drawer-title {
        font-size: 1.35rem;
    }
    .vf-drawer-icon-wrapper {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    /* Grid scaling to 1 column */
    .vf-image-grid.cols-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}


/* Large, Presentation-Style Cards */
.vf-image-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

[data-theme="dark"] .vf-image-card {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    background-color: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.08);
}

.vf-image-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .vf-image-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

/* Image formatting optimized for 2-column views */
.vf-image-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10; /* Clean, cinematic landscape presentation proportions */
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.vf-image-card:hover img {
    transform: scale(1.04);
}

/* Overlay Text Styling */
.vf-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    padding: 3rem 1.5rem 1.25rem;
    color: #ffffff;
    font-family: var(--font-display, sans-serif);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.vf-image-card:hover .vf-image-overlay {
    opacity: 1;
    transform: translateY(0);
}

