/* =========================================
   XMAN PROJECTS
   PREMIUM CLEANING WEBSITE
========================================= */


/* =========================================
   VARIABLES
========================================= */

:root {

    --blue: #1687d9;
    --blue-dark: #075a9d;
    --blue-light: #eaf6ff;

    --gold: #c9a44c;
    --gold-light: #e5c875;

    --white: #ffffff;
    --off-white: #f7fafc;

    --dark: #101820;
    --dark-soft: #1c2730;

    --grey: #66727d;
    --grey-light: #e5eaee;

    --border: rgba(16, 24, 32, 0.09);

    --shadow: 0 20px 60px rgba(16, 24, 32, 0.08);

    --radius: 14px;

}


/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}


/* =========================================
   GLOBAL
========================================= */

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.section-label {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 18px;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 55px;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-heading h2,
.about-content h2,
.contact-info h2,
.quote-cta h2,
.premium-content h2 {

    font-family: "Cinzel", serif;
    font-weight: 600;
    line-height: 1.2;
    font-size: clamp(2.2rem, 5vw, 3.7rem);

}

.section-heading h2 span,
.about-content h2 span,
.contact-info h2 span,
.quote-cta h2 span,
.premium-content h2 span {

    color: var(--blue);

}

.section-heading p {
    color: var(--grey);
    max-width: 650px;
    margin-top: 20px;
}


/* =========================================
   BUTTONS
========================================= */

.btn {

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    padding: 15px 25px;

    border-radius: 5px;

    font-size: 0.85rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;

}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {

    background: var(--blue);
    color: var(--white);

    box-shadow: 0 12px 30px rgba(22, 135, 217, 0.22);

}

.btn-primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 18px 35px rgba(22, 135, 217, 0.28);
}

.btn-outline {

    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);

}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}


/* =========================================
   NAVIGATION
========================================= */

.header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(15px);

    border-bottom: 1px solid var(--border);

}

.nav-container {

    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

}

.logo {

    display: flex;
    align-items: center;
    gap: 10px;

}

.logo-x {

    font-family: "Cinzel", serif;

    font-size: 2.3rem;

    line-height: 1;

    font-weight: 700;

    color: var(--blue);

}

.logo-text {

    font-family: "Cinzel", serif;

    font-size: 1.15rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    line-height: 1.05;

}

.logo-text small {

    display: block;

    font-family: "Inter", sans-serif;

    font-size: 0.46rem;

    letter-spacing: 0.35em;

    color: var(--gold);

    margin-top: 4px;

}

.navbar {

    display: flex;
    align-items: center;
    gap: 27px;

}

.nav-link {

    position: relative;

    font-size: 0.77rem;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.06em;

    color: #47525b;

    transition: color 0.3s ease;

}

.nav-link:hover,
.nav-link.active {

    color: var(--blue);

}

.nav-link::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.3s ease;

}

.nav-link:hover::after,
.nav-link.active::after {

    width: 100%;

}

.nav-cta {

    background: var(--blue);
    color: white;

    padding: 12px 18px;

    font-size: 0.72rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;

    border-radius: 4px;

    transition: 0.3s ease;

}

.nav-cta:hover {
    background: var(--blue-dark);
}

.menu-toggle {

    display: none;

    background: none;
    border: none;

    font-size: 1.4rem;

    color: var(--dark);

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;
    align-items: center;

    background:

        linear-gradient(
            90deg,
            rgba(6, 32, 54, 0.9),
            rgba(6, 55, 88, 0.68),
            rgba(6, 55, 88, 0.35)
        ),

        url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=2000&q=85")
        center/cover no-repeat;

}

.hero-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(4, 39, 67, 0.65),
            transparent 60%
        );

}

.hero-content {

    position: relative;
    z-index: 2;

    padding-top: 82px;

}

.hero-text {

    max-width: 780px;

    color: var(--white);

}

.eyebrow {

    display: flex;
    align-items: center;
    gap: 12px;

    color: var(--gold-light);

    font-size: 0.75rem;
    font-weight: 700;

    letter-spacing: 0.2em;

    margin-bottom: 25px;

}

.eyebrow span {

    width: 38px;
    height: 1px;

    background: var(--gold-light);

}

.hero h1 {

    font-family: "Cinzel", serif;

    font-size: clamp(3rem, 7vw, 6.3rem);

    line-height: 1.05;

    font-weight: 500;

    max-width: 900px;

}

