/* ==========================================================================
   ELITE INTERNATIONAL SPORTS - CUSTOM PREMIUM STYLESHEET
   Design | Engineer | Build | Renovate | Maintain
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* --- Design Tokens / Root Variables --- */
:root {
    --color-primary: #0A1B3D;       /* Deep Navy Blue */
    --color-primary-light: #152E5E; /* Medium Navy Blue */
    --color-primary-dark: #050D1E;  /* Very Dark Navy */
    --color-secondary: #16A34A;     /* Sports Green */
    --color-secondary-light: #22C55E;/* Bright Green */
    --color-accent: #EA580C;        /* Orange Accent */
    --color-accent-light: #F97316;   /* Bright Orange */
    --color-neutral-dark: #0F172A;  /* Off-black for text */
    --color-neutral-muted: #64748B; /* Grey for secondary text */
    --color-neutral-light: #F8FAFC; /* Light Grey background */
    --color-border: #E2E8F0;        /* Light Border */
    --color-white: #FFFFFF;
    
    --font-headings: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 40px rgba(10, 27, 61, 0.12);
    --shadow-hover: 0 20px 48px rgba(10, 27, 61, 0.18);
}

/* --- Global / Reset Rules --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: clip !important;
}

body {
    font-family: var(--font-body);
    color: var(--color-neutral-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-y: visible !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
}

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

a:hover {
    color: var(--color-secondary);
}

/* --- Utility Classes --- */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }
.text-accent { color: var(--color-accent) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-dark-navy { background-color: var(--color-primary-dark) !important; }
.bg-light-grey { background-color: var(--color-neutral-light) !important; }

.section-padding {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
}

.section-title {
    margin-bottom: 50px;
}

.section-title span {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 2px;
    color: var(--color-secondary);
    display: inline-block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

.section-title.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.btn-custom {
    padding: 14px 28px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    transition: var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
}

.btn-primary-custom {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 2px solid var(--color-accent);
}

.btn-primary-custom:hover {
    background-color: var(--color-accent-light);
    border-color: var(--color-accent-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

.btn-secondary-custom {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: 2px solid var(--color-secondary);
}

.btn-secondary-custom:hover {
    background-color: var(--color-secondary-light);
    border-color: var(--color-secondary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
}

.btn-outline-custom {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-outline-custom:hover {
    background-color: var(--color-white);
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

.btn-navy-custom {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: 2px solid var(--color-primary);
}

.btn-navy-custom:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(10, 27, 61, 0.3);
}

/* --- Sticky Header / Top Bar --- */
.top-bar {
    background-color: #064e22;  /* Dark Green for top bar */
    color: var(--color-white);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: rgba(255, 255, 255, 0.85);
}

.top-bar a:hover {
    color: var(--color-secondary-light);
}

.header-container {
    position: absolute;
    width: 100%;
    z-index: 1050;
    transition: var(--transition-normal);
}

.header-sticky {
    position: fixed;
    top: 0;
    background-color: #0a5c2e;  /* Deep Green for sticky navbar */
    box-shadow: 0 8px 24px rgba(10, 92, 46, 0.25);
    z-index: 9999 !important;
}

/* Navbar offcanvas and dropdown menus — override bg-primary to green */
.offcanvas.bg-primary {
    background-color: #0a5c2e !important;
}

.dropdown-menu.bg-primary {
    background-color: #0a5c2e !important;
}

/* Unify the navbar background to a single professional green color */
.navbar-custom {
    background-color: #0a5c2e !important;
    padding: 4px 0;
    transition: var(--transition-normal);
}

.header-sticky .navbar-custom {
    padding: 2px 0;
}

@media (max-width: 991px) {
    .navbar-custom {
        padding: 8px 0;
    }
}

@media (min-width: 992px) {
    /* On desktop: override the offcanvas fixed/transform positioning so it behaves 
       exactly like a standard navbar-collapse — sitting inline in the flex row */
    .navbar-custom .offcanvas {
        position: static !important;
        visibility: visible !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        display: flex !important;
        flex-grow: 1;
        padding: 0 !important;
    }
    .navbar-custom .offcanvas-header {
        display: none !important;
    }
    .navbar-custom .offcanvas-body {
        display: flex !important;
        flex-grow: 1;
        padding: 0 !important;
        overflow-y: visible !important;
    }
    /* Prevent nav items from wrapping onto a second line */
    .navbar-custom .navbar-nav {
        flex-wrap: nowrap !important;
        align-items: center !important;
    }
    /* Ensure brand logo never shrinks */
    .navbar-custom .navbar-brand {
        flex-shrink: 0;
    }
    /* CRITICAL: Force navbar inner container to use full width on all pages
       This overrides Bootstrap's max-width on .container so nav items never wrap */
    .navbar-custom > .container,
    .navbar-custom > .container-sm,
    .navbar-custom > .container-md,
    .navbar-custom > .container-lg,
    .navbar-custom > .container-xl,
    .navbar-custom > .container-xxl {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}


/* The "Request Site Visit" button is shown on desktop (lg+) only — the HTML 
   already uses d-none d-lg-block on the <li> so mobile is handled there */

/* Explicitly target the logo image class used in HTML */
.navbar-logo-img {
    height: 85px !important;
    width: auto !important;
    object-fit: contain;
    transition: var(--transition-normal);
    display: block;
}

.header-sticky .navbar-logo-img {
    height: 70px !important;
}

.navbar-brand img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.header-sticky .navbar-brand img {
    height: 70px;
    width: auto;
}

@media (max-width: 991px) {
    .navbar-brand img,
    .navbar-logo-img {
        height: 75px !important;
        width: auto !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand img,
    .navbar-logo-img {
        height: 60px !important;
        width: auto !important;
    }
}

.footer-logo-img {
    width: 220px;
    height: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

@media (max-width: 576px) {
    .footer-logo-img {
        width: 160px;
    }
}

.nav-link-custom {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--color-white) !important;
    padding: 8px 9px !important;
    position: relative;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.nav-link-custom:hover, 
.nav-item.active .nav-link-custom {
    color: var(--color-secondary-light) !important;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 9px;
    right: 9px;
    height: 2px;
    background-color: var(--color-secondary-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease-in-out;
}

.nav-link-custom:hover::after,
.nav-item.active .nav-link-custom::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Mega Menu --- */
.dropdown-mega {
    position: static;
}

/* The navbar itself must be the positioning parent */
.navbar-custom {
    position: relative;
}

.mega-menu-content {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    position: absolute;
    background-color: var(--color-white);
    border: none;
    border-top: 4px solid var(--color-secondary);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 48px rgba(10, 27, 61, 0.15);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.3s;
    padding: 24px 20px 18px 20px;
    z-index: 1050;
    display: block !important;
}

/* JS adds this class to show the menu */
.mega-menu-content.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-column h5 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--color-secondary);
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
}

.mega-menu-column ul li {
    margin-bottom: 2px;
}

.mega-menu-column ul li a {
    color: var(--color-neutral-dark);
    font-size: 0.82rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mega-menu-column ul li a:hover {
    background-color: rgba(22, 163, 74, 0.06);
    color: var(--color-secondary) !important;
    padding-left: 14px;
}

.mega-menu-column ul li a i {
    font-size: 0.78rem;
    color: var(--color-neutral-muted);
    transition: color 0.2s ease, transform 0.2s ease;
}

.mega-menu-column ul li a:hover i {
    color: var(--color-secondary) !important;
    transform: scale(1.1);
}


/* --- Design Court Hover Dropdown --- */
/* Prevents Bootstrap from swallowing click events on the toggle link */
.nav-item.dropdown .nav-link-custom.dropdown-toggle {
    pointer-events: auto !important;
}

/* Base state: hidden, translated up slightly */
.nav-item.dropdown .dropdown-menu {
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease !important;
    border-radius: 8px !important;
    border-top: 3px solid var(--color-secondary) !important;
    padding: 8px 0 !important;
    min-width: 200px !important;
    box-shadow: 0 16px 40px rgba(10,27,61,0.2) !important;
    margin-top: 0 !important;
}

/* Shown state: JS adds .show-hover class */
.nav-item.dropdown .dropdown-menu.show-hover {
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Dropdown item styling */
.nav-item.dropdown .dropdown-menu .dropdown-item.nav-link-custom {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    padding: 10px 20px !important;
    color: rgba(255,255,255,0.88) !important;
    border-radius: 0;
    transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease !important;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-item.dropdown .dropdown-menu .dropdown-item.nav-link-custom::before {
    content: '\203A'; /* › arrow */
    font-size: 1rem;
    color: var(--color-secondary);
    line-height: 1;
    transition: transform 0.18s ease;
}

.nav-item.dropdown .dropdown-menu .dropdown-item.nav-link-custom:hover {
    background-color: rgba(255,255,255,0.06) !important;
    color: var(--color-secondary-light) !important;
    padding-left: 26px !important;
}

/* Suppress Bootstrap's click-based show class from interfering */
@media (min-width: 992px) {
    .nav-item.dropdown .dropdown-menu.show {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    .nav-item.dropdown .dropdown-menu.show.show-hover {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* --- Hero Section & Sliders --- */
.hero-slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.swiper-slide-hero {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: flex-end; /* Align content to the bottom */
    justify-content: flex-start; /* Align content to the left */
    overflow: hidden;
}

/* Subtle premium gradient overlay centered on bottom-left text (bottom-left: 72% opacity, top-right: 8% opacity) */
.swiper-slide-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at bottom left, rgba(5, 13, 30, 0.88) 0%, rgba(5, 13, 30, 0.55) 35%, rgba(5, 13, 30, 0.15) 60%, rgba(5, 13, 30, 0) 80%);
    z-index: 1;
    pointer-events: none;
}

/* Premium stadium light glow overlays */
.swiper-slide-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 45% 15%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12) 0%, transparent 35%);
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Decoupled Slide Background & Animations */
.swiper-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.swiper-slide-zoom {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    filter: brightness(1.05) contrast(1.08);
}

/* Ambient zoom effect on active slide bg */
.swiper-slide-active .swiper-slide-zoom {
    animation: zoomBg 15s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes zoomBg {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.06);
    }
}

/* Responsive Content Layout Rules */
@media (min-width: 992px) {
    .swiper-slide-hero .container {
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 80px !important;
        padding-right: 80px !important;
        padding-bottom: 120px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .swiper-slide-hero .container {
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 50px !important;
        padding-right: 50px !important;
        padding-bottom: 160px !important; /* Shifted slightly upward */
    }
}

@media (max-width: 767px) {
    .swiper-slide-hero {
        align-items: flex-end;
        justify-content: center;
    }
    .swiper-slide-hero .container {
        max-width: 100% !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-bottom: 80px !important; /* Placed in lower portion */
    }
    .hero-content {
        margin: 0 auto;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: var(--color-white);
}

.hero-tagline, .hero-title, .hero-subtitle, .hero-buttons {
    opacity: 0;
}

.swiper-slide-active .hero-tagline {
    animation: fadeInUpPremium 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.swiper-slide-active .hero-title {
    animation: fadeInUpPremium 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.15s forwards;
}

.swiper-slide-active .hero-subtitle {
    animation: fadeInUpPremium 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.3s forwards;
}

.swiper-slide-active .hero-buttons {
    animation: fadeInUpPremium 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.45s forwards;
}

.hero-tagline {
    display: block;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-secondary-light);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 18px;
    line-height: 1.15;
    max-width: 650px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9), 0 4px 20px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.25rem;
    }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px; /* 16-20px spacing directly below description */
    line-height: 1.6;
    font-weight: 450;
    max-width: 550px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 4px 15px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Premium fadeInUp Keyframes */
@keyframes fadeInUpPremium {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Stats Counter Bar --- */
.stats-counter-bar {
    position: relative;
    z-index: 10;
    margin-top: -80px;
}

@media (max-width: 992px) {
    .stats-counter-bar {
        margin-top: -40px;
    }
}

.stats-container {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    border-bottom: 5px solid var(--color-secondary);
    padding: 30px;
}

.stat-item {
    text-align: center;
    padding: 10px 15px;
}

.stat-item:not(:last-child) {
    border-right: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .stat-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--font-headings);
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-neutral-muted);
    letter-spacing: 0.5px;
}

/* --- Premium Grid Cards --- */
.premium-card {
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    padding: 40px 30px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
    transform: scaleX(0);
    transform-origin: left;
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}

.premium-card:hover::before {
    transform: scaleX(1);
    background-color: var(--color-secondary);
}

/* Custom shadow/spring hover for Bootstrap cards */
.card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
}
.card:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: var(--shadow-hover) !important;
    border-color: var(--color-secondary) !important;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(22, 163, 74, 0.08);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--color-secondary);
    margin-bottom: 25px;
    transition: var(--transition-normal);
}

.premium-card:hover .card-icon-wrapper {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: scale(1.05);
}

.premium-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.premium-card p {
    font-size: 0.95rem;
    color: var(--color-neutral-muted);
    margin-bottom: 20px;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-card:hover .card-link {
    color: var(--color-secondary);
}

.card-link i {
    transition: var(--transition-fast);
}

.card-link:hover i,
.premium-card:hover .card-link i {
    transform: translateX(4px);
}

/* --- Image Collage Frame --- */
.collage-container {
    position: relative;
    height: 450px;
}

.collage-img {
    position: absolute;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 5px solid var(--color-white);
    overflow: hidden;
    transition: var(--transition-normal);
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.collage-img:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: var(--shadow-lg);
    z-index: 10 !important;
}

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

.collage-img-1 {
    width: 65%;
    height: 65%;
    top: 0;
    left: 0;
    z-index: 3;
}

.collage-img-2 {
    width: 55%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
}

.collage-img-3 {
    width: 40%;
    height: 40%;
    bottom: 10%;
    left: 5%;
    z-index: 4;
}

/* --- Interactive Surfacing Widget --- */
.surface-selector-btn {
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-primary);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 20px;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.surface-selector-btn:hover,
.surface-selector-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.surface-selector-btn.active {
    box-shadow: var(--shadow-md);
}

.surface-selector-btn i {
    font-size: 1.15rem;
    transition: var(--transition-normal);
}

.surface-selector-btn.active i {
    transform: rotate(90deg) scale(1.15);
    color: var(--color-secondary-light);
}

.surface-detail-card {
    background-color: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 40px;
    height: 100%;
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
}

.surface-detail-card.active {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.surface-spec-table {
    width: 100%;
    margin-top: 25px;
    font-size: 0.9rem;
}

.surface-spec-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

.surface-spec-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
    width: 40%;
}

.surface-spec-table td:last-child {
    color: var(--color-neutral-muted);
}

/* --- Interactive Before-After Slider --- */
.before-after-container {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.before-img,
.after-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.before-img img,
.after-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.after-img {
    width: 50%;
    z-index: 2;
    overflow: hidden;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--color-accent);
    z-index: 3;
    cursor: ew-resize;
    transform: translateX(-50%);
}

.slider-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: ew-resize;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.slider-button:hover {
    background-color: var(--color-accent-light);
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
    position: absolute;
    bottom: 20px;
    background-color: rgba(10, 27, 61, 0.85);
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 4;
    pointer-events: none;
}

.before-label {
    right: 20px;
}

.after-label {
    left: 20px;
}

/* --- Animated Timeline --- */
.timeline-vertical {
    position: relative;
    padding: 40px 0;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--color-border);
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .timeline-vertical::before {
        left: 30px;
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 100%;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    border: 4px solid var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--color-primary);
    z-index: 5;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-badge {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(22, 163, 74, 0.4);
}

@media (max-width: 768px) {
    .timeline-badge {
        left: 30px;
    }
}

.timeline-panel {
    width: 45%;
    float: left;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.timeline-panel:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.timeline-item:nth-child(even) .timeline-panel {
    float: right;
}

@media (max-width: 768px) {
    .timeline-panel {
        width: calc(100% - 70px);
        float: right !important;
    }
}

.timeline-panel::before {
    content: '';
    position: absolute;
    top: 15px;
    right: -10px;
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    transform: rotate(45deg);
}

.timeline-item:nth-child(even) .timeline-panel::before {
    right: auto;
    left: -10px;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    border-left: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    .timeline-panel::before {
        left: -10px !important;
        right: auto !important;
        border-top: none !important;
        border-right: none !important;
        border-bottom: 1px solid var(--color-border) !important;
        border-left: 1px solid var(--color-border) !important;
    }
}

.timeline-panel h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.timeline-panel p {
    font-size: 0.9rem;
    color: var(--color-neutral-muted);
    margin-bottom: 0;
}

/* --- Portfolio Gallery / Filters --- */
.portfolio-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    color: var(--color-neutral-dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 4px;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
    box-shadow: 0 6px 15px rgba(22, 163, 74, 0.25);
}

.portfolio-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
    height: 350px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
}

.portfolio-item-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 27, 61, 0.95) 0%, rgba(10, 27, 61, 0.4) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    z-index: 2;
}

.portfolio-item-wrapper:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-lg);
}

.portfolio-item-wrapper:hover img {
    transform: scale(1.1);
}

.portfolio-item-wrapper:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    color: var(--color-secondary-light);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.portfolio-overlay h4 {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.portfolio-spec {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 15px;
}

.portfolio-spec span {
    color: var(--color-white);
    font-weight: 500;
}

/* --- Clients Carousel & Testimonial Slider --- */
.logo-slider-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
    background-color: var(--color-neutral-light);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    width: 100%;
}

/* Gradient fade masks on left and right edges */
.logo-slider-container::before,
.logo-slider-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-slider-container::before {
    left: 0;
    background: linear-gradient(to right, var(--color-neutral-light) 0%, rgba(248, 249, 250, 0) 100%);
}

.logo-slider-container::after {
    right: 0;
    background: linear-gradient(to left, var(--color-neutral-light) 0%, rgba(248, 249, 250, 0) 100%);
}

.logo-track {
    display: flex;
    gap: 80px;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
    align-items: center;
}

/* Pause scroll on hover */
.logo-slider-container:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100px;
    width: 160px;
    text-align: center;
    cursor: pointer;
}

.logo-item img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.08);
}

