/* ==========================================
   PRISM INDIA EVENTS - SUNSET ORANGE & BLACK
   ========================================== */

/* Design Tokens & Variables */
:root {
    --color-forest-green: #000000;    /* Base Background - Pure Black */
    --color-dark-green: #121212;      /* Secondary Background - Deep Charcoal */
    --color-emerald: #FF6600;         /* Accent - Sunset Orange */
    --color-gold: #FF6600;            /* Primary Signature Highlight - Sunset Orange */
    --color-gold-hover: #FF8533;      /* Lighter Orange */
    --color-champagne: #FFA366;       /* Secondary Accent - Light Coral */
    --color-off-white: #121212;       /* Alternate Background - Deep Charcoal */
    --color-white: #FFFFFF;           /* White text / highlights */
    --color-charcoal: #FFFFFF;        /* Main Text - White */
    --color-charcoal-muted: #A0A0A5;  /* Muted Text - Silver-Gray */
    
    /* Dynamic Theme Variables */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-card: rgba(255, 255, 255, 0.04);
    --color-bg-card: #121212;
    --color-input-bg: transparent;
    --color-input-border: rgba(255, 255, 255, 0.15);
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Layout Details */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 15px 30px rgba(255, 102, 0, 0.15); /* Sunset Orange glow */
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.2s ease-in-out;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-forest-green);
    color: var(--color-charcoal);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

p {
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-quick);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.grid {
    display: grid;
    gap: 2.5rem;
}

.split-layout {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

@media (max-width: 991px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

.text-center { text-align: center; }
.text-white { color: var(--color-white); }
.text-champagne { color: var(--color-champagne); }
.text-gold { color: var(--color-gold); }

.bg-off-white { background-color: var(--color-dark-green); }
.bg-dark-green { background-color: var(--color-dark-green); }

.max-w-xl { max-width: 700px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons & CTAs */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 54px;
    padding: 0 2.2rem;
    line-height: 1;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Glass glare sweeping sheen animation */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-30deg);
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.btn:hover::before {
    left: 150%;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.6) 0%, rgba(255, 102, 0, 0.25) 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 102, 0, 0.5);
    /* Inset shadows create the 3D rounded glossy glass bevel */
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.45),
                inset 0 -2px 4px rgba(0, 0, 0, 0.4),
                0 8px 25px rgba(255, 102, 0, 0.25);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.85) 0%, rgba(255, 102, 0, 0.4) 100%);
    transform: translateY(-3px);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5),
                inset 0 -2px 4px rgba(0, 0, 0, 0.3),
                0 12px 30px rgba(255, 102, 0, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* 3D bevel shadows for clear glass texture */
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.25),
                inset 0 -2px 4px rgba(0, 0, 0, 0.5),
                0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-3px);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.35),
                inset 0 -2px 4px rgba(0, 0, 0, 0.4),
                0 12px 25px rgba(255, 102, 0, 0.2);
}

/* Common Section Styles */
section {
    padding: 7.5rem 0;
    position: relative;
    background-color: var(--color-forest-green);
    overflow: hidden; /* Prevent watermark overflow */
}

section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background-image: url('assets/images/logo_prism.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%) translateY(0) scale(0.85);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    /* Custom color filter to convert logo to brand Sunset Orange (#FF6600) */
    filter: brightness(0) saturate(100%) invert(52%) sepia(97%) saturate(2254%) hue-rotate(11deg) brightness(102%) contrast(105%);
    transition: transform 2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 2s ease-out;
}

/* Watermark softly scales, fades in, and loops a float animation on reveal */
section:has(.reveal.active)::before {
    animation: watermark-float 16s ease-in-out infinite;
}

@keyframes watermark-float {
    0% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
        opacity: 0.04;
    }
    50% {
        transform: translate(-50%, -50%) translateY(-20px) scale(1.06);
        opacity: 0.09;
    }
    100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
        opacity: 0.04;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.section-title {
    font-size: 3rem;
    color: var(--color-charcoal);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-desc {
    font-size: 1.15rem;
    color: var(--color-charcoal-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    font-weight: 300;
}

/* ==========================================
   NAVIGATION / HEADER
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 102, 0, 0.15);
}

.nav-container {
    max-width: 1280px; /* Aligns pixel-perfectly with page sections container */
    margin: 0 auto;
    padding: 1.5rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled .nav-container {
    padding: 0.8rem 2.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.logo-img {
    height: 78px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 64px;
}

@media (max-width: 768px) {
    .logo-img {
        height: 60px;
    }
    .navbar.scrolled .logo-img {
        height: 50px;
    }
}

.accent-gold {
    color: var(--color-gold);
}

.nav-menu {
    display: flex;
    gap: 1.5rem; /* Reduced gap to fit all items */
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 0.9rem; /* Further reduced gap for smaller desktop viewports */
    }
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem; /* Slightly smaller font size to fit all items */
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap; /* Forces text to stay on a single line */
}

@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.78rem; /* Slightly scale down font size on smaller desktop screens */
    }
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-gold);
}

