/* ===== CSS Variables ===== */
:root {
    --blue: #1b7de6;
    --blue-bright: #3a9bff;
    --blue-dark: #0f5bb5;
    --silver: #c0c7d0;
    --silver-light: #e0e4e8;
    --navy: #0a0e1a;
    --navy-light: #111827;
    --navy-mid: #1a2035;
    --dark: #060a12;
    --white: #ffffff;
    --gray: #8892a4;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--dark);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Utility ===== */
.text-blue { color: var(--blue-bright); }
.text-silver { color: var(--silver); }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(6, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(27, 125, 230, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 2px;
    color: var(--white);
}

.nav-logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--blue-bright);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 30% 50%, rgba(27, 125, 230, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(58, 155, 255, 0.05) 0%, transparent 50%),
                var(--dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(27,125,230,0.04)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(6, 10, 18, 0.3) 0%, rgba(6, 10, 18, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 4px;
    color: var(--blue-bright);
    border: 1px solid rgba(27, 125, 230, 0.3);
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--blue-bright);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(27, 125, 230, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--blue-bright), var(--blue));
    box-shadow: 0 6px 30px rgba(27, 125, 230, 0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--silver-light);
    border: 1px solid rgba(192, 199, 208, 0.3);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue-bright);
    background: rgba(27, 125, 230, 0.05);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--navy);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-bright);
    margin-bottom: 12px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== About ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-logo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 2px solid rgba(27, 125, 230, 0.2);
    box-shadow: 0 0 60px rgba(27, 125, 230, 0.15);
}

.about-text p {
    color: var(--gray);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat i {
    font-size: 2rem;
    color: var(--blue-bright);
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--silver);
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--navy-mid);
    border: 1px solid rgba(27, 125, 230, 0.08);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: rgba(27, 125, 230, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 125, 230, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--blue-bright);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 700px;
    margin: 0 auto;
}

.team-card {
    background: var(--navy);
    border: 1px solid rgba(27, 125, 230, 0.1);
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: rgba(27, 125, 230, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.team-avatar {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27, 125, 230, 0.1);
    border: 2px solid rgba(27, 125, 230, 0.2);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--blue-bright);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.team-role {
    display: block;
    font-size: 0.85rem;
    color: var(--blue-bright);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 20px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.team-contact a:hover {
    color: var(--blue-bright);
}

.team-contact a i {
    width: 18px;
    text-align: center;
    color: var(--blue-bright);
}

/* ===== Testimonials ===== */
.testimonials-grid {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--navy-mid);
    border: 1px solid rgba(27, 125, 230, 0.1);
    border-radius: 12px;
    padding: 36px;
    position: relative;
}

.testimonial-quote {
    margin-bottom: 16px;
}

.testimonial-quote i {
    font-size: 1.5rem;
    color: rgba(27, 125, 230, 0.3);
}

.testimonial-card p {
    color: var(--silver);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-name {
    display: block;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white);
}

.author-company {
    display: block;
    font-size: 0.85rem;
    color: var(--blue-bright);
    transition: color 0.3s ease;
}

.author-company:hover {
    color: var(--blue);
    text-decoration: underline;
}

/* ===== Contact ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--blue-bright);
    width: 24px;
    text-align: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--white);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--blue-bright);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 125, 230, 0.2);
    border-radius: 50%;
    font-size: 1.1rem;
    color: var(--silver);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--navy);
    border: 1px solid rgba(27, 125, 230, 0.1);
    border-radius: 12px;
    padding: 36px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--navy-mid);
    border: 1px solid rgba(27, 125, 230, 0.1);
    border-radius: 8px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(27, 125, 230, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    border-top: 1px solid rgba(27, 125, 230, 0.1);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--blue-bright);
}

.footer-bottom {
    border-top: 1px solid rgba(27, 125, 230, 0.08);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray);
    font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(6, 10, 18, 0.98);
        backdrop-filter: blur(12px);
        padding: 24px;
        gap: 0;
        border-bottom: 1px solid rgba(27, 125, 230, 0.15);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-logo {
        width: 200px;
        height: 200px;
    }

    .about-stats {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}