.logo-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-neutral-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color var(--transition-normal);
}

.logo-item:hover .logo-name {
    color: var(--color-primary);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonial-card {
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    position: relative;
    margin: 15px;
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: rgba(22, 163, 74, 0.1);
    position: absolute;
    top: 25px;
    left: 35px;
}

.testimonial-stars {
    color: #FFC107;
    margin-bottom: 15px;
}

.testimonial-text {
    font-style: italic;
    color: var(--color-neutral-dark);
    font-size: 1rem;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.author-info h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--color-neutral-muted);
}

/* --- Breadcrumbs --- */
.page-header {
    background-color: var(--color-primary-dark);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about_sports_stadium.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(5px) brightness(0.22);
    transform: scale(1.04);
    z-index: 1;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 27, 61, 0.82) 0%, rgba(22, 163, 74, 0.22) 100%);
    z-index: 2;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 3;
    color: var(--color-white);
}

.page-header-content h1 {
    color: var(--color-white);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb-custom {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-item-custom a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item-custom a:hover {
    color: var(--color-secondary-light);
}

.breadcrumb-item-custom.active {
    color: var(--color-white);
}

.breadcrumb-item-custom:not(:last-child)::after {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
    margin-left: 10px;
}

/* --- Floating Widgets --- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
    color: var(--color-white);
}

.mobile-action-bar {
    display: none !important;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

.action-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--color-white);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.action-bar-btn:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.1);
}

.action-bar-btn.btn-call {
    background-color: var(--color-primary);
}

.action-bar-btn.btn-quote {
    background-color: var(--color-accent);
}

/* --- Premium Footer --- */
.footer-top {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-top h4 {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-top h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background-color: var(--color-secondary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links li a:hover {
    color: var(--color-secondary-light);
    transform: translateX(4px);
}

.footer-contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-info li {
    margin-bottom: 15px;
    display: flex;
    gap: 12px;
}

.footer-contact-info li i {
    color: var(--color-secondary-light);
    font-size: 1rem;
    margin-top: 4px;
}

.footer-newsletter-form {
    position: relative;
}

.footer-newsletter-form input {
    width: 100%;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--color-white);
    padding: 12px 60px 12px 16px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--color-secondary-light);
    background-color: rgba(255,255,255,0.08);
}

.footer-newsletter-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 50px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.footer-newsletter-btn:hover {
    background-color: var(--color-secondary-light);
}

.footer-bottom {
    background-color: #040914;
    color: rgba(255, 255, 255, 0.45);
    padding: 25px 0;
    font-size: 0.85rem;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer-social-icons a:hover {
    background-color: var(--color-secondary);
    color: var(--color-white);
    transform: translateY(-3px);
}

/* --- Lead Form Design --- */
.contact-form-wrapper {
    background-color: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-label-custom {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.form-control-custom {
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.15);
    outline: none;
}

/* --- Instant Inquiry Popup / Modals --- */
.inquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 27, 61, 0.15);
    backdrop-filter: blur(2px);
    z-index: 10000;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 30px;
}

.inquiry-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.inquiry-modal-content {
    background-color: var(--color-white);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--color-accent);
    position: relative;
    padding: 25px;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.inquiry-modal.active .inquiry-modal-content {
    transform: translateY(0);
}

.inquiry-modal-content h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

.inquiry-modal-content p {
    font-size: 0.8rem !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
}

.inquiry-modal-content .form-label-custom {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
}

.inquiry-modal-content .form-control-custom {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
}

.inquiry-modal-content .btn-custom {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
}

.inquiry-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-neutral-muted);
    transition: var(--transition-fast);
}

.inquiry-modal-close:hover {
    color: var(--color-accent);
}

/* Mobile responsive styles for inquiry modal */
@media (max-width: 767px) {
    .inquiry-modal {
        align-items: center;
        justify-content: center;
        padding: 15px;
        background-color: rgba(10, 27, 61, 0.7);
        backdrop-filter: blur(5px);
    }
    
    .inquiry-modal-content {
        max-width: 100%;
        padding: 20px;
        transform: scale(0.95);
    }
    
    .inquiry-modal.active .inquiry-modal-content {
        transform: scale(1);
    }
}

/* --- CSS Keyframes for Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SVG Floor Plans --- */
.floor-cross-section {
    width: 100%;
    max-width: 500px;
    margin: 30px auto;
}

.floor-layer {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.floor-layer:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.layer-wooden-top { background-color: #D2B48C; color: #5C4033; border-left: 5px solid var(--color-accent); }
.layer-cushion { background-color: #334155; border-left: 5px solid var(--color-secondary); }
.layer-plywood { background-color: #CD853F; border-left: 5px solid #8B4513; }
.layer-vapor { background-color: #475569; border-left: 5px solid #000000; }
.layer-concrete { background-color: #94A3B8; color: #1E293B; border-left: 5px solid #64748B; }

/* --- Reusable Springy Pop-Up Hover Effect --- */
.hover-pop {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
}
.hover-pop:hover {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 22px 40px rgba(10, 27, 61, 0.18) !important;
    border-color: var(--color-secondary) !important;
}

/* --- Client Brochure Extra Styles --- */
.why-us-card {
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    padding: 30px 25px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
    height: 100%;
}
.why-us-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-secondary);
}
.why-us-icon-box {
    width: 50px;
    height: 50px;
    background-color: rgba(22, 163, 74, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-secondary);
    margin-bottom: 20px;
    transition: var(--transition-normal);
}
.why-us-card:hover .why-us-icon-box {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

/* 5-Phase Process Styling */
.process-phase-card {
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    height: 100%;
}
.process-phase-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
    transform: translateY(-5px);
}
.process-phase-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(22, 163, 74, 0.08);
    line-height: 1;
    font-family: var(--font-headings);
    transition: var(--transition-normal);
}
.process-phase-card:hover .process-phase-number {
    color: rgba(22, 163, 74, 0.15);
}


/* ==========================================================================
   MOBILE & RESPONSIVENESS STYLES
   ========================================================================== */
@media (max-width: 991px) {
    /* Prevent backdrop conflicts and layout shift */
    .navbar {
        position: relative;
    }
    
    .navbar-toggler {
        z-index: 1030 !important;
        position: relative;
    }

    /* Style the native Bootstrap 5 offcanvas mobile menu */
    .offcanvas {
        width: 300px !important;
        background-color: #0A1B3D !important; /* Premium Solid Navy Blue */
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    }

    .offcanvas-header {
        padding: 24px 24px 10px 24px !important;
    }

    .offcanvas-body {
        padding: 10px 24px 40px 24px !important;
        display: flex;
        flex-direction: column;
    }
    
    /* Navigation List Layout inside Offcanvas */
    .navbar-nav {
        margin-top: 20px;
        align-items: flex-start !important;
        width: 100%;
    }
    
    .nav-item {
        margin-bottom: 8px;
        width: 100%;
    }
    
    .nav-link-custom {
        font-size: 1.1rem !important;
        color: #FFFFFF !important;
        padding: 10px 14px !important;
        border-radius: 4px;
        display: block;
        transition: all 0.25s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-link-custom:hover,
    .nav-item.active .nav-link-custom {
        color: var(--color-secondary-light) !important;
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 18px !important;
    }

    /* Disable hover underline effect on mobile */
    .nav-link-custom::after {
        display: none !important;
    }

    /* Fix collapsed standard dropdown menus taking up space on mobile */
    .nav-item.dropdown .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        position: static !important;
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
        padding: 10px 15px !important;
        border: none !important;
        box-shadow: none !important;
        margin-top: 5px;
    }
    
    .nav-item.dropdown .dropdown-menu.show {
        display: block !important;
    }

    /* Mega menu inside offcanvas mobile drawer collapses/expands cleanly */
    .dropdown-mega .mega-menu-content {
        display: none !important;
        position: static !important;
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.03) !important;
        border: none !important;
        border-left: 2px solid var(--color-secondary) !important;
        box-shadow: none !important;
        padding: 10px 10px !important;
        margin-top: 8px;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        border-radius: 0 !important;
    }
    
    .dropdown-mega .mega-menu-content.show-mobile {
        display: block !important;
    }

    /* Caret icons and flex alignment for dropdown items on mobile */
    .dropdown-toggle {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .dropdown-toggle::after {
        transition: transform 0.25s ease;
        display: inline-block;
        vertical-align: middle;
        margin-left: 8px;
    }

    .dropdown-toggle.show::after {
        transform: rotate(180deg);
    }
    
    .mega-menu-column {
        margin-bottom: 5px;
        width: 100%;
    }
    
    .mega-menu-column h5 {
        color: rgba(255, 255, 255, 0.95) !important;
        font-size: 0.9rem !important;
        font-weight: 600 !important;
        margin: 0 !important;
        padding: 12px 10px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 4px;
        transition: background-color 0.2s ease;
    }
    
    .mega-menu-column h5:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
    
    .mega-menu-column h5::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
        transition: transform 0.3s ease;
    }
    
    .mega-menu-column.is-active h5 {
        color: var(--color-secondary-light) !important;
        border-bottom-color: rgba(22, 163, 74, 0.2);
    }
    
    .mega-menu-column.is-active h5::after {
        transform: rotate(180deg);
        color: var(--color-secondary-light);
    }
    
    .mega-menu-column ul {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none;
    }
    
    .mega-menu-column.is-active ul {
        max-height: 800px;
        padding: 8px 10px !important;
    }
    
    .mega-menu-column ul li {
        margin-bottom: 4px;
    }
    
    .mega-menu-column ul li a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.85rem !important;
        padding: 8px 10px !important;
        display: flex;
        align-items: center;
        gap: 10px;
        border-radius: 4px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .mega-menu-column ul li a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: var(--color-secondary-light) !important;
        padding-left: 15px;
    }
    
    .mega-menu-column ul li a i {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.4) !important;
        transition: color 0.2s ease;
    }
    
    .mega-menu-column ul li a:hover i {
        color: var(--color-secondary-light) !important;
    }

    /* Adjust section paddings */
    .section-padding {
        padding: 60px 0 !important;
    }

    /* Adjust page-level responsive components */
    .swiper-slide-hero::before {
        background: linear-gradient(to bottom, rgba(10, 27, 61, 0.85) 0%, rgba(10, 27, 61, 0.6) 100%) !important;
    }

    .hero-title {
        font-size: 2.25rem !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    }

    .hero-tagline {
        font-size: 1rem !important;
        letter-spacing: 2px !important;
        text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    }

    .page-header {
        padding: 100px 0 40px !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
    }

    .before-after-container {
        height: 320px !important;
    }

    .collage-container {
        height: 350px !important;
        margin-bottom: 30px;
    }
    
    .portfolio-overlay {
        opacity: 1 !important;
        background: linear-gradient(to top, rgba(10, 27, 61, 0.9) 0%, rgba(10, 27, 61, 0.3) 100%) !important;
    }

    /* Mobile Stats grid symmetric borders & padding */
    @media (max-width: 767px) {
        .stats-container {
            padding: 20px 15px !important;
        }
        .stats-container .col-6:nth-child(1),
        .stats-container .col-6:nth-child(3) {
            border-right: 1px solid var(--color-border);
        }
        .stats-container .col-6:nth-child(1),
        .stats-container .col-6:nth-child(2) {
            border-bottom: 1px solid var(--color-border);
        }
        .stat-item {
            padding: 15px 5px !important;
        }
        /* Override default padding-bottom and margin-bottom from style.css */
        .stat-item:not(:last-child) {
            border-right: none !important;
            border-bottom: none !important;
            padding-bottom: 15px !important;
            margin-bottom: 0 !important;
        }
        .stat-number {
            font-size: 2.2rem !important;
        }
        .stat-label {
            font-size: 0.8rem !important;
        }
    }

    .stats-container {
        padding: 15px !important;
    }

    /* General responsive table helper and surface spec table fallback */
    .table-responsive-wrapper,
    .surface-spec-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .surface-spec-table {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .hero-tagline {
        font-size: 0.9rem !important;
        letter-spacing: 1.5px !important;
    }

    .hero-subtitle {
        font-size: 0.9rem !important;
    }

    .page-header h1 {
        font-size: 1.8rem !important;
    }

    .before-after-container {
        height: 240px !important;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }
}

/* --- Custom Service/Consultancy Card Hover Effects --- */
.consultancy-card, .maintenance-card {
    transition: var(--transition-normal);
}
.consultancy-card:hover, .maintenance-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--color-secondary) !important;
}
.consultancy-card .icon-wrapper, .maintenance-card .icon-wrapper {
    transition: var(--transition-fast);
}
.consultancy-card:hover .icon-wrapper, .maintenance-card:hover .icon-wrapper {
    transform: scale(1.1);
    color: var(--color-secondary-light) !important;
}