.nav-link:hover:after, .nav-link.active:after {
    width: 100%;
}

/* Mobile Hamburger Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: var(--transition-quick);
}

@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    
    /* Toggle State classes for hamburger button */
    .mobile-menu-btn.open .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-btn.open .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.open .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* Mobile Drawer Menu */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--color-dark-green);
    border-left: 1px solid rgba(255, 102, 0, 0.2);
    z-index: 999;
    padding: 8rem 2.5rem 3rem 2.5rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    right: 0;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.drawer-link {
    color: var(--color-charcoal-muted);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.drawer-link:hover {
    color: var(--color-gold);
    padding-left: 10px;
}

.btn-drawer {
    margin-top: 2rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    min-height: 105vh; /* Expanded height to ensure ample space for all content and CTAs */
    display: flex;
    align-items: center;
    position: relative;
    padding: 7.5rem 0; /* Padding prevents collision with navbar or indicator */
    color: var(--color-white);
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.22;
    transform: scale(1.05);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.85; /* Increased opacity to make the video clearly visible */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.45) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Center-aligns all text headings and buttons in the Hero section */
}

.hero-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--color-gold);
    border: 1px solid rgba(255, 102, 0, 0.4);
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
    color: var(--color-white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8); /* Shadow keeps text readable over bright video */
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
}
@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-charcoal-muted);
    margin-bottom: 2rem;
    max-width: 760px;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); /* Shadow keeps text readable over bright video */
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center; /* Centers action buttons horizontally */
    align-items: center; /* Ensures perfect vertical alignment of buttons */
}

.hero-actions .btn {
    min-width: 220px;
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        align-items: center; /* Centers full-width items on mobile screens */
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Mouse Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.scroll-mouse .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-gold);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 1.8s infinite ease-in-out;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

@keyframes scroll-anim {
    0% { top: 8px; opacity: 1; }
    50% { top: 18px; opacity: 0; }
    100% { top: 8px; opacity: 1; }
}

/* ==========================================
   CLIENTS SECTION (MARQUEE)
   ========================================== */
.clients-section {
    padding: 2.5rem 0;
    background-color: var(--color-forest-green);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.section-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    color: var(--color-charcoal-muted);
    margin-bottom: 1.5rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-container:before, .marquee-container:after {
    content: '';
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container:before {
    left: 0;
    background: linear-gradient(to right, var(--color-forest-green), transparent);
}

.marquee-container:after {
    right: 0;
    background: linear-gradient(to left, var(--color-forest-green), transparent);
}

.marquee-track {
    display: inline-flex;
    animation: marquee-anim 45s linear infinite;
    gap: 4rem;
}

.marquee-item {
    display: flex;
    align-items: center;
    color: var(--color-white);
    transition: var(--transition-quick);
}

.marquee-item:hover {
    color: var(--color-gold);
    transform: scale(1.05);
}

.marquee-item svg {
    display: block;
}

.marquee-item img {
    height: 40px;
    width: auto;
    object-fit: contain;
    padding: 0 1.5rem; /* Consistent horizontal padding to normalize visual size */
    transition: var(--transition-quick);
}

.marquee-item:hover img {
    transform: scale(1.05);
}

@keyframes marquee-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background-color: var(--color-dark-green);
}

.about-visual {
    position: relative;
}

.about-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keep text left aligned */
}

