/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --bg: #0a0e17;
    --bg-light: #111827;
    --bg-card: #1a2233;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.3);
    --border: #1e293b;
    --radius: 12px;
}
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #60a5fa; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* === Navigation === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-container {
    max-width: 1100px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.nav-logo {
    font-size: 1.15rem; font-weight: 800; color: var(--text);
    letter-spacing: 1px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-btn {
    background: var(--accent) !important; color: #fff !important;
    padding: 8px 16px; border-radius: 8px; font-size: 0.85rem !important;
}
.nav-btn:hover { background: #2563eb !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
    display: block; width: 24px; height: 2px; background: var(--text);
    margin: 5px 0; transition: 0.3s;
}

/* === Hero === */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10,14,23,0.92) 0%, rgba(10,14,23,0.55) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 120px 0 80px;
}
.hero-tagline {
    font-size: 1rem; color: var(--accent); font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
}
.accent { color: var(--accent); }
.hero-desc {
    color: var(--text-muted);
    margin-top: 24px;
    font-size: 1.05rem;
    line-height: 1.8;
}
.hero-desc strong { color: var(--text); }
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

/* === Buttons === */
.btn {
    display: inline-block; padding: 14px 28px; border-radius: 10px;
    font-weight: 600; font-size: 0.95rem; transition: all 0.2s; cursor: pointer;
    border: none; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
    color: #fff;
}
.btn-outline {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text);
    background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* === Section Titles === */
.section-title {
    font-size: 2.2rem; font-weight: 700; letter-spacing: -1px;
    margin-bottom: 48px; text-align: center;
}
.section-title.light { color: #fff; }

/* === Services === */
.services {
    padding: 100px 0;
    background: var(--bg-light);
}
.services-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    transition: transform 0.2s, border-color 0.2s;
}
.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.service-img-wrap {
    width: 350px;
    min-width: 350px;
    min-height: 280px;
    overflow: hidden;
    flex-shrink: 0;
}
.service-img-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.service-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.service-body h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent);
}
.service-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 12px;
}
.service-note {
    font-style: italic;
    opacity: 0.8;
}

/* === Why Choose Us === */
.why {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.why-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.why-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(10, 14, 23, 0.88);
}
.why .container { position: relative; z-index: 2; }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.why-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.why-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.why-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* === Team === */
.team {
    padding: 100px 0;
    background: var(--bg);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
}
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}
.team-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--accent);
}
.team-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.team-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.team-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}
.team-email { font-size: 0.9rem; color: var(--accent); }

/* === Contact === */
.contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}
.contact-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.contact-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(10, 14, 23, 0.92);
}
.contact .container { position: relative; z-index: 2; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-item { margin-bottom: 24px; }
.contact-item strong {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 1.1rem;
}
.contact-item p { margin-bottom: 4px; }
.contact-item a { color: rgba(255,255,255,0.7); }
.contact-item a:hover { color: var(--accent); }
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 14px 16px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea { resize: vertical; }

/* === Footer === */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    background: var(--bg);
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }

/* === Responsive === */
@media (max-width: 900px) {
    .service-card {
        flex-direction: column;
    }
    .service-img-wrap {
        width: 100%;
        min-width: unset;
        min-height: 200px;
        max-height: 250px;
    }
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }

    .hero-content { padding: 100px 0 60px; }
    .hero h1 { font-size: 2.2rem; }

    .services { padding: 60px 0; }
    .section-title { font-size: 1.7rem; margin-bottom: 32px; }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .contact-grid { grid-template-columns: 1fr; }

    .why { padding: 60px 0; }
    .team { padding: 60px 0; }
    .contact { padding: 60px 0; }
}