/* --- Our Commitment Section Card (Dark Navy Card) Responsive Fixes --- */
.commitment-card {
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
}

.commitment-card h3 {
    font-size: clamp(1.2rem, 4vw, 1.8rem) !important;
    line-height: 1.3 !important;
}

.commitment-card .badge {
    white-space: normal !important;
    word-break: break-word;
    max-width: 100%;
    display: inline-block;
    line-height: 1.5;
}

/* Commitment card: reduce padding on small screens */
@media (max-width: 575px) {
    .commitment-card {
        padding: 1.5rem !important;
    }

    .commitment-card h3 {
        font-size: 1.25rem !important;
    }

    .commitment-card .text-secondary {
        font-size: 2rem !important;
    }

    /* Make CTA buttons stack on very small screens */
    .commitment-section-btns {
        flex-direction: column;
    }

    .commitment-section-btns .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767px) {
    /* Ensure our-commitment section row items don't have negative margin issues */
    .section-padding.bg-light-grey .row.g-5 {
        --bs-gutter-y: 2rem;
    }
}

/* --- Global Mobile Button Row Helper --- */
@media (max-width: 480px) {
    .d-flex.flex-wrap.gap-3 .btn-custom,
    .d-flex.flex-wrap.gap-3 .btn {
        flex: 1 1 100%;
        justify-content: center;
        text-align: center;
    }
}

