:root {
    /* Colors */
    --navy-deep: #0a192f;
    --navy-light: #112240;
    --navy-lighter: #233554;
    --blue-accent: #007bff;
    /* Brighter blue for accents */
    --text-main: #ccd6f6;
    --text-muted: #8892b0;
    --white: #e6f1ff;
    --gold: #FFD700;
    /* Optional accent if needed, keeping simple primarily */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0066FF 0%, #00A3FF 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 102, 255, 0.8) 0%, rgba(0, 163, 255, 0.8) 100%);
    --gradient-card: linear-gradient(145deg, #112240, #0a192f);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    --shadow-lg: 0 20px 40px -20px rgba(2, 12, 27, 0.9);
    --shadow-glow: 0 0 20px rgba(0, 102, 255, 0.3);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    --transition-normal: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--navy-deep);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(230, 241, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: center;
    /* Center content */
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
}

.navbar .logo {
    display: none;
    /* Hide logo */
}

/* Kept for reference but hidden */
.navbar .logo img {
    height: 40px;
    width: auto;
    transition: var(--transition-fast);
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    position: relative;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--blue-accent);
}

.nav-link.active {
    color: var(--blue-accent);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--blue-accent);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-item {
    position: relative;
    /* For dropdown positioning */
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition-fast);
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-accent);
}

.nav-link.btn-primary {
    background: var(--gradient-primary);
    padding: 10px 32px;
    /* Increased horizontal padding */
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow);
    margin-left: 10px;
    /* Separator from other links */
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.4);
    color: var(--white);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--navy-light);
    min-width: 220px;
    padding: 10px 0;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 15px;
    border-left: 2px solid transparent;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--blue-accent);
    border-left-color: var(--blue-accent);
}

/* Scroll padding for ID links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Account for fixed navbar */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 16px;
    font-family: var(--font-primary);
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--blue-accent);
    border: 1px solid var(--blue-accent);
}

.btn-secondary:hover {
    background: rgba(0, 102, 255, 0.1);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2);
}

.btn-large {
    padding: 16px 48px;
    font-size: 18px;
}

.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Ensure white logo */
    object-fit: contain;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-dark);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 163, 255, 0.15) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 2;
}

.hero-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    /* 200% enlargement */
    max-width: none;
    height: auto;
    opacity: 0.03;
    z-index: -1;
    filter: brightness(0) invert(1);
    pointer-events: none;
    object-fit: contain;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--white);
}

.hero-title span {
    color: var(--blue-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: var(--spacing-lg);
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(-45deg);
    margin: 8px auto 0;
}

/* Sections */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--blue-accent);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    background: var(--navy-deep);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--navy-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: left;
    border: 1px solid rgba(230, 241, 255, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    background: var(--navy-lighter);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 0 var(--spacing-md) 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--blue-accent);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item {
    position: relative;
    padding-left: 0;
    text-align: center;
    background: var(--navy-light);
    padding: var(--spacing-lg);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(230, 241, 255, 0.05);
    transition: var(--transition-normal);
}

.feature-item:hover {
    transform: translateY(-5px);
    background: var(--navy-lighter);
    box-shadow: var(--shadow-md);
}

.feature-number {
    position: static;
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.feature-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Process Section */
.process {
    background: var(--navy-light);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    position: relative;
}

.process-step {
    text-align: center;
    padding: var(--spacing-md);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: var(--gradient-card);
    border: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-accent);
    box-shadow: var(--shadow-sm);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.step-content p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #112240 0%, #0a192f 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(230, 241, 255, 0.05);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(0, 102, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(0, 163, 255, 0.2) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

/* Footer */
.footer {
    background: #020c1b;
    color: var(--text-muted);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 40px;
    margin-bottom: var(--spacing-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: var(--spacing-sm);
    color: var(--white);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-fast);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.footer-links a:hover {
    color: var(--primary-blue-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar .container {
        justify-content: space-between;
    }

    .navbar .logo {
        display: block;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    /* Hamburger Animation */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        flex-direction: column;
        background: var(--navy-deep);
        width: 100%;
        height: 100vh;
        padding: 100px var(--spacing-md) var(--spacing-md);
        box-shadow: none;
        transition: var(--transition-normal);
        align-items: center;
        text-align: center;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 10px 0;
        justify-content: center;
        display: block;
    }

    .nav-link.active::after {
        bottom: 0;
    }

    .nav-link.btn-primary {
        margin-left: 0;
        margin-top: var(--spacing-sm);
        width: 100%;
    }

    /* Dropdown on mobile - Always visible */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: rgba(255, 255, 255, 0.03);
        box-shadow: none;
        border: none;
        padding: 0;
        max-height: none;
        /* Changed from 0 to none */
        overflow: visible;
        min-width: unset;
        width: 100%;
    }

    .dropdown-link {
        padding: 8px 0;
        font-size: 1rem;
        border: none;
        color: var(--text-muted);
        text-align: center;
        opacity: 0.8;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--spacing-sm);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Sections */
    section {
        padding: var(--spacing-lg) 0;
    }

    .section-title {
        font-size: 1.85rem;
    }

    /* Grids to 1 column */
    .services-grid,
    .features-grid,
    .process-timeline {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }

    .feature-item {
        padding: var(--spacing-md);
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-brand,
    .footer-links,
    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}