.about-info .btn {
    align-self: center; /* Centers the CTA button horizontally in the block */
    margin-left: auto;
    margin-right: auto;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.about-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-floating-card {
    position: absolute;
    bottom: 2.5rem;
    right: 2.5rem;
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 102, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    max-width: 250px;
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

.card-number {
    display: block;
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.card-label {
    font-size: 0.9rem;
    color: var(--color-charcoal-muted);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.8rem;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-charcoal-muted);
    font-weight: 600;
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
    background-color: var(--color-forest-green);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 4.5rem;
}

.service-card {
    flex: 0 1 calc(25% - 1.125rem);
    min-width: 230px;
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 2.5rem 1.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

@media (max-width: 1024px) {
    .service-card {
        flex: 0 1 calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 calc(50% - 0.75rem);
    }
}

@media (max-width: 500px) {
    .service-card {
        flex: 0 1 100%;
    }
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 102, 0, 0.4);
    box-shadow: var(--shadow-gold);
}

.card-icon {
    color: var(--color-gold);
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .card-icon {
    transform: scale(1.1);
}

.card-title {
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    line-height: 1.6;
}

.card-border-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.service-card:hover .card-border-effect {
    width: 100%;
}


/* ==========================================
   SOCIAL EVENTS & WEDDINGS SECTION
   ========================================== */
.social-section {
    background-color: var(--color-off-white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.social-info .btn {
    align-self: center; /* Centers the CTA button horizontally */
    margin-left: auto;
    margin-right: auto;
}

.social-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.social-feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.social-feature-item .feature-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--color-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 102, 0, 0.2);
    transition: var(--transition-smooth);
}

.social-feature-item:hover .feature-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.social-feature-item .feature-text h3 {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.social-feature-item .feature-text p {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    line-height: 1.6;
}

.social-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.social-image-wrapper:hover .social-img {
    transform: scale(1.03);
}

.social-floating-card {
    position: absolute;
    bottom: 2.5rem;
    left: 2.5rem;
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 102, 0, 0.4);
    border-radius: var(--radius-md);
    padding: 2rem;
    max-width: 260px;
    color: var(--color-white);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 991px) {
    .social-img {
        height: 450px;
    }
    .social-floating-card {
        bottom: 1.5rem;
        left: 1.5rem;
        padding: 1.5rem;
    }
}

/* ==========================================
   PORTFOLIO (FEATURED EVENTS)
   ========================================== */
.portfolio-section {
    background-color: var(--color-forest-green);
}

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: #1A1A1A;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.portfolio-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 2rem 0;
}

/* Linear gradient overlays for soft fading edge effect on left and right */
.portfolio-marquee:before, .portfolio-marquee:after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.portfolio-marquee:before {
    left: 0;
    background: linear-gradient(to right, var(--color-forest-green), transparent);
}

.portfolio-marquee:after {
    right: 0;
    background: linear-gradient(to left, var(--color-forest-green), transparent);
}

.portfolio-marquee-track {
    display: inline-flex;
    gap: 2.5rem;
    animation: portfolio-marquee-anim 95s linear infinite;
}

/* Pause marquee animation on hover */
.portfolio-marquee:hover .portfolio-marquee-track {
    animation-play-state: paused;
}

.portfolio-item {
    flex: 0 0 450px;
    width: 450px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    display: block;
    aspect-ratio: 1.4 / 1;
    transition: var(--transition-smooth);
    white-space: normal; /* Critical: overrides white-space inheritance from marquee container */
}

@media (max-width: 768px) {
    .portfolio-item {
        flex: 0 0 320px;
        width: 320px;
    }
    .portfolio-marquee-track {
        gap: 1.5rem;
    }
}

@keyframes portfolio-marquee-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.portfolio-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.8) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-meta {
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-meta {
    transform: translateY(0);
}

.portfolio-category {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.75rem;
}

.portfolio-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-us-section {
    background-color: var(--color-forest-green);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.why-us-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 4.5rem;
}

@media (max-width: 991px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-md);
    padding: 3rem;
    transition: var(--transition-smooth);
}

.value-card:hover {
    background-color: #1A1A1A;
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.value-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 102, 0, 0.1);
    color: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.value-card:hover .value-icon {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: rotateY(180deg);
}

.value-title {
    font-size: 1.35rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-desc {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    line-height: 1.7;
}

/* ==========================================
   EVENT PROCESS (TIMELINE)
   ========================================== */
.process-section {
    background-color: var(--color-dark-green);
}

.timeline-container {
    position: relative;
    margin-top: 6rem;
    padding: 3rem 0;
}

.timeline-line {
    position: absolute;
    top: 54px;
    left: 5%;
    right: 5%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.timeline-progress {
    width: 0%;
    height: 100%;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.timeline-step {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 0 1rem;
}

.step-num-bubble {
    width: 50px;
    height: 50px;
    background-color: #1A1A1A;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition-smooth);
    position: relative; /* Position context for sparkles burst */
}

.step-title {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    transition: var(--transition-quick);
}

.step-card {
    background-color: #1A1A1A;
    border-radius: var(--radius-md);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.04);
    opacity: 0;
    transform: perspective(600px) rotateX(-20deg) scale(0.9) translateY(15px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    pointer-events: none;
    transition: var(--transition-smooth);
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.step-card-title {
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-card-desc {
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
}

/* Active timeline states */
.timeline-step.active .step-num-bubble {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold);
    box-shadow: 0 0 0 6px rgba(255, 102, 0, 0.2);
}

.timeline-step.active .step-title {
    color: var(--color-gold);
    font-weight: 700;
}

.timeline-step.active .step-card {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) scale(1) translateY(0);
    border-color: rgba(255, 102, 0, 0.35);
    box-shadow: 0 15px 35px rgba(255, 102, 0, 0.12), var(--shadow-soft);
    pointer-events: auto;
}

@media (max-width: 991px) {
    .timeline-line {
        display: none;
    }
    .timeline-steps {
        flex-direction: column;
        gap: 2rem;
    }
    .timeline-step {
        text-align: left;
        display: grid;
        grid-template-columns: 60px 1fr;
        align-items: start;
    }
    .step-num-bubble {
        margin: 0;
    }
    .step-title {
        margin-bottom: 0.5rem;
    }
    .step-card {
        grid-column: 2;
        margin: 0;
        max-width: 100%;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        box-shadow: none;
        border: 1px solid rgba(255,255,255,0.05);
        background-color: transparent;
        padding: 0;
    }
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    background-color: var(--color-forest-green);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-slider-container {
    max-width: 900px;
    margin-top: 4.5rem;
    position: relative;
    padding: 0 1rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.testimonial-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    align-items: start;
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    opacity: 0.2;
    transform: scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    position: relative;
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.quote-icon {
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.testimonial-text {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    color: var(--color-white);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1.35rem;
    }
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.user-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-dark-green);
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-charcoal-muted);
}

.user-info {
    text-align: left;
}

.user-name {
    font-size: 1.1rem;
    color: var(--color-white);
    font-weight: 600;
}

.user-role {
    font-size: 0.85rem;
    color: var(--color-gold);
}

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
}

.slider-arrow {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: var(--transition-quick);
}

.slider-dots .dot.active {
    background-color: var(--color-gold);
    width: 24px;
    border-radius: 10px;
}

/* ==========================================
   PINTEREST-STYLE GALLERY
   ========================================== */
.gallery-section {
    background-color: var(--color-dark-green);
}

.gallery-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 0 4rem;
}

.gallery-track-container {
    overflow: hidden;
    width: 100%;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 1.5rem;
}

.gallery-slide {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}

@media (max-width: 991px) {
    .gallery-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 576px) {
    .gallery-slide {
        flex: 0 0 100%;
    }
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background-color: rgba(18, 18, 18, 0.75);
    color: var(--color-white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
    z-index: 10;
}

.gallery-arrow:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: var(--color-white);
}

.gallery-arrow.prev {
    left: 0.5rem;
}

.gallery-arrow.next {
    right: 0.5rem;
}

.gallery-item {
    background-color: #1A1A1A;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.04);
    aspect-ratio: 4 / 3; /* Uniform rectangular container */
}

.gallery-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover; /* Fit image inside crop boundary */
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-hover-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.2));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .gallery-hover-content {
    opacity: 1;
}

