/* ==========================================================================
   STELLARS METAL CORP — Premium Luxury Corporate Stylesheet
   Theme: Premium Industrial • Stainless Steel • Dark Glass UI
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Color Palette */
    --bg-primary: #04070B;
    --bg-secondary: #08121C;
    --bg-card: rgba(8, 18, 28, 0.65);
    --bg-card-hover: rgba(12, 28, 44, 0.8);
    
    --electric-blue: #00C2FF;
    --ice-blue: #7FE7FF;
    --platinum: #EAF2F7;
    --white: #FFFFFF;
    
    --glass-border: rgba(0, 194, 255, 0.18);
    --glass-border-hover: rgba(127, 231, 255, 0.45);
    --glass-glow: rgba(0, 194, 255, 0.25);

    --text-muted: #8E9BAE;
    --text-light: #C5D2E1;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Cormorant Garamond', serif;

    /* Transitions & Physics */
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. BASE RESET & ACCESSIBILITY
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--platinum);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    position: relative;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--electric-blue), #006699);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--electric-blue);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--ice-blue);
}

/* --------------------------------------------------------------------------
   3. BACKGROUND CANVAS & CURSOR GLOW
   -------------------------------------------------------------------------- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

#cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    margin-left: -200px;
    margin-top: -200px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.12) 0%, rgba(0, 194, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: transform 0.15s ease-out, opacity 0.3s ease;
    opacity: 0;
}

@media (pointer: fine) {
    #cursor-glow {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   4. LOADING SCREEN (1.8s Animation)
   -------------------------------------------------------------------------- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    max-width: 400px;
    width: 90%;
}

.logo-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 35px rgba(0, 194, 255, 0.4);
    animation: pulseGlow 1.8s infinite alternate;
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shine-sweep {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg) translateX(-100%);
    animation: shineSweep 1.8s ease-in-out infinite;
}

.loader-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 6px;
    text-shadow: 0 0 15px rgba(0, 194, 255, 0.5);
}

.loader-tagline {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--ice-blue);
    font-style: italic;
    margin-bottom: 24px;
}

.loader-bar-wrapper {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--electric-blue), var(--ice-blue));
    box-shadow: 0 0 10px var(--electric-blue);
    animation: fillProgress 1.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 20px rgba(0, 194, 255, 0.2); }
    100% { box-shadow: 0 0 45px rgba(0, 194, 255, 0.6); }
}

@keyframes shineSweep {
    0% { transform: rotate(30deg) translateX(-120%); }
    100% { transform: rotate(30deg) translateX(120%); }
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* --------------------------------------------------------------------------
   5. LAYOUT & GLASSMORPHISM CONTAINERS
   -------------------------------------------------------------------------- */
.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 24px 50px rgba(0, 194, 255, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* Typography & Headings */
.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--platinum) 40%, var(--ice-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: var(--electric-blue);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

/* --------------------------------------------------------------------------
   6. BUTTONS & MICRO-INTERACTIONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-blue), #007ACC);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(0, 194, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 194, 255, 0.6);
    color: var(--bg-primary);
}

.btn-glow {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--ice-blue) 100%);
    color: var(--bg-primary);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.5);
    font-weight: 700;
}

.btn-glow:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 40px rgba(127, 231, 255, 0.8);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.06);
    color: var(--platinum);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(0, 194, 255, 0.15);
    border-color: var(--electric-blue);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--ice-blue);
    border: 1px solid rgba(0, 194, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(0, 194, 255, 0.1);
    border-color: var(--electric-blue);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   7. STICKY GLASS HEADER / NAVBAR
   -------------------------------------------------------------------------- */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(4, 7, 11, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 194, 255, 0.1);
    transition: padding var(--transition-normal), background var(--transition-normal);
}

.glass-nav.scrolled {
    padding: 12px 0;
    background: rgba(4, 7, 11, 0.85);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-img {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 12px rgba(0, 194, 255, 0.4);
    transition: transform var(--transition-fast);
}

.brand-logo:hover .brand-img {
    transform: rotate(5deg) scale(1.05);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--white);
}