.hero h1 strong {

    display: block;

    color: #65c1f7;

    font-weight: 600;

}

.hero p {

    max-width: 650px;

    font-size: 1.05rem;

    color: rgba(255, 255, 255, 0.86);

    margin: 28px 0 35px;

}

.hero-buttons {

    display: flex;
    flex-wrap: wrap;
    gap: 15px;

}

.hero-location {

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.82rem;

    display: flex;
    align-items: center;
    gap: 9px;

}

.hero-location i {
    color: var(--gold);
}

.hero-scroll {

    position: absolute;

    bottom: 30px;
    right: 4%;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.65rem;

    text-transform: uppercase;

    letter-spacing: 0.15em;

}

.hero-scroll i {
    color: var(--gold);
}


/* =========================================
   TRUST BAR
========================================= */

.trust-bar {

    background: var(--dark);

    color: white;

    padding: 28px 0;

}

.trust-container {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;

}

.trust-item {

    display: flex;
    align-items: center;

    gap: 15px;

}

.trust-item i {

    font-size: 1.4rem;

    color: var(--gold);

}

.trust-item strong {

    display: block;

    font-size: 0.82rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}

.trust-item span {

    display: block;

    color: #9ca8b0;

    font-size: 0.72rem;

}


/* =========================================
   ABOUT
========================================= */

.about {
    background: var(--white);
}

.about-grid {

    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 90px;

    align-items: center;

}

.about-visual {

    position: relative;

}

.about-image {

    height: 570px;

    background:

        linear-gradient(
            145deg,
            rgba(22, 135, 217, 0.2),
            rgba(5, 47, 79, 0.55)
        ),

        url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1000&q=85")
        center/cover;

    border-radius: 8px;

    overflow: hidden;

}

.image-placeholder {

    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.85);

    background: rgba(0, 61, 101, 0.18);

    gap: 10px;

}

.image-placeholder i {
    font-size: 3rem;
    color: var(--gold-light);
}

.image-placeholder span {

    font-size: 0.7rem;

    letter-spacing: 0.25em;

}

.experience-card {

    position: absolute;

    right: -30px;
    bottom: 40px;

    width: 170px;

    padding: 25px;

    background: var(--white);

    box-shadow: var(--shadow);

    border-left: 3px solid var(--gold);

}

.experience-card span {

    display: block;

    font-size: 0.65rem;

    color: var(--grey);

    letter-spacing: 0.2em;

}

.experience-card strong {

    display: block;

    font-family: "Cinzel", serif;

    color: var(--blue);

    font-size: 2rem;

}

.experience-card small {

    color: var(--grey);

    font-size: 0.68rem;

}

.about-content h2 {

    margin-bottom: 25px;

}

.about-content p {

    color: var(--grey);

    margin-bottom: 20px;

}

.about-content .lead {

    font-size: 1.05rem;

    color: #3e4a53;

}

.about-features {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 14px;

    margin: 30px 0;

}

.about-features div {

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 0.82rem;

    font-weight: 600;

}

.about-features i {

    width: 22px;
    height: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--blue-light);

    color: var(--blue);

    font-size: 0.65rem;

}

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--blue);

    font-size: 0.8rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}

.text-link i {
    transition: transform 0.3s ease;
}

.text-link:hover i {
    transform: translateX(5px);
}


/* =========================================
   SERVICES
========================================= */

.services {

    background: var(--off-white);

}

.services-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;

}

.service-card {

    position: relative;

    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    min-height: 300px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

}

.service-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow);

    border-color: rgba(22, 135, 217, 0.25);

}

.service-card.featured {

    border-top: 3px solid var(--blue);

}

.service-number {

    position: absolute;

    top: 20px;
    right: 25px;

    color: #dce7ed;

    font-family: "Cinzel", serif;

    font-size: 2rem;

}

.service-icon {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: var(--blue-light);

    color: var(--blue);

    border-radius: 8px;

    margin-bottom: 25px;

}

.service-card h3 {

    font-family: "Cinzel", serif;

    font-size: 1.2rem;

    margin-bottom: 12px;

}

.service-card p {

    color: var(--grey);

    font-size: 0.84rem;

    margin-bottom: 22px;

}

.service-card a {

    display: inline-flex;

    gap: 8px;

    align-items: center;

    color: var(--blue);

    font-size: 0.72rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.07em;

}


/* =========================================
   WHY US
========================================= */

.why-us {

    background: var(--dark);

    color: white;

}

