* {
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: radial-gradient(circle at top left, rgba(14,165,233,.18), transparent 35%), radial-gradient(circle at bottom right, rgba(99,102,241,.16), transparent 35%), #0f172a;
    color: #fff;
    margin: 0;
    line-height: 1.7;
}

a {
    color: #38bdf8;
    text-decoration: none;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: auto;
    padding: 36px 0;
}

/* NAV */
.nav {
    background: rgba(2,6,23,.88);
    border-bottom: 1px solid rgba(148,163,184,.15);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
}

.logo {
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .4px;
    color: #38bdf8;
}

.nav a {
    margin-left: 20px;
    color: #e2e8f0;
    font-weight: 600;
    transition: .25s;
}

    .nav a:hover {
        color: #38bdf8;
    }

/* HERO */
.hero {
    padding: 95px 0;
    background: linear-gradient(135deg, rgba(15,23,42,.9), rgba(30,41,59,.6)), radial-gradient(circle at top left, #0ea5e9 0, transparent 32%), radial-gradient(circle at bottom right, #6366f1 0, transparent 34%);
}

.hero-card {
    max-width: 1050px;
    background: linear-gradient(145deg, rgba(15,23,42,.92), rgba(30,41,59,.78));
    border: 1px solid rgba(148,163,184,.22);
    backdrop-filter: blur(18px);
    padding: 56px;
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.06);
}

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    margin: 0 0 14px;
}

.hero h2 {
    color: #38bdf8;
    margin: 0 0 22px;
    font-size: 28px;
}

.hero p {
    color: #cbd5e1;
    font-size: 18px;
    max-width: 900px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    border: 0;
    padding: 13px 22px;
    border-radius: 14px;
    cursor: pointer;
    margin: 8px 8px 8px 0;
    font-weight: 700;
    box-shadow: 0 14px 30px rgba(14,165,233,.22);
    transition: .25s;
}

    .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 40px rgba(14,165,233,.34);
    }

.btn-dark {
    background: linear-gradient(135deg, #334155, #1e293b);
}

/* SECTIONS */
.section-title {
    font-size: 34px;
    margin: 55px 0 24px;
    letter-spacing: -.5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

/* CARDS */
.card,
.project-card {
    background: linear-gradient(145deg, rgba(30,41,59,.92), rgba(15,23,42,.94));
    border: 1px solid rgba(148,163,184,.16);
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 22px 55px rgba(0,0,0,.26);
}

.project-card {
    transition: .3s;
    overflow: hidden;
}

    .project-card:hover {
        transform: translateY(-8px);
        border-color: rgba(56,189,248,.38);
        box-shadow: 0 28px 70px rgba(0,0,0,.35), 0 0 45px rgba(14,165,233,.12);
    }

.project-img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    border-radius: 20px;
    background: #334155;
    margin-bottom: 18px;
    transition: .35s;
}

.project-card:hover .project-img {
    transform: scale(1.035);
}

.project-card h3,
.card h3 {
    margin-top: 0;
    font-size: 24px;
}

.project-card p,
.card p {
    color: #cbd5e1;
}

/* BADGES */
.badge {
    display: inline-block;
    background: rgba(14,165,233,.10);
    border: 1px solid rgba(56,189,248,.25);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    margin: 5px;
    color: #bae6fd;
}

/* KPI */
.kpi {
    font-size: 44px;
    line-height: 1;
    font-weight: 900;
    color: #38bdf8;
}

/* FORMS */
input,
textarea,
select {
    width: 100%;
    padding: 14px;
    margin: 9px 0;
    border: 1px solid rgba(148,163,184,.28);
    border-radius: 14px;
    background: rgba(15,23,42,.9);
    color: #fff;
    outline: none;
}

    input:focus,
    textarea:focus,
    select:focus {
        border-color: #38bdf8;
        box-shadow: 0 0 0 4px rgba(56,189,248,.12);
    }

/* TABLE */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #111;
    border-radius: 16px;
    overflow: hidden;
}

    .table th,
    .table td {
        padding: 12px;
        border-bottom: 1px solid #ddd;
        text-align: left;
    }

/* GALLERY */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

    .gallery img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        border-radius: 18px;
        cursor: pointer;
        border: 1px solid rgba(148,163,184,.25);
        transition: .25s;
    }

        .gallery img:hover {
            transform: scale(1.03);
            border-color: #38bdf8;
        }

/* VIDEO */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #020617;
    border: 1px solid rgba(148,163,184,.16);
}

    .video-wrap iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

/* CASE STUDY */
.case-box {
    background: linear-gradient(145deg, rgba(2,6,23,.96), rgba(15,23,42,.96));
    border: 1px solid rgba(148,163,184,.18);
    border-radius: 22px;
    padding: 22px;
    margin-bottom: 16px;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 34px;
    background: rgba(2,6,23,.92);
    color: #94a3b8;
    margin-top: 70px;
    border-top: 1px solid rgba(148,163,184,.12);
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.92);
    align-items: center;
    justify-content: center;
    padding: 28px;
}

    .lightbox img {
        max-width: 94%;
        max-height: 90%;
        border-radius: 22px;
        box-shadow: 0 0 60px rgba(255,255,255,.12);
    }

.close {
    position: absolute;
    top: 22px;
    right: 38px;
    font-size: 42px;
    cursor: pointer;
    color: #fff;
}

/* RESPONSIVE */
@media(max-width:700px) {
    .hero {
        padding: 55px 0;
    }

    .hero-card {
        padding: 32px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero h2 {
        font-size: 22px;
    }

    .nav-inner {
        display: block;
    }

    .nav a {
        display: inline-block;
        margin: 10px 12px 0 0;
    }

    .project-img {
        height: 200px;
    }
}
.hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-image {
    width: 220px;
    height: 220px;
    flex-shrink: 0;
}

    .hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 22px;
        border: 4px solid rgba(255,255,255,.08);
        box-shadow: 0 20px 40px rgba(0,0,0,.45);
        transition: .35s;
    }

        .hero-image img:hover {
            transform: translateY(-6px) scale(1.02);
        }
.project-details-hero {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 35px;
    align-items: center;
    margin-top: 35px;
}

.project-details-cover {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 25px 65px rgba(0,0,0,.35);
}

.project-details-content h1 {
    font-size: 42px;
    margin: 18px 0 12px;
}

.project-subtitle {
    color: #cbd5e1;
    font-size: 18px;
    line-height: 1.8;
}

.project-tech {
    margin-top: 18px;
}

.project-video {
    width: 100%;
    max-height: 650px;
    border-radius: 22px;
    background: #020617;
    border: 1px solid rgba(148,163,184,.18);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}

@media(max-width:900px) {
    .project-details-hero {
        grid-template-columns: 1fr;
    }

    .project-details-cover {
        height: 280px;
    }

    .project-details-content h1 {
        font-size: 32px;
    }
}