/*
 * Service pages (/services/{slug}) + the header's Services dropdown.
 *
 * Linked last in site.blade.php so it wins the cascade over style.css and
 * responsive.css without !important — the two exceptions below are marked, and
 * exist only because the theme rule they override is itself !important.
 *
 * Everything is scoped under `.svc-page` apart from the dropdown width, which
 * has to reach the header. Bump the ?v= query string in site.blade.php after
 * editing this file.
 */

/* ---------------------------------------------------------------- dropdown */

/* The theme's sub-menu is 200px wide; "Back Glass Replacement" wraps at that
   width, so every long label would sit on two lines. */
.header-menu ul li .sub-menu,
.header-menu ul li .sub-menu li a {
    width: 264px;
}

.header-menu ul li .sub-menu {
    padding: 6px 0;
}

/* The theme only opens sub-menus on :hover, which leaves keyboard users with no
   way in. Same reveal, driven by focus. */
.header-menu ul li:focus-within .sub-menu {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.header-menu ul > li > a > i.bi-chevron-down {
    font-size: 12px;
    margin-left: 3px;
}

/* -------------------------------------------------------------------- hero */

/* The theme pulls .breadcumb-area up by 100px so a hero photo runs behind the
   header. That cannot work here: this header is the light variant with dark
   links, so a dark hero behind it makes the nav unreadable. The hero starts
   below the header instead, and its padding is trimmed to match. */
.svc-page .breadcumb-area {
    margin-top: 0;
    padding: 96px 0 100px;
    background-position: center center;
}

/* Photo-over-text needs a scrim or the white crumbs disappear on light areas. */
.svc-page .breadcumb-area:before {
    position: absolute;
    content: '';
    inset: 0;
    background: linear-gradient(
        100deg,
        rgba(0, 24, 25, 0.92) 0%,
        rgba(0, 24, 25, 0.72) 55%,
        rgba(113, 183, 69, 0.45) 100%
    );
}

.svc-page .breadcumb-content {
    position: relative;
    z-index: 1;
}

.svc-page .svc-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    background: rgba(113, 183, 69, 0.9);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 4px;
    margin-bottom: 18px;
}

.svc-page .breadcumb-content h4 {
    line-height: 1.1;
    margin: 0;
}

.svc-page .svc-hero-tagline {
    color: #e7f1e0;
    font-size: 19px;
    line-height: 30px;
    max-width: 620px;
    margin: 16px 0 0;
}

.svc-page .breadcumb-content ul {
    margin-top: 22px;
}

.svc-page .svc-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

/* ----------------------------------------------------------------- buttons */

.svc-page .svc-btn {
    display: inline-block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 13px 30px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: 0.4s;
}

.svc-page .svc-btn-primary {
    background: #71b745;
    color: #fff;
    border-color: #71b745;
}

.svc-page .svc-btn-primary:hover {
    background: #fff;
    color: #00181a;
    border-color: #fff;
}

.svc-page .svc-btn-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.svc-page .svc-btn-ghost:hover {
    background: #fff;
    color: #00181a;
    border-color: #fff;
}

.svc-page .svc-btn-dark {
    background: #00181a;
    color: #fff;
    border-color: #00181a;
}

.svc-page .svc-btn-dark:hover {
    background: transparent;
    color: #00181a;
}

/* ------------------------------------------------------------------- body */

.svc-page .services-details-area {
    padding: 90px 0 100px;
}

/* Lead card. The SVG is authored at 480x300 and scales to the column; the card
   carries the tint so the artwork itself stays background-free. */
.svc-page .svc-illustration {
    background: linear-gradient(140deg, #f7f6ee 0%, #eef6e7 100%);
    border-radius: 8px;
    padding: 26px 20px;
    margin-bottom: 34px;
    text-align: center;
}

.svc-page .svc-illustration img {
    display: block;
    width: 100%;
    max-width: 460px;
    height: auto;
    margin: 0 auto;
}

.svc-page .services-details-thumb img {
    border-radius: 6px;
}

.svc-page .service-details-icon-box {
    border-radius: 6px;
    align-items: flex-start;
}

/* The theme's icon slots expect <img>; every mark on this page is a
   bootstrap-icons glyph instead, because the theme ships no service artwork. */
.svc-page .service-details-box-icon i {
    display: inline-block;
    color: #71b745;
    font-size: 34px;
    line-height: 1;
}

.svc-page .service-details-text-icon i {
    display: inline-block;
    color: #fff;
    font-size: 34px;
    line-height: 1;
}

.svc-page .benifits-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* .single-benifits-box is built around a photo the content card overlaps. With
   no photo, the card is the whole thing. */
.svc-page .svc-checks .benifits-content {
    width: 100%;
    margin-top: 0;
}

.svc-page .svc-checks .single-benifits-box {
    height: 100%;
}

/* -------------------------------------------------------------- spec strip */

/* auto-fit rather than a fixed 4-up: the strip sits inside col-lg-8, and values
   like "Batch cycle, agreed per school" need more than a quarter of it. */
.svc-page .svc-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 46px;
}