.gallery-hover-content h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-section {
    background-color: var(--color-forest-green);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-map-container {
    height: 100%;
}
.contact-map-container .map-placeholder {
    height: 100%;
    min-height: 400px;
}

.contact-sub {
    font-size: 1.1rem;
    color: var(--color-charcoal-muted);
    margin-bottom: 3.5rem;
    font-weight: 300;
}

.custom-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--color-white);
    padding: 1.1rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-quick);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-group select option {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--color-gold);
    background-color: var(--color-dark-green);
    box-shadow: 0 0 0 1px var(--color-gold);
}

.btn-submit {
    border: none;
    width: auto;
    min-width: 280px;
    padding: 1.1rem 2.5rem;
    margin-top: 1.5rem;
    align-self: center; /* Centers the button horizontally within the form */
    margin-left: auto;
    margin-right: auto;
}

.form-status {
    font-size: 0.95rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    display: none;
}

.form-status.success {
    display: block;
    background-color: rgba(255, 102, 0, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-white);
}

.form-status.error {
    display: block;
    background-color: rgba(200, 50, 50, 0.15);
    border: 1px solid #d9534f;
    color: #d9534f;
}

/* Contact Details */
.contact-details-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    background-color: var(--color-dark-green); /* Fallback background while loading */
    position: relative;
}

body.light-theme .map-placeholder {
    background-color: #FFFFFF;
    border-color: rgba(0, 0, 0, 0.06);
}

.styled-map {
    width: 100%;
    height: 100%;
}

.vector-map {
    width: 100%;
    height: 100%;
    display: block;
}

.address-card {
    background-color: var(--color-dark-green);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    box-shadow: var(--shadow-soft);
}

.address-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.25rem;
    align-items: start;
}

.address-item svg {
    margin-top: 0.25rem;
}

.address-text h5 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.address-text p {
    font-size: 1rem;
    color: var(--color-white);
    font-weight: 300;
}

/* ==========================================
   FOOTER
   ========================================== */
.premium-footer {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding-top: 6.5rem;
    padding-bottom: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.05em;
}

