:root {
    --bg: #0d1b2a;
    --bg-accent: #132238;
    --panel: rgba(13, 27, 42, 0.72);
    --panel-strong: rgba(12, 23, 37, 0.9);
    --panel-soft: rgba(255, 255, 255, 0.08);
    --text: #f7f9fc;
    --muted: #c8d6e5;
    --line: rgba(255, 255, 255, 0.14);
    --highlight: #7bdff2;
    --company-color: #7bdff2;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at top left, rgba(123, 223, 242, 0.28), transparent 28%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 24%),
        linear-gradient(145deg, var(--bg), var(--bg-accent) 45%, #09131f 100%);
    background-attachment: fixed;
}

a { color: inherit; }

.site-shell {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
    padding-bottom: 72px;
}

.site-nav {
    width: min(calc(100% - 32px), var(--container));
    margin: 22px auto 0;
    position: relative;
    z-index: 1100;
}

.site-nav .navbar {
    background: rgba(8, 15, 27, 0.68) !important;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: visible;
    --bs-navbar-toggler-border-color: rgba(255, 255, 255, 0.25);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28247, 249, 252, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand,
.nav-link,
.dropdown-item {
    font-weight: 700;
    letter-spacing: 0.02em;
}

.navbar-brand {
    color: var(--text);
    font-family: "Space Grotesk", sans-serif;
}

.nav-link,
.nav-link.active { color: rgba(247, 249, 252, 0.86) !important; }

.nav-link:hover,
.dropdown-item:hover {
    color: #08131e !important;
    background-color: var(--highlight);
}

.dropdown-menu {
    background: rgba(8, 15, 27, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    z-index: 1200;
}

.dropdown-item {
    color: var(--text);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
}

.navbar-toggler { border-color: rgba(255, 255, 255, 0.25); }

.hero,
.section-card,
.content-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.hero {
    margin-top: 28px;
    padding: 42px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(123, 223, 242, 0.3), transparent 65%);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(123, 223, 242, 0.12);
    color: var(--highlight);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-title,
.page-title,
.section-heading {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
}

.hero-title {
    max-width: 720px;
    font-size: clamp(2.7rem, 6vw, 5rem);
    line-height: 1.02;
}

.hero-company {
    display: inline-block;
    color: var(--company-color);
    font-size: 1.16em;
    text-shadow: 0 0 26px color-mix(in srgb, var(--company-color) 28%, transparent);
}

.page-title {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.08;
}

.section-heading {
    margin-bottom: 12px;
    font-size: 1.55rem;
}

.hero-copy,
.page-copy,
.lead-copy {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.05rem;
}

.hero-copy {
    max-width: 720px;
    margin-top: 18px;
}

.hero-actions,
.meta-row,
.project-links,
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions { margin-top: 28px; }

.pill,
.inline-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 16px;
    font-weight: 700;
    text-decoration: none;
}

.pill-primary {
    background: var(--highlight);
    color: #08131e;
    border-color: transparent;
}

.stats-grid,
.cards-grid,
.project-gallery {
    display: grid;
    gap: 18px;
}

.stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin-top: 28px; }
.cards-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.project-gallery { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.stat-card,
.project-card,
.contact-card,
.qualification-card,
.media-card,
.gallery-item {
    background: var(--panel-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 22px;
}

.section-card,
.content-card {
    margin-top: 28px;
    padding: 32px;
}

.qualifications-section {
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0;
}

.project-card h3,
.stat-card h3,
.contact-card h3,
.qualification-card h3 {
    margin-top: 0;
    font-family: "Space Grotesk", sans-serif;
}

.project-card p,
.stat-card p,
.contact-card p,
.qualification-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.project-card a,
.project-link {
    color: var(--highlight);
    font-weight: 800;
    text-decoration: none;
}

.project-card a:hover,
.project-link:hover { color: var(--text); }

.feature-image,
.gallery-image,
.profile-photo,
.logo-image {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    object-fit: cover;
}

.embed-wrap {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.embed-wrap iframe {
    display: block;
    max-width: 100%;
    border: none;
    border-radius: 18px;
}

.logo-image {
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    padding: 16px;
}

.gallery-item { padding: 14px; }
.gallery-image { aspect-ratio: 4 / 3; }
.gallery-button {
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 7, 13, 0.86);
    z-index: 2000;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-dialog {
    position: relative;
    max-width: min(92vw, 1100px);
    max-height: 90vh;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    line-height: 1;
    background: rgba(8, 15, 27, 0.88);
    color: var(--text);
}
.page-header { margin-top: 28px; }

.two-column {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 28px;
    align-items: start;
}

.single-column { max-width: 920px; }

.project-video {
    width: 100%;
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: #02070d;
}

.qualification-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.qualification-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 18px;
}

.qualification-table th,
.qualification-table td {
    padding: 16px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.qualification-table th {
    background: rgba(123, 223, 242, 0.08);
    font-family: "Space Grotesk", sans-serif;
}

.qualification-table tr:last-child td { border-bottom: none; }

.contact-form { display: grid; gap: 18px; }

.form-status {
    margin-bottom: 18px;
    border-radius: 16px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    font-weight: 700;
}

.form-status.success {
    background: rgba(54, 179, 126, 0.18);
    border-color: rgba(54, 179, 126, 0.45);
    color: #c9f5dd;
}

.form-status.error {
    background: rgba(255, 107, 107, 0.18);
    border-color: rgba(255, 107, 107, 0.45);
    color: #ffd3d3;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 800;
}

.form-field input,
.form-field textarea,
.color-picker {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.cta-button {
    width: fit-content;
    border: none;
    border-radius: 999px;
    padding: 14px 24px;
    background: var(--highlight);
    color: #08131e;
    font-weight: 800;
}

.footer-note {
    color: rgba(247, 249, 252, 0.6);
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
}

.floating-photo {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 74px;
    height: 96px;
    object-fit: cover;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: var(--shadow);
}

@media (max-width: 991px) {
    .site-nav .navbar { border-radius: 28px; }
    .two-column { grid-template-columns: 1fr; }
    .floating-photo {
        width: 58px;
        height: 78px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 640px) {
    .site-shell,
    .site-nav {
        width: min(calc(100% - 20px), var(--container));
    }

    .hero,
    .section-card,
    .content-card {
        padding: 22px;
    }

    .stats-grid,
    .cards-grid,
    .project-gallery {
        grid-template-columns: 1fr;
    }

    .qualification-table th,
    .qualification-table td {
        padding: 12px 10px;
        font-size: 0.92rem;
    }
}
