/*
 * Theme: Serene Civic Modernism — Dinas Kesehatan Kabupaten Pasuruan
 * Overrides `main.css`. Load AFTER main.css.
 *
 * Palette: tosca-hijau + putih dengan aksen glass morphism.
 * Prinsip: modern-ringan, jelas, terpercaya (institusi kesehatan).
 */

/* ─────────────── 0. Font self-host (subset latin, variable weight) ─────────────── */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/manrope-latin.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/publicsans-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/nunito-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }

/* ─────────────── 1. Token / Variabel Tema ─────────────── */
:root {
    /* Tosca ramp */
    --t-50:  #f0fdfa;
    --t-100: #ccfbf1;
    --t-200: #99f6e4;
    --t-300: #5eead4;
    --t-400: #2dd4bf;
    --t-500: #14b8a6;
    --t-600: #0d9488;
    --t-700: #0f766e;
    --t-800: #115e59;
    --t-900: #134e4a;
    --t-950: #042f2e;

    /* Override token asli agar utilitas main.css ikut segar */
    --accent-color:   #0d9488;
    --heading-color:  #0f2f2c;
    --default-color:  #2f3a3c;
    --nav-color:      #164e47;
    --nav-hover-color:#0d9488;
    --nav-dropdown-color: #0f2f2c;
    --nav-dropdown-hover-color: #0d9488;
    --bs-link-color:      #0d9488;
    --bs-link-hover-color:#0f766e;

    /* Surface */
    --tosca-ink: #0b3d3a;
    --paper: #ffffff;
    --paper-soft: #f6fbfa;
    --paper-tint: #edf7f5;

    /* Radius scale */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 28px;

    /* Shadow */
    --shadow-sm: 0 6px 18px -10px rgba(15, 118, 110, .35);
    --shadow-md: 0 18px 40px -22px rgba(15, 118, 110, .35);
    --shadow-lg: 0 30px 60px -30px rgba(15, 118, 110, .38);
}

