/* DoItMyService – landing page polish. Loaded last; only overrides. Remove the <link> (or run the rollback) to undo. */

/* 1) Sticky header: one full-width bar, always above the page (the newsletter "Subscribe" button used to paint over it) */
header { z-index: 1030 !important; }
header .navbar-bottom { background: rgba(255, 255, 255, .96) !important; -webkit-backdrop-filter: saturate(160%) blur(10px); backdrop-filter: saturate(160%) blur(10px); transition: box-shadow .2s ease; }
header .navbar-bottom.active { box-shadow: 0 6px 24px rgba(15, 46, 52, .08); }
header .navbar-bottom-wrapper { background: transparent !important; border-radius: 0 !important; }
body.dark-theme header .navbar-bottom { background: rgba(14, 26, 30, .96) !important; }

/* 1b) Header (desktop): logo and "Contact us" line up with the page content edges (same width as the sections below) */
@media (min-width: 992px) {
    header .navbar-bottom > .container { padding-left: 0 !important; padding-right: 0 !important; }
    header .navbar-bottom-wrapper { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: 100% !important; }
}

/* 2) Headings: no ALL CAPS, same font and weight as the trust section */
.banner-section .banner-content h1.title {
    text-transform: none !important; font-family: Helvetica, Arial, sans-serif; font-weight: 800;
    font-size: clamp(28px, 3vw, 40px) !important; line-height: 1.12; letter-spacing: -.02em;
}
.banner-section .banner-content h1.title .dims-accent { color: #0f7f7a; }
.banner-section .banner-content .txt { font-size: 16px; line-height: 1.7; }
.section-title, .subscribe-newsletter h3 { text-transform: none !important; font-family: Helvetica, Arial, sans-serif; font-weight: 800; letter-spacing: -.01em; }
.service-section .section-title, .about-section .section-title { font-size: clamp(24px, 2.4vw, 32px); }
body:not(.dark-theme) .banner-section .banner-content h1.title,
body:not(.dark-theme) .section-title { color: #0f2e34; }
body:not(.dark-theme) .banner-section .banner-content .txt,
body:not(.dark-theme) .about__wrapper-content p { color: #4a5f63; }
body.dark-theme .banner-section .banner-content h1.title .dims-accent { color: #5fd6c8; }

/* 3) Hero photos: one look (rounded corners, soft shadow, same tone) */
.banner-section .banner-thumb img { border-radius: 18px !important; box-shadow: 0 14px 34px rgba(15, 46, 52, .14); filter: saturate(.92) contrast(1.02); object-fit: cover; }

/* 3b) Hero (desktop): small headline level with the top of the photos, store buttons level with their bottom */
@media (min-width: 992px) {
    .banner-section .banner-wrapper { align-items: stretch !important; }
    .banner-section .banner-content { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important;
        display: flex !important; flex-direction: column; justify-content: space-between; }
    .banner-section .banner-content .subtitle { margin-top: 0 !important; }
    .banner-section .banner-content .app-btns { margin-bottom: 0 !important; }
    .banner-section .banner-thumb { align-content: space-between !important; }
}

/* 4) Service cards: icon on a soft tile, own line per service (set by dims-premium.js), gentle hover */
.service__item { border-radius: 18px !important; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
body:not(.dark-theme) .service__item { border: 1px solid #e3efee !important; box-shadow: 0 6px 18px rgba(15, 46, 52, .05); }
.service__item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(15, 46, 52, .10); }
body:not(.dark-theme) .service__item:hover { border-color: #9fdcd5 !important; }
.service__item .service__item-icon { border-radius: 18px; padding: 14px; }
body:not(.dark-theme) .service__item .service__item-icon { background: linear-gradient(160deg, #eefaf8, #ddf4ef); }
.service__item .service__item-content .title { font-size: 16px; font-weight: 700; }
body:not(.dark-theme) .service__item .service__item-content .title { color: #0f2e34; }
.service__item .service__item-content .txt { font-size: 13px; min-height: 36px; }
body:not(.dark-theme) .service__item .service__item-content .txt { color: #5b6f73; }
.service__item .service__item-btn { border-radius: 999px !important; }

/* 5) Who we are: photo as a clean rounded card, no big teal block behind it */
.about__wrapper-thumb .bg-img { display: none !important; }
.about__wrapper-thumb { position: relative; display: flex; align-items: center; }
.about__wrapper-thumb .main-img {
    position: relative !important; inset: auto !important; transform: none !important; width: 100% !important; max-width: 100% !important;
    height: auto !important; object-fit: cover !important; border-radius: 22px; box-shadow: 0 22px 48px rgba(15, 46, 52, .16); border: 6px solid #fff;
}
body.dark-theme .about__wrapper-thumb .main-img { border-color: rgba(255, 255, 255, .08); }
.about__wrapper-content p { line-height: 1.75; }

/* 6) "Why choose" gets its own look (deep teal panel) so it no longer repeats the trust section */
body #why-choose-us .dtr-wrap { background: linear-gradient(135deg, #0b3d3a 0%, #0f5f5a 60%, #13807a 100%) !important; border: 0 !important; box-shadow: 0 24px 60px rgba(11, 61, 58, .25) !important; }
body #why-choose-us .dtr-title, body #why-choose-us .dtr-title span { color: #fff !important; }
body #why-choose-us .dtr-lead { color: rgba(255, 255, 255, .78) !important; }
body #why-choose-us .dtr-eyebrow { background: rgba(255, 255, 255, .12) !important; color: #c9f3ec !important; border-color: rgba(255, 255, 255, .2) !important; }
body #why-choose-us .dtr-eyebrow svg { stroke: #c9f3ec !important; }
body #why-choose-us .dtr-grid > .dtr-card { background: rgba(255, 255, 255, .07) !important; border: 1px solid rgba(255, 255, 255, .14) !important; box-shadow: none !important; }
body #why-choose-us .dtr-grid > .dtr-card h3 { color: #fff !important; }
body #why-choose-us .dtr-grid > .dtr-card p { color: rgba(255, 255, 255, .75) !important; }
body #why-choose-us .dtr-ico { background: rgba(255, 255, 255, .14) !important; color: #9ff0e4 !important; }
body #why-choose-us .dtr-ico svg, body #why-choose-us .dtr-chev svg { stroke: #9ff0e4 !important; }
body #why-choose-us .dtr-chev { color: #9ff0e4 !important; }
@media (min-width: 992px) { body #why-choose-us .dtr-chev { display: none !important; } }

/* 7) App slider: text vertically centred next to the phones */
.app-slider-wrapper { align-items: center !important; }
.app-slider-wrapper .app-content { align-self: center !important; }

/* 8) Newsletter: calm teal band instead of the leaf photo */
body:not(.dark-theme) .subscribe-newsletter { background: linear-gradient(120deg, #e9f8f5 0%, #d7f2ec 55%, #c4ece4 100%) !important; }
body.dark-theme .subscribe-newsletter { background: linear-gradient(120deg, #0f2a2c 0%, #12383a 100%) !important; }
.subscribe-newsletter { padding-top: 56px !important; padding-bottom: 56px !important; }
.subscribe-newsletter h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 8px !important; }
body:not(.dark-theme) .subscribe-newsletter p { color: #3f5b5f !important; }
body:not(.dark-theme) .subscribe-newsletter .form-control { border: 1px solid #bfe6df !important; box-shadow: 0 6px 18px rgba(15, 46, 52, .06); }

/* Mobile */
@media (max-width: 767px) {
    body #why-choose-us .dtr-wrap { border-radius: 22px !important; }
}

/* 4b) Services section on phones/tablets: bigger heading and icons, service line visible */
@media (max-width: 991px) {
    .service-section .section-title { font-size: 26px !important; font-weight: 800 !important; line-height: 1.2; margin-bottom: 18px !important; }
    .service__item { padding: 16px 12px !important; }
    .service__item .service__item-icon { padding: 14px !important; min-height: 92px; align-items: center; justify-content: center; }
    .service__item .service__item-icon img { width: 64px !important; height: 64px !important; max-width: none !important; object-fit: contain; }
    .service__item .service__item-content .title { font-size: 17px !important; margin-top: 10px !important; }
    .service__item .service__item-content .txt { display: block !important; font-size: 13px !important; line-height: 1.4; min-height: 36px; margin: 4px 0 10px !important; }
    .service__item .service__item-btn { font-size: 14px !important; }
}

/* 5b) Who we are on phones/tablets: text first, shorter (full text on "Read More"), photo below with no empty space above it */
@media (max-width: 991px) {
    .about__wrapper { display: flex !important; flex-direction: column !important; gap: 18px; }
    .about__wrapper-content { order: 1; padding: 22px 20px !important; margin: 0 !important; border-radius: 18px; width: 100% !important; }
    .about__wrapper-thumb { order: 2; padding: 0 !important; margin: 0 !important; min-height: 0 !important; height: auto !important; width: 100% !important; }
    .about__wrapper-thumb .main-img { border-width: 4px; border-radius: 18px; box-shadow: 0 14px 30px rgba(15, 46, 52, .14); }
    .about-section .section-title { font-size: 26px !important; margin-bottom: 10px !important; }
    .about__wrapper-content p { font-size: 15px !important; line-height: 1.65 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; margin-bottom: 14px !important; }
}

/* 5c) Team photo: no frame or shadow; edges fade softly into the page background */
.about__wrapper-thumb .main-img {
    border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 86%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-composite: intersect;
}

/* 9) Mobile menu: light card in the page theme (white, teal accents) instead of the dark teal panel */
@media (max-width: 991px) {
    body:not(.dark-theme) header .navbar-bottom .menu {
        background: #fff !important; background-image: none !important; border: 1px solid #e3efee !important;
        box-shadow: 0 24px 60px rgba(15, 46, 52, .18) !important; color: #0f2e34 !important;
    }
    body:not(.dark-theme) header .navbar-bottom .menu::before { color: #0f7f7a !important; }
    body:not(.dark-theme) header .navbar-bottom .menu::after { color: #5b6f73 !important; border-color: #e3efee !important; }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a {
        background: #f5fbfa !important; background-image: none !important; border: 1px solid #e3efee !important;
        color: #0f2e34 !important; box-shadow: none !important;
    }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a * { color: inherit; }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a::before,
    body:not(.dark-theme) header .navbar-bottom .menu > li > a > span:first-child:not(:only-child) {
        background: #e3f7f3 !important; color: #0f7f7a !important; border-color: #bfe6df !important;
    }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a::after { color: #0f7f7a !important; border-color: #0f7f7a !important; }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a.active,
    body:not(.dark-theme) header .navbar-bottom .menu > li.active > a {
        background: linear-gradient(135deg, #0f6b66, #13807a) !important; border-color: #0f7f7a !important; color: #fff !important;
    }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a.active::before,
    body:not(.dark-theme) header .navbar-bottom .menu > li.active > a::before,
    body:not(.dark-theme) header .navbar-bottom .menu > li > a.active > span:first-child:not(:only-child) {
        background: rgba(255, 255, 255, .18) !important; color: #fff !important; border-color: rgba(255, 255, 255, .3) !important;
    }
    body:not(.dark-theme) header .navbar-bottom .menu > li > a.active::after,
    body:not(.dark-theme) header .navbar-bottom .menu > li.active > a::after { color: #fff !important; border-color: #fff !important; }
    body:not(.dark-theme) header .navbar-bottom .menu .dims-nav-tools,
    body:not(.dark-theme) header .navbar-bottom .menu .dims-nav-tools * { color: #0f2e34 !important; border-color: #e3efee !important; }
    body:not(.dark-theme) header .navbar-bottom .menu .dims-nav-tools { background: transparent !important; }
}
