:root {
    /* Color Palette */
    --primary-color: #3b82f6;
    /* Electric Blue */
    --secondary-color: #8b5cf6;
    /* Neon Purple */
    --accent-color: #06b6d4;
    /* Cyan */
    --dark-bg: #0a0f1c;
    /* Deep Midnight Blue */
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-color: #f3f4f6;
    --text-muted: #9ca3af;
    --success-color: #10b981;

    /* Gradients */
    --gradient-main: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-glow: radial-gradient(circle at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);

    /* Fonts */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Spacing */
    --section-spacing: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-heading);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    transition: 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes glow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
    }

    100% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.2);
    }
}

.glow-effect {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
    color: #fff;
    z-index: 1001;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 62px;
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        transform: translateY(-100%);
        transition: 0.3s ease;
        z-index: 999;
        border-bottom: 1px solid var(--card-border);
    }

    .nav-links.nav-active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: block;
        color: #fff;
        z-index: 1001;
    }

    .nav-cta {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-visual-card {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-float-card {
    position: absolute;
    padding: 1rem;
    background: #1a1f2e;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.hero-float-card.top {
    top: 20px;
    right: -20px;
}

.hero-float-card.bottom {
    bottom: 40px;
    left: -20px;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.feature-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--card-border);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-container p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-container .btn-group {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-visual-card {
        height: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-float-card.top {
        right: 0;
    }

    .hero-float-card.bottom {
        left: 0;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: var(--section-spacing) 0;
    padding-bottom: 8rem;
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: #fff;
    outline: none;
    font-family: var(--font-main);
    transition: 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.3);
}

.form-control option {
    background: var(--dark-bg);
}

textarea.form-control {
    resize: vertical;
}

/* Small Mobile Devices (Phones, less than 480px) */
@media (max-width: 480px) {

    /* Navigation */
    .navbar {
        padding: 1rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .menu-toggle {
        font-size: 1.2rem;
    }

    /* Hero Section */
    .hero-section {
        padding-top: 100px;
        /* More space for fixed nav */
        text-align: center;
    }

    .hero-container {
        gap: 2rem;
    }

    /* Override inline styles for Hero */
    .hero-section h1 {
        font-size: 2rem !important;
        line-height: 1.3;
        margin-bottom: 1rem !important;
    }

    .hero-section p {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .hero-visual-card {
        height: 250px;
        margin-top: 1rem;
    }

    .hero-visual-card i.fa-brain {
        font-size: 5rem !important;
        /* Smaller icon */
    }

    /* Hero Floating Cards */
    .hero-float-card {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-float-card i {
        font-size: 0.9rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.5rem !important;
        align-items: center;
    }

    /* Why Choose Us Section */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .feature-row {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .feature-icon {
        margin: 0 auto;
        /* Center icon */
        width: 50px;
        height: 50px;
    }

    .feature-icon i {
        font-size: 1rem !important;
    }

    /* Adjust glass card in Why Choose Us */
    .glass-card {
        padding: 1.5rem;
    }

    .glass-card h3 {
        font-size: 1.5rem !important;
    }
}

/* FAQ Section */
.faq-item {
    transition: 0.3s;
}

.faq-item.active {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}