/* --- Global Responsiveness & Device Compatibility Fixes --- */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Reduce client logo slider gradient mask width on mobile devices to prevent covering logos */
@media (max-width: 768px) {
    .logo-slider-container::before,
    .logo-slider-container::after {
        width: 60px !important;
    }
}

/* Floating Phone Widget & Mobile Navbar Call Icon */
.floating-phone {
    position: fixed;
    bottom: 105px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #2563EB; /* Vibrant Blue */
    color: var(--color-white) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    z-index: 999;
    transition: var(--transition-normal);
}

.floating-phone:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.6);
    color: var(--color-white) !important;
}

@media (max-width: 768px) {
    .floating-phone {
        bottom: 145px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
    }
}

.btn-call-mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.btn-call-mobile:hover {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
}

/* Flip phone icon horizontally for traditional handset look */
.floating-phone i,
.btn-call-mobile i {
    transform: scaleX(-1);
    display: inline-block;
}

.footer-contact-info li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-contact-info li a:hover {
    color: var(--color-secondary-light) !important;
    text-decoration: underline;
}

.hover-link {
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.hover-link:hover {
    color: var(--color-secondary) !important;
    text-decoration: underline !important;
}

.hover-link-secondary:hover {
    color: var(--color-secondary-light) !important;
    text-decoration: underline !important;
}

/* --- Premium 3D Coverflow Carousel Layout --- */
.services-slider {
    overflow: visible !important;
    padding: 80px 0 !important;
    perspective: 1200px;
}

.services-slider .swiper-slide {
    width: 320px !important;
    height: auto;
    background: transparent !important;
    transform-style: preserve-3d;
    perspective: 1200px;
    z-index: 2;
    transition: z-index 0.5s ease;
    overflow: visible !important;
}

.service-carousel-card {
    background-color: var(--color-white);
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transform-style: preserve-3d;
    perspective: 1000px;
    position: relative;
    border: 1px solid transparent;
    transition: box-shadow 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.6s ease;
    cursor: pointer;
    /* Default initial/fallback values for SSR/non-JS loading */
    opacity: 0.6;
    filter: blur(2px);
    transform: scale(0.82) translateZ(-150px);
}

.services-slider .swiper-slide-active {
    z-index: 10 !important;
}

.services-slider .swiper-slide-active .service-carousel-card {
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 
                0 0 45px rgba(234, 88, 12, 0.25) !important;
    border-color: rgba(234, 88, 12, 0.2) !important;
}

/* --- Mobile: Disable 3D conflicts in services slider --- */
@media (max-width: 767px) {
    /* Section header: stack title and nav buttons cleanly */
    .services-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Fix section heading font size on mobile */
    section[style*="background-color: #0A1B3D"] h2,
    section[style*="background-color:#0A1B3D"] h2 {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
    }

    /* Services slider: remove 3D perspective on mobile to prevent card conflicts */
    .services-slider {
        overflow: hidden !important;
        padding: 30px 0 50px !important;
        perspective: none !important;
    }

    /* Slides: standard width, no 3D */
    .services-slider .swiper-slide {
        width: 100% !important;
        transform-style: flat !important;
        perspective: none !important;
        overflow: hidden !important;
    }

    /* Cards: reset all 3D transforms, show cleanly */
    .service-carousel-card {
        width: 280px !important;
        margin: 0 auto !important;
        transform-style: flat !important;
        perspective: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: scale(1) translateZ(0) !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.18) !important;
        border: 1px solid rgba(255,255,255,0.08) !important;
    }

    /* Active card on mobile: subtle lift only */
    .services-slider .swiper-slide-active .service-carousel-card {
        box-shadow: 0 16px 40px rgba(0,0,0,0.28), 0 0 20px rgba(234, 88, 12, 0.2) !important;
        border-color: rgba(234, 88, 12, 0.3) !important;
        transform: scale(1.03) translateZ(0) !important;
    }

    /* Prevent card content 3D pushback */
    .service-carousel-card .card-img-wrapper,
    .service-carousel-card .card-content-wrapper {
        transform-style: flat !important;
    }

    /* Nav buttons: always visible and touchable on mobile */
    .services-button-prev,
    .services-button-next {
        width: 42px !important;
        height: 42px !important;
        font-size: 1rem !important;
        opacity: 1 !important;
    }

    /* Remove blur & scale hover 3D effect on mobile */
    .service-carousel-card:hover .card-icon-overlay {
        transform: none !important;
    }
    .service-carousel-card:hover .card-content-wrapper h3,
    .service-carousel-card:hover .card-content-wrapper p,
    .service-carousel-card:hover .btn-explore {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .services-slider .swiper-slide {
        width: 100% !important;
    }

    .service-carousel-card {
        width: 260px !important;
    }

    .service-carousel-card .card-img-wrapper {
        height: 180px !important;
    }

    .service-carousel-card .card-content-wrapper {
        padding: 32px 20px 20px !important;
    }
}

/* Tablet (768px–991px): softer 3D, no conflicting overlaps */
@media (min-width: 768px) and (max-width: 991px) {
    .services-slider {
        padding: 50px 0 70px !important;
    }

    .services-slider .swiper-slide {
        width: 300px !important;
    }

    /* Keep mild scale effect but cap blur/rotation */
    .service-carousel-card {
        opacity: 1 !important;
        filter: none !important;
    }

    .services-slider .swiper-slide-active .service-carousel-card {
        box-shadow: 0 24px 60px rgba(0,0,0,0.35), 0 0 30px rgba(234, 88, 12, 0.2) !important;
    }
}


.service-carousel-card .card-img-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    transform-style: preserve-3d;
}

