/* Typeface + base */
body {
    font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #e9edf5;
    background: radial-gradient(120% 100% at 15% 20%, rgba(118, 201, 255, 0.12), rgba(15, 20, 38, 0)) #161d30;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", "Times New Roman", serif;
    color: #f7f9ff;
}

.eyebrow {
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7ed2ff;
    font-weight: 700;
    font-size: 0.8rem;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.5rem;
}

.text-muted { color: #9fb3c8 !important; }

/* Navigation */
.floating-nav {
    position: sticky;
    top: 0;
    z-index: 1050;
    backdrop-filter: blur(10px);
    background: rgba(10, 14, 28, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.navbar-brand {
    color: #f7f9ff !important;
    letter-spacing: 0.03em;
}

.navbar-dark .navbar-nav .nav-link {
    color: #d7e0f5;
    font-weight: 600;
}
.navbar-dark .navbar-nav .nav-link:hover { color: #7ed2ff; }

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #7ed2ff, #5d7bff);
    color: #0b0f1d;
    margin-right: 0.5rem;
    font-weight: 800;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 86vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(12, 18, 35, 0.9) 40%, rgba(12, 18, 35, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 1.1rem;
    color: #cbd7ea;
    margin-bottom: 1.5rem;
}

.hero-cta .btn {
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(1px) brightness(0.8);
    transform: scale(1.05);
}

/* Stats / pillars */
.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.pillars h6 { color: #f7f9ff; font-weight: 700; }
.pillars p { margin-bottom: 0; color: #9fb3c8; }

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

.stat-card {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #7ed2ff;
}

.stat-label { color: #cbd7ea; margin: 0; }

/* Gallery */
.section-soft {
    background: #0e1425;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.masonry-grid {
    columns: 1;
    column-gap: 1rem;
}

@media (min-width: 576px) { .masonry-grid { columns: 2; } }
@media (min-width: 992px) { .masonry-grid { columns: 3; } }

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.masonry-item img {
    width: 100%;
    display: block;
    transition: transform 0.6s ease, filter 0.6s ease;
}

.masonry-item:hover img {
    transform: scale(1.05);
    filter: saturate(1.1);
}

/* Contact */
.section-contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0b0f1d, #101935 65%, #0b0f1d);
}

.contact-card {
    background: rgba(255, 255, 255, 0.06);
    color: #0b0f1d;
    border-radius: 16px;
}

.contact-card .card-body {
    background: #f7f9ff;
    border-radius: 14px;
}

.contact-form .form-control {
    border-radius: 10px;
    border: 1px solid #d7ddf0;
}

.contact-form .form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(94, 139, 255, 0.25);
    border-color: #5e8bff;
}

.contact-bullets {
    display: grid;
    gap: 0.5rem;
    color: #cbd7ea;
}

.contact-bullets .dot {
    width: 8px;
    height: 8px;
    background: #7ed2ff;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #7ed2ff, #5e8bff);
    border: none;
    color: #0b0f1d;
    font-weight: 700;
}

.btn-outline-light {
    border-width: 2px;
    border-color: #cfe7ff;
    color: #f7f9ff;
}

.btn-outline-light:hover { background: #f7f9ff; color: #0b0f1d; }

/* Footer */
.footer-accent {
    padding: 1.5rem 0;
    background: #070a15;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-accent a { color: #9fb3c8; text-decoration: none; }
.footer-accent a:hover { color: #7ed2ff; }

/* Loader */
.loading-state {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Layout spacing */
main { padding-top: 4rem; }

/* Services */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.service-card {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    height: 100%;
}

.service-card h5 { color: #f7f9ff; margin-bottom: 0.5rem; }
.service-card p { color: #cbd7ea; margin: 0; }

@media (max-width: 575.98px) {
    .hero-content { padding: 0 1.25rem; }
    .navbar-nav { padding: 1rem 0; }
    .hero-section { min-height: 70vh; }
}

/* Full size hero carousel */
.hero-full {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: stretch;
    overflow: hidden;
}

.hero-full__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(9, 13, 26, 0.55), rgba(9, 13, 26, 0.15));
    z-index: 1;
}

.hero-full__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-full__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.8s ease;
    transform: scale(1);
    filter: none;
}

.hero-full__slide.is-active {
    opacity: 1;
    z-index: 1;
    animation: hero-kenburns 10s ease-in-out infinite alternate;
}

.hero-full__content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 120px 8vw 80px;
}

.hero-full__content .lead {
    font-size: 1.1rem;
    color: #cbd7ea;
    max-width: 560px;
}

.hero-full__cta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.hero-full__nav {
    position: absolute;
    right: 6vw;
    bottom: 80px;
    z-index: 2;
    display: flex;
    gap: 12px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-full__dots {
    position: absolute;
    left: 8vw;
    bottom: 40px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.hero-full__dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: transparent;
}

.hero-full__dots button.is-active {
    background: #fff;
    border-color: #fff;
}

/* Gallery grid + lightbox */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.gallery-tile {
    border: none;
    padding: 0;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.gallery-tile img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-tile:hover img {
    transform: scale(1.05);
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    z-index: 2000;
    padding: 20px;
    gap: 10px;
}

.lightbox__content {
    margin: 0 auto;
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.lightbox__content img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.lightbox__arrow {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
}

.lightbox__arrow:hover,
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes hero-kenburns {
    from { transform: scale(1) translateY(0); }
    to { transform: scale(1.08) translateY(-2%); }
}

@media (max-width: 900px) {
    .hero-full__content {
        padding: 100px 8vw 60px;
    }

    .hero-full__nav {
        right: 5vw;
        bottom: 50px;
    }

    .hero-full__dots {
        left: 50%;
        transform: translateX(-50%);
    }

    .lightbox {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
    }

    .lightbox__arrow {
        width: 42px;
        height: 42px;
        justify-self: center;
    }
}