.brand-accent {
    color: var(--electric-blue);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--electric-blue), var(--ice-blue));
    transition: width var(--transition-fast);
    box-shadow: 0 0 8px var(--electric-blue);
}

.nav-link:hover, .nav-link.active {
    color: var(--white);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}

.mobile-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--platinum);
    transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    padding-top: 150px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid rgba(0, 194, 255, 0.25);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--electric-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--electric-blue);
    animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.badge-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--ice-blue);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-percent {
    color: var(--electric-blue);
    font-size: 1.6rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Showcase Slider */
.showcase-slider-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

.slider-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 440px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(0deg, rgba(4, 7, 11, 0.95) 0%, rgba(4, 7, 11, 0.5) 60%, rgba(4, 7, 11, 0) 100%);
    color: var(--white);
    z-index: 3;
}

.slide-tag {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 4px 0 6px;
}

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

.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding: 0 10px;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--glass-border);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-arrow:hover {
    background: var(--electric-blue);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--electric-blue);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    width: 26px;
    border-radius: var(--radius-full);
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
}

/* --------------------------------------------------------------------------
   9. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--platinum);
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.about-quote {
    padding: 24px;
    border-left: 3px solid var(--electric-blue);
}

.quote-text {
    font-family: var(--font-accent);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ice-blue);
    margin-bottom: 8px;
}

.quote-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.15);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

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

/* --------------------------------------------------------------------------
   10. PRODUCTS SECTION
   -------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    background: rgba(4, 7, 11, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--ice-blue);
    letter-spacing: 1px;
}

.product-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-spec {
    font-size: 0.8rem;
    color: var(--text-light);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    border-left: 2px solid var(--electric-blue);
}

.spec-label {
    color: var(--electric-blue);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 36px 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--electric-blue), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

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

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 194, 255, 0.08);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    margin-bottom: 24px;
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 194, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 194, 255, 0.4);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. PROCESS TIMELINE SECTION
   -------------------------------------------------------------------------- */
.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-50%);
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--electric-blue), var(--ice-blue));
    box-shadow: 0 0 12px var(--electric-blue);
    transition: height 0.3s ease;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.timeline-step {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.timeline-step:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-step:nth-child(even) {
    justify-content: flex-end;
}

.step-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all var(--transition-fast);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-muted);
}

.timeline-step.active .step-marker {
    border-color: var(--electric-blue);
    box-shadow: 0 0 20px var(--electric-blue);
    background: var(--bg-secondary);
}

.timeline-step.active .step-num {
    color: var(--electric-blue);
}

.step-content {
    width: 42%;
    padding: 30px;
}

.step-phase {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 4px 0 10px;
}

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

/* --------------------------------------------------------------------------
   13. FEATURED PROJECTS SECTION
   -------------------------------------------------------------------------- */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--electric-blue);
    color: var(--bg-primary);
    border-color: var(--electric-blue);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.4);
    font-weight: 700;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 320px;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    background: linear-gradient(180deg, rgba(4, 7, 11, 0.2) 0%, rgba(4, 7, 11, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: opacity var(--transition-normal);
}

.project-cat {
    font-family: var(--font-accent);
    font-size: 0.85rem;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.project-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    margin: 4px 0;
}

.project-location {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.project-view-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 194, 255, 0.2);
    border: 1px solid var(--electric-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all var(--transition-fast);
}

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

.project-card:hover .project-view-btn {
    opacity: 1;
    transform: scale(1);
}

/* --------------------------------------------------------------------------
   14. WHY CHOOSE US / STATS SECTION
   -------------------------------------------------------------------------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
}

.stat-card-icon {
    color: var(--electric-blue);
    margin-bottom: 16px;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ice-blue);
    margin-bottom: 8px;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. TESTIMONIALS CAROUSEL
   -------------------------------------------------------------------------- */
.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 50px;
    position: relative;
    text-align: center;
}

.quote-mark {
    font-family: var(--font-accent);
    font-size: 7rem;
    line-height: 0;
    color: rgba(0, 194, 255, 0.2);
    position: absolute;
    top: 50px;
    left: 40px;
}

.testimonial-slider {
    position: relative;
    min-height: 180px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(15px);
}

