/* Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url('../images/border.jpg');
    background-size: 25%;
    background-position: center;
    background-repeat: repeat;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Sticky Top Nav */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;

    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.78);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(44, 44, 44, 0.95);
    font-weight: 500;
    font-size: 0.98rem;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
    background: rgba(109, 74, 255, 0.10);
    color: #2c2c2c;
    transform: translateY(-1px);
}

.nav-cta {
    text-decoration: none;
    background: #6d4aff;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.2s ease;
    box-shadow: 0 10px 25px rgba(109, 74, 255, 0.18);
}

.nav-cta:hover {
    transform: translateY(-1px);
    background: #5a36f2;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nav-toggle-lines {
    width: 22px;
    height: 2px;
    background: #333;
    position: relative;
    display: inline-block;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #333;
}

.nav-toggle-lines::before {
    top: -7px;
}

.nav-toggle-lines::after {
    top: 7px;
}

/* Main Content Container */
.content-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 1000px;
    min-height: 100vh;
    padding: 40px 60px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;

    position: relative;
    z-index: 1;
    overflow: visible;

    gap: 10px;
}

/* Hero */
.header-centered.hero {
    text-align: center;
    margin-bottom: 10px;
}

.header-centered.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    color: #2c2c2c;
    letter-spacing: -0.8px;
    text-transform: uppercase;
}

.hero-intro {
    margin: 14px auto 0;
    max-width: 650px;
    font-size: 1.08rem;
    color: rgba(44, 44, 44, 0.95);
    line-height: 1.6;
    font-weight: 600;
}

.trust-row {
    margin: 22px auto 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.trust-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 14px 14px;
    background: linear-gradient(180deg, rgba(109, 74, 255, 0.06), rgba(255, 255, 255, 0) 70%);
}

.trust-title {
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    color: #2c2c2c;
}

.trust-subtitle {
    margin-top: 6px;
    font-size: 0.95rem;
    color: rgba(44, 44, 44, 0.7);
}

/* Shared */
.section-subtitle {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-lead {
    text-align: center;
    max-width: 720px;
    margin: 10px auto 0;
    color: rgba(44, 44, 44, 0.75);
    line-height: 1.7;
    font-size: 1.02rem;
}

.section-block {
    margin: 26px 0;
}

.section-block h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 10px;
}

/* Gallery */
.gallery-section {
    position: relative;
    width: 100%;
    height: auto;
    margin: 18px auto 10px;
    overflow: hidden;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);

    padding: 18px;
}

.gallery-header {
    margin-bottom: 12px;
}

/* ========================================= */
/* SLIDER — Fixed 16:9 aspect ratio with      */
/* object-fit: cover for mixed landscape/    */
/* portrait images                           */
/* ========================================= */
.slider {
    width: 100%;

    /* 16:9 cinematic frame — replaces fixed height */
    aspect-ratio: 16 / 9;

    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.03);
}

.slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;

    position: absolute;
    top: 0;
    left: 0;

    opacity: 0;
    transform: scale(1.01);
    transition: opacity 0.8s ease-in-out, transform 1s ease;
}

.slider img.active {
    opacity: 1;
    transform: scale(1);
}

/* Per-image object-position overrides                       */
/* Uncomment and adjust if a specific image's subject is    */
/* getting cropped poorly (e.g. a patio visible only at the  */
/* bottom of a portrait shot)                               */
/*
.slider img:nth-child(1) { object-position: center center; }
.slider img:nth-child(2) { object-position: bottom center; }
.slider img:nth-child(3) { object-position: left center; }
*/

/* Navigation Buttons */
.slider-controls {
    position: absolute;
    top: 50%;
    width: calc(100% - 36px);
    left: 18px;
    right: 18px;

    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);

    pointer-events: none;
    z-index: 2;
}

.icon-btn {
    pointer-events: auto;

    background-color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(0, 0, 0, 0.08);

    color: #333;
    font-size: 2rem;

    width: 48px;
    height: 48px;
    border-radius: 999px;
    cursor: pointer;

    transition: background 0.2s ease, transform 0.15s ease, border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(109, 74, 255, 0.35);
    transform: translateY(-1px);
}

.icon-btn:focus-visible {
    outline: 3px solid rgba(109, 74, 255, 0.35);
    outline-offset: 3px;
}

