@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@700;800&display=swap');

:root {
    --primary: #0f172a;
    --primary-light: #1e293b;
    --accent: #0ea5e9;
    --accent-hover: #0284c7;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --bg-dark: #020617;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
}

.logo-text span {
    color: var(--accent);
    font-size: 2rem;
    line-height: 0;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    border: 1px solid var(--glass-border);
    background: var(--glass);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--glass-border);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.4)), url('assets/hero.png');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(to right, var(--accent), #38bdf8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

/* Services Section */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(14, 165, 233, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* Expertise Section */
.expertise {
    padding: 100px 0;
    background: var(--primary-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-image img {
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.expertise-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.expertise-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.expertise-content ul {
    margin-bottom: 2rem;
}

.expertise-content ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-content ul li i {
    color: var(--accent);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    text-align: center;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 32px;
}

.contact-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-box p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-box form {
    display: grid;
    gap: 1rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-box input,
.contact-box textarea {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: var(--primary-light);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    /* 16px for mobile accessibility */
}

.contact-box button {
    width: 100%;
}

#formResponse {
    margin-top: 1rem;
    font-weight: 600;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: var(--primary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }

    .nav-links,
    .menu-toggle {
        display: none !important;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        text-align: center;
        height: auto;
        padding: 150px 0 80px;
    }

    .hero-btns {
        justify-content: center;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .expertise {
        padding: 60px 0;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .expertise-content ul li {
        justify-content: center;
    }

    .expertise-content h2 {
        font-size: 2rem;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-box {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }

    .contact-box h2 {
        font-size: 2rem;
    }

    .contact-box p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box input,
    .contact-box textarea {
        font-size: 16px;
        /* Explicitly 16px to prevent iOS zoom */
    }

    .faq-toggle {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .contact-box {
        padding: 2rem 1rem;
    }
}