/* ========================================
   PREMIUM DESIGN SYSTEM V2.0 (MODERN & DYNAMIC)
   ======================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Primary Palette - Deep Space & Cyber Cyan */
    --bg-dark: #060913;
    --bg-card: rgba(13, 18, 32, 0.7);
    --accent: #00FFD1;      /* Cyber Neon Green */
    --accent-blue: #00D1FF; /* Electric Cyan */
    --accent-glow: rgba(0, 255, 209, 0.4);
    
    --text-main: #FFFFFF;
    --text-dim: #94A3B8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-active: rgba(0, 255, 209, 0.3);
    
    /* Layout Tokens */
    --radius-xl: 32px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --ease-out: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-smooth: all 0.5s var(--ease-out);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Base Reset & Smooth Scroll */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Selection Color */
::selection {
    background-color: var(--accent);
    color: var(--bg-dark);
}

/* ========================================
   GLOBAL UTILITIES
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-gradient {
    background: linear-gradient(135deg, #fff, var(--accent), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-morphism {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* ========================================
   NAVBAR (RE-ANIMATED)
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 25px 0;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(6, 9, 19, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 10px rgba(0, 255, 209, 0.3));
    }
    50% {
        transform: translateY(-3px);
        filter: drop-shadow(0 0 20px rgba(0, 255, 209, 0.7));
    }
}

.logo img {
    height: 50px;
    border-radius: 16px; /* Smooth curved edges */
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 0 10px rgba(0, 255, 209, 0.2));
    animation: logoFloat 4s ease-in-out infinite;
}

.logo:hover img {
    transform: scale(1.1) rotate(-3deg) !important; /* Overrides the idle animation on hover */
    filter: drop-shadow(0 0 30px rgba(0, 255, 209, 1));
    border-radius: 20px;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition-smooth);
    position: relative;
    font-family: var(--font-heading);
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent);
}

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

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

/* ========================================
   HERO 2.0 (THE WOW FACTOR)
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video-bg, .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: brightness(0.8) contrast(1.1);
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(6, 9, 19, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 800;
    line-height: 1.1;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s forwards ease-out;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 40px;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards ease-out;
}

/* Buttons (Premium Neon) */
.btn-premium {
    padding: 18px 45px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-main {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0, 255, 209, 0.4);
}

.btn-main:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 0 45px rgba(0, 255, 209, 0.6);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 255, 209, 0.2);
    transform: translateY(-5px);
}

/* ========================================
   SECTION: RESULTS (NEON CARDS)
   ======================================== */
.section {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 80px;
}

.section-head h2 {
    font-size: clamp(32px, 5vw, 50px);
    font-family: var(--font-heading);
    font-weight: 700;
}

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

.stat-card-v2 {
    padding: 50px 30px;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: var(--transition-smooth);
}

.stat-card-v2:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 15px 45px rgba(0, 255, 209, 0.1);
}

.stat-card-v2 i {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
}

.stat-card-v2 h3 {
    font-size: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 10px;
}

.stat-card-v2 p {
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

/* ========================================
   RE-ANIMATION: FADE ENTRANCE
   ======================================== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s var(--ease-out);
}

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

/* ========================================
   GLASS CARDS (Services/Testimonials)
   ======================================== */
.service-card-v2 {
    border-radius: var(--radius-xl);
    padding: 40px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-smooth);
}

.service-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 255, 209, 0.1), transparent);
    opacity: 0;
    transition: 0.5s ease;
}

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

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 255, 209, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--accent);
    margin-bottom: 30px;
}

/* ========================================
   MANAGEMENT TEAM (Artistic Grid)
   ======================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.team-card-v2 {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-img-wrapper {
    width: 100%;
    aspect-ratio: 9/11;
    overflow: hidden;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: 0.8s ease;
}

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

.team-info {
    padding: 30px 25px 25px;
    background: linear-gradient(180deg, transparent 0%, rgba(6, 9, 19, 0.8) 50%, rgba(6, 9, 19, 1) 100%);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.team-info h4 {
    font-size: 22px;
    font-weight: 700;
}

.team-info p {
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
}

/* ========================================
   FOOTER (Premium Deep)
   ======================================== */
.footer {
    padding: 100px 0 40px;
    background: #03050a;
    border-top: 1px solid var(--border-glass);
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 80px;
}

.footer-head h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--accent);
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-dim);
    transition: 0.3s;
}

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

/* ========================================
   HAMBURGER MENU STYLES
   ======================================== */
.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1005; /* Must be highest to tap when open */
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-main);
    transition: all 0.3s ease-in-out;
    border-radius: 3px;
}

/* X Animation */
.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background-color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

/* ========================================
   MOBILE OPTIMIZATION V2.0
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    
    .hamburger {
        display: block;
    }

    .nav-menu {
        display: none; /* Controlled by JS Fullscreen Overlay */
    }

    /* When JS turns the menu on, style the links for mobile! */
    .nav-menu .nav-link {
        font-size: 24px;
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 45px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }
}
