/* =========================================================
   CAPTAIN TINT
   Main Stylesheet
   ========================================================= */

/* =========================================================
   1. VARIABLES / RESET
   ========================================================= */

:root {
    --black: #05070a;
    --black-light: #0b0f14;
    --black-card: #10161d;

    --blue: #38bdf8;
    --blue-dark: #0ea5e9;

    --white: #ffffff;
    --text: #cbd5e1;
    --muted: #7f8b99;

    --border: rgba(255, 255, 255, 0.08);
    --border-blue: rgba(56, 189, 248, 0.35);

    --container: 1200px;
    --radius: 18px;
    --header-height: 85px;

    --transition: 0.35s ease;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    min-height: 100vh;
    overflow-x: hidden;

    font-family: "Inter", sans-serif;
    line-height: 1.6;

    color: var(--white);
    background: var(--black);
}

body.no-scroll {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.container {
    width: min(var(--container), 92%);
    margin-inline: auto;
}


/* =========================================================
   2. ACCESSIBILITY
   ========================================================= */

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

::selection {
    color: var(--black);
    background: var(--blue);
}


/* =========================================================
   3. LOADER
   ========================================================= */

.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--black);

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.7s ease,
        visibility 0.7s ease;
}

.loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 80px;
    height: 80px;
    margin-inline: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid var(--blue);
    color: var(--blue);

    font-size: 28px;

    transform: rotate(45deg);
    animation: loaderPulse 1.5s infinite;
}

.loader-logo i {
    transform: rotate(-45deg);
}

.loader-content h2 {
    margin-top: 25px;

    font-size: 18px;
    letter-spacing: 4px;
}

.loader-content p {
    color: var(--blue);

    font-size: 11px;
    letter-spacing: 5px;
}

@keyframes loaderPulse {
    50% {
        transform: rotate(45deg) scale(1.1);
    }
}


/* =========================================================
   4. HEADER / NAVIGATION
   ========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1000;

    transition: var(--transition);
}

.header.scrolled {
    background: rgba(5, 7, 10, 0.92);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);
}

.navbar {
    min-height: var(--header-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    flex-shrink: 0;
}




.logo-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.logo-text strong {
    font-size: 17px;
    letter-spacing: 2px;
}

.logo-text small {
    margin-top: 5px;

    color: var(--blue);

    font-size: 7px;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    position: relative;

    color: var(--text);

    font-size: 13px;
    font-weight: 600;

    transition: var(--transition);
}

.nav-links a:not(.nav-btn)::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--blue);

    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--blue);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 20px;

    color: #001018 !important;
    background: var(--blue);

    border-radius: 7px;
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    color: var(--black) !important;
    background: var(--white);

    transform: translateY(-2px);
}

.menu-btn {
    display: none;

    padding: 8px;

    color: var(--white);
    background: transparent;

    font-size: 24px;
}


/* =========================================================
   5. HERO
   ========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(56, 189, 248, 0.12),
            transparent 30%
        ),
        radial-gradient(
            circle at 20% 80%,
            rgba(14, 165, 233, 0.08),
            transparent 25%
        ),
        var(--black);
}

.hero-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.82) 42%, rgba(5, 7, 10, 0.35) 100%),
        linear-gradient(0deg, rgba(5, 7, 10, 0.82), transparent 45%);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.75) contrast(1.08);
    opacity: 0.72;
    transform: scale(1.04);
}

.hero::before,
.hero::after {
    content: "";

    position: absolute;

    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 50%;

    pointer-events: none;

    animation: rotate 20s linear infinite;
}

.hero::before {
    width: 600px;
    height: 600px;

    right: -250px;
    top: 100px;
}

.hero::after {
    width: 400px;
    height: 400px;

    right: -150px;
    top: 200px;

    animation-direction: reverse;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 25px;

    color: var(--blue);

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-badge span {
    width: 8px;
    height: 8px;

    border-radius: 50%;
    background: var(--blue);

    box-shadow: 0 0 20px var(--blue);

    animation: blink 1.5s infinite;
}

@keyframes blink {
    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    max-width: 800px;

    margin-bottom: 35px;

    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.92;
    font-weight: 900;
    letter-spacing: -5px;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke: 1px var(--blue);
}

.hero p {
    max-width: 620px;

    margin-bottom: 35px;

    color: var(--text);

    font-size: 17px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    min-height: 50px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    transition: var(--transition);
}

.btn-primary {
    color: #001018;
    background: var(--blue);
}

.btn-primary:hover {
    background: var(--white);

    transform: translateY(-4px);

    box-shadow: 0 15px 35px rgba(56, 189, 248, 0.2);
}

.btn-outline {
    color: var(--white);

    border: 1px solid var(--border);
}

.btn-outline:hover {
    color: var(--blue);
    border-color: var(--blue);
}

.hero-stats {
    display: flex;
    gap: 55px;

    margin-top: 70px;
}

.stat-value {
    display: flex;
    align-items: flex-start;
}

.stat strong {
    font-size: 30px;
    line-height: 1;
}

.stat-value > span {
    color: var(--blue);

    font-size: 20px;
    font-weight: 800;
}

.stat p {
    width: 100px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 10px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: 3px;

    transform: translateX(-50%);
}

.scroll-down i {
    color: var(--blue);
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    50% {
        transform: translateY(7px);
    }
}


/* =========================================================
   6. GLOBAL SECTIONS
   ========================================================= */