.footer-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(52%) sepia(97%) saturate(2254%) hue-rotate(11deg) brightness(102%) contrast(105%); /* Sunset Orange filter */
}

.footer-tagline {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-forest-green);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-links a svg {
    width: 20px;
    height: 20px;
    display: block;
    flex-shrink: 0;
}

.social-links a:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer-grid h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-grid h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-gold);
}

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-grid ul a {
    color: var(--color-charcoal-muted);
    font-size: 0.95rem;
    font-weight: 300;
}

.footer-grid ul a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-newsletter p {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
}

.newsletter-form {
    display: flex;
    position: relative;
    width: 100%;
}

.newsletter-form input {
    width: 100%;
    background-color: var(--color-forest-green);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 3.5rem 1rem 1.25rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition-quick);
}

.newsletter-form input:focus {
    border-color: var(--color-gold);
    background-color: var(--color-forest-green);
}

.newsletter-form button {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background-color: var(--color-gold);
    border: none;
    color: var(--color-white);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--color-white);
    color: #000000;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    font-size: 0.85rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a:hover {
    color: var(--color-gold);
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (IntersectionObserver)
   ========================================== */
.reveal {
    opacity: 0;
    transform: perspective(1200px) rotateX(15deg) translateZ(-100px) translateY(50px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) translateZ(0px) translateY(0px);
}

/* Sparkle Effect */
.sparkle-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 100;
}

.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: var(--color-gold);
    opacity: 0;
    transform: scale(0) rotate(0deg);
    animation: sparkle-burst 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes sparkle-burst {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: scale(1.2) rotate(45deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1) rotate(90deg);
        filter: drop-shadow(0 0 5px currentColor);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
}

/* ==========================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================== */
@media (max-width: 991px) {
    /* Always show overlay text on touch screens (so users can read portfolio info without hover) */
    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 65%,
            rgba(0, 0, 0, 0.15) 100%
        );
    }
    .portfolio-meta {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    /* Responsive image height to prevent stretching on mobile */
    .about-img {
        height: 380px;
    }
}

@media (max-width: 576px) {
    /* Maximize container spacing on narrow phone screens */
    .container {
        padding: 0 1.25rem;
    }
    .nav-container {
        padding: 1.25rem 1.25rem;
    }
    .navbar.scrolled .nav-container {
        padding: 0.8rem 1.25rem;
    }
    
    /* Responsive image height for smallest mobile screens */
    .about-img {
        height: 280px;
    }
    
    /* Overlap floating card center-bottom on mobile to prevent clipping */
    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin: -2.5rem auto 0 auto;
        max-width: 92%;
        text-align: center;
        padding: 1.5rem;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    /* Prevent address card from squishing layout */
    .address-card {
        padding: 1.5rem;
    }
    
    /* Make sure form inputs don't auto-zoom in iOS Safari */
    .form-group input, 
    .form-group select, 
    .form-group textarea {
        font-size: 16px;
        padding: 0.95rem 1.25rem;
    }
}

/* ==========================================
   LENIS SMOOTH SCROLL COMPATIBILITY
   ========================================== */
html.lenis, html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* ==========================================
   LIGHT THEME VARIABLES & OVERRIDES
   ========================================== */
body.light-theme {
    --color-forest-green: #F5F5F7;    /* Base Background - Soft Light Gray */
    --color-dark-green: #FFFFFF;      /* Secondary Background - Pure White */
    --color-off-white: #FFFFFF;       /* Alternate Background - Pure White */
    --color-charcoal: #111111;        /* Main Text - Near Black */
    --color-charcoal-muted: #55555C;  /* Muted Text - Slate Gray */
    --color-white: #111111;           /* Inverted Light Text to Black */
    
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-card: rgba(0, 0, 0, 0.05);
    --color-input-border: rgba(0, 0, 0, 0.15);
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Ensure background of body shifts smoothly */
body {
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Specific elements to keep dark/light styling correct */
.hero-section,
.hero-section *,
.premium-footer,
.premium-footer *,
.why-us-section,
.why-us-section *,
.testimonials-section,
.testimonials-section * {
    /* Keep hero, footer, why-us, & testimonials dark */
    --color-forest-green: #000000;
    --color-dark-green: #121212;
    --color-off-white: #121212;
    --color-charcoal: #FFFFFF;
    --color-charcoal-muted: #A0A0A5;
    --color-white: #FFFFFF;
}

/* Fix navbar styling in light theme */
body.light-theme .navbar {
    background: rgba(245, 245, 247, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
body.light-theme .navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
}
body.light-theme .nav-link {
    color: #444449;
}
body.light-theme .nav-link.active,
body.light-theme .nav-link:hover {
    color: var(--color-gold);
}
body.light-theme .mobile-menu-btn .bar {
    background-color: #111111;
}

/* Fix service card background/borders in light mode */
body.light-theme .service-card {
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}
body.light-theme .service-card:hover {
    box-shadow: 0 12px 30px rgba(255, 102, 0, 0.12);
}
body.light-theme .service-card .card-title {
    color: #111111;
}

/* Fix values cards in Why Choose Us section */
body.light-theme .why-us-section {
    background-color: #0c0c0d; /* Keep Why Choose Us dark for premium contrast */
}

/* Testimonial adjustments in light theme */
body.light-theme .testimonials-section {
    background-color: #0c0c0d; /* Keep testimonials dark */
}

/* Fix contact layout card borders */
body.light-theme .address-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-soft);
}
body.light-theme .address-card .address-text h5 {
    color: #111111;
}
body.light-theme .address-card .address-text p,
body.light-theme .address-card .address-text a {
    color: #55555C !important;
}

/* ==========================================
   THEME TOGGLER STYLE
   ========================================== */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
    border: 1px solid var(--color-border);
}
.theme-toggle:hover {
    background-color: rgba(255, 102, 0, 0.08);
    color: var(--color-gold);
}
.theme-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
}
.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}
body.light-theme .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
}
body.light-theme .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
}