.svc-page .svc-spec {
    background: #00181a;
    border-radius: 6px;
    padding: 22px 20px 20px;
    text-align: center;
}

.svc-page .svc-spec i {
    display: block;
    color: #71b745;
    font-size: 24px;
    margin-bottom: 10px;
}

.svc-page .svc-spec-label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.svc-page .svc-spec-value {
    display: block;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
}

/* ----------------------------------------------------------------- sidebar */

.svc-page .svc-sidebar {
    position: sticky;
    top: 110px;
}

.svc-page .widget-category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.svc-page .widget-category ul li a.is-current {
    background: #00181a;
    color: #fff;
}

.svc-page .widget-category ul li a.is-current i {
    opacity: 1;
    color: #71b745;
}

.svc-page .svc-sidebar-note {
    font-size: 15px;
    line-height: 25px;
    margin: 4px 0 0;
}

/* ----------------------------------------------------------------- process */

.svc-page .work-process-area.style-one {
    background: #f7f6ee;
    padding: 92px 0 74px;
}

/* .process-box-thumb is already `font-size: 65px; color: #71b745` — it was
   built for a glyph, so one drops straight in. */
.svc-page .process-box-thumb i {
    font-size: 58px;
    line-height: 138px;
}

/* -------------------------------------------------------------------- faqs */

.svc-page .faqs-area.inner-style {
    padding: 92px 0 84px;
}

/* Overrides `.inner-style .faq-singular.active .faq-question`, which is
   !important in style.css and paints the open row #0b59db — a leftover from the
   theme's other colourway. */
.svc-page .faq-singular.active .faq-question {
    background: #71b745 !important;
}

.svc-page .faq-singular {
    border-radius: 5px;
    overflow: hidden;
}

.svc-page .faq-question {
    padding-right: 62px;
}

.svc-page .faq-singular.active .faq-question:before {
    color: #fff;
}

.svc-page .faq-answer p {
    margin: 0;
}

/* --------------------------------------------------------------------- cta */

/* Top padding matters: without it the dark card is welded to the FAQ band's
   bottom edge. */
.svc-page .svc-cta {
    padding: 70px 0 100px;
}

.svc-page .svc-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    background: #00181a;
    border-radius: 8px;
    padding: 48px 52px;
}

.svc-page .svc-cta-text h3 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 10px;
}

.svc-page .svc-cta-text p {
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    max-width: 560px;
}

.svc-page .svc-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.svc-page .svc-cta .svc-btn-dark {
    background: #fff;
    color: #00181a;
    border-color: #fff;
}

.svc-page .svc-cta .svc-btn-dark:hover {
    background: transparent;
    color: #fff;
}

/* ------------------------------------------------------------- responsive */

@media only screen and (max-width: 991px) {
    .svc-page .breadcumb-area {
        padding: 64px 0 70px;
        /*
         * responsive.css sets `.breadcumb-area { text-align: center }` in all
         * four breakpoints below 992px. `.svc-hero-buttons` is a flex
         * container, so text-align never reached it: the kicker, heading,
         * tagline and crumbs centred while the buttons stayed hard left, which
         * is what made the row look broken. Every other hero on the site is
         * left-aligned, so the hero is brought back into line with them rather
         * than the buttons being centred to match a theme default.
         */
        text-align: left;
    }

    .svc-page .breadcumb-content h4 {
        font-size: 40px;
    }

    .svc-page .svc-sidebar {
        position: static;
        margin-top: 40px;
    }

    .svc-page .services-details-area {
        padding: 60px 0 70px;
    }

    .svc-page .services-details-text {
        gap: 28px;
    }

    .svc-page .service-details-text-icon:before {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    .svc-page .breadcumb-content h4 {
        font-size: 32px;
    }

    .svc-page .svc-hero-tagline {
        font-size: 17px;
    }

    /* Side by side, the two sized themselves to their own labels -- one wide
       green button and one narrow ghost, neither reaching the column edge.
       Stacked full width they read as a pair and give a real tap target. */
    .svc-page .svc-hero-buttons .svc-btn {
        flex: 1 1 100%;
        text-align: center;
    }

    .svc-page .services-details-text {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 26px;
    }

    .svc-page .service-details-text-content p {
        width: 100%;
        font-size: 19px;
        line-height: 28px;
    }

    .svc-page .service-details-icon-box {
        flex-direction: column;
        gap: 16px;
    }

    .svc-page .widget-sidber {
        padding: 28px 24px 24px;
    }

    .svc-page .svc-cta-inner {
        padding: 34px 26px;
    }

    .svc-page .svc-cta-text h3 {
        font-size: 26px;
    }
}