.section {
    width: min(var(--container), 92%);

    margin-inline: auto;
    padding: 120px 0;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 65px;

    text-align: center;
}

.section-tag {
    display: block;

    margin-bottom: 15px;

    color: var(--blue);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 4px;
}

.section-heading h2,
.about-content h2,
.why-content h2,
.contact-info h2,
.cta h2 {
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.section-heading h2 span,
.about-content h2 span,
.why-content h2 span,
.contact-info h2 span,
.cta h2 span {
    color: var(--blue);
}

.section-heading p {
    margin-top: 20px;

    color: var(--muted);
}

.reveal {
    opacity: 1;
    transform: none;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

.services-section,
.process,
.why-us,
.faq {
    background: var(--black-light);
}


/* =========================================================
   7. SERVICES
   ========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;

    min-height: 470px;

    overflow: hidden;

    padding: 0 30px 30px;

    background: linear-gradient(180deg, #121a22 0%, var(--black-card) 52%);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform 0.25s ease,
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-card:hover {
    border-color: var(--border-blue);
    box-shadow: var(--shadow);
}

.service-image {
    position: relative;
    height: 205px;
    margin: 0 -30px 28px;
    overflow: hidden;
}

.service-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 10, 0.05), rgba(5, 7, 10, 0.78));
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: saturate(0.85);
}

.service-card:hover .service-image img {
    transform: scale(1.08);
    filter: saturate(1.08);
}

.service-number {
    position: absolute;
    top: 25px;
    right: 30px;

    color: rgba(255, 255, 255, 0.1);

    font-size: 45px;
    font-weight: 900;
}

.service-icon {
    position: relative;
    z-index: 2;
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    color: var(--blue);
    background: rgba(56, 189, 248, 0.08);

    border-radius: 12px;

    font-size: 22px;

    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--black);
    background: var(--blue);

    transform: rotateY(180deg);
}

.service-card h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 15px;

    font-size: 21px;
}

.service-card p {
    position: relative;
    z-index: 2;
    margin-bottom: 25px;

    color: var(--muted);

    font-size: 14px;
}

.service-card a {
    color: var(--blue);

    font-size: 12px;
    font-weight: 700;
}



/* =========================================================
   SERVICE DETAILS / MODAL
   ========================================================= */

.service-learn-more {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--blue);
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.service-learn-more i {
    transition: transform var(--transition);
}

.service-learn-more:hover i {
    transform: translateX(5px);
}

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.service-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(8px);
}

.service-modal-dialog {
    position: relative;
    width: min(900px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 45px;
    background: var(--black-card);
    border: 1px solid var(--border-blue);
    border-radius: 24px;
    box-shadow: var(--shadow);
    transform: translateY(25px) scale(0.98);
    transition: transform 0.3s ease;
}

.service-modal.open .service-modal-dialog {
    transform: translateY(0) scale(1);
}

.service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: var(--transition);
}

.service-modal-close:hover {
    color: var(--black);
    background: var(--blue);
}

.service-modal-image {
    height: 260px;
    margin: -45px -45px 28px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-blue);
}

.service-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.04);
}

.service-modal-icon {
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    color: var(--blue);
    background: rgba(56, 189, 248, 0.08);
    border-radius: 14px;
    font-size: 25px;
}

.service-modal-dialog h2 {
    margin-bottom: 15px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1;
}

.service-modal-intro {
    max-width: 720px;
    margin-bottom: 30px;
    color: var(--muted);
}

.service-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.service-detail-block {
    padding: 25px;
    background: var(--black-light);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.service-detail-block.full {
    grid-column: 1 / -1;
}

.service-detail-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 16px;
}

.service-detail-block h3 i {
    color: var(--blue);
}

.service-detail-block p,
.service-detail-block li {
    color: var(--muted);
    font-size: 13px;
}

.service-detail-block ol {
    margin: 0;
    padding-left: 20px;
}

.service-detail-block li {
    margin-bottom: 9px;
    padding-left: 5px;
}

.service-modal-cta {
    margin-top: 25px;
}

