:root {
    /* Color Palette - NAXZORA Teal & White Theme */
    --bg-dark: #ffffff;
    --bg-card: #f8fafc;
    --primary: #005b69;       /* Deep Teal */
    --primary-hover: #004652;
    --primary-light: #e0f4f4; /* Soft Cyan Tint */
    --primary-glow: rgba(0, 91, 105, 0.12);
    --highlight: #f9a341;     /* Orange/Gold Accent */
    --highlight-glow: rgba(249, 163, 65, 0.15);
    --text-primary: #1e293b;  /* Dark Slate */
    --text-secondary: #64748b;/* Muted Gray */
    --accent: #70a3ac;        /* Light Teal */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --cyan-bg: #eaf7f8;       /* Very light cyan for sections */
    --cyan-mid: #c8e8ec;

    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* Spacing */
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-6: 3rem;
    --space-8: 4rem;
    --space-12: 6rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-3);
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.section {
    padding: var(--space-12) 0;
}

/* ============================================
   NAVBAR — Premium Glassmorphism
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--space-3) 0;
    background: transparent;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0, 91, 105, 0.08);
    box-shadow: 0 4px 30px rgba(0, 91, 105, 0.06);
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Waves on the far RIGHT — relative to navbar (full screen) */
.nav-waves {
    position: fixed;
    right: 20px;
    top: 0;
    height: 90px;
    opacity: 0.7;
    pointer-events: none;
    z-index: 1001;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.navbar.scrolled .nav-waves {
    opacity: 0.4;
    height: 50px;
    top: 5px;
}

/* Logo on the far LEFT — relative to navbar (full screen) */
.logo {
    position: fixed;
    left: 20px;
    top: 12px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.navbar.scrolled .logo {
    top: 6px;
}

.logo img {
    height: 70px;
    object-fit: contain;
    transition: height 0.3s ease, filter 0.3s ease;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255,255,255,0.3));
}

.navbar.scrolled .logo img {
    height: 55px;
    filter: none;
}

/* Nav links centered */
.nav-links {
    display: flex;
    gap: var(--space-4);
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-links a {
    color: var(--text-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--highlight), var(--primary));
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--highlight);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
    padding: 0.5rem;
    position: absolute;
    right: 0;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 91, 105, 0.3);
    backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   BUTTONS — Premium with Gradient & Glow
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff !important;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    box-shadow: none;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #ffffff !important;
    box-shadow: 0 8px 25px var(--primary-glow);
}

/* ============================================
   HERO SECTION — Dramatic Teal Gradient
   ============================================ */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #eaf7f8 0%, #d4eef1 25%, #b8e4ea 50%, #e0f4f4 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(224,244,244,0.5) 50%, rgba(0,91,105,0.08) 100%);
    z-index: 0;
}

/* Decorative floating shapes */
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 91, 105, 0.06) 0%, transparent 70%);
    z-index: 0;
    animation: floatSlow 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249, 163, 65, 0.06) 0%, transparent 70%);
    z-index: 0;
    animation: floatSlow 10s ease-in-out infinite reverse;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: var(--space-3);
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.slide-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.slide.active .slide-heading {
    opacity: 1;
    transform: translateY(0);
}

.slide-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 2px;
    animation: indicatorProgress 5s linear forwards;
}

@keyframes indicatorProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.6);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
    .slide-heading {
        font-size: 2rem;
        letter-spacing: 1px;
    }
}

/* ============================================
   GRID & CARDS — Luxurious with Glow
   ============================================ */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: center;
}

.card {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--highlight));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 91, 105, 0.1), 0 0 0 1px rgba(0, 91, 105, 0.05);
    border-color: var(--accent);
}

.card:hover::before {
    opacity: 1;
}

.card-img {
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cyan-bg), #fff);
    position: relative;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card-content {
    padding: var(--space-3) var(--space-3) var(--space-4);
}

.card-title {
    font-size: 1.15rem;
    margin-bottom: var(--space-1);
    color: var(--text-primary);
    font-weight: 600;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   PAGE BANNER — Teal gradient for inner pages
   ============================================ */
.page-banner {
    padding-top: 120px;
    padding-bottom: var(--space-8);
    background: linear-gradient(135deg, var(--primary) 0%, #007a8a 50%, var(--accent) 100%);
    position: relative;
    overflow: hidden;
}

/* No gradient fade on banner bottom — clean edge */

.page-banner h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: var(--space-1);
}

.page-banner p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SECTION DIVIDERS — Decorative
   ============================================ */
.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--highlight));
    margin: 0 auto var(--space-4);
    border-radius: 2px;
}

/* ============================================
   PARALLAX DARK SECTION
   ============================================ */
.parallax-section {
    background-color: #1a1a2e;
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(to bottom, rgba(15,52,67,0.9), rgba(26,26,46,0.95)),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.02) 35px, rgba(255,255,255,0.02) 70px);
    background-attachment: fixed;
    background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px, cover, auto;
    position: relative;
    z-index: 0;
}