/* ==========================================
   PAGE PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.preloader-logo {
    width: 80px;
    height: auto;
    margin-bottom: 1.5rem;
    animation: pulseLogo 2s infinite ease-in-out;
}
.preloader-text-wrapper {
    margin-bottom: 2rem;
}
.preloader-title {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: #FFFFFF;
    font-family: var(--font-body);
}
.preloader-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-gold);
    display: block;
    margin-top: 0.25rem;
}
.preloader-progress-bar {
    width: 180px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}
.preloader-progress {
    height: 100%;
    width: 0%;
    background-color: var(--color-gold);
    transition: width 0.1s ease;
    box-shadow: 0 0 8px var(--color-gold);
}
@keyframes pulseLogo {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

/* ==========================================
   BEFORE/AFTER EVENT TRANSFORMATION SLIDER
   ========================================== */
.transformation-section {
    padding: 7.5rem 0;
    background-color: #0c0c0d;
}
body.light-theme .transformation-section {
    background-color: #ECECEF;
}
.transformation-slider-container {
    max-width: 900px;
    margin: 4.5rem auto 0 auto;
}
.before-after-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    user-select: none;
    -webkit-user-select: none;
    border: 1px solid var(--color-border);
}
.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.slider-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.after-image {
    width: 100%;
    /* clip-path will be updated dynamically via JS, defaults to 50% split */
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    z-index: 2;
}
.image-label {
    position: absolute;
    bottom: 1.5rem;
    padding: 0.6rem 1.2rem;
    background-color: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 3;
}
.before-label {
    right: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.after-label {
    left: 1.5rem;
    border: 1px solid var(--color-gold);
}
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; /* JS will update this */
    width: 3px;
    background-color: var(--color-gold);
    z-index: 10;
    cursor: ew-resize;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}
.handle-line {
    flex-grow: 1;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}
.handle-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-gold);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
    border: 2px solid #FFFFFF;
    transition: transform 0.2s;
}
.slider-handle:hover .handle-button {
    transform: scale(1.1);
}
.handle-arrow-left,
.handle-arrow-right {
    font-size: 0.9rem;
    color: #FFFFFF;
    opacity: 0.7;
    margin: 0 0.5rem;
    font-weight: bold;
}

