/* ==========================================================================
   Kailash Painter — Main Stylesheet
   ========================================================================== */

:root {
    --navy: #16213E;
    --navy-light: #1F2E52;
    --amber: #F2A93B;
    --amber-dark: #D98F1E;
    --teal: #1F7A6C;
    --canvas: #FAF9F6;
    --soft-bg: #F1EFE9;
    --slate: #5B6472;
    --ink: #1B2130;
    --border-soft: #E7E3DA;
    --white: #FFFFFF;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --shadow-soft: 0 10px 30px rgba(22, 33, 62, 0.08);
    --shadow-card: 0 14px 36px rgba(22, 33, 62, 0.12);
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background-color: var(--canvas);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.25;
}

a { text-decoration: none; color: inherit; transition: color .2s ease; }

p { color: var(--slate); margin-bottom: 1rem; }

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

.container { max-width: 1200px; }

.section-py { padding: 5rem 0; }
@media (max-width: 767px) { .section-py { padding: 3rem 0; } }

.bg-soft { background-color: var(--soft-bg); }

.section-tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .85rem;
    color: var(--teal);
    margin-bottom: .6rem;
    padding-left: .9rem;
    border-left: 3px solid var(--amber);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    max-width: 700px;
}
@media (max-width: 767px) { .section-title { font-size: 1.5rem; } }

.intro-text {
    font-size: 1.15rem;
    color: var(--ink);
    text-align: left;
    line-height: 1.8;
}

.service-intro-detail {
    max-width: 1050px;
    color: var(--slate);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Buttons
   ========================================================================== */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 10px; padding: .65rem 1.5rem; transition: all .25s ease; }

.btn-brand {
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--navy);
}
.btn-brand:hover { background-color: var(--navy-light); border-color: var(--navy-light); color: var(--white); }

.btn-outline-brand {
    background-color: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline-brand:hover { background-color: var(--navy); color: var(--white); }

.btn-cta {
    background-color: var(--amber);
    color: var(--navy);
    border: 2px solid var(--amber);
    font-weight: 700;
}
.btn-cta:hover { background-color: var(--amber-dark); border-color: var(--amber-dark); color: var(--navy); }

.btn-outline-light { border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn-outline-light:hover { background-color: var(--white); color: var(--navy); }

.btn-whatsapp-lg {
    background-color: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
    font-weight: 700;
}
.btn-whatsapp-lg:hover { background-color: #175f54; border-color: #175f54; color: var(--white); }

.btn-sm { padding: .45rem 1rem; font-size: .88rem; }

.chip {
    display: inline-block;
    padding: .4rem 1rem;
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    font-size: .9rem;
    color: var(--navy);
    font-weight: 500;
}

.badge-pill {
    display: inline-block;
    background-color: rgba(242,169,59,.15);
    color: var(--amber);
    border: 1px solid rgba(242,169,59,.4);
    padding: .35rem 1rem;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Top Bar
   ========================================================================== */
.top-bar {
    background-color: var(--navy);
    color: rgba(255,255,255,.85);
    font-size: .88rem;
}
.top-bar-link { color: rgba(255,255,255,.85); }
.top-bar-link:hover { color: var(--amber); }

/* Header / Navigation
   ========================================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 18px rgba(22,33,62,.06);
    z-index: 1030;
}

.navbar-brand { display: flex; align-items: center; gap: .6rem; }
.site-logo {
    width: 280px;
    max-width: 64vw;
    height: auto;
}
.footer-logo {
    width: 240px;
    filter: brightness(0) invert(1);
}

.brand-mark {
    width: 44px;
    height: 44px;
    background-color: var(--navy);
    color: var(--amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.2rem; }
.brand-sub { font-size: .72rem; color: var(--slate); letter-spacing: .03em; }

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--ink);
    padding: .6rem 1rem;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--teal); }

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-sm);
    padding: .6rem;
}
.dropdown-item { border-radius: 8px; padding: .55rem .9rem; font-weight: 500; }
.dropdown-item:hover { background-color: var(--soft-bg); color: var(--teal); }

@media (max-width: 991px) {
    .navbar-collapse {
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        padding-top: 1rem;
    }

    .navbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        margin: .35rem 0 .75rem;
        box-shadow: none;
        border: 1px solid var(--border-soft);
        background-color: var(--canvas);
        max-height: 55vh;
        overflow-y: auto;
    }

    .navbar-nav .dropdown-item {
        white-space: normal;
        padding: .7rem .9rem;
    }
}

/* Hero Carousel
   ========================================================================== */
.hero-carousel .carousel-item {
    min-height: 640px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}
@media (max-width: 767px) { .hero-carousel .carousel-item { min-height: 500px; } }

.hero-carousel .carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(22,33,62,.92) 0%, rgba(22,33,62,.72) 45%, rgba(22,33,62,.4) 100%);
}

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

.hero-slide-content h1,
.hero-slide-content h2 {
    color: var(--white);
    font-size: 2.9rem;
    margin-bottom: 1.1rem;
}
@media (max-width: 767px) { .hero-slide-content h1, .hero-slide-content h2 { font-size: 2rem; } }

.hero-slide-content p {
    color: rgba(255,255,255,.88);
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
}

.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }

.carousel-indicators [data-bs-target] {
    background-color: var(--amber);
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.carousel-control-prev, .carousel-control-next { width: 5%; opacity: .8; }

/* Service Hero (individual service pages)
   ========================================================================== */
.service-hero {
    background-size: cover;
    background-position: center;
    padding: 7rem 0 5rem;
    color: var(--white);
}
.service-hero h1 { color: var(--white); font-size: 2.5rem; max-width: 750px; }
.service-hero .lead { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 650px; }
@media (max-width: 767px) { .service-hero { padding: 5rem 0 3rem; } .service-hero h1 { font-size: 1.8rem; } }

/* Breadcrumb
   ========================================================================== */
.breadcrumb-bar { background-color: var(--soft-bg); padding: .5rem 0; border-bottom: 1px solid var(--border-soft); }
.breadcrumb-item a { color: var(--teal); font-weight: 500; }
.breadcrumb-item.active { color: var(--slate); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--slate); }

/* Trust Strip
   ========================================================================== */
.trust-strip {
    background:
        linear-gradient(135deg, rgba(242,169,59,.14), transparent 34%),
        linear-gradient(100deg, var(--navy) 0%, #101a30 52%, var(--navy-light) 100%);
    padding: 1.4rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.trust-item {
    display: flex;
    align-items: center;
    gap: .85rem;
    color: var(--white);
    min-height: 92px;
    padding: 1rem 1.1rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}
.trust-item:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,.1);
    border-color: rgba(242,169,59,.38);
}
.trust-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber), var(--amber-dark));
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.trust-icon i { font-size: 1.55rem; }
.trust-item .trust-label { font-size: .88rem; color: rgba(255,255,255,.78); line-height: 1.35; }
.trust-item .trust-value { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; line-height: 1.2; }
@media (max-width: 767px) {
    .trust-strip { padding: 1rem 0; }
    .trust-item { min-height: 84px; padding: .85rem; gap: .65rem; }
    .trust-icon { width: 42px; height: 42px; border-radius: 12px; }
    .trust-icon i { font-size: 1.25rem; }
    .trust-item .trust-value { font-size: .92rem; }
    .trust-item .trust-label { font-size: .78rem; }
}