@media (max-width: 700px) {
    .service-modal {
        padding: 12px;
    }

    .service-modal-dialog {
        padding: 32px 22px 25px;
        max-height: 94vh;
    }

    .service-modal-image {
        height: 190px;
        margin: -32px -22px 24px;
    }

    .service-modal-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-block.full {
        grid-column: auto;
    }
}

/* =========================================================
   8. ABOUT
   ========================================================= */

.about {
    display: block;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-image {
    position: relative;
}

.about-image-box {
    position: relative;

    height: 600px;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(56, 189, 248, 0.2),
            rgba(0, 0, 0, 0.8)
        ),
        radial-gradient(
            circle,
            #173246,
            #05070a 65%
        );
}

.about-image-box::before {
    content: "";

    position: absolute;
    inset: 30px;

    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
}

.about-image-box::after {
    content: "CAPTAIN TINT";

    position: absolute;
    top: 50%;
    left: 50%;

    color: rgba(255, 255, 255, 0.03);

    font-size: 75px;
    font-weight: 900;
    letter-spacing: 15px;
    white-space: nowrap;

    transform: translate(-50%, -50%) rotate(-90deg);
}

.about-overlay {
    position: absolute;
    left: 50px;
    bottom: 50px;

    display: flex;
    flex-direction: column;
}

.about-overlay span {
    color: var(--muted);

    font-size: 12px;
    letter-spacing: 5px;
}

.about-overlay strong {
    color: var(--blue);

    font-size: 50px;
}

.experience-box {
    position: absolute;
    right: -30px;
    bottom: 40px;

    display: flex;
    flex-direction: column;

    padding: 25px;

    color: var(--black);
    background: var(--blue);

    text-align: center;

    border-radius: 10px;
}

.experience-box strong {
    font-size: 18px;
}

.experience-box span {
    font-size: 10px;
    letter-spacing: 2px;
}

.about-content > p {
    margin-top: 25px;

    color: var(--muted);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;

    margin: 30px 0;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 10px;

    color: var(--text);

    font-size: 13px;
}

.about-features i {
    color: var(--blue);
}


/* =========================================================
   9. PROCESS
   ========================================================= */

.process {
    width: 100%;
    max-width: none;

    padding-right: 4%;
    padding-left: 4%;
}

.process-grid {
    max-width: var(--container);

    margin-inline: auto;

    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
}

.process-step {
    padding: 20px;

    text-align: center;
}

.step-number {
    display: block;

    margin-bottom: 20px;

    color: var(--blue);

    font-size: 11px;
    letter-spacing: 3px;
}

.process-step > i {
    display: block;

    margin-bottom: 20px;

    color: var(--white);

    font-size: 30px;
}

.process-step h3 {
    margin-bottom: 8px;
}

.process-step p {
    color: var(--muted);

    font-size: 12px;
}

.process-line {
    width: 50px;
    height: 1px;

    background: var(--border);
}


/* =========================================================
   11. WHY US
   ========================================================= */

.why-us {
    width: 100%;
    max-width: none;

    padding-right: 4%;
    padding-left: 4%;
}

.why-content {
    max-width: var(--container);

    margin-inline: auto;

    text-align: center;
}

.why-content p {
    max-width: 600px;

    margin: 20px auto 60px;

    color: var(--muted);
}

.why-grid {
    max-width: var(--container);

    margin-inline: auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    padding: 35px 20px;

    text-align: center;

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--blue);
    transform: translateY(-7px);
}

.why-card i {
    margin-bottom: 20px;

    color: var(--blue);

    font-size: 25px;
}

.why-card h3 {
    margin-bottom: 10px;

    font-size: 16px;
}

.why-card p {
    color: var(--muted);

    font-size: 12px;
}


/* =========================================================
   13. FAQ
   ========================================================= */

.faq-container {
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 25px 0;

    color: var(--white);
    background: transparent;

    text-align: left;

    font-size: 15px;
    font-weight: 600;
}

.faq-question i {
    flex-shrink: 0;

    color: var(--blue);

    transition: transform var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;

    overflow: hidden;

    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding-bottom: 25px;

    color: var(--muted);

    font-size: 13px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}


/* =========================================================
   14. CONTACT
   ========================================================= */

.contact {
    padding-bottom: 140px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 70px;
}

.contact-info > p {
    max-width: 500px;

    margin: 25px 0 40px;

    color: var(--muted);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 18px;
}

.contact-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--blue);
    background: rgba(56, 189, 248, 0.08);

    border-radius: 10px;
}

.contact-detail > div:last-child {
    display: flex;
    flex-direction: column;
}

.contact-detail span {
    color: var(--muted);

    font-size: 9px;
    letter-spacing: 2px;
}

.contact-detail a,
.contact-detail strong {
    color: var(--white);

    font-size: 13px;
    font-weight: 600;
}