.service-carousel-card .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.service-carousel-card .card-icon-overlay {
    position: absolute;
    bottom: -25px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    z-index: 3;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), background-color var(--transition-fast), color var(--transition-fast);
}

.service-carousel-card:hover .card-icon-overlay {
    transform: translateZ(30px);
    background-color: var(--color-accent);
    color: var(--color-white);
}

.service-carousel-card .card-content-wrapper {
    padding: 40px 30px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transform-style: preserve-3d;
}

.service-carousel-card .card-content-wrapper h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-carousel-card:hover .card-content-wrapper h3 {
    transform: translateZ(20px);
}

.service-carousel-card .card-content-wrapper p {
    font-size: 0.9rem;
    color: var(--color-neutral-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.service-carousel-card:hover .card-content-wrapper p {
    transform: translateZ(15px);
}

.service-carousel-card .btn-explore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 12px 20px;
    border-radius: 6px;
    border: none;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
}

.service-carousel-card:hover .btn-explore {
    background-color: var(--color-accent-light);
    transform: translateZ(25px);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.3);
}

/* Custom styles for next/prev slider arrows */
.services-button-prev:hover,
.services-button-next:hover {
    background-color: var(--color-accent-light) !important;
    border-color: var(--color-accent-light) !important;
    color: white !important;
    transform: scale(1.05);
}

/* --- Premium Hover Dropdown Menus for Desktop Viewports --- */
@media (min-width: 992px) {
    .navbar-custom .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    
    .navbar-custom .navbar-nav .dropdown-menu {
        display: block !important;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
        transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), 
                    visibility 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
}

/* ==========================================================================
   PROJECTS VERTICAL ACCORDION SHOWCASE SECTION
   ========================================================================== */

.projects-accordion-section {
    background-color: var(--color-primary-dark);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

/* Separator spacing between Projects section and Turnkey section */
.projects-accordion-section + section {
    margin-top: 80px;
}

@media (max-width: 991.98px) {
    .projects-accordion-section + section {
        margin-top: 50px;
    }
}

.projects-accordion-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(22, 163, 74, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.accordion-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-right: 30px;
}

/* Engineering Style Corner-Marker Button */
.tech-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white) !important;
    font-family: var(--font-headings);
    font-weight: 700;
    padding: 14px 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    overflow: visible;
}

.tech-btn::before,
.tech-btn::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-color: var(--color-secondary);
    border-style: solid;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tech-btn::before {
    top: -4px;
    left: -4px;
    border-width: 2px 0 0 2px;
}

.tech-btn::after {
    bottom: -4px;
    right: -4px;
    border-width: 0 2px 2px 0;
}

.tech-btn:hover {
    background-color: rgba(22, 163, 74, 0.08);
    border-color: var(--color-secondary);
    box-shadow: 0 0 20px rgba(22, 163, 74, 0.15);
}