/* The sections before/after have a higher z-index to slide over */
.parallax-section + section,
section + .parallax-section {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ============================================
   STAT CARDS — Premium counters
   ============================================ */
.stat-card {
    background: linear-gradient(135deg, var(--primary-light), #fff);
    border: 1px solid rgba(0, 91, 105, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-4) var(--space-3);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--primary-glow);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.stat-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   FOOTER — Premium Dark Teal
   ============================================ */
.footer {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
    padding: var(--space-8) 0 var(--space-4);
    color: #ffffff;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--highlight), var(--primary), var(--accent), var(--highlight));
}

.footer h4 {
    color: var(--highlight);
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.footer-col h4 {
    margin-bottom: var(--space-3);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: var(--highlight);
    padding-left: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }

/* Cyan tinted section backgrounds */
.section-cyan {
    background: linear-gradient(135deg, var(--cyan-bg) 0%, #fff 100%);
}

.section-cyan-dark {
    background: linear-gradient(135deg, var(--primary) 0%, #007a8a 100%);
    color: #fff;
}

.section-cyan-dark h2,
.section-cyan-dark h3 {
    color: #fff;
}

/* Glassmorphism utility */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .nav-links {
        margin-left: 0;
    }
    .nav-waves {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin-left: 0;
        z-index: 2000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 500px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    /* Responsive Tables */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 1rem;
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
    }

    .data-table {
        min-width: 600px;
        margin-top: 0;
    }
}

/* ============================================
   MODAL STYLES — Glassmorphism
   ============================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 91, 105, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-dark);
    margin: auto;
    padding: var(--space-4);
    border: 1px solid rgba(0, 91, 105, 0.1);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 91, 105, 0.15);
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-btn {
    color: var(--text-secondary);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary);
    background: var(--primary-light);
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: #fff;
}

/* ============================================
   LOADING SHIMMER — Premium feel
   ============================================ */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--primary-light) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ============================================
   SCROLL-TO-TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px var(--primary-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--primary-glow);
}

/* ============================================
   STAGGERED REVEAL ANIMATIONS
   ============================================ */

/* Base: hidden state */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.35s; }
.delay-4 { transition-delay: 0.5s; }
.delay-5 { transition-delay: 0.65s; }

/* Hero text typing/reveal */
.hero-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Badge pill style (like Probath "ABOUT OUR COMPANY") */
.pill-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.pill-badge-light {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

/* Card stagger animation */
.card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0, 91, 105, 0.1), 0 0 0 1px rgba(0, 91, 105, 0.05);
    border-color: var(--accent);
}

/* ============================================
   RESPONSIVE — Tablet (1024px)
   ============================================ */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--space-3);
    }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .grid-2 {
        gap: var(--space-4);
    }

    .slide-heading {
        font-size: 2.8rem;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* ============================================
   RESPONSIVE — Mobile (768px)
   ============================================ */
@media screen and (max-width: 768px) {
    :root {
        --space-12: 4rem;
        --space-8: 2.5rem;
    }

    /* Mobile Nav */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 15px;
        top: 18px;
        color: #fff;
    }

    .navbar.scrolled .mobile-menu-btn {
        color: var(--primary);
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 5rem var(--space-4) var(--space-4);
        gap: 0;
        z-index: 2000;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        color: var(--text-primary) !important;
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.9rem;
    }

    .nav-links a::after {
        display: none;
    }

    /* Logo & Waves on mobile */
    .logo {
        left: 10px;
        top: 8px;
    }

    .logo img {
        height: 55px;
    }

    .navbar.scrolled .logo img {
        height: 45px;
    }

    .nav-waves {
        right: 10px;
        height: 65px;
    }

    .navbar.scrolled .nav-waves {
        height: 40px;
    }

    /* Hero Slideshow */
    .slide-heading {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .slide-indicators {
        bottom: 60px;
    }

    /* Page Banners */
    .page-banner {
        padding-top: 100px;
        padding-bottom: var(--space-4);
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    /* Grids collapse */
    .grid {
        grid-template-columns: 1fr;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }

    /* About page order fix */
    .grid-2 > div[style*="order: 2"] {
        order: 1 !important;
    }

    .grid-2 > div[style*="order: 1"] {
        order: 2 !important;
    }

    /* Typography scaling */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    /* Product detail grid */
    .product-detail-grid {
        grid-template-columns: 1fr !important;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.8rem;
        font-size: 0.8rem;
    }

    /* Cards */
    .card-img {
        height: 200px;
    }

    /* Stats */
    .stat-card h3 {
        font-size: 2rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    /* Scroll to top */
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
    }

    /* Section padding */
    .section {
        padding: var(--space-8) 0;
    }

    /* Parallax - disable on mobile for performance */
    .parallax-section {
        background-attachment: scroll;
    }

    /* Pill badge */
    .pill-badge {
        font-size: 0.65rem;
        letter-spacing: 2px;
        padding: 0.3rem 0.8rem;
    }

    /* Form inputs */
    .form-input {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE — Small Mobile (480px)
   ============================================ */
@media screen and (max-width: 480px) {
    .slide-heading {
        font-size: 1.5rem;
        letter-spacing: 0.5px;
        padding: 0 var(--space-2);
    }

    .page-banner h1 {
        font-size: 1.6rem;
    }

    .logo img {
        height: 45px;
    }

    .nav-waves {
        height: 50px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.4rem; }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.75rem;
        width: 100%;
        text-align: center;
    }

    .container {
        padding: 0 var(--space-2);
    }

    .card-img {
        height: 180px;
    }

    .hero-slideshow {
        min-height: 500px;
    }
}