/* ─────────────── 2. Body & Background Atmosfer ─────────────── */
body {
    font-family: "Public Sans", "Roboto", system-ui, -apple-system, sans-serif;
    color: var(--default-color);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

body.index-page {
    background:
        radial-gradient(1200px 700px at 8% -10%, rgba(20, 184, 166, .10), transparent 60%),
        radial-gradient(900px 500px at 100% 35%, rgba(15, 118, 110, .06), transparent 70%),
        var(--paper);
}

h1, h2, h3, h4, h5, .display-font, .sitename {
    font-family: "Manrope", "Nunito", sans-serif;
    letter-spacing: -0.015em;
}

.light-background {
    background: linear-gradient(180deg, #f4faf9 0%, #ffffff 100%) !important;
}

/* ─────────────── 3. Header + Navigasi ─────────────── */
.header {
    background-color: rgba(255, 255, 255, .35) !important;
    -webkit-backdrop-filter: saturate(1.6) blur(18px);
    backdrop-filter: saturate(1.6) blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
    padding: 12px 0;
    transition: background-color .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.index-page .header {
    background-color: rgba(255, 255, 255, .35) !important;
    border-bottom-color: rgba(255, 255, 255, .18);
}

.index-page.scrolled .header,
.scrolled .header,
.inner-page .header {
    background-color: rgba(255, 255, 255, .45) !important;
    box-shadow: 0 10px 30px -18px rgba(15, 118, 110, .18);
    border-bottom-color: rgba(255, 255, 255, .22);
}

/* Non-home: kompensasi tinggi fixed header supaya konten section tidak tertutup */
.inner-page #main { padding-top: 92px; }
@media (max-width: 1199px) {
    .inner-page #main { padding-top: 76px; }
}

.header .logo img { max-height: 42px; margin-right: 12px; }
.header .logo h1 {
    color: var(--t-800);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
    width: 14rem;
}

@media (max-width: 1199px) {
    .header { padding: 8px 0; }
    .header .container-fluid { padding-left: 14px; padding-right: 14px; }
    .header .logo img { max-height: 34px; margin-right: 8px; }
    .header .logo h1 {
        font-size: 13.5px;
        width: auto;
        max-width: calc(100vw - 120px);
        line-height: 1.15;
    }
    .mobile-nav-toggle { font-size: 26px !important; margin-right: 0 !important; }
}

/* Nav pill */
@media (min-width: 1200px) {
    .navmenu ul { gap: 4px; }

    .navmenu > ul > li > a,
    .navmenu > ul > li > a:focus {
        color: var(--nav-color);
        padding: 10px 16px;
        font-family: "Manrope", "Inter", sans-serif;
        font-weight: 600;
        font-size: 14.5px;
        border-radius: 999px;
        transition: background-color .25s ease, color .25s ease, transform .25s ease;
    }

    .navmenu > ul > li > a:hover {
        background: var(--t-50);
        color: var(--t-700);
    }

    .navmenu > ul > li > a.active,
    .navmenu > ul > li:hover > a.active,
    .navmenu > ul > li > a.nav-fill,
    .navmenu > ul > li:hover > a.nav-fill {
        background: linear-gradient(135deg, var(--t-600), var(--t-700));
        color: #fff !important;
        box-shadow: 0 8px 18px -10px rgba(13, 148, 136, .7);
    }

    .navmenu > ul > li > a i.toggle-dropdown { opacity: .7; }

    .navmenu .dropdown ul {
        padding: 8px;
        border-radius: var(--r-md);
        border: 1px solid rgba(15, 118, 110, .08);
        box-shadow: 0 30px 60px -30px rgba(15, 118, 110, .35);
        background: rgba(255, 255, 255, .96);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
    }

    .navmenu .dropdown ul a {
        padding: 10px 14px;
        border-radius: 10px;
        font-weight: 500;
        color: var(--nav-dropdown-color);
        transition: background-color .2s ease, color .2s ease, padding-left .2s ease;
    }

    .navmenu .dropdown ul a:hover {
        background: var(--t-50);
        color: var(--t-700);
        padding-left: 18px;
    }
}

/* Mobile toggle color */
.mobile-nav-toggle { color: var(--t-700) !important; }

.mobile-nav-active .navmenu ul {
    background: rgba(255, 255, 255, .98) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(15, 118, 110, .08);
    box-shadow: 0 30px 60px -30px rgba(15, 118, 110, .35);
    border-radius: var(--r-lg);
}

/* ─────────────── 4. Hero ─────────────── */
.hero {
    min-height: 92vh;
    padding: 140px 0 64px 0;
    align-items: stretch;
    isolation: isolate;
}

#hero-carousel {
    background: var(--t-800); /* warna tunggu saat gambar banner dimuat */
    z-index: 1;
    border-radius: 0;
    overflow: hidden;
}

#hero-carousel .carousel-item img {
    height: 100vh;
    max-height: 100vh;
    object-fit: cover;
    /* "jreng" — angkat cerah, saturasi, kontras */
    filter: brightness(1.06) saturate(1.22) contrast(1.03);
    transform: scale(1.04);
    transition: transform 8s ease;
}

#hero-carousel .carousel-item.active img {
    transform: scale(1.10); /* efek Ken Burns halus */
}

/* Ganti veil polos (main.css) dengan gradient tosca yang tetap membuat foto terang */
#hero-carousel::before {
    background:
        linear-gradient(115deg,
            rgba(11, 61, 58, .55) 0%,
            rgba(11, 61, 58, .18) 45%,
            rgba(11, 61, 58, 0) 75%),
        linear-gradient(0deg,
            rgba(4, 47, 46, .45) 0%,
            rgba(4, 47, 46, 0) 45%) !important;
    z-index: 2;
}

/* Vignette dekoratif dari tosca (aksen "jreng") */
.hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% -10%;
    height: 40%;
    background: radial-gradient(60% 100% at 20% 100%, rgba(20, 184, 166, .35), transparent 70%);
    filter: blur(30px);
    z-index: 2;
    pointer-events: none;
}

/* Container inner: kartu glass di kiri-bawah */
.hero .container {
    z-index: 4;
    width: 100% !important;
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0 clamp(1rem, 4vw, 3rem) !important;
    align-self: flex-end;
}

.hero .container > .d-flex {
    max-width: 500px;
    padding: 22px 26px 24px 26px;
    border-radius: var(--r-xl);
    background: rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, .28);
    box-shadow:
        0 24px 50px -30px rgba(4, 47, 46, .35),
        inset 0 1px 0 rgba(255, 255, 255, .45);
    position: relative;
}

