/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Orbitron:wght@400;700&display=swap');

:root {
    /* Color Palette */
    --bg-color: #050a10;
    --text-color: #e0e6ed;
    --text-muted: #94a3b8;
    --primary-color: #00f3ff;
    /* Neon Cyan */
    --primary-glow: rgba(0, 243, 255, 0.3);
    --secondary-color: #4361ee;
    /* deep blue */
    --accent-color: #f72585;
    /* Cyber pink for highlights */

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: 10px;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    /* Tech/AI feel */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.flex {
    display: flex;
    align-items: center;
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary-color);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: var(--spacing-md);
    letter-spacing: 1px;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn:hover {
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    padding: var(--spacing-lg);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(5, 10, 16, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--primary-color);
}

.mobile-nav-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    transition: all 0.3s ease;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-links>li {
    position: relative;
}

.nav-links .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: rgba(5, 10, 16, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-links>li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-links .dropdown li {
    padding: 0;
}

.nav-links .dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
}

.nav-links .dropdown a:hover {
    background: rgba(0, 243, 255, 0.1);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: 80px;
}

#hero-canvas {
    position: fixed;
    /* Fixed as requested for background effect */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0a1120 0%, #050a10 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    /* Fixed width stats, fluid text */
    gap: var(--spacing-xl);
    align-items: center;
}

/* Left Stats Column */
.hero-stats-col {
    position: relative;
    z-index: 999;
    /* Max Z-Index */
    margin-top: 80px;
}

.hero-stats-col .glass-card {
    padding: var(--spacing-md);
    background: rgba(5, 10, 16, 0.7);
    /* Much darker background */
    border: 2px solid #00f3ff;
    /* Thicker, brighter border */
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
    /* Glowing edge */
}

.stat-item-vertical {
    text-align: center;
    padding: var(--spacing-sm) 0;
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    width: 100%;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-heading);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 0 12px rgba(0, 243, 255, 0.4);
    font-weight: 700;
    white-space: nowrap;
}

/* Right Text Column */
.hero-text-col {
    text-align: left;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    color: var(--text-color);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: flex-start;
    /* Align left */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: #050a10;
        width: 100%;
        height: 100vh;
        padding: 100px 40px 40px;
        text-align: center;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        backdrop-filter: blur(15px);
        visibility: hidden;
        z-index: 1050;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        background: rgba(255, 255, 255, 0.05);
        border: none;
        box-shadow: none;
        display: none;
        padding: 10px 0;
        margin-top: 10px;
        width: 100%;
    }

    .nav-links li.open .dropdown {
        display: block;
    }

    .mobile-nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        padding: 10px;
        z-index: 1100;
        width: 44px;
        height: 44px;
    }

    .mobile-nav-toggle span {
        display: block;
        width: 28px;
        height: 2px;
        background: var(--primary-color);
        margin: 3px 0;
        transition: 0.3s;
    }

    .mobile-nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-stats-col {
        order: 2;
        margin-top: 40px;
    }

    .hero-text-col {
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

.stat-item {
    padding: var(--spacing-md);
}


/* Grid Layouts */
.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Feature Cards */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.mb-xl {
    margin-bottom: var(--spacing-xl);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Headers */
.page-header {
    background: linear-gradient(rgba(5, 10, 16, 0.9), rgba(5, 10, 16, 0.9)), url('https://source.unsplash.com/random/1600x900/?technology,medical');
    background-size: cover;
    background-position: center;
    padding: 140px 0 60px;
}

/* Service Cards */
.service-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.service-list {
    margin-top: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.service-list li {
    list-style-type: square;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.service-list li::marker {
    color: var(--secondary-color);
}

/* Footer (Restored) */
footer {
    background: #020406;
    border-top: 1px solid var(--glass-border);
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
}

/* Service Dropdown */
.service-dropdown {
    cursor: pointer;
}

.service-dropdown summary {
    list-style: none;
    padding: var(--spacing-sm) 0;
}

.service-dropdown summary::-webkit-details-marker {
    display: none;
}

.service-dropdown summary:hover h3 {
    color: var(--primary-color);
}

.dropdown-content {
    border-top: 1px solid var(--glass-border);
    padding-top: var(--spacing-md);
}