.why-us .section-label {
    color: var(--gold);
}

.why-us .section-heading h2 span {
    color: #61bff6;
}

.why-us .section-heading p {
    color: #aeb8bf;
}

.why-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1px;

    background: rgba(255,255,255,0.12);

}

.why-card {

    position: relative;

    background: var(--dark);

    padding: 40px 35px;

    min-height: 270px;

}

.why-card > span {

    position: absolute;

    top: 25px;
    right: 30px;

    color: rgba(255,255,255,0.15);

    font-family: "Cinzel", serif;

    font-size: 2rem;

}

.why-card i {

    font-size: 1.7rem;

    color: var(--gold);

    margin-bottom: 25px;

}

.why-card h3 {

    font-family: "Cinzel", serif;

    font-size: 1.2rem;

    margin-bottom: 12px;

}

.why-card p {

    color: #9eaab2;

    font-size: 0.83rem;

}


/* =========================================
   PREMIUM
========================================= */

.premium-section {

    position: relative;

    padding: 150px 0;

    background:

        linear-gradient(
            rgba(4, 33, 55, 0.78),
            rgba(4, 33, 55, 0.78)
        ),

        url("https://images.unsplash.com/photo-1560185008-b033106af5c3?auto=format&fit=crop&w=2000&q=85")
        center/cover fixed;

    color: white;

    text-align: center;

}

.premium-content {

    position: relative;

    z-index: 2;

    max-width: 800px;

}

.premium-content .section-label {
    color: var(--gold-light);
}

.premium-content h2 {
    color: white;
    margin-bottom: 25px;
}

.premium-content h2 span {
    color: #67c3f8;
}

.premium-content p {

    max-width: 650px;

    margin: 0 auto 35px;

    color: rgba(255,255,255,0.82);

}


/* =========================================
   PRICING
========================================= */

.pricing {

    background: var(--off-white);

}

.pricing-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;

}

.price-card {

    position: relative;

    background: white;

    border: 1px solid var(--border);

    padding: 38px;

    border-radius: var(--radius);

    transition: transform 0.3s ease, box-shadow 0.3s ease;

}

.price-card:hover {

    transform: translateY(-7px);

    box-shadow: var(--shadow);

}

.featured-price {

    border-top: 4px solid var(--gold);

    box-shadow: 0 15px 45px rgba(16, 24, 32, 0.08);

}

.popular {

    position: absolute;

    top: 0;
    right: 25px;

    padding: 7px 12px;

    background: var(--gold);

    color: white;

    font-size: 0.6rem;

    font-weight: 700;

    letter-spacing: 0.12em;

}

.price-header {

    display: flex;

    align-items: center;

    gap: 14px;

}

.price-header i {

    color: var(--blue);

    font-size: 1.5rem;

}

.price-header h3 {

    font-family: "Cinzel", serif;

    font-size: 1.2rem;

}

.price {

    font-family: "Cinzel", serif;

    color: var(--blue);

    font-size: 2.5rem;

    font-weight: 600;

    margin: 25px 0 5px;

}

.price small {

    display: block;

    font-family: "Inter", sans-serif;

    font-size: 0.58rem;

    color: var(--grey);

    letter-spacing: 0.15em;

}

.price-card > p {

    color: var(--grey);

    font-size: 0.78rem;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);

}

.price-card ul {

    list-style: none;

    margin: 20px 0;

}

.price-card li {

    color: #59646c;

    font-size: 0.78rem;

    padding: 6px 0;

}

.price-card li::before {

    content: "✓";

    color: var(--blue);

    font-weight: 700;

    margin-right: 9px;

}

.price-link {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--blue);

    font-size: 0.72rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.07em;

}

.pricing-note {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    margin-top: 30px;

    padding: 20px;

    background: #fff;

    border-left: 3px solid var(--gold);

}

.pricing-note i {

    color: var(--gold);

    margin-top: 4px;

}

.pricing-note p {

    color: var(--grey);

    font-size: 0.76rem;

}


/* =========================================
   QUOTE CTA
========================================= */

.quote-cta {

    background: var(--blue);

    color: white;

    padding: 80px 0;

}

.quote-grid {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}

.quote-cta .section-label {
    color: var(--gold-light);
}

.quote-cta h2 {

    color: white;

    margin-bottom: 15px;

}

.quote-cta h2 span {
    color: white;
}

.quote-cta p {

    color: rgba(255,255,255,0.82);

    max-width: 600px;

}