/* ==========================================
   PORTFOLIO CASE STUDY MODAL
   ========================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 99990;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    padding: 2rem;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background-color: var(--color-dark-green);
    width: 100%;
    max-width: 1000px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    position: relative;
    overflow-y: auto;
    box-shadow: var(--shadow-medium);
    transform: translateY(30px) scale(0.98);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}
body.light-theme .modal-container {
    background-color: #FFFFFF;
    border-color: rgba(0,0,0,0.06);
}
.modal-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--color-charcoal-muted);
    cursor: pointer;
    line-height: 1;
    z-index: 100;
    transition: color 0.2s;
}
.modal-close-btn:hover {
    color: var(--color-gold);
}
.modal-body-content {
    padding: 3.5rem;
}
@media (max-width: 768px) {
    .modal-body-content {
        padding: 2rem;
    }
}
.modal-header-section {
    margin-bottom: 2.5rem;
}
.modal-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    font-weight: 700;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.modal-title {
    font-size: 2rem;
    color: var(--color-white);
}
.modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}
@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.modal-main-img-wrapper {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.modal-main-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}
.modal-stat {
    text-align: left;
}
.modal-stat-value {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-weight: 700;
    display: block;
}
.modal-stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-charcoal-muted);
    font-weight: 500;
}
.modal-detail-block {
    margin-bottom: 1.5rem;
}
.modal-detail-block h4 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.modal-detail-block p {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    font-weight: 300;
}

/* ==========================================
   LIGHTBOX GALLERY
   ========================================== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99995;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-close-btn {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    background: none;
    border: none;
    font-size: 3rem;
    color: #FFFFFF;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
    z-index: 1000;
}
.lightbox-close-btn:hover {
    color: var(--color-gold);
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #FFFFFF;
    font-size: 1.5rem;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    z-index: 900;
}
.lightbox-arrow:hover {
    background-color: var(--color-gold);
    color: #FFFFFF;
    border-color: var(--color-gold);
}
.lightbox-arrow.prev { left: 2.5rem; }
.lightbox-arrow.next { right: 2.5rem; }
@media (max-width: 768px) {
    .lightbox-arrow.prev { left: 1rem; }
    .lightbox-arrow.next { right: 1rem; }
    .lightbox-arrow { width: 44px; height: 44px; }
}
.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox-overlay.active .lightbox-content img {
    transform: scale(1);
}
.lightbox-caption {
    color: #FFFFFF;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-family: var(--font-heading);
}

/* ==========================================
   PREMIUM CONTACT FORM & VALIDATION
   ========================================== */
.contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 3.5rem;
    margin-top: 3.5rem;
}
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}
.contact-form-container {
    background-color: var(--color-dark-green);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-medium);
}
body.light-theme .contact-form-container {
    background-color: #FFFFFF;
    border-color: rgba(0,0,0,0.06);
    box-shadow: var(--shadow-soft);
}
@media (max-width: 576px) {
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}
.form-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}
.form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--color-gold);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
}
@media (max-width: 576px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
}
.form-group {
    position: relative;
}
.form-group.full-width {
    grid-column: span 2;
}
@media (max-width: 576px) {
    .form-group.full-width {
        grid-column: span 1;
    }
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background-color: var(--color-input-bg);
    border: none;
    border-bottom: 1.5px solid var(--color-input-border);
    color: var(--color-white);
    padding: 0.75rem 0.25rem;
    outline: none;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: border-color 0.3s;
}
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}
/* Style wrapper for select elements dropdown option colors */
.form-group select option {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}
body.light-theme .form-group select option {
    background-color: #FFFFFF;
    color: #111111;
}

/* Floating labels effect */
.form-group label {
    position: absolute;
    left: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-charcoal-muted);
    font-size: 1rem;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), top 0.3s cubic-bezier(0.16, 1, 0.3, 1), font-size 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}
.form-group textarea ~ label {
    top: 1.5rem;
}
.form-group .select-label {
    top: 50%;
}
/* Trigger floating label action when active/focused */
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -8px;
    font-size: 0.8rem;
    transform: translateY(0);
    color: var(--color-gold);
}
/* Select label trigger when option selected */
.form-group select:focus ~ label,
.form-group select:valid ~ label {
    top: -8px;
    font-size: 0.8rem;
    transform: translateY(0);
    color: var(--color-gold);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--color-gold);
}

/* Error message label */
.error-msg {
    position: absolute;
    bottom: -1.3rem;
    left: 0.25rem;
    font-size: 0.75rem;
    color: #FF3B30;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}
/* Validation states */
.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
    border-bottom-color: #FF3B30;
}
.form-group.invalid .error-msg {
    opacity: 1;
    visibility: visible;
}
/* Shake animation on invalid submit */
@keyframes shakeInput {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}
.form-group.invalid.shake {
    animation: shakeInput 0.4s ease-in-out;
}