.tech-btn:hover::before {
    top: -6px;
    left: -6px;
    width: 12px;
    height: 12px;
}

.tech-btn:hover::after {
    bottom: -6px;
    right: -6px;
    width: 12px;
    height: 12px;
}

/* Accordion Slices Layout */
.accordion-container {
    display: flex;
    height: 550px;
    gap: 12px;
    width: 100%;
}

.accordion-pane {
    flex: 1;
    min-width: 70px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), 
                background-color 0.4s ease, 
                border-color 0.4s ease;
}

/* Vertical Text for Collapsed States */
.pane-vertical-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    white-space: nowrap;
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease, opacity 0.3s ease;
    text-transform: uppercase;
    pointer-events: none;
}

.pane-thumbnail {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin: 25px auto 0 auto;
    display: block;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 0.6;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    pointer-events: none;
}

/* Expanded Pane styling */
.accordion-pane.active {
    flex: 6.5;
    background-color: var(--color-white);
    border-color: var(--color-white);
    cursor: default;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.accordion-pane.active .pane-vertical-title {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.accordion-pane.active .pane-thumbnail {
    display: none !important;
}

/* Internal contents of expanded pane */
.pane-details {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease 0.15s, visibility 0.4s ease 0.15s;
    justify-content: space-between;
}

.accordion-pane.active .pane-details {
    opacity: 1;
    visibility: visible;
}

.pane-details h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.2;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.1s, opacity 0.5s ease 0.1s;
}

.accordion-pane.active .pane-details h3 {
    transform: translateY(0);
    opacity: 1;
}

.pane-image-wrapper {
    width: 100%;
    height: 190px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 15px;
    transform: scale(0.92) translateY(25px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s, opacity 0.6s ease 0.15s;
}

.accordion-pane.active .pane-image-wrapper {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.pane-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.accordion-pane.active:hover .pane-image-wrapper img {
    transform: scale(1.03);
}

.pane-spec-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s, opacity 0.5s ease 0.2s;
}

.accordion-pane.active .pane-spec-list {
    transform: translateY(0);
    opacity: 1;
}

.pane-spec-list li {
    font-size: 0.85rem;
    color: var(--color-neutral-muted);
    display: flex;
    align-items: center;
}

.pane-spec-list li strong {
    color: var(--color-primary-light);
    font-weight: 600;
    margin-right: 6px;
}

/* Hover behaviors for collapsed panes */
.accordion-pane:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-pane:not(.active):hover .pane-vertical-title {
    color: rgba(255, 255, 255, 0.85);
}

.accordion-pane:not(.active):hover .pane-thumbnail {
    opacity: 1;
    border-color: var(--color-secondary);
}

/* Overlapping illustration photo under left panel */
.left-panel-illus-wrapper {
    position: relative;
    width: 80%;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 35px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.left-panel-illus-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(5,13,30,0.8) 0%, transparent 70%);
}

.left-panel-illus-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR VERTICAL ACCORDION
   ========================================================================== */

@media (max-width: 991.98px) {
    .projects-accordion-section {
        padding: 60px 0;
    }
    
    .accordion-left-panel {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .left-panel-illus-wrapper {
        display: none; /* Hide illustrative photo on smaller screens */
    }
    
    .accordion-container {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    
    .accordion-pane {
        flex: none;
        width: 100%;
        height: auto;
        min-width: 0;
        border-radius: 8px;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        overflow: hidden;
    }

    /* Collapsed state on mobile */
    .accordion-pane:not(.active) {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 14px 20px;
        gap: 15px;
        background-color: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
    }

    .accordion-pane:not(.active) .pane-thumbnail {
        display: block !important;
        margin: 0;
        width: 36px;
        height: 36px;
        opacity: 0.85;
        border: 2px solid rgba(255, 255, 255, 0.2);
    }

    .accordion-pane:not(.active) .pane-vertical-title {
        display: block !important;
        position: static;
        transform: none;
        writing-mode: horizontal-tb;
        color: rgba(255, 255, 255, 0.9);
        font-family: var(--font-headings);
        font-weight: 700;
        font-size: 0.95rem;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .accordion-pane:not(.active) .pane-details {
        display: none !important;
    }

    /* Active state on mobile */
    .accordion-pane.active {
        background-color: var(--color-white);
        border: 1px solid var(--color-white);
        box-shadow: var(--shadow-lg);
        cursor: default;
    }

    .accordion-pane.active .pane-vertical-title,
    .accordion-pane.active .pane-thumbnail {
        display: none !important;
    }

    .accordion-pane.active .pane-details {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 24px;
        gap: 15px;
    }

    .accordion-pane.active .pane-details h3,
    .accordion-pane.active .pane-image-wrapper,
    .accordion-pane.active .pane-spec-list {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }

    .accordion-pane.active .pane-image-wrapper {
        height: 200px;
        margin-bottom: 0;
    }
}

/* --- Turnkey Section Blurred Background --- */
.turnkey-highlights-section {
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary-dark) !important;
}

.turnkey-highlights-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about_sports_stadium.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px) brightness(0.3); /* Smooth blur and dark overlay for text contrast */
    transform: scale(1.06); /* Scale up to hide blur edges */
    z-index: 1;
    pointer-events: none;
}

.turnkey-highlights-section > .container {
    position: relative;
    z-index: 2;
}

/* --- About Page Mission & Vision Section Blurred Background --- */
.about-mission-section {
    position: relative;
    overflow: hidden;
    background-color: var(--color-primary-dark) !important;
}

.about-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about_sports_stadium.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px) brightness(0.28);
    transform: scale(1.06);
    z-index: 1;
    pointer-events: none;
}

.about-mission-section > .container {
    position: relative;
    z-index: 2;
}

/* --- Premium Pop-up Hover Cards --- */
.mission-card {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.mission-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: var(--color-secondary) !important;
    box-shadow: 0 15px 35px rgba(22, 163, 74, 0.15), 0 0 15px rgba(22, 163, 74, 0.1) !important;
}

.mission-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-secondary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left;
}

.mission-card:hover::after {
    transform: scaleX(1);
}

/* ==========================================================================
   SPORTS INFRASTRUCTURE DEVELOPMENT (WHAT WE DO) SECTION
   ========================================================================== */
.sports-infra-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Category Filter Styling */
.infra-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.infra-filter-btn {
    background: transparent;
    border: 2px solid var(--color-border);
    color: var(--color-neutral-dark);
    padding: 10px 24px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    outline: none;
}

.infra-filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    transform: translateY(-2px);
}

.infra-filter-btn.active {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

/* 3D Card Grid Layout */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* Card container for 3D perspective */
.infra-card-container {
    perspective: 1200px;
    height: 420px;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hidden state for filter animation */
.infra-card-container.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

/* The card wrapper that rotates */
.infra-card {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

/* Hover flip on desktop, click class .flipped on mobile */
@media (hover: hover) {
    .infra-card-container:hover .infra-card {
        transform: rotateY(180deg);
    }
}

.infra-card.flipped {
    transform: rotateY(180deg);
}

/* Common style for Front and Back */
.infra-card-front, .infra-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

/* Card Front Styling */
.infra-card-front {
    background-color: var(--color-primary-dark);
}

.infra-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.infra-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.infra-card-container:hover .infra-img-wrapper img {
    transform: scale(1.1);
}

.infra-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 27, 61, 0.1) 0%, rgba(10, 27, 61, 0.4) 40%, rgba(5, 13, 30, 0.9) 100%);
    z-index: 2;
    transition: var(--transition-normal);
}

.infra-card-container:hover .infra-overlay {
    background: linear-gradient(180deg, rgba(10, 27, 61, 0.2) 0%, rgba(10, 27, 61, 0.5) 30%, rgba(5, 13, 30, 0.95) 100%);
}

.infra-card-content-front {
    position: relative;
    z-index: 3;
    margin-top: auto;
    padding: 30px;
    color: var(--color-white);
}

.infra-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    padding: 5px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
}

.infra-tag.indoor {
    border: 1px solid rgba(34, 197, 94, 0.4);
    background: rgba(22, 163, 74, 0.25);
}

.infra-tag.outdoor {
    border: 1px solid rgba(249, 115, 22, 0.4);
    background: rgba(234, 88, 12, 0.25);
}