/* Eyebrow badge */
.hero .container > .d-flex::before {
    content: "Layanan Publik · Dinkes Pasuruan";
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--t-600), var(--t-700));
    color: #fff;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 8px 20px -10px rgba(13, 148, 136, .55);
    align-self: flex-start;
}

.hero h1 {
    font-family: "Manrope", "Nunito", sans-serif;
    font-size: clamp(1.5rem, 3.2vw, 2.4rem) !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.024em;
    color: #ffffff !important;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .55), 0 1px 2px rgba(0, 0, 0, .45);
}

.hero h1 span {
    display: block;
    margin-top: 6px;
    font-size: .55em;
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    -webkit-text-fill-color: #000;
    color: #000;
    letter-spacing: -.012em;
    text-shadow:
        0 1px 0 rgba(255, 255, 255, .95),
        0 0 6px rgba(255, 255, 255, .8);
}

.hero p {
    color: #1a3835 !important;
    font-size: 14.5px !important;
    line-height: 1.5 !important;
    margin: 0 0 6px 0 !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}

/* Slide counter */
.hero .container > .d-flex::after {
    content: attr(data-slide-counter);
    display: block;
    margin-top: 12px;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .3em;
    color: var(--t-800);
}

/* Carousel controls */
#hero-carousel .carousel-control-prev,
#hero-carousel .carousel-control-next {
    width: 3.5%;
    opacity: 1;
}

#hero-carousel .carousel-control-prev span,
#hero-carousel .carousel-control-next span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease;
}

#hero-carousel .carousel-control-next span {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

#hero-carousel .carousel-control-prev:hover span,
#hero-carousel .carousel-control-next:hover span {
    transform: scale(1.06);
    background: rgba(255, 255, 255, .22);
    border-color: rgba(255, 255, 255, .55);
}

/* Indicators (di-inject via JS) */
.hero-indicators {
    position: absolute;
    bottom: 34px;
    right: clamp(1.5rem, 4vw, 3rem);
    z-index: 5;
    display: flex;
    gap: 10px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 999px;
    box-shadow: 0 18px 40px -22px rgba(4, 47, 46, .4);
}

.hero-indicators button {
    width: 30px;
    height: 6px;
    border-radius: 999px;
    border: 0;
    background: rgba(15, 118, 110, .25);
    transition: background .3s ease, width .3s ease;
    padding: 0;
    cursor: pointer;
}

.hero-indicators button.active {
    width: 44px;
    background: linear-gradient(90deg, var(--t-600), var(--t-500));
}

@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 88px 0 32px 0;
    }
    #hero-carousel .carousel-item img {
        height: auto;
        max-height: none;
        min-height: 58vh;
    }
    .hero .container {
        align-self: auto;
        margin-top: 18px !important;
    }
    .hero .container > .d-flex {
        padding: 20px 20px 22px;
        max-width: 100%;
        background: rgba(255, 255, 255, .85);
        border-color: rgba(255, 255, 255, .6);
    }
    .hero .container > .d-flex::before { font-size: 9.5px; padding: 4px 10px; }
    .hero h1 { font-size: 1.35rem !important; }
    .hero p { font-size: 13.5px !important; }
    #hero-carousel .carousel-control-prev,
    #hero-carousel .carousel-control-next { width: 8%; }
    #hero-carousel .carousel-control-prev span,
    #hero-carousel .carousel-control-next span { width: 32px; height: 32px; background-size: 12px 12px; }
}

@media (max-width: 767px) {
    .hero { padding: 80px 0 24px 0; }
    .hero-indicators { display: none; }
    .hero .container > .d-flex { padding: 16px 16px 18px; }
    .hero h1 { font-size: 1.2rem !important; }
    .hero .container > .d-flex::after { margin-top: 8px; font-size: 10px; }
}

/* ─────────────── 5. Section Title ─────────────── */
.section-title {
    text-align: center;
    padding-bottom: 40px;
}

.section-title h2 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.6rem, 2.6vw, 2.35rem);
    font-weight: 800;
    color: var(--heading-color);
    letter-spacing: -0.02em;
    padding-bottom: 18px;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--t-500), var(--t-700));
}

.section-title h2 span {
    display: block;
    font-weight: 700;
    font-size: .55em;
    color: var(--t-700);
    margin-top: 8px;
    letter-spacing: 0;
}

.section-title p {
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    max-width: 680px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.55;
}

/* ─────────────── 6. Featured Services (kontak cepat) ─────────────── */
.featured-services { padding: 72px 0; }

