/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: #0b0f1a;
    color: #e4e7ef;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Utility ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #ffffff;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.25s, transform 0.15s;
}

.btn-primary {
    background: #00b4d8;
    color: #0b0f1a;
}

.btn-primary:hover {
    background: #0096c7;
    transform: translateY(-1px);
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
    background: rgba(11, 15, 26, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00b4d8;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #b0b8cc;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #00b4d8;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #e4e7ef;
    border-radius: 2px;
    transition: transform 0.2s;
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0b0f1a 0%, #112240 40%, #0a2540 70%, #0b0f1a 100%);
    padding: 6rem 1.5rem 4rem;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #8892a8;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ===== Services ===== */
.services {
    padding: 6rem 0;
    background: #0e1322;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: #151b2e;
    border: 1px solid #1e2742;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 180, 216, 0.1);
}

.card-icon {
    color: #00b4d8;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.card p {
    font-size: 0.95rem;
    color: #8892a8;
    line-height: 1.65;
}

/* ===== About ===== */
.about {
    padding: 6rem 0;
    background: #0b0f1a;
}

.about-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.05rem;
    color: #9ba3b8;
    line-height: 1.8;
}

/* ===== Contact ===== */
.contact {
    padding: 6rem 0;
    background: #0e1322;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #b0b8cc;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: #151b2e;
    border: 1px solid #1e2742;
    border-radius: 8px;
    color: #e4e7ef;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00b4d8;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}

.form-success {
    display: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    background: #151b2e;
    border: 1px solid #00b4d8;
    border-radius: 12px;
}

.form-success p {
    font-size: 1.05rem;
    color: #00b4d8;
}

/* ===== Footer ===== */
.footer {
    padding: 2rem 0;
    text-align: center;
    background: #080b14;
    border-top: 1px solid #151b2e;
}

.footer p {
    font-size: 0.9rem;
    color: #5a6378;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-tagline {
        font-size: 1.05rem;
    }

    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(11, 15, 26, 0.98);
        padding: 1.5rem 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid #1e2742;
    }

    .nav-links.open {
        display: flex;
    }

    .section-title {
        font-size: 1.65rem;
    }
}
