 :root {
            --primary-blue: #1d1554;
            --silver: #fff;
            --cyan: #9FD8DE;
            --off-white: #FFFFF0;
            --black: #000000;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            background-color: var(--black);
            color: var(--off-white);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .serif {
            font-family: 'Crimson Pro', serif;
        }

        /* Navigation */
        nav {
            position: absolute;
            top: 0;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 60px;
            z-index: 1100;
        }

        .logo-area {
            display: flex;
            align-items: center;
            gap: 12px;
            text-transform: uppercase;
            font-weight: 700;
            letter-spacing: 2px;
            font-size: 14px;
            z-index: 1102;
        }

        .nav-links {
            display: flex;
            gap: 49px;
            align-items: center;
        }

        .nav-item {
            position: relative;
        }

        .nav-item a {
   color: #fff;
}

@media (max-width: 768px) {
    .nav-item a {
        color: #1d1554;
    }
}

        .nav-links a {
            color: #FFFFF0;
            text-decoration: none;
            text-transform: uppercase;
            font-size: 15px;
            font-weight: 800;
            letter-spacing: 1px;
            transition: color 0.3s;
            display: flex;
            align-items: center;
            gap: 5px;
        }

/* Desktop */
nav a{
    color: #fff;
}

/* Mobile */
@media (max-width: 768px){
    nav a{
        color: #1d1554;
    }
}

@media (max-width: 768px){
    .nav-item a{
        color: #1d1554;
    }
}

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--off-white);
            min-width: 200px;
            padding: 15px 0;
            border-radius: 4px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            list-style: none;
            margin-top: 10px;
        }

        .nav-item:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu li a {
            color: var(--primary-blue) !important;
            padding: 10px 25px;
            font-size: 10px;
            display: block;
            white-space: nowrap;
        }

        .menu-toggle {
            display: none;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 1102;
            padding: 10px;
        }

        .menu-toggle span {
            display: block;
            width: 25px;
            height: 2px;
            background-color:  #1d1554;
            transition: all 0.3s ease;
        }

        /* Base Nav State (Desktop) */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 5%; /* Initial large padding */
    transition: all 0.4s ease-in-out;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Nav Item Base Color */
.nav-item a {
    /* color: var(--primary-blue);  */
    text-decoration: none;
    transition: color 0.3s ease;
}