/* About section
   ========================================================================== */
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.about-media .badge-float {
    position: absolute;
    bottom: -1.2rem;
    right: -1rem;
    background-color: var(--amber);
    color: var(--navy);
    padding: 1rem 1.4rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}
@media (max-width: 767px) { .about-media .badge-float { position: static; margin-top: 1rem; display: inline-block; } }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .85rem;
    color: var(--ink);
}
.check-list li i { color: var(--teal); font-size: 1.15rem; margin-top: .15rem; }

/* Service Cards
   ========================================================================== */
.service-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
    border: 1px solid var(--border-soft);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }

.service-card-img { overflow: hidden; height: 210px; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.08); }

.service-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.service-card-title { font-size: 1.2rem; margin-bottom: .6rem; }
.service-card-text { font-size: .92rem; flex-grow: 1; margin-bottom: 1.2rem; }
.service-card-actions { display: flex; gap: .5rem; flex-wrap: nowrap; align-items: center; }
.service-card-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: .65rem;
    padding-right: .65rem;
    white-space: nowrap;
}

/* Why Choose Us
   ========================================================================== */
.why-box {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    height: 100%;
    border: 1px solid var(--border-soft);
    transition: border-color .25s ease, transform .25s ease;
}
.why-box:hover { border-color: var(--amber); transform: translateY(-4px); }
.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background-color: rgba(31,122,108,.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
}
.why-box h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.why-box p { font-size: .92rem; margin-bottom: 0; }

/* Feature box (used in options / considerations / benefits) */
.feature-box {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: 1.1rem 1.3rem;
    height: 100%;
}
.feature-box i { color: var(--amber); font-size: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.feature-box span { color: var(--ink); font-size: .95rem; }
.bg-soft .feature-box { background-color: var(--white); }
.service-guide-title { font-size: 1.08rem; margin-bottom: .55rem; }

/* Process Steps
   ========================================================================== */
.process-step { text-align: center; position: relative; padding: 0 .5rem; }
.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--navy);
    color: var(--amber);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.process-step p { font-size: .88rem; margin-bottom: 0; }