.infra-tag.specialized {
    border: 1px solid rgba(234, 88, 12, 0.4);
    background: rgba(10, 27, 61, 0.5);
}

.infra-card-front h3 {
    color: var(--color-white);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-headings);
    line-height: 1.3;
}

.infra-icon {
    font-size: 2.2rem;
    color: var(--color-secondary-light);
    margin-bottom: 15px;
    display: inline-block;
    transition: var(--transition-normal);
    filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.4));
}

.infra-card-container:hover .infra-icon {
    transform: translateY(-5px);
    color: var(--color-accent-light);
    filter: drop-shadow(0 0 12px rgba(249, 115, 22, 0.5));
}

.infra-flip-hint {
    font-size: 0.78rem;
    opacity: 0.7;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-fast);
}

.infra-flip-hint i {
    animation: bounceRight 1.5s infinite;
}

.infra-card-container:hover .infra-flip-hint {
    opacity: 1;
    color: var(--color-secondary-light);
}

/* Card Back Styling */
.infra-card-back {
    transform: rotateY(180deg);
    background-color: var(--color-primary-light);
    background-image: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border: 2px solid var(--color-secondary);
    padding: 30px;
    color: var(--color-white);
    justify-content: space-between;
}

/* Grid lines overlay on card back, replicating court lines */
.infra-card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

.infra-back-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.infra-back-header h4 {
    color: var(--color-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.3;
}

.infra-back-header span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary-light);
}

.infra-specs-list {
    position: relative;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.infra-specs-list li {
    font-size: 0.82rem;
    line-height: 1.35;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.infra-specs-list li i {
    color: var(--color-secondary-light);
    margin-top: 3px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.infra-specs-list li strong {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    display: inline-block;
    width: 85px;
    flex-shrink: 0;
}

.infra-specs-list li span {
    color: var(--color-white);
}

.infra-back-cta {
    position: relative;
    z-index: 2;
    width: 100%;
}

.infra-btn-inquire {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    justify-content: center;
    border-radius: 4px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border: none;
    transition: var(--transition-normal);
}

.infra-btn-inquire:hover {
    background-color: var(--color-secondary-light);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes bounceRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(4px);
    }
}

/* --- Sticky Contact Badge --- */
.sticky-contact-badge {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 15px 8px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px 0 0 6px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
    writing-mode: vertical-rl;
    text-orientation: upright;
    text-align: center;
    user-select: none;
    line-height: 1.2;
}

.sticky-contact-badge:hover {
    background-color: var(--color-secondary);
    padding-right: 12px;
}

@media (max-width: 991px) {
    .sticky-contact-badge {
        display: none !important;
    }
}

/* --- PREMIUM SPORTS INFRASTRUCTURE COMPONENTS --- */

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-accent) 100%);
    transition: width 0.1s ease-out;
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(10, 27, 61, 0.1);
}
.glass-panel-dark {
    background: rgba(10, 27, 61, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

/* Premium Card Layouts */
.premium-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}
.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--color-secondary);
    transition: var(--transition-normal);
}
.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}
.premium-card:hover::before {
    height: 100%;
}
.premium-card.accent-card::before {
    background-color: var(--color-accent);
}

/* Key Features & Advantage Grid */
.feature-checkmark-list {
    list-style: none;
    padding-left: 0;
}
.feature-checkmark-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-weight: 500;
}
.feature-checkmark-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-secondary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

/* Timeline Layout (Construction & Working Process) */
.timeline-steps {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
}
.timeline-steps::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--color-border);
}
.timeline-step {
    position: relative;
    margin-bottom: 30px;
}
.timeline-step:last-child {
    margin-bottom: 0;
}
.timeline-step-icon {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-secondary);
    border: 3px solid var(--color-white);
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
    z-index: 2;
    transition: var(--transition-normal);
}
.timeline-step:hover .timeline-step-icon {
    background: var(--color-accent);
    box-shadow: 0 0 0 5px rgba(234, 88, 12, 0.3);
}
.timeline-step-content {
    background: var(--color-neutral-light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}
.timeline-step:hover .timeline-step-content {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    border-color: rgba(22, 163, 74, 0.3);
}

/* Material & Aggregate Cards */
.material-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}
.material-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 27, 61, 0.15);
}
.material-card-body {
    padding: 20px;
}
.material-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Surface Spec Table Styling */
.surface-spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    border-radius: 8px;
    overflow: hidden;
}
.surface-spec-table tr {
    border-bottom: 1px solid var(--color-border);
}
.surface-spec-table tr:nth-child(even) {
    background-color: var(--color-neutral-light);
}
.surface-spec-table td {
    padding: 16px 20px;
    font-size: 0.95rem;
}
.surface-spec-table td:first-child {
    font-weight: 600;
    color: var(--color-primary);
    width: 40%;
}
.surface-spec-table td:last-child {
    color: var(--color-neutral-dark);
}

/* Masonry & Zoom Gallery */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 240px;
    transition: var(--transition-normal);
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.gallery-img-zoom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover .gallery-img-zoom {
    transform: scale(1.1);
}
.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 27, 61, 0.9));
    color: var(--color-white);
    padding: 20px;
    opacity: 0;
    transition: var(--transition-normal);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* FAQ Accordion Styling */
.faq-accordion .accordion-item {
    border: 1px solid var(--color-border);
    border-radius: 8px !important;
    overflow: hidden;
}
.faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--color-primary);
    padding: 18px 24px;
    font-size: 1rem;
    transition: var(--transition-fast);
}
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(22, 163, 74, 0.05);
    color: var(--color-secondary);
    box-shadow: none;
}
.faq-accordion .accordion-body {
    padding: 20px 24px;
    font-size: 0.95rem;
    color: var(--color-neutral-muted);
    background-color: var(--color-white);
}

/* Floating widgets customization */
.floating-whatsapp {
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

/* Animated Counters */
.counter-box {
    text-align: center;
    padding: 20px;
}
.counter-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-secondary);
    margin-bottom: 5px;
}
.counter-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-neutral-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   PREMIUM UX/UI DESIGN SYSTEM & ADVANCED ANIMATIONS Additions
   ========================================================================== */

/* Design Variables Overlay */
:root {
    --color-primary-navy: #0a1b3d;
    --color-secondary-emerald: #10b981;
    --color-cta-orange: #f97316;
    --color-light-gray: #f3f4f6;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(10, 27, 61, 0.08);
    --transition-premium: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Cursor Follower (Desktop Only) */
@media (min-width: 992px) {
    .cursor-follower {
        width: 20px;
        height: 20px;
        background-color: rgba(16, 185, 129, 0.3);
        border: 1px solid rgba(16, 185, 129, 0.8);
        border-radius: 50%;
        position: fixed;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    }
    .cursor-follower.hovering {
        width: 45px;
        height: 45px;
        background-color: rgba(249, 115, 22, 0.2);
        border-color: rgba(249, 115, 22, 0.8);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Background Effects & Blobs */
.premium-bg-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}
.radial-light-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    background: radial-gradient(circle, var(--color-secondary-emerald) 0%, transparent 70%);
}
.blob-1 { width: 600px; height: 600px; top: -10%; left: -10%; }
.blob-2 { width: 500px; height: 500px; bottom: 10%; right: -5%; background: radial-gradient(circle, #0d6efd 0%, transparent 70%); }
.blob-3 { width: 400px; height: 400px; top: 40%; left: 50%; }

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 10000;
}
.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-secondary-emerald) 0%, var(--color-cta-orange) 100%);
    width: 0%;
}

/* Section Entrance Animations via Observer */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(5px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.reveal-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-premium);
}
.reveal-fade-left.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-premium);
}
.reveal-fade-right.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: var(--transition-premium);
}
.reveal-scale-in.reveal-active {
    opacity: 1;
    transform: scale(1);
}

.reveal-zoom-in {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: var(--transition-premium);
}
.reveal-zoom-in.reveal-active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal-blur-to-clear {
    opacity: 0;
    filter: blur(20px);
    transition: var(--transition-premium);
}
.reveal-blur-to-clear.reveal-active {
    opacity: 1;
    filter: blur(0);
}