/* SCROLLED STATE */
nav.scrolled {
    padding: 1px 2%; /* Reduced padding on scroll */
    background: #ffffff; /* Solid white background */
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

nav.scrolled .nav-item a {
    color: #1d1554; /* Blue-Navy color on scroll */
}

/* Ensure the mobile menu burger also changes color on scroll if needed */
nav.scrolled #menu-toggle span {
    background: #1d1554;
}

        /* Hero Section Refactor */
        .hero {
            min-height: 90vh;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
            padding: 0 60px;
        }

        #hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            z-index: -1;
            transform: translate(-50%, -50%);
            object-fit: cover;
            filter: brightness(0.8);
        }

        .hero-content {
            max-width: 800px;
            text-align: left;
            z-index: 2;
            margin-top: -70px;
        }

        .hero-title {
                 font-size: clamp(3rem, 7vw, 4.4rem);
    margin: 10px 0;
    font-weight: 900;
    line-height: 1.1;
    color: var(--silver);
        }

        .hero-subtitle {
            text-transform: uppercase;
            letter-spacing: 4px;
            font-size: 13px;
            color: var(--silver);
            font-weight: 700;
            display: block;
            margin-bottom: 10px;
        }

        .hero-description {
           font-size: 16px;
    color: var(--silver);
    opacity: 0.9;
    margin-top: 20px;
    max-width: 750px;
        }

        /* Logo Marquee */
        .marquee-container {
            position: absolute;
           bottom: 23px;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.075);
            backdrop-filter: blur(1px);
            padding: 20px 0;
            overflow: hidden;
            border-top: 1px solid rgba(255,255,255,0.1);
            border-bottom: 1px solid rgba(255,255,255,0.1);
        }

        .marquee-content {
            display: flex;
            width: calc(450px * 22);
            animation: scroll 30s linear infinite;
        }

        .marquee-content span {
            width: 250px;
            text-align: center;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 14px;
            color: rgba(255,255,255,0.6);
        }

        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-250px * 7)); }
        }

        /* Ribbon */
        .ribbon {
            position: absolute;
            top: 0;
            right: 10%;
            width: 45px;
            height: 155px;
            background-color: var(--primary-blue);
            clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%);
            z-index: -1;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            nav { padding: 20px 30px; }
            .hero { padding: 0 30px; }
            .hero-title { font-size: 4rem; }
        }

        @media (max-width: 768px) {
            .menu-toggle { display: flex; }
            .nav-links {
                position: fixed;
                top: 0; right: 0; width: 100%; height: 100vh;
                background-color: #fff;
                flex-direction: column;
                color:var(--primary-blue);
                justify-content: center;
                transform: translateX(100%);
                transition: transform 0.5s ease;
                z-index: 1101;
            }
            .nav-links.open { transform: translateX(0); }
            .hero-content { text-align: center; margin: 0 auto; }
            .marquee-container { bottom: 140px; }
            /* .consultation-bar { flex-direction: column; gap: 10px; text-align: center; padding: 15px; } */
        }

           .ivory-showcase-section {
            --ivory-bg: #FFFFF0;
            --ivory-text: #1a1a1a;
            --ivory-accent: #c5a059;
            --ivory-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            --ivory-serif: 'Playfair Display', serif;
            
            position: relative;
            width: 100%;
            height: 45vh;
            background-color: var(--ivory-bg);
            color: var(--ivory-text);
            font-family: var(--ivory-font);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin: 0;
            padding: 2rem;
        }

        .ivory-showcase-section .grain-texture {
            position: absolute;
            inset: 0;
            opacity: 0.04;
            pointer-events: none;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        }

        .ivory-showcase-section .content-viewport {
            max-width: 1000px;
            width: 100%;
            height: 450px;
            position: relative;
        }

        .ivory-showcase-section .quote-slide {
            position: absolute;
            top: 50%;
            left: 0;
            width: 100%;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
        }

        .ivory-showcase-section .quote-slide.is-active {
            opacity: 1;
            visibility: visible;
            transform: translateY(-50%);
        }

        .ivory-showcase-section .quote-heading {
             font-size: 3.1rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
        }

        .ivory-showcase-section .quote-heading em {
            font-family: var(--ivory-serif);
            font-style: italic;
            color: var(--ivory-accent);
        }

        .ivory-showcase-section .meta-box {
            display: flex;
            align-items: center;
            gap: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(26, 26, 26, 0.1);
            width: fit-content;
        }

        .ivory-showcase-section .timer-rail {
            width: 80px;
            height: 1px;
            background: rgba(26, 26, 26, 0.08);
            position: relative;
        }

        .ivory-showcase-section .timer-fill {
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 0%;
            background: var(--ivory-accent);
        }

        .ivory-showcase-section .attribution {
            display: flex;
            flex-direction: column;
        }

        .ivory-showcase-section .attr-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.25em;
            color: rgba(26, 26, 26, 0.4);
            margin-bottom: 0.2rem;
        }

        .ivory-showcase-section .attr-name {
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 0.05em;
        }

           /* Base Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --bg-color: #FFFFF0;
            --primary-blue: #1B1553;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--primary-blue);
            -webkit-font-smoothing: antialiased;
        }

        /* Main Container */
        .hero-layout {
            position: relative;
            width: 100%;
            height: 100vh;
            display: flex;
            align-items: center;
        }

        /* Background Layer with Vertical Blending */
        .background-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            overflow: hidden;
        }

        .bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../img/bg.jpg');
            background-size: cover;
            background-position: center;
            filter: grayscale(30%) blur(1px);
            opacity: 0.18;
            /* Create the top and bottom blend */
            -webkit-mask-image: linear-gradient(
                to bottom,
                transparent 0%,
                black 20%,
                black 80%,
                transparent 100%
            );
            mask-image: linear-gradient(
                to bottom,
                transparent 0%,
                black 20%,
                black 80%,
                transparent 100%
            );
        }

        /* The Fog Overlay (Radial focus for the text area) */
        .fog-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 25% 50%, transparent 0%, var(--bg-color) 85%);
            z-index: 2;
        }

        /* Content Container */
        .content-wrapper {
            position: relative;
            z-index: 10;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 80px;
            display: grid;
            grid-template-columns: 1.1fr 1fr;
            align-items: center;
            gap: 60px;
        }

        .text-content {
            max-width: 600px;
            display: flex;
            flex-direction: column;
            gap: 28px;
        }

        /* Typography */
        .eyebrow-text {
            font-size: 13px;
            color: #71717a;
            text-transform: uppercase;
            letter-spacing: 4px;
            font-weight: 600;
        }

        .main-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(40px, 5.5vw, 78px);
            font-weight: 900;
            line-height: 1.1;
            color: var(--primary-blue);
        }

        .body-text {
            font-size: 17px;
            color: #3f3f46;
            line-height: 1.7;
            max-width: 500px;
        }

        .body-text b {
            color: var(--primary-blue);
            font-weight: 700;
        }

        /* Visual Element: Floating Slider */
        .image-slider-frame {
            position: relative;
            width: 100%;
            aspect-ratio: 4/5;
            max-height: 65vh;
            border-radius: 8px;
            overflow: hidden;
            /* box-shadow: 0 30px 80px rgba(27, 21, 83, 0.12);
            background: white; */
            padding: 10px; /* Polaroid feel */
        }

        .slider-inner {
            width: 100%;
            height: 100%;
            position: relative;
            border-radius: 4px;
            overflow: hidden;
        }

        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 2s ease;
            transform: scale(1.1);
            object-fit: cover;
        }

        .slide.active {
            opacity: 1;
            transform: scale(1);
        }