.large-btn {

    flex-shrink: 0;

    background: white;

    color: var(--blue);

}

.large-btn:hover {

    background: var(--off-white);

}


/* =========================================
   CONTACT
========================================= */

.contact {

    background: white;

}

.contact-grid {

    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 90px;

    align-items: start;

}

.contact-info h2 {

    margin-bottom: 25px;

}

.contact-info > p {

    color: var(--grey);

    max-width: 500px;

}

.contact-details {

    margin-top: 40px;

    display: flex;

    flex-direction: column;

    gap: 20px;

}

.contact-item {

    display: flex;

    align-items: center;

    gap: 16px;

}

.contact-icon {

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--blue-light);

    color: var(--blue);

}

.contact-item small {

    display: block;

    color: var(--grey);

    font-size: 0.6rem;

    letter-spacing: 0.15em;

}

.contact-item strong {

    display: block;

    font-size: 0.85rem;

    color: var(--dark);

}

.quote-form-wrapper {

    background: var(--off-white);

    padding: 40px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

}

.form-heading h3 {

    font-family: "Cinzel", serif;

    font-size: 1.5rem;

}

.form-heading p {

    color: var(--grey);

    font-size: 0.8rem;

    margin-bottom: 28px;

}

.form-row {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 16px;

}

.form-group {

    margin-bottom: 18px;

}

.form-group label {

    display: block;

    font-size: 0.7rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.07em;

    margin-bottom: 7px;

}

.form-group input,
.form-group select,
.form-group textarea {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #d8e0e5;

    background: white;

    border-radius: 5px;

    outline: none;

    color: var(--dark);

    font-size: 0.82rem;

    transition: border 0.3s ease, box-shadow 0.3s ease;

}

.form-group textarea {

    resize: vertical;

}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {

    border-color: var(--blue);

    box-shadow: 0 0 0 3px rgba(22, 135, 217, 0.1);

}

.form-submit {

    width: 100%;

    border: none;

    margin-top: 5px;

}


/* =========================================
   FOOTER
========================================= */

.footer {

    background: #07141e;

    color: white;

    padding-top: 70px;

}

.footer-grid {

    display: grid;

    grid-template-columns: 2fr 1fr 1.5fr;

    gap: 70px;

    padding-bottom: 55px;

}

.footer .logo-text {
    color: white;
}

.footer-brand p {

    margin-top: 20px;

    color: #b3bec5;

    font-size: 0.85rem;

}

.footer-tagline {

    display: block;

    margin-top: 10px;

    color: var(--gold);

    font-size: 0.7rem;

}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;

}

.footer-column h4 {

    color: var(--gold);

    font-size: 0.72rem;

    letter-spacing: 0.15em;

    text-transform: uppercase;

    margin-bottom: 10px;

}

.footer-column a,
.footer-column span {

    color: #9eabb3;

    font-size: 0.78rem;

    transition: color 0.3s ease;

}

.footer-column a:hover {
    color: white;
}

.footer-bottom {

    border-top: 1px solid rgba(255,255,255,0.1);

    padding: 22px 0;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

}

.footer-bottom p {

    color: #77848c;

    font-size: 0.68rem;

}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1050px) {

    .navbar {
        gap: 17px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

}


@media (max-width: 850px) {

    .navbar {

        position: fixed;

        top: 82px;
        right: -100%;

        width: min(320px, 85%);

        height: calc(100vh - 82px);

        padding: 40px 30px;

        background: white;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        box-shadow: -10px 0 40px rgba(0,0,0,0.08);

        transition: right 0.35s ease;

    }

    .navbar.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        margin-top: 10px;
    }

    .about-grid,
    .contact-grid {

        grid-template-columns: 1fr;

        gap: 60px;

    }

    .about-image {
        height: 500px;
    }

    .experience-card {
        right: 20px;
    }

    .quote-grid {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 650px) {

    .section {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.5rem);
    }

    .hero p {
        font-size: 0.92rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-scroll {
        display: none;
    }

    .trust-container,
    .services-grid,
    .why-grid {

        grid-template-columns: 1fr;

    }

    .trust-item {
        padding: 5px 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 420px;
    }

    .experience-card {
        right: 10px;
        bottom: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .quote-form-wrapper {
        padding: 25px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

}
/* =========================================
   SCROLL REVEAL ANIMATIONS
========================================= */

.reveal {

    opacity: 0;

    transform: translateY(35px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}

.revealed {

    opacity: 1;

    transform: translateY(0);

}