.process-line {
    position: absolute;
    top: 30px;
    left: 55%;
    width: 90%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--border-soft) 0 8px, transparent 8px 14px);
    z-index: 0;
}
@media (max-width: 991px) { .process-line { display: none; } }

/* Gallery
   ========================================================================== */
.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    height: 260px;
    box-shadow: var(--shadow-soft);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(22,33,62,.85), transparent);
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
}
.gallery-filter-btn {
    border: 2px solid var(--border-soft);
    background: var(--white);
    color: var(--navy);
    padding: .5rem 1.3rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .2s ease;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover { background-color: var(--navy); color: var(--white); border-color: var(--navy); }

/* Areas We Serve
   ========================================================================== */
.area-chip-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.area-chip {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: .55rem 1.2rem;
    font-size: .9rem;
    font-weight: 500;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.area-chip i { color: var(--teal); }

/* FAQ / Accordion
   ========================================================================== */
.accordion-item { border: 1px solid var(--border-soft); border-radius: var(--radius-sm) !important; margin-bottom: .8rem; overflow: hidden; }
.accordion-button {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--navy);
    background-color: var(--white);
    font-size: 1rem;
}
.accordion-button:not(.collapsed) { color: var(--teal); background-color: var(--white); box-shadow: none; }
.accordion-button:focus { box-shadow: none; border-color: var(--border-soft); }
.accordion-button::after { filter: hue-rotate(140deg); }

/* CTA Band
   ========================================================================== */
.cta-band {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 4rem 0;
    color: var(--white);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 600px; margin-left: auto; margin-right: auto; }

/* Contact Section
   ========================================================================== */
.contact-info-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.contact-info-list li { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; color: var(--ink); }
.contact-info-list li i { color: var(--amber); font-size: 1.2rem; width: 24px; text-align: center; }
.contact-info-list li a { color: var(--ink); font-weight: 500; }
.contact-info-list li a:hover { color: var(--teal); }

.contact-form-card {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}
.contact-form-card .form-label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.contact-form-card .form-control,
.contact-form-card .form-select {
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-sm);
    padding: .65rem .9rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(31,122,108,.15);
}

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--border-soft); }

/* Footer
   ========================================================================== */
.site-footer { background-color: var(--navy); color: rgba(255,255,255,.75); }
.footer-brand { color: var(--white); }
.footer-brand .brand-name { color: var(--white); }
.footer-about { color: rgba(255,255,255,.65); font-size: .92rem; }
.footer-heading { color: var(--white); font-family: var(--font-display); font-weight: 600; margin-bottom: 1.1rem; font-size: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .65rem; }
.footer-links a { color: rgba(255,255,255,.68); font-size: .92rem; }
.footer-links a:hover { color: var(--amber); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .9rem; font-size: .92rem; align-items: flex-start; }
.footer-contact li i { color: var(--amber); margin-top: .2rem; }
.footer-contact li a { color: rgba(255,255,255,.75); }
.footer-contact li a:hover { color: var(--amber); }

.social-icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.1);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: background-color .2s ease;
}
.social-icon:hover { background-color: var(--amber); color: var(--navy); }

.footer-bottom { background-color: #101a30; font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: var(--amber); }

/* Floating CTA
   ========================================================================== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
}
.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: var(--shadow-card);
    transition: transform .2s ease;
}
.fab:hover { transform: scale(1.08); color: var(--white); }
.fab-whatsapp { background-color: #25D366; }
.fab-call { background-color: var(--amber); color: var(--navy); }
.fab-call:hover { color: var(--navy); }

/* Legal Pages
   ========================================================================== */
.legal-content h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal-content p, .legal-content li { color: var(--slate); }
.legal-content ul { padding-left: 1.2rem; }

/* Misc pages
   ========================================================================== */
.page-hero {
    background-color: var(--navy);
    padding: 4.5rem 0 3.5rem;
    text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 650px; margin: 0 auto; }

.stat-box { text-align: center; }
.stat-box .stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; color: var(--navy); }
.stat-box .stat-label { font-size: .88rem; color: var(--slate); }

/* Scroll reveal (subtle, single orchestrated pattern used once per page section on load) */
@media (prefers-reduced-motion: no-preference) {
    .reveal-on-load { animation: fadeUp .7s ease both; }
    @keyframes fadeUp {
        from { opacity: 0; transform: translateY(16px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