.testimonial-item.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--platinum);
    line-height: 1.7;
    margin-bottom: 30px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
}

.author-role {
    font-size: 0.85rem;
    color: var(--electric-blue);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.t-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.t-dot.active {
    width: 26px;
    border-radius: var(--radius-full);
    background: var(--electric-blue);
    box-shadow: 0 0 10px var(--electric-blue);
}

/* --------------------------------------------------------------------------
   16. CONTACT SECTION & FORM
   -------------------------------------------------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 36px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(0, 194, 255, 0.1);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--electric-blue);
    flex-shrink: 0;
}

.info-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
}

.info-value {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
}

/* Map Placeholder */
.map-placeholder {
    height: 180px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.map-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 194, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 194, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.map-pin {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pin-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--electric-blue);
    position: relative;
    z-index: 2;
}

.pin-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 194, 255, 0.4);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.map-label {
    position: absolute;
    bottom: 12px;
    font-size: 0.75rem;
    font-family: var(--font-heading);
    letter-spacing: 1.5px;
    color: var(--ice-blue);
    z-index: 2;
}

/* Contact Form */
.contact-form-card {
    padding: 40px;
    position: relative;
}

.form-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(4, 7, 11, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 15px rgba(0, 194, 255, 0.25);
}

.form-group option {
    background: var(--bg-secondary);
    color: var(--white);
}

/* Success Checkmark State */
.form-success-state {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success-state.active {
    display: flex;
}

.success-ripple-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.ripple-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--electric-blue);
    animation: rippleExpand 2s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

.ripple-circle.c1 { width: 100%; height: 100%; animation-delay: 0s; }
.ripple-circle.c2 { width: 100%; height: 100%; animation-delay: -0.5s; }

@keyframes rippleExpand {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.checkmark-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--electric-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px var(--electric-blue);
    z-index: 2;
}

.checkmark-svg {
    width: 40px;
    height: 40px;
    stroke: var(--bg-primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: checkDraw 0.8s ease forwards 0.3s;
}

@keyframes checkDraw {
    100% { stroke-dashoffset: 0; }
}

.success-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: 10px;
}

.success-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
/* =========================
   FOOTER
========================= */

/* ===== FIXED FOOTER ===== */

.main-footer{
    background:#0B0F14;
    color:#fff;
    padding:70px 0 20px;
    width:100%;
}

.main-footer .container{
    max-width:1320px;
    margin:0 auto;
    padding:0 24px;
}

.footer-grid{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr;
    gap:40px;
    margin-bottom:40px;
}

.footer-col{
    display:flex;
    flex-direction:column;
}

.footer-title{
    color:#00C2FF;
    margin-bottom:16px;
    font-size:18px;
}

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

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

.footer-links a,
.footer-text,
.footer-desc{
    color:#C5D2E1;
    text-decoration:none;
}

.footer-bottom{
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
    display: flex;
    justify-content: center;   /* Center horizontally */
    align-items: center;
    text-align: center;        /* Center the text */
    flex-wrap: wrap;
}

.footer-bottom p{
    margin: 0;
    width: 100%;
}

.footer-bottom a{
    color: #C5D2E1;
    text-decoration: none;
}

.footer-bottom a:hover{
    color: #16C7FF;
}

/* ===== Responsive Footer ===== */

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* --------------------------------------------------------------------------
   18. MODALS & POPUPS
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 11, 0.85);
    backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.modal-container {
    position: relative;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-md {
    max-width: 500px;
}

.modal-content-padding {
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--electric-blue);
}