/* Stagger Children Utility */
.stagger-container > * {
    opacity: 0;
}
.stagger-container.reveal-active > * {
    animation: staggerFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes staggerFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glassmorphism & Premium Cards Redesign */
.premium-card, .material-card, .process-phase-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition-premium);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.premium-card::before, .material-card::before, .process-phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: -1;
}
.premium-card:hover::before, .material-card:hover::before, .process-phase-card:hover::before {
    left: 150%;
}
.premium-card:hover, .material-card:hover, .process-phase-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 27, 61, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Card Tilt and Shine */
.card-tilt-container {
    perspective: 1000px;
}
.card-shine-element {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    pointer-events: none;
    transform: translate(0, 0);
    z-index: 2;
    mix-blend-mode: overlay;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.premium-card:hover .card-shine-element {
    opacity: 1;
}

/* Animated Border Glow */
.premium-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.5), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 0;
}
.premium-card:hover::after {
    opacity: 1;
}

/* Icon Animations */
.card-icon-wrapper i {
    transition: var(--transition-premium);
}
.premium-card:hover .card-icon-wrapper i {
    transform: scale(1.2) rotate(10deg);
    color: var(--color-secondary-emerald) !important;
}

/* Interactive Timeline Redesign */
.timeline-steps {
    position: relative;
    padding: 40px 0;
}
.timeline-steps::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: rgba(10, 27, 61, 0.1);
    transform: translateX(-50%);
    z-index: 0;
}
/* Timeline Progress bar filler */
.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(to bottom, var(--color-secondary-emerald) 0%, var(--color-cta-orange) 100%);
    transform: translateX(-50%);
    z-index: 1;
    transition: height 0.1s linear;
}
.timeline-step {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}
.timeline-step-icon {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-white);
    border: 4px solid rgba(10, 27, 61, 0.2);
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: var(--transition-premium);
    top: 50%;
}
.timeline-step.active .timeline-step-icon {
    border-color: var(--color-secondary-emerald);
    background: var(--color-secondary-emerald);
    box-shadow: 0 0 15px var(--color-secondary-emerald);
    transform: translate(-50%, -50%) scale(1.2);
}
.timeline-step-content {
    width: 45%;
    padding: 20px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--color-border);
    transition: var(--transition-premium);
}
.timeline-step.active .timeline-step-content {
    border-color: rgba(16, 185, 129, 0.2);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1);
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .timeline-steps::before, .timeline-progress-line {
        left: 20px;
        transform: none;
    }
    .timeline-step {
        flex-direction: row !important;
        justify-content: flex-start;
        padding-left: 45px;
    }
    .timeline-step-icon {
        left: 20px;
    }
    .timeline-step-content {
        width: 100%;
    }
}

/* Premium Technical Specifications Tables */
.surface-spec-table {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--color-border);
}
.surface-spec-table thead th {
    background-color: var(--color-primary-navy);
    color: var(--color-white);
    font-weight: 700;
    padding: 18px 24px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.surface-spec-table tr {
    transition: var(--transition-premium);
}
.surface-spec-table tr:hover {
    background-color: rgba(16, 185, 129, 0.04) !important;
}
.surface-spec-table td {
    padding: 16px 24px;
    border-bottom: 1px solid rgba(10, 27, 61, 0.05);
}

/* FAQ Accordion Transitions */
.faq-accordion .accordion-item {
    border: 1px solid rgba(10, 27, 61, 0.08) !important;
    border-radius: 16px !important;
    margin-bottom: 15px;
    transition: var(--transition-premium);
    background: var(--color-white);
}
.faq-accordion .accordion-button {
    font-size: 1.1rem;
    font-weight: 700;
    padding: 22px 28px;
    border-radius: 16px !important;
}
.faq-accordion .accordion-button::after {
    transition: transform 0.4s ease;
}
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: rgba(16, 185, 129, 0.04);
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Masonry & Gallery Hover overlay */
.gallery-masonry {
    columns: 3 280px;
    column-gap: 20px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 20px;
    height: auto;
    border-radius: 20px;
}
.gallery-overlay {
    background: linear-gradient(to top, rgba(10, 27, 61, 0.95) 0%, rgba(10, 27, 61, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Statistics animated circle */
.stat-circle-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 15px auto;
}
.stat-svg {
    transform: rotate(-90deg);
}
.stat-circle-bg {
    fill: none;
    stroke: rgba(10, 27, 61, 0.05);
    stroke-width: 6px;
}
.stat-circle-val {
    fill: none;
    stroke: var(--color-secondary-emerald);
    stroke-width: 6px;
    stroke-linecap: round;
    stroke-dasharray: 220;
    stroke-dashoffset: 220;
    transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.reveal-active .stat-circle-val {
    stroke-dashoffset: var(--dashoffset);
}

/* Why Choose Us feature hover styles */
.why-choose-us-card {
    transition: var(--transition-premium);
}
.why-choose-us-card:hover i {
    transform: rotate(360deg);
    color: var(--color-cta-orange) !important;
}

/* Full screen custom hero indicators */
.hero-full-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    cursor: pointer;
    animation: bounceIndicator 2s infinite;
}
@keyframes bounceIndicator {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -10px); }
    60% { transform: translate(-50%, -5px); }
}

/* Headline Reveal effect */
.headline-reveal-container {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}
.headline-reveal-letter {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.scroll-reveal.reveal-active .headline-reveal-letter {
    transform: translateY(0);
}

/* Magnetic Button Glow */
.btn-glow {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0px;
    height: 0px;
    background: rgba(249, 115, 22, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}
.btn-glow:hover::after {
    width: 300px;
    height: 300px;
}

/* Floating SVG Separator styling */
.svg-wave-separator {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -1px;
    height: 60px;
    pointer-events: none;
    z-index: 5;
}

/* Lightbox Modal custom styles */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 27, 61, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.lightbox-content {
    max-width: 85%;
    max-height: 85%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}
.lightbox-modal.active {
    display: flex;
    opacity: 1;
}
.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Hero Animations additions */
.page-header p, .page-header-content p {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-premium);
    transition-delay: 0.5s;
}
.page-header.reveal-active p, .page-header-content.reveal-active p {
    opacity: 1;
    transform: translateY(0);
}
.page-header .btn, .page-header-content .btn,
.page-header-content button, .page-header button {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.8s;
}
.page-header.reveal-active .btn, .page-header-content.reveal-active .btn,
.page-header-content.reveal-active button, .page-header.reveal-active button {
    opacity: 1;
    transform: translateY(0);
}

/* Button hover glow */
.btn-glow:hover {
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.6);
    color: #fff !important;
}

/* Float particles animation */
@keyframes floatParticles {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(16, 185, 129, 0.3);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticles 8s infinite linear;
}

/* Sidebar Sticky Fix: Disable AOS transforms on desktop screens and force flex stretch */
@media (min-width: 992px) {
    .col-lg-4[data-aos="fade-left"] {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        align-self: stretch !important;
    }
}

/* Category Subpage Card Navigator at Top */
.subpage-nav-container {
    background: var(--color-white);
    padding: 25px 0 15px 0;
    border-bottom: 1px solid var(--color-border);
}
.subpage-nav-title {
    font-size: 1.05rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 15px;
}
.subpage-nav-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}
/* Hide default scrollbar, show clean themed scrollbar */
.subpage-nav-scroll::-webkit-scrollbar {
    height: 5px;
}
.subpage-nav-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
}
.subpage-nav-scroll::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 3px;
}
.subpage-nav-card {
    flex: 0 0 220px;
    height: 130px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-decoration: none !important;
}
.subpage-nav-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.subpage-nav-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}
.subpage-nav-card:hover img {
    transform: scale(1.06);
}
.subpage-nav-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 27, 61, 0.92) 25%, rgba(10, 27, 61, 0.25) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    color: var(--color-white);
    transition: var(--transition-normal);
}
.subpage-nav-card.active .subpage-nav-overlay {
    background: linear-gradient(to top, rgba(22, 163, 74, 0.95) 25%, rgba(22, 163, 74, 0.35) 100%);
}
.subpage-nav-overlay h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-white) !important;
    line-height: 1.25;
}
.subpage-nav-overlay span {
    font-size: 0.65rem;
    opacity: 0.85;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}