.featured-services .service-item {
    background: #fff;
    border-radius: var(--r-lg);
    padding: 26px 24px !important;
    border: 1px solid rgba(15, 118, 110, .08);
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    height: 100%;
}

.featured-services .service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(15, 118, 110, .25);
    box-shadow: var(--shadow-md);
}

.featured-services .service-item .icon {
    width: 58px !important;
    height: 58px !important;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--t-50), var(--t-100)) !important;
    color: var(--t-700) !important;
    font-size: 26px;
    margin-right: 18px;
    transition: transform .35s ease;
}

.featured-services .service-item:hover .icon {
    transform: rotate(-4deg) scale(1.04);
    background: linear-gradient(135deg, var(--t-600), var(--t-700)) !important;
    color: #fff !important;
}

.featured-services .service-item .title {
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--heading-color);
}

.featured-services .service-item .title a { color: inherit; }

.featured-services .service-item .description {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-size: 14.5px;
    line-height: 1.45;
    margin: 0;
}

/* ─────────────── 7. About / Sambutan ─────────────── */
.about { padding: 88px 0; }

.about .content .who-we-are {
    display: inline-block;
    padding: 6px 14px;
    background: var(--t-50);
    color: var(--t-700);
    border-radius: 999px;
    font-family: "Manrope", sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.about .content h3 {
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.about .content p.fst-italic {
    font-style: normal !important;
    color: var(--default-color);
    font-size: 16px;
    line-height: 1.7;
}

.about .about-images { position: relative; }

.about .about-images img {
    border-radius: var(--r-lg);
    box-shadow: 0 40px 60px -30px rgba(15, 118, 110, .35);
    transform: rotate(-1.5deg);
    transition: transform .5s ease;
}

.about .about-images::before {
    content: "";
    position: absolute;
    inset: -12px -12px auto auto;
    width: 45%;
    height: 45%;
    background: linear-gradient(135deg, var(--t-100), var(--t-300));
    border-radius: var(--r-lg);
    z-index: -1;
    filter: blur(4px);
    opacity: .7;
}

.about .about-images img:hover { transform: rotate(0); }

/* ─────────────── 8. News Section ─────────────── */
.news { margin: 0 !important; padding: 88px clamp(1rem, 6vw, 6rem) !important; }

.news .news-item {
    background: #fff;
    border-radius: var(--r-lg);
    border: 1px solid rgba(15, 118, 110, .08);
    box-shadow: var(--shadow-sm);
    padding: 16px;
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}

.news .news-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(15, 118, 110, .22);
}

.news img {
    height: 14rem !important;
    border-radius: var(--r-md) !important;
    transition: transform .6s ease, filter .3s ease;
    filter: saturate(1.05);
}

.news img:hover,
.news .news-item:hover img {
    transform: scale(1.04) !important; /* override efek scale(0.9) yang aneh dari main.css */
    box-shadow: none !important;
}

.news .news-content { padding: 18px 8px 6px !important; gap: 6px !important; }

.news .news-content h3 {
    font-family: "Manrope", sans-serif;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--heading-color);
    margin-bottom: 10px !important;
    -webkit-line-clamp: 2 !important;
}

.news .news-content .news-author,
.news .news-content .news-calendar {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 12.5px !important;
    margin-right: 10px;
}

.news .news-content .news-author i,
.news .news-content .news-calendar i {
    color: var(--t-600);
    margin-right: 4px;
}

.news .news-content p {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    min-height: auto !important;
    -webkit-line-clamp: 3 !important;
}

.news .news-content .more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--t-600), var(--t-700)) !important;
    border: 0 !important;
    color: #fff !important;
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 13px !important;
    box-shadow: 0 10px 24px -12px rgba(13, 148, 136, .6);
    transition: transform .25s ease, box-shadow .25s ease;
}

.news .news-content .more-btn:hover {
    transform: translateX(3px);
    background: linear-gradient(135deg, var(--t-700), var(--t-800)) !important;
    color: #fff !important;
}

/* ─────────────── 9. Services (kartu layanan besar) ─────────────── */
.services { padding: 88px 0 !important; }

.services .service-item {
    background: #fff;
    border: 1px solid rgba(15, 118, 110, .08) !important;
    border-radius: var(--r-xl) !important;
    padding: 22px !important;
    box-shadow: var(--shadow-sm);
    transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease;
    align-items: flex-start !important;
    text-align: left;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.services .service-item::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--t-500), var(--t-700));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
}