/* Types preview pills */
.types-preview {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.pill {
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(109, 74, 255, 0.08);
    color: rgba(44, 44, 44, 0.85);
    border: 1px solid rgba(109, 74, 255, 0.14);
    font-weight: 600;
}

/* Content area */
.content-body {
    padding: 10px 22px 20px;
}

/* Scroll indicator */
.scroll-circle {
    background: transparent;
    border: 2px solid rgba(120, 120, 120, 0.35);
    border-radius: 999px;
    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin: 18px auto 10px;
    cursor: pointer;

    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.scroll-circle:hover {
    border-color: #6d4aff;
    background-color: rgba(109, 74, 255, 0.06);
    transform: translateY(-1px);
}

.scroll-circle:focus-visible {
    outline: 3px solid rgba(109, 74, 255, 0.35);
    outline-offset: 4px;
}

.arrow {
    width: 14px;
    height: 14px;
    position: relative;
}

.arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;

    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;

    transform: rotate(45deg) translateY(-1px);
}

.scroll-circle .arrow {
    animation: indicator-nudge 1.8s ease-in-out infinite;
}

@keyframes indicator-nudge {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.85;
    }

    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

/* Services grid */
.services-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 16px;
    background: #fff;

    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(109, 74, 255, 0.22);
    box-shadow: 0 12px 30px rgba(109, 74, 255, 0.10);
}

.service-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-size: 1.08rem;
}

.service-card p {
    color: rgba(44, 44, 44, 0.75);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Steps */
.steps {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.step {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 16px;
    background: linear-gradient(180deg, rgba(109, 74, 255, 0.05), #fff 65%);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: grid;
    place-items: center;

    background: rgba(109, 74, 255, 0.10);
    border: 1px solid rgba(109, 74, 255, 0.18);
    color: #2c2c2c;

    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
}

.step h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.02rem;
    font-weight: 900;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.step p {
    color: rgba(44, 44, 44, 0.75);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Split content */
.content-split {
    margin-top: 18px;

    /* Changed from 2 columns to 1 centered column */
    display: grid;
    grid-template-columns: 1fr;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;

    gap: 16px;
}

.content-split article {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px;
}

article h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #2c2c2c;

    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgba(109, 74, 255, 0.45);
}

article p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(44, 44, 44, 0.78);
    margin-bottom: 12px;
}

/* Testimonials */
.testimonials {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.testimonial {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 16px;
    background: #fff;
}

.testimonial blockquote {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(44, 44, 44, 0.82);
    font-weight: 500;
}

.testimonial figcaption {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.t-name {
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
}

.t-meta {
    color: rgba(44, 44, 44, 0.68);
}

/* Contact */
.contact-box {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.contact-left,
.contact-right {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px;
}

.contact-left h3,
.contact-right h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    color: #2c2c2c;
    margin-bottom: 10px;
}

.contact-left p {
    color: rgba(44, 44, 44, 0.78);
    line-height: 1.7;
}

.contact-note {
    margin-top: 10px;
    font-size: 0.95rem;
    color: rgba(44, 44, 44, 0.58);
}

.contact-left a {
    color: #6d4aff;
    font-weight: 700;
    text-decoration: none;
}

.contact-form label {
    display: block;
    margin-bottom: 12px;
}

.contact-form span {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: rgba(44, 44, 44, 0.85);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    padding: 12px 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(109, 74, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(109, 74, 255, 0.12);
}

.primary-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    background: #6d4aff;
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.2s ease;
    margin-top: 6px;
}

.primary-btn:hover {
    transform: translateY(-1px);
    background: #5a36f2;
}

.form-hint {
    margin-top: 8px;
    font-size: 0.95rem;
    color: rgba(44, 44, 44, 0.58);
    line-height: 1.5;
}

/* Footer */
footer {
    margin-top: auto;
    padding-top: 30px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (max-width: 980px) {
    .content-container {
        padding: 30px 22px;
    }

    .trust-row {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .content-split {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .contact-box {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {

    .nav-links,
    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        gap: 10px;

        position: absolute;
        left: 18px;
        right: 18px;
        top: 64px;

        padding: 14px;
        border-radius: 16px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.95);

        box-shadow: 0 14px 45px rgba(0, 0, 0, 0.10);
    }

    .nav-links.open a {
        padding: 10px 10px;
    }

    .gallery-section {
        padding: 14px;
    }

    /* Mobile: Override aspect-ratio with fixed height */
    /* 16:9 on narrow screens can be too short, so we set a comfortable height */
    .slider {
        aspect-ratio: auto;
        height: 220px;
    }
}