.image-slider-frame .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out; /* Smooth fade effect */
    object-fit: cover;
}

.image-slider-frame .slide.active {
    opacity: 1;
}

        /* Branding Ornament */
        .brand-footer {
            margin-top: 20px;
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .accent-dot {
            width: 8px;
            height: 8px;
            background: var(--primary-blue);
            border-radius: 50%;
        }

        .brand-name {
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: #a1a1aa;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .content-wrapper {
                grid-template-columns: 1fr;
                padding: 60px 40px;
                text-align: center;
                justify-items: center;
            }
            .text-content { align-items: center; }
            .image-slider-frame { width: 70%; max-height: 50vh; margin-top: 20px; }
            .fog-overlay { background: var(--bg-color); opacity: 0.95; }
        }

        @media (max-width: 640px) {
            .image-slider-frame { width: 100%; }
            .main-title { font-size: 38px; }
            .content-wrapper { padding: 40px 20px; }
        }

         /* CSS Variables for consistent branding */
        :root {
            --crimson-dark: #1d1554;
            --crimson-accent:#c5a059;
            --brand-red: #000;
            --bg-cream: #f9f7f2;
            --card-white: #ffffff;
            --text-gray: #666666;
            --card-width: 340px;
            --card-height: 500px;
            --gap: 1.5rem;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-cream);
            color: var(--crimson-dark);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* Typography & Header */
        .header {
           width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 2rem 0rem;
    z-index: 20;
    margin-bottom: 0px !important;
        }

        .heading-italic {
            font-family: 'Crimson Pro', serif;
            font-style: italic;
            color: #000;
            font-size: 2.25rem;
            margin-bottom: -0.5rem;
        }

        .heading-main {
            font-size: 4.5rem;
            font-weight: 800;
            letter-spacing: -0.04em;
            line-height: 1;
            color: #c5a059;
            text-align: left;
        }

        /* Carousel Layout */
        .carousel-wrapper {
            width: 100%;
            overflow: hidden;
            display: flex;
            align-items: center;
            flex-grow: 1;
            position: relative;
        }

        /* Continuous Scroll Animation */
        @keyframes scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(calc(-1 * (var(--card-width) * 7 + var(--gap) * 7))); }
        }

        .scroll-container {
            display: flex;
            width: max-content;
            animation: scroll 40s linear infinite;
             padding: 1rem 2rem 5rem 2rem;
        }

        .scroll-container:hover {
            animation-play-state: paused;
        }

        .track {
            display: flex;
            gap: var(--gap);
        }

        /* 3D Card Mechanics */
        .card-perspective {
            perspective: 1500px;
            cursor: pointer;
        }

        .card-inner {
            width: var(--card-width);
            height: var(--card-height);
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .card-perspective:hover .card-inner {
            transform: rotateY(180deg);
        }

        .card-front, .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            border-radius: 4px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.07);
            background: var(--card-white);
            border: 1px solid rgba(0,0,0,0.05);
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
        }

        .card-back {
            transform: rotateY(180deg);
            background-color: var(--crimson-dark);
            color: white;
            justify-content: center;
            text-align: center;
            padding: 2.5rem;
        }

        /* Card Content Details */
        .category-label {
            font-size: 0.65rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: #aaa;
            font-weight: 700;
            margin-bottom: 0.25rem;
        }

        .category-name {
            font-size: 0.9rem;
            font-weight: 700;
            margin-bottom: 1.25rem;
        }

        .service-img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            border-radius: 2px;
            margin-bottom: 1.5rem;
        }

        .card-title {
            font-size: 1.75rem;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: auto;
        }

        .detail-row {
            display: flex;
            align-items: flex-end;
            font-size: 0.7rem;
            margin-top: 1rem;
        }

        .detail-label {
            text-transform: uppercase;
            font-weight: 800;
            color: #bbb;
            margin-right: 0.5rem;
            white-space: nowrap;
        }

        .detail-value {
            flex-grow: 1;
            border-bottom: 1px dotted #ccc;
            font-weight: 600;
            padding-bottom: 2px;
        }

        /* Back Content */
        .back-title {
            font-size: 1.5rem;
            font-weight: 700;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 1rem;
            margin-bottom: 1.5rem;
        }

        .back-description {
            font-family: 'Crimson Pro', serif;
            font-style: italic;
            font-size: 1.15rem;
            line-height: 1.6;
            opacity: 0.9;
        }

        /* Footer */
        .footer {
            padding: 3rem 0;
            text-align: center;
            border-top: 1px solid rgba(0,0,0,0.1);
        }

        .footer-text {
            color: var(--text-gray);
            font-style: italic;
            margin-bottom: 1.5rem;
            font-size: 0.95rem;
        }

        .btn {
            background-color: var(--brand-red);
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .btn:hover {
            background-color: var(--crimson-accent);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(227, 24, 55, 0.3);
        }

        /* Edge Fades */
        .fade-left, .fade-right {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 10%;
            z-index: 10;
            pointer-events: none;
        }
        .fade-left { left: 0; background: linear-gradient(to right, var(--bg-cream), transparent); }
        .fade-right { right: 0; background: linear-gradient(to left, var(--bg-cream), transparent); }

          /* * ==========================================
         * TOP HERO SECTION WITH BLUR
         * ==========================================
         */

        .hero-section {
            min-height: 50vh;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            text-align: center;
            padding: 2rem;
            position: relative;
            z-index: 10;
            /* Using the same image as the showcase below */
            background-image: url('../img/bgg.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
        }

        /* The Blur Overlay */
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* Heavy blur and darkening to keep text legible */
            /* background: rgba(255, 255, 255, 0.65);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);  */
            z-index: -1;
        }

        .hero-content {
            max-width: 900px;
            animation: fadeIn 1.5s ease-out;
            margin-top: 30px;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* * ==========================================
         * PARALLAX SHOWCASE STYLES
         * ==========================================
         */
        
        .ivy-showcase-wrapper {
            position: relative;
            height: 700vh; 
            width: 100vw;
            background-color: #000;
        }

        .ivy-sticky-view {
            position: sticky;
            top: 0;
            height: 100vh;
            width: 100vw;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* FIXED BACKGROUND IMAGE FOR SHOWCASE */
        .ivy-fixed-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('../img/bgg.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            z-index: 0;
        }

        .ivy-overlay-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: 1;
            opacity: 0.5;
        }

        .ivy-slides-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 2;
        }

        .ivy-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.8s ease;
        }

        .ivy-slide.active {
            opacity: 1;
            pointer-events: auto;
        }

        .ivy-center-content {
            text-align: center;
            z-index: 10;
            max-width: 900px;
            padding: 0 20px;
            opacity: 0;
            transform: translateY(40px);
            transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .ivy-slide.active .ivy-center-content {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.2s;
        }

        .ivy-pre-title {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: clamp(1.1rem, 2vw, 1.4rem);
            color: #fff;
            margin-bottom: 12px;
            display: block;
        }

        .ivy-uni-name {
            font-size: clamp(2.5rem, 10vw, 3.4rem);
            font-weight: 800; 
            letter-spacing: -0.04em;
            line-height: 0.9;
            margin-bottom: 25px;
            display: block;
            text-transform: uppercase;
            color: #fff;
            text-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .ivy-description {
               font-size: 1.1rem;
    color: #e2e8f0;
    max-width: 589px;
    margin: 0 auto 40px;
    line-height: 1.7;
    font-weight: 400;
        }

        .ivy-btn {
            display: inline-block;
            padding: 16px 40px;
            border: 2px solid #fff;
            text-decoration: none;
            color: #fff;
            font-weight: 800;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.2em;
            transition: all 0.4s ease;
            background: transparent;
        }

        .ivy-btn:hover {
            background: #fff;
            color: #000;
            transform: translateY(-3px);
        }

        /* University Detail Cards */
        .ivy-card {
            position: absolute;
            width: 260px;
            background: #fff;
            box-shadow: 0 20px 50px rgba(0,0,0,0.3);
            border-radius: 8px;
            overflow: hidden;
            z-index: 5;
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.8s ease, transform 1s cubic-bezier(0.2, 1, 0.3, 1);
        }

        .ivy-slide.active .ivy-card {
            opacity: 1;
            transform: translateY(0);
        }

        .ivy-card img {
            width: 100%;
              height: 230px;
            object-fit: cover;
            display: block;
        }

        .ivy-card-info {
            padding: 20px;
            text-align: left;
        }

        .ivy-card-name {
            font-family: 'Playfair Display', serif;
            font-size: 1.1rem;
            margin: 0 0 4px 0;
            color: #1e1b4b;
        }

        .ivy-card-title {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: #64748b;
            margin: 0;
        }

        /* Positions */
        .ivy-left-card { left: 5%; top: 15%; }
        .ivy-right-card { right: 5%; bottom: 15%; }

        /* Navigation Progress */
        .ivy-progress {
            position: absolute;
            right: 40px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 100;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .ivy-dot-wrapper {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            cursor: pointer;
        }

        .ivy-dot-label {
            color: #fff;
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-right: 15px;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .ivy-dot-wrapper:hover .ivy-dot-label {
            opacity: 1;
        }

        .ivy-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid transparent;
            transition: all 0.4s ease;
        }

        .ivy-dot.active {
            background: #fff;
            transform: scale(1.4);
            box-shadow: 0 0 15px rgba(255,255,255,0.5);
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }

        @media (max-width: 850px) {
            .ivy-card { display: none; }
        }

       /* Color Variables & Reset */


         :root {
            --primary-bg: #fdfaf5;
            --text-dark: #1a1a1a;
            --accent-red: #d92323;
            --transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--primary-bg);
            color: var(--text-dark);
            overflow-x: hidden;
            padding-top: 40px;
        } */

        /* Portfolio Header Section */
        .portfolio-intro {
            padding: 8px 5% 32px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: end;
            gap: 40px;
        }

        .section-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(3rem, 8vw, 3.8rem);
            line-height: 0.9;
            color: #d1d1d1;
            text-transform: uppercase;
        }

        .section-description {
            max-width: 500px;
            font-size: 1rem;
            color: #555;
            line-height: 1.7;
            padding-bottom: 10px;
        }

        /* Interactive Gallery Slider */
        .gallery-wrapper {
            width: 100%;
            height: 75vh;
            display: flex;
            gap: 12px;
            padding: 0 5% 60px;
            overflow: hidden;
        }

        .gallery-card {
            position: relative;
            flex: 1;
            height: 100%;
            border-radius: 16px;
            overflow: hidden;
            transition: var(--transition);
            cursor: pointer;
        }

        .gallery-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
            filter: grayscale(20%) brightness(0.9);
        }

        /* Hover Expansion Logic */
        .gallery-card:hover {
            flex: 4;
        }

        .gallery-card:hover img {
            transform: scale(1.08);
            filter: grayscale(0%) brightness(1);
        }

        /* Info Overlay */
        .card-info {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 40px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: white;
            opacity: 0;
            transform: translateY(30px);
            transition: var(--transition);
            pointer-events: none;
        }

        .gallery-card:hover .card-info {
            opacity: 1;
            transform: translateY(0);
        }

        .project-tag {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 3px;
            margin-bottom: 10px;
            display: block;
            color: rgba(255,255,255,0.8);
        }

        .project-name {
            font-family: 'Playfair Display', serif;
            font-size: 2rem;
        }

        /* Footer Action Section */
        .action-footer {
            background: #fff;
            padding: 40px 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eaeaea;
        }

        .cta-button {
            background: var(--accent-red);
            color: white;
            padding: 16px 32px;
            border-radius: 6px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: transform 0.2s;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(217, 35, 35, 0.2);
        }

        /* Responsive Fixes */
        @media (max-width: 900px) {
            .portfolio-intro {
                grid-template-columns: 1fr;
                padding-top: 20px;
            }
            .gallery-wrapper {
                flex-direction: column;
                height: auto;
                gap: 15px;
            }
            .gallery-card {
                height: 350px;
                flex: none;
            }
            .gallery-card:hover {
                flex: none;
            }
            .card-info {
                opacity: 1;
                transform: translateY(0);
                padding: 20px;
            }
        }

         :root {
            --bg-color: #fdfcf9;
            --accent-color: #1a1a1a;
            --text-muted: #666;
            --card-bg: #ffffff;
            --primary-gold: #fff0ff;
            /* Variables for Consultation Bar */
            --off-white: #f8f9fa;
            --primary-blue: #1a2b48;
            --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Plus Jakarta Sans', sans-serif;
            background-color: var(--bg-color);
            color: var(--accent-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        .section-padding { padding: 23px 5%; }
        .container { max-width: 1000px; margin: 0 auto; }

        /* Header Style */
        .header { text-align: center; margin-bottom: 60px; }
        .header h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
        }
        .header p {
            font-size: 0.8rem;
            color: var(--primary-gold);
            letter-spacing: 3px;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 10px;
        }

        /* FAQ Styling */
        .faq-grid { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
        .faq-item {
            background: var(--card-bg);
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 12px;
            overflow: hidden;
            transition: var(--transition);
        }
        .faq-question {
            width: 100%;
            padding: 24px 32px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            border: none;
            cursor: pointer;
            text-align: left;
            outline: none;
        }
        .question-text { font-size: 1.05rem; font-weight: 600; color: #333; padding-right: 20px; }
        
        .icon-box {
            width: 24px;
            height: 24px;
            min-width: 24px;
            position: relative;
            transition: var(--transition);
        }
        .icon-box::before, .icon-box::after {
            content: '';
            position: absolute;
            background: var(--accent-color);
            transition: var(--transition);
            top: 50%; left: 50%;
            transform: translate(-50%, -50%);
        }
        .icon-box::before { width: 2px; height: 14px; }
        .icon-box::after { width: 14px; height: 2px; }

        .faq-item.active { border-color: var(--primary-gold); }
        .faq-item.active .icon-box { transform: rotate(45deg); }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
        }
        .faq-item.active .faq-answer { max-height: 1000px; }
        .answer-inner { padding: 0 32px 32px; color: var(--text-muted); font-size: 0.95rem; }

        

        /* CONSULTATION BAR STYLES */
        .consultation-bar {
            width: 100%;
            background-color: var(--off-white);
            color: var(--primary-blue);
            padding: 20px 60px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
        }

        /* Fixed state when scrolling */
        .consultation-bar.is-fixed {
            position: fixed;
            bottom: 0;
            left: 0;
            box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
        }

        /* Static state for when it's tucked above the footer */
        .consultation-bar.is-static {
            position: relative;
            box-shadow: none;
        }

        .consultation-text {
            font-weight: 600;
            font-size: 14px;
            letter-spacing: 0.5px;
        }

        .consultation-btn {
            background-color: var(--primary-blue);
            color: var(--off-white);
            border: none;
            padding: 12px 30px;
            text-transform: uppercase;
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            cursor: pointer;
            transition: background-color 0.3s;
            text-decoration: none;
            display: inline-block;
        }

        .consultation-btn:hover {
            opacity: 0.9;
        }

        /* Footer */
        footer { 
            background:  var(--off-white); 
            color: #777; 
            padding: 80px 5% 40px; 
            position: relative;
            z-index: 10;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }
        .footer-col h4 {     color: #1b1553; margin-bottom: 20px; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px;     font-weight: 900; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }

        @media (max-width: 768px) {
            .consultation-bar { padding: 20px; flex-direction: column; gap: 15px; text-align: center; }
            .video-side, .form-side { min-width: 100%; }
            .video-text h2 { font-size: 2rem; }
        }