/* Submit Button & Animations */
.btn-submit {
    margin-top: 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.btn-submit .btn-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 0.8s linear infinite;
    position: absolute;
}
.btn-submit.loading .btn-text {
    opacity: 0;
}
.btn-submit.loading .btn-spinner {
    display: block;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.form-status-msg {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.95rem;
    display: none;
    font-weight: 500;
}
.form-status-msg.success {
    background-color: rgba(40, 167, 69, 0.15);
    color: #28A745;
    border: 1px solid rgba(40, 167, 69, 0.2);
    display: block;
}
.form-status-msg.error {
    background-color: rgba(220, 53, 69, 0.15);
    color: #DC3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
    display: block;
}

/* ==========================================
   FLOATING WHATSAPP CHAT WIDGET
   ========================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 99990;
    font-family: var(--font-body);
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    position: relative;
    transition: transform 0.3s, background-color 0.3s;
}
.whatsapp-btn:hover {
    transform: scale(1.08) rotate(10deg);
    background-color: #20BA5A;
}
.whatsapp-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    background-color: #FF3B30;
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #FFFFFF;
}
/* Chat Widget Window */
.whatsapp-chat-window {
    position: absolute;
    bottom: 4.8rem;
    right: 0;
    width: 330px;
    background-color: #FFFFFF;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s, visibility 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}
.whatsapp-chat-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}
.chat-header {
    background-color: #075E54;
    color: #FFFFFF;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
}
.chat-avatar {
    position: relative;
    margin-right: 0.75rem;
}
.chat-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #FFFFFF;
    display: block;
}
.chat-avatar .online-indicator {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background-color: #4AD964;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
}
.chat-title h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.1rem;
    color: #FFFFFF;
    font-family: var(--font-body);
}
.chat-title span {
    font-size: 0.75rem;
    opacity: 0.85;
    display: block;
}
.chat-close {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #FFFFFF;
    opacity: 0.7;
    cursor: pointer;
    transition: opacity 0.2s;
}
.chat-close:hover {
    opacity: 1;
}
.chat-body {
    background-color: #ECE5DD;
    padding: 1.5rem 1rem;
    max-height: 200px;
    overflow-y: auto;
    position: relative;
}
.chat-body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    opacity: 0.08;
    pointer-events: none;
}
.chat-msg {
    background-color: #FFFFFF;
    padding: 0.8rem 1rem;
    border-radius: 0 10px 10px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    max-width: 90%;
    position: relative;
    z-index: 2;
}
.chat-msg p {
    font-size: 0.85rem;
    color: #333333;
    line-height: 1.4;
    margin: 0;
}
.chat-time {
    font-size: 0.7rem;
    color: #999999;
    display: block;
    text-align: right;
    margin-top: 0.3rem;
}
.chat-footer {
    background-color: #F0F0F0;
    padding: 0.8rem 1rem;
    display: flex;
    justify-content: center;
}
.whatsapp-chat-send {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #FFFFFF !important;
    padding: 0.7rem 1rem !important;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}
.whatsapp-chat-send:hover {
    background-color: #20BA5A !important;
}

/* ==========================================
   WEDDING IMAGES MARQUEE
   ========================================== */
.wedding-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2.5rem 0;
    display: flex;
    white-space: nowrap;
}

.wedding-marquee:before, .wedding-marquee:after {
    content: '';
    position: absolute;
    top: 0;
    width: 10%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

.wedding-marquee:before {
    left: 0;
    background: linear-gradient(to right, var(--color-dark-green), transparent);
}

.wedding-marquee:after {
    right: 0;
    background: linear-gradient(to left, var(--color-dark-green), transparent);
}

.wedding-marquee-track {
    display: inline-flex;
    gap: 1.8rem;
    animation: wedding-marquee-anim 80s linear infinite;
}

.wedding-marquee:hover .wedding-marquee-track {
    animation-play-state: paused;
}

.wedding-marquee-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wedding-marquee-item img {
    height: 280px;
    width: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.wedding-marquee-item img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-elevated);
    border-color: var(--color-gold);
}

@media (max-width: 768px) {
    .wedding-marquee {
        padding: 1.5rem 0;
    }
    .wedding-marquee-item img {
        height: 190px;
    }
    .wedding-marquee-track {
        gap: 1.2rem;
    }
}

@keyframes wedding-marquee-anim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}




/* ==========================================================================
   SEO CONTENT SECTIONS (Locations, FAQs, Blog Previews)
   ========================================================================== */

/* Locations Section */
.locations-section {
    padding: 8rem 0;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.location-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-gold-soft);
}

.location-card h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.location-card p {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* FAQs Section */
.faqs-section {
    padding: 8rem 0;
    background: var(--color-bg-dark);
}

.faqs-accordion {
    max-width: 800px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-input {
    display: none;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.8rem 2.5rem;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-white);
    user-select: none;
}

.faq-header .faq-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 2.5rem;
}

.faq-body p {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    line-height: 1.7;
    font-weight: 300;
    padding-bottom: 1.8rem;
}

/* Accordion expand logic using checkbox state */
.faq-input:checked ~ .faq-body {
    max-height: 250px;
}

.faq-input:checked ~ .faq-header .faq-icon {
    transform: rotate(45deg);
    color: var(--color-white);
}

/* Blog Previews Section */
.blog-preview-section {
    padding: 8rem 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-gold-soft);
}

.blog-img-wrapper {
    width: 100%;
    aspect-ratio: 1.6 / 1;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.blog-card-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-charcoal-muted);
    line-height: 1.6;
    margin-bottom: 1.8rem;
    font-weight: 300;
    flex-grow: 1;
}

.blog-link {
    font-size: 0.95rem;
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.blog-link:hover {
    color: var(--color-white);
    transform: translateX(5px);
}