.services .service-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15, 118, 110, .22);
}

.services .service-item:hover::before { transform: scaleX(1); }

.services .service-item img {
    height: 10rem !important;
    width: 100% !important;
    object-fit: cover;
    border-radius: var(--r-md) !important;
    margin-bottom: 16px !important;
    filter: saturate(1.05);
    transition: transform .6s ease;
}

.services .service-item:hover img { transform: scale(1.03); }

.services .service-item h3 {
    font-family: "Manrope", sans-serif;
    color: var(--heading-color) !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.25;
    margin: 4px 0 8px 0;
    letter-spacing: -0.01em;
}

.services .service-item p {
    color: color-mix(in srgb, var(--default-color), transparent 25%) !important;
    font-size: 14.5px;
    line-height: 1.55;
    margin-bottom: 14px !important;
}

.services .service-item .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--t-700) !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: .01em;
    transition: gap .3s ease, color .3s ease;
}

.services .service-item .read-more:hover {
    color: var(--t-800) !important;
    gap: 10px;
}

/* ─────────────── 10. Contact ─────────────── */
.contact { padding: 88px 0 !important; }

.contact iframe {
    border-radius: var(--r-lg) !important;
    box-shadow: 0 30px 60px -30px rgba(15, 118, 110, .3);
    border: 1px solid rgba(15, 118, 110, .1) !important;
}

.contact .info-item p {
    color: var(--default-color);
    font-size: 16.5px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto;
}

/* ─────────────── 11. Footer ─────────────── */
.footer.light-background {
    background: linear-gradient(135deg, var(--t-800), var(--t-950)) !important;
    color: rgba(255, 255, 255, .82);
    position: relative;
    overflow: hidden;
    padding-top: 60px !important;
}

.footer.light-background::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(600px 400px at 20% 0%, rgba(20, 184, 166, .25), transparent 70%),
        radial-gradient(500px 300px at 90% 90%, rgba(45, 212, 191, .18), transparent 70%);
    pointer-events: none;
}

.footer.light-background > * { position: relative; z-index: 1; }

.footer .sitename {
    color: #fff !important;
    font-family: "Manrope", sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.footer .footer-contact p,
.footer .footer-map h4,
.footer .footer-links h4 {
    color: #fff !important;
}

.footer .footer-contact p { color: rgba(255, 255, 255, .78) !important; font-size: 14.5px; line-height: 1.6; }

.footer h4 {
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 16px !important;
    margin-bottom: 18px !important;
    letter-spacing: .02em;
    color: #fff !important;
    position: relative;
    padding-bottom: 10px !important;
}

.footer h4::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--t-300);
    border-radius: 2px;
}

.footer .social-links a {
    width: 40px; height: 40px;
    display: grid !important;
    place-items: center;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, .08) !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    color: #fff !important;
    transition: transform .3s ease, background-color .3s ease;
}

.footer .social-links a:hover {
    background: var(--t-500) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.footer .footer-links ul a {
    color: rgba(255, 255, 255, .75) !important;
    padding: 6px 0 !important;
    transition: color .25s ease, padding-left .25s ease;
    font-size: 14.5px;
}

.footer .footer-links ul a:hover {
    color: var(--t-300) !important;
    padding-left: 6px !important;
}

.footer .footer-links ul i { color: var(--t-300) !important; }

.footer iframe { border-radius: var(--r-md) !important; }

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 22px;
    margin-top: 30px !important;
    color: rgba(255, 255, 255, .65);
    font-size: 13.5px;
}

.footer .copyright p .sitename { color: #fff !important; font-size: 13.5px; }

.footer .credits {
    color: rgba(255, 255, 255, .5);
    font-size: 12.5px;
    margin-top: 6px;
}

.footer .credits a {
    color: var(--t-300) !important;
    text-decoration: none;
    font-weight: 600;
}

/* ─────────────── 12. Scroll-top button ─────────────── */
.scroll-top {
    background: linear-gradient(135deg, var(--t-600), var(--t-800)) !important;
    box-shadow: 0 18px 40px -14px rgba(13, 148, 136, .6) !important;
    border-radius: 14px !important;
}

/* ─────────────── 13. Preloader ─────────────── */
#preloader::before {
    border-color: var(--t-500) transparent !important;
}