.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   19. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   20. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .timeline-line {
        left: 30px;
    }

    .step-marker {
        left: 30px;
    }

    .timeline-step:nth-child(odd),
    .timeline-step:nth-child(even) {
        justify-content: flex-end;
    }

    .step-content {
        width: calc(100% - 80px);
    }
}

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(8, 18, 28, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--glass-border);
    }

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

    .nav-list {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    /* =========================
   MOBILE NAVIGATION
========================= */

/* ===== Responsive Navbar ===== */

.desktop-only{
    display:flex;
}

.mobile-toggle{
    display:none;
    background:none;
    border:none;
    cursor:pointer;
    flex-direction:column;
    gap:5px;
    z-index:1002;
}

.mobile-toggle .bar{
    width:26px;
    height:2px;
    background:#fff;
    transition:.35s;
}

.mobile-cta{
    display:none;
}

@media (max-width:768px){

    .desktop-only{
        display:none;
    }

    .mobile-toggle{
        display:flex;
    }

    .nav-container{
        justify-content:space-between;
        height:72px;
    }

    .brand-text{
        font-size:13px;
        line-height:1.15;
    }

    .brand-img{
        width:42px;
        height:42px;
    }

    .nav-menu{
        position:fixed;
        top:72px;
        right:-100%;
        width:280px;
        height:calc(100vh - 72px);
        background:#07131F;
        backdrop-filter:blur(18px);
        transition:right .35s ease;
        padding:30px 24px;
        border-left:1px solid rgba(255,255,255,.08);
    }

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

    .nav-list{
        display:flex;
        flex-direction:column;
        gap:22px;
        align-items:flex-start;
    }

    .mobile-cta{
        display:block;
        margin-top:20px;
        width:100%;
    }

    .mobile-cta .btn{
        width:100%;
        justify-content:center;
    }

    .mobile-toggle.active .bar:nth-child(1){
        transform:rotate(45deg) translate(5px,5px);
    }

    .mobile-toggle.active .bar:nth-child(2){
        opacity:0;
    }

    .mobile-toggle.active .bar:nth-child(3){
        transform:rotate(-45deg) translate(6px,-6px);
    }
}

/* ================= MOBILE NAVBAR ================= */

.desktop-only{display:flex;}
.mobile-toggle{display:none;}
.mobile-cta{display:none;}

@media (max-width:768px){

  .desktop-only{
    display:none !important;
  }

  .mobile-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    z-index:1002;
  }

  .mobile-toggle .bar{
    width:24px;
    height:2px;
    background:#fff;
    transition:.3s;
  }

  .nav-menu{
    position:fixed;
    top:72px;
    right:-100%;
    width:280px;
    height:calc(100vh - 72px);
    background:#08121C;
    transition:right .35s ease;
    padding:30px 24px;
    border-left:1px solid rgba(255,255,255,.08);
  }

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

  .nav-list{
    display:flex;
    flex-direction:column;
    gap:20px;
    align-items:flex-start;
  }

  .mobile-cta{
    display:block;
    width:100%;
    margin-top:10px;
  }

  .mobile-cta .btn{
    width:100%;
  }

  .mobile-toggle.active .bar:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
  }

  .mobile-toggle.active .bar:nth-child(2){
    opacity:0;
  }

  .mobile-toggle.active .bar:nth-child(3){
    transform:rotate(-45deg) translate(5px,-5px);
  }
}


.team-hero{
    padding:140px 0 90px;
    text-align:center;
    background:linear-gradient(180deg,#041019,#000814);
}

.team-title{
    font-size:60px;
    color:#fff;
    margin:20px 0;
    font-family:'Cormorant Garamond',serif;
}

.team-desc{
    max-width:750px;
    margin:auto;
    color:#B7C5D3;
    line-height:1.8;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
}

.team-card{
    text-align:center;
    padding:30px;
    border-radius:24px;
}

.team-card img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:20px;
    border:3px solid #D4AF37;
}

.team-card h3{
    color:#fff;
    margin-bottom:8px;
}

.team-card span{
    color:#D4AF37;
    font-weight:600;
}

.coordinators{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

#loading-screen{
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #020B16;
    opacity: 1;
}

#loading-screen.fade-out{
    opacity: 0;
}

.session-timer{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 14px;
    border:1px solid rgba(255,215,0,.25);
    border-radius:30px;
    background:rgba(255,255,255,.06);
    color:#FFD700;
    font-weight:600;
    font-size:14px;
    backdrop-filter:blur(10px);
}

.session-timer i{
    font-size:13px;
}

@media(max-width:768px){
    .session-timer{
        font-size:12px;
        padding:6px 10px;
    }
}