.contact-detail a:hover {
    color: var(--blue);
}

.social-links {
    display: flex;
    gap: 10px;

    margin-top: 40px;
}

.social-links a {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    transition: var(--transition);
}

.social-links a:hover {
    color: var(--black);
    background: var(--blue);

    transform: translateY(-4px);
}

.contact-form-wrapper {
    padding: 35px;

    background: var(--black-card);

    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.form-title {
    margin-bottom: 30px;
}

.form-title h3 {
    font-size: 25px;
}

.form-title p {
    color: var(--muted);

    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: var(--text);

    font-size: 11px;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;

    padding: 13px 15px;

    color: var(--white);
    background: #080c11;

    border: 1px solid var(--border);
    border-radius: 7px;

    outline: none;

    font-size: 12px;

    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #596574;
}

.form-group select option {
    color: var(--white);
    background: var(--black-card);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px rgba(56, 189, 248, 0.05);
}

.form-group textarea {
    min-height: 130px;

    resize: vertical;
}

.submit-btn {
    width: 100%;
}

.form-status {
    min-height: 0;

    margin-top: 0;

    font-size: 12px;
    line-height: 1.5;
}

.form-status.success,
.form-status.error {
    margin-top: 20px;
    padding: 15px;

    border-radius: 8px;
}

.form-status.success {
    color: #b8f0ff;

    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.form-status.error {
    color: #fecaca;

    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.25);
}


/* =========================================================
   15. CTA
   ========================================================= */

.cta {
    padding: 120px 5%;

    text-align: center;

    background:
        radial-gradient(
            circle at center,
            rgba(56, 189, 248, 0.12),
            transparent 50%
        ),
        var(--black-light);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta p {
    margin: 20px 0 30px;

    color: var(--muted);
}


/* =========================================================
   16. FOOTER
   ========================================================= */

.footer {
    padding: 70px 5% 25px;

    background: #020304;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;

    padding-bottom: 60px;
}

.footer-brand p {
    max-width: 300px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 12px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 10px;

    font-size: 13px;
}

.footer-column a {
    color: var(--muted);

    font-size: 11px;

    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--blue);

    transform: translateX(4px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding-top: 25px;

    color: var(--muted);

    font-size: 10px;

    border-top: 1px solid var(--border);
}

.footer-heart {
    color: var(--blue);
}


/* =========================================================
   17. BACK TO TOP
   ========================================================= */

.back-top {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    z-index: 500;

    color: var(--black);
    background: var(--blue);

    border-radius: 50%;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: var(--transition);
}

.back-top.show {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.back-top:hover {
    background: var(--white);
}


/* =========================================================
   18. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1000px) {
    .nav-links {
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about {
        gap: 40px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .process-line {
        display: none;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   19. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .navbar {
        min-height: 70px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;

        width: 100%;
        height: calc(100vh - 70px);

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 30px;

        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(20px);

        transform: translateX(100%);

        transition: transform 0.4s ease;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-btn {
        font-size: 16px !important;
    }

    .hero {
        min-height: 850px;
    }

    .hero h1 {
        font-size: clamp(50px, 15vw, 80px);
        letter-spacing: -3px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-stats {
        gap: 25px;
        margin-top: 50px;
    }

    .stat strong {
        font-size: 23px;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .about,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 440px;
    }

    .about-image-box {
        height: 450px;
    }

    .experience-box {
        right: 15px;
    }

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

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

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   20. RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 500px) {
    .logo-text strong {
        font-size: 13px;
    }

    .logo-text small {
        font-size: 5px;
    }

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

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat strong {
        font-size: 20px;
    }

    .stat p {
        width: auto;

        font-size: 8px;
    }
    .about-features,
    .why-grid,
    .form-row {
        grid-template-columns: 1fr;
    }


    .contact-form-wrapper {
        padding: 22px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }
}


/* =========================================================
   21. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}


/* Google Forms booking card */
.google-booking-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.google-booking-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 28px 0;
    color: var(--blue);
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid var(--border-blue);
    border-radius: 16px;
    font-size: 28px;
}

/* =========================================================
   INLINE SERVICE DETAILS (JS-INDEPENDENT)
   ========================================================= */
.service-details-inline {
    position: relative;
    z-index: 3;
    margin-top: 6px;
}

.service-details-inline summary {
    list-style: none;
}

.service-details-inline summary::-webkit-details-marker {
    display: none;
}

.service-details-inline[open] .service-learn-more i {
    transform: rotate(90deg);
}

.service-details-content {
    margin-top: 18px;
    padding: 18px;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
}

.service-details-content p {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

.service-details-content strong {
    color: var(--white);
}

.service-details-content .btn {
    margin-top: 4px;
}
