/* =========================================================
   POSYANDU ELEGAN
   MAIN STYLESHEET - CLEAN VERSION
========================================================= */

:root {
    --primary: #16875d;
    --primary-dark: #0d6044;
    --primary-light: #eaf8f1;

    --dark: #17352b;
    --dark-2: #25483d;

    --text: #52665e;
    --text-light: #7b8d86;

    --white: #ffffff;
    --cream: #f7fbf9;
    --border: #e3eee9;

    --shadow-sm: 0 10px 30px rgba(20, 70, 52, 0.07);
    --shadow-md: 0 20px 50px rgba(20, 70, 52, 0.10);
    --shadow-lg: 0 30px 80px rgba(20, 70, 52, 0.15);

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;

    --transition: all 0.3s ease;
}


/* =========================================================
   GLOBAL
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
    font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--dark);
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    image-rendering: auto;
}

.container {
    max-width: 1180px;
}


/* =========================================================
   NAVBAR
========================================================= */

.posyandu-navbar {
    padding: 17px 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(20, 70, 52, 0.06);
    transition: var(--transition);
    z-index: 999;
}

.posyandu-navbar.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    color: var(--dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-box {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 14px;
    font-size: 22px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-title {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    margin-top: 5px;
    font-size: 9px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.8px;
    font-weight: 700;
}

.navbar-nav {
    gap: 3px;
}

.nav-link {
    color: #50665e !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 13px !important;
    border-radius: 10px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 10px;
    margin-top: 12px !important;
    box-shadow: var(--shadow-md);
    min-width: 250px;
}

.dropdown-item {
    padding: 10px 13px;
    border-radius: 9px;
    color: var(--dark-2);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
}

.dropdown-item:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.btn-posyandu {
    background: var(--primary);
    color: white !important;
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 10px 19px;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-posyandu:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 135, 93, 0.2);
}

.btn-outline-posyandu {
    color: var(--primary);
    background: transparent;
    border: 2px solid #b8dacc;
    border-radius: 12px;
    padding: 11px 20px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline-posyandu:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
    min-height: 760px;
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(202, 241, 222, 0.85),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f7fcf9 0%,
            #ffffff 100%
        );
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 22px;
}

.hero-badge i {
    font-size: 14px;
}

.hero-section h1 {
    max-width: 650px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero-section h1 span {
    color: var(--primary);
}

.hero-description {
    max-width: 570px;
    color: var(--text);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-buttons .btn {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   HERO STATISTICS
========================================================= */

.hero-statistics {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
}

.stat-item strong {
    display: block;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 27px;
    line-height: 1;
    color: var(--dark);
}

.stat-item span {
    display: block;
    margin-top: 7px;
    color: var(--text-light);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 38px;
    background: var(--border);
}


/* =========================================================
   HERO IMAGE / SLIDER
========================================================= */

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin-left: auto;
}

.hero-image-main {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 560px;
    overflow: hidden;
    border-radius: 35px;
    box-shadow: var(--shadow-lg);
    background: #eef5f1;
}

.hero-image-main::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 50%,
            rgba(5, 35, 25, 0.28) 100%
        );
}

.hero-image-main img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center center;

    image-rendering: auto;

    transition: transform 0.8s ease;
}

.hero-image-main:hover img {
    transform: scale(1.03);
}


/* =========================================================
   JIKA HERO MENGGUNAKAN .HERO-SLIDER
========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    height: 560px;
    overflow: hidden;
    border-radius: 35px;
    box-shadow: var(--shadow-lg);
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   FLOATING CARD
========================================================= */

.hero-floating-card {
    position: absolute;
    left: -40px;
    bottom: 35px;
    z-index: 5;

    display: flex;
    align-items: center;
    gap: 13px;

    padding: 16px 19px;

    background: white;
    border-radius: 18px;
    box-shadow: var(--shadow-md);

    min-width: 250px;
}

.floating-icon {
    width: 44px;
    height: 44px;
    border-radius: 13px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);
    color: var(--primary);
    font-size: 20px;
}

.hero-floating-card strong {
    display: block;
    font-size: 12px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.hero-floating-card span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
    margin-top: 3px;
}


/* =========================================================
   HERO CIRCLE
========================================================= */

.hero-circle {
    position: absolute;
    right: -30px;
    top: 35px;
    z-index: 4;

    width: 90px;
    height: 90px;

    border-radius: 50%;

    background: var(--primary);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 25px;

    box-shadow:
        0 20px 40px rgba(22, 135, 93, 0.25);
}


/* =========================================================
   HERO DECORATION
========================================================= */

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-1 {
    width: 300px;
    height: 300px;
    left: -170px;
    bottom: -100px;
    border: 1px solid rgba(22, 135, 93, 0.1);
}

.hero-decoration-2 {
    width: 180px;
    height: 180px;
    right: 45%;
    bottom: -100px;
    border: 1px solid rgba(22, 135, 93, 0.08);
}


/* =========================================================
   INTRO
========================================================= */

.intro-section {
    padding: 95px 0;
    background: white;
    border-bottom: 1px solid var(--border);
}

.section-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-label > span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 10px;
}

.section-title {
    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.7px;
    margin: 0;
}

.section-title span {
    color: var(--primary);
}

.intro-text {
    color: var(--text);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-weight: 800;
    font-size: 13px;
    transition: var(--transition);
}

.text-link:hover {
    color: var(--primary-dark);
    gap: 14px;
}


/* =========================================================
   SPM
========================================================= */

.spm-section {
    padding: 105px 0;
    background: var(--cream);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 45px;
}

.spm-card {
    position: relative;
    display: block;
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: white;
    overflow: hidden;
    transition: var(--transition);
}

.spm-card::before {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -65px;
    bottom: -65px;
    background: var(--primary-light);
    transition: var(--transition);
}

.spm-card:hover {
    transform: translateY(-8px);
    border-color: #c9e6d9;
    box-shadow: var(--shadow-md);
}

.spm-card:hover::before {
    transform: scale(1.5);
}

.spm-card-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
}

.spm-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: var(--primary);
    background: var(--primary-light);

    font-size: 23px;

    transition: var(--transition);
}

.spm-card:hover .spm-icon {
    color: white;
    background: var(--primary);
    transform: rotate(-5deg);
}

.spm-number {
    color: #c9d9d3;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.spm-card h3 {
    position: relative;
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.35;
}

.spm-card p {
    position: relative;
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.spm-arrow {
    position: relative;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--primary);
    background: var(--primary-light);

    transition: var(--transition);
}

.spm-card:hover .spm-arrow {
    color: white;
    background: var(--primary);
    transform: translate(3px, -3px);
}


/* =========================================================
   NEWS
========================================================= */

.news-section {
    padding: 105px 0;
    background: white;
}

.news-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: white;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
}

.news-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #eef5f1;
}

.news-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-date {
    position: absolute;
    left: 16px;
    bottom: 16px;

    padding: 7px 11px;

    border-radius: 9px;

    background: rgba(255, 255, 255, 0.94);
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 18px;
    line-height: 1.45;
    margin-bottom: 18px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--primary);

    font-size: 12px;
    font-weight: 800;

    transition: var(--transition);
}

.news-link:hover {
    gap: 11px;
    color: var(--primary-dark);
}


/* =========================================================
   GALLERY PREVIEW
========================================================= */

.gallery-preview {
    padding: 105px 0;
    background: var(--cream);
}

.gallery-mosaic {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;

    gap: 15px;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #eef5f1;
}

.gallery-photo::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0, 0, 0, 0.2)
        );

    opacity: 0;
    transition: var(--transition);
}

.gallery-photo:hover::after {
    opacity: 1;
}

.gallery-photo img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.7s ease;
}

.gallery-photo:hover img {
    transform: scale(1.06);
}

.gallery-large {
    grid-row: span 2;
}


/* =========================================================
   GALLERY FEATURED
========================================================= */

.gallery-featured {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    height: 520px;
}

.gallery-featured-main,
.gallery-featured-small {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: #f1f5f9;
}

.gallery-featured-main {
    height: 520px;
}

.gallery-featured-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
}

.gallery-featured-small {
    height: 250px;
}

.gallery-featured-main img,
.gallery-featured-small img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.5s ease;
}

.gallery-featured-main:hover img,
.gallery-featured-small:hover img {
    transform: scale(1.05);
}


/* =========================================================
   GALLERY MODERN GRID
========================================================= */

.gallery-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-card {
    overflow: hidden;
    border-radius: 18px;
    background: #fff;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.12);
}

.gallery-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
}

.gallery-card-image img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
    transform: scale(1.05);
}

.gallery-card-content {
    padding: 18px 20px;
}

.gallery-card-content span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 7px;
}

.gallery-card-content h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
}


/* =========================================================
   GALLERY OVERLAY
========================================================= */

.gallery-overlay,
.gallery-card-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 25px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0)
        );
}

.gallery-card-overlay {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gallery-overlay h3 {
    margin: 6px 0 0;
    color: #fff;
    font-size: 22px;
}

.gallery-view {
    width: 44px;
    height: 44px;

    border: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 0 0 105px;
    background: var(--cream);
}

.cta-box {
    position: relative;
    overflow: hidden;

    padding: 60px;

    border-radius: 32px;

    background:
        linear-gradient(
            120deg,
            var(--primary-dark),
            var(--primary)
        );

    color: white;

    box-shadow:
        0 25px 60px rgba(13, 96, 68, 0.2);
}

.cta-box h2 {
    max-width: 650px;
    color: white;
    font-size: clamp(30px, 4vw, 45px);
    margin-bottom: 15px;
}

.cta-box p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.section-label.light {
    color: #b9ead4;
}

.section-label.light > span {
    background: #b9ead4;
}

.cta-decoration {
    position: absolute;

    width: 400px;
    height: 400px;

    right: -160px;
    top: -220px;

    border:
        1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;
}

.cta-decoration::after {
    content: "";

    position: absolute;
    inset: 50px;

    border:
        1px solid rgba(255, 255, 255, 0.08);

    border-radius: 50%;
}


/* =========================================================
   PAGE HERO
========================================================= */

.page-hero {
    padding: 155px 0 85px;

    background:
        radial-gradient(
            circle at 85% 15%,
            #dff5e9,
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #effaf5,
            white
        );
}

.page-hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -2.5px;
    margin: 15px 0;
}

.page-hero p {
    max-width: 700px;
    color: var(--text);
    font-size: 17px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
}


/* =========================================================
   CONTENT
========================================================= */

.content-box {
    max-width: 900px;
    margin: auto;

    padding: 45px;

    border: 1px solid var(--border);
    border-radius: 25px;

    background: white;

    box-shadow: var(--shadow-sm);
}

.content-box h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.content-box h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.content-box p,
.content-box li {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
}

.content-box li {
    margin-bottom: 8px;
}

.article-cover {
    width: 100%;
    max-height: 540px;

    object-fit: cover;
    object-position: center;

    border-radius: 28px;
    margin-bottom: 35px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-card {
    height: 100%;
    padding: 35px;

    border-radius: 25px;

    background: var(--primary-dark);
    color: white;

    box-shadow: var(--shadow-md);
}

.contact-item {
    display: flex;
    gap: 17px;

    padding: 20px 0;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.13);
}

.contact-item:last-child {
    border-bottom: 0;
}

.contact-item i {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    color: #a8e7cd;
    background: rgba(255, 255, 255, 0.08);
}

.contact-item small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item strong {
    display: block;
    color: white;
    font-size: 13px;
    margin-top: 3px;
}


/* =========================================================
   GALLERY PAGE
========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.gallery-item {
    height: 290px;

    overflow: hidden;

    border-radius: 22px;

    box-shadow: var(--shadow-sm);

    background: #eef5f1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: cover;
    object-position: center;

    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}


/* =========================================================
   TABLE
========================================================= */

.modern-table {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 18px;

    background: white;
}

.modern-table th {
    padding: 18px 20px;

    background: var(--cream);

    border-bottom: 1px solid var(--border);

    color: var(--dark);

    font-size: 12px;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.modern-table td {
    padding: 20px;

    border-bottom: 1px solid var(--border);

    color: var(--text);

    font-size: 13px;
}

.modern-table tr:last-child td {
    border-bottom: 0;
}

.badge-soft {
    display: inline-block;

    padding: 6px 11px;

    border-radius: 20px;

    background: var(--primary-light);
    color: var(--primary);

    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding: 75px 0 25px;

    background: #102d24;
    color: white;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
}

.footer-brand .logo-box {
    background: rgba(255, 255, 255, 0.09);
    color: #9fe3c7;
}

.footer-brand strong {
    display: block;

    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
}

.footer-brand small {
    display: block;

    color: #9bb4ab;

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-description {
    max-width: 440px;

    color: #9eb6ae;

    font-size: 13px;
    line-height: 1.8;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-top: 22px;
}

.social-icons a {
    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: rgba(255, 255, 255, 0.07);
    color: #b9d0c8;

    transition: var(--transition);
}

.social-icons a:hover {
    color: white;
    background: var(--primary);
    transform: translateY(-3px);
}

.footer h5 {
    color: white;
    font-size: 13px;
    margin-bottom: 20px;
}

.footer > .container > .row a {
    display: block;

    color: #9eb6ae;

    font-size: 12px;

    margin-bottom: 10px;

    transition: var(--transition);
}

.footer > .container > .row a:hover {
    color: white;
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: #9eb6ae;

    font-size: 12px;

    margin-bottom: 15px;
}

.footer-contact i {
    color: #8ed8bd;
    font-size: 15px;
}

.footer-line {
    margin: 45px 0 22px;
    border-color: rgba(255, 255, 255, 0.09);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    color: #718e84;

    font-size: 10px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-element {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   BACK TO TOP
========================================================= */

#backToTop {
    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 14px;

    background: var(--primary);
    color: white;

    box-shadow: var(--shadow-md);

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: var(--transition);

    z-index: 900;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}


/* =========================================================
   PRODUK HUKUM / DOCUMENT CENTER
========================================================= */

.document-sidebar {
    background: #ffffff;

    border: 1px solid #e8edf2;
    border-radius: 18px;

    padding: 22px;

    position: sticky;
    top: 100px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.05);
}

.document-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    font-weight: 700;

    margin-bottom: 18px;
    padding-bottom: 16px;

    border-bottom: 1px solid #edf0f2;
}

.document-sidebar-title i {
    font-size: 20px;
}

.document-category-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.document-category {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 12px 13px;

    border-radius: 10px;

    color: #59636e;

    font-size: 14px;
    font-weight: 500;

    transition: all 0.25s ease;
}

.document-category i:first-child {
    width: 20px;
    font-size: 17px;
}

.document-category:hover {
    background: #f5f8fa;
    color: #111827;
    transform: translateX(3px);
}

.document-category.active {
    background: #eef7f3;
    color: #16845c;
    font-weight: 700;
}


/* =========================================================
   DOCUMENT HEADER
========================================================= */

.document-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;
    margin-bottom: 25px;
}

.document-count {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 14px;

    background: #f5f7f8;

    border-radius: 30px;

    color: #68727d;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;
}

.document-count i {
    font-size: 16px;
}


/* =========================================================
   DOCUMENT LIST
========================================================= */

.document-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 20px;

    padding: 21px;

    background: #ffffff;

    border: 1px solid #e8edf2;
    border-radius: 16px;

    transition: all 0.3s ease;
}

.document-item:hover {
    transform: translateY(-3px);

    border-color: #d8e5df;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.07);
}


/* =========================================================
   PDF ICON
========================================================= */

.document-file-icon {
    flex: 0 0 58px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff1f1;
}

.document-file-icon i {
    font-size: 29px;
    color: #dc3545;
}


/* =========================================================
   DOCUMENT INFO
========================================================= */

.document-info {
    flex: 1;
    min-width: 0;
}

.document-type {
    display: inline-block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.3px;

    color: #16845c;
}

.document-info h3 {
    margin: 0 0 10px;

    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;

    color: #20252b;
}

.document-meta {
    display: flex;
    align-items: center;
    gap: 16px;

    color: #7b858f;

    font-size: 12px;
}

.document-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.document-meta i {
    font-size: 14px;
}


/* =========================================================
   DOCUMENT BUTTON
========================================================= */

.document-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.document-btn {
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 14px;

    border-radius: 9px;

    font-size: 12px;
    font-weight: 700;

    transition: all 0.25s ease;
}

.document-btn.preview {
    color: #16845c;
    background: #eef7f3;
}

.document-btn.preview:hover {
    background: #16845c;
    color: #ffffff;
}

.document-btn.download {
    color: #ffffff;
    background: #16845c;
}

.document-btn.download:hover {
    background: #116d4b;
    transform: translateY(-2px);
}

.document-btn i {
    font-size: 15px;
}


/* =========================================================
   PRODUK HUKUM - MODERN
========================================================= */

.legal-hero {
    position: relative;
    overflow: hidden;

    padding: 95px 0 90px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(45, 212, 191, 0.16),
            transparent 32%
        ),
        radial-gradient(
            circle at 10% 90%,
            rgba(59, 130, 246, 0.12),
            transparent 30%
        ),
        #f8fafc;
}

.legal-hero::before {
    content: "";

    position: absolute;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background: rgba(20, 184, 166, 0.06);

    right: -140px;
    top: -180px;
}

.legal-back {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    color: #64748b;

    font-size: 14px;
    font-weight: 600;

    margin-bottom: 35px;

    transition: 0.25s ease;
}

.legal-back:hover {
    color: #0f766e;
    transform: translateX(-3px);
}

.legal-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #0f766e;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 16px;
}

.legal-eyebrow span {
    width: 30px;
    height: 2px;

    background: #14b8a6;

    border-radius: 5px;
}

.legal-hero h1 {
    margin: 0;

    max-width: 800px;

    font-size: clamp(42px, 6vw, 70px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -2px;

    color: #0f172a;
}

.legal-hero h1 span {
    color: #0f766e;
}

.legal-hero p {
    max-width: 650px;

    margin: 22px 0 0;

    color: #64748b;

    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   LEGAL HERO STATS
========================================================= */

.legal-hero-stats {
    display: flex;
    gap: 16px;
    margin-top: 38px;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 13px 20px;

    background: rgba(255, 255, 255, 0.85);

    border: 1px solid #e2e8f0;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.05);
}

.hero-stat-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #ecfdf5;
    color: #0f766e;

    font-size: 19px;
}

.hero-stat strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
}

.hero-stat span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    margin-top: 2px;
}


/* =========================================================
   LEGAL SECTION
========================================================= */

.legal-section {
    padding: 80px 0 100px;
    background: #ffffff;
}

.legal-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;
    margin-bottom: 30px;
}

.legal-heading h2 {
    margin: 0;

    color: #0f172a;

    font-size: 34px;
    font-weight: 800;

    letter-spacing: -0.8px;
}

.legal-heading h2 span {
    color: #0f766e;
}

.legal-heading p {
    margin: 8px 0 0;

    color: #64748b;

    font-size: 14px;
}

.legal-total {
    min-width: 100px;

    padding: 13px 20px;

    text-align: center;

    border: 1px solid #e2e8f0;

    border-radius: 14px;

    background: #f8fafc;
}

.legal-total span {
    display: block;

    color: #0f766e;

    font-size: 24px;
    font-weight: 800;
}

.legal-total small {
    color: #64748b;
}


/* =========================================================
   LEGAL FILTER
========================================================= */

.legal-filter {
    display: grid;

    grid-template-columns:
        minmax(260px, 1fr)
        210px
        180px
        auto;

    gap: 12px;

    padding: 13px;

    margin-bottom: 35px;

    background: #0f172a;

    border-radius: 20px;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.12);
}

.legal-search,
.legal-select {
    min-height: 54px;

    display: flex;
    align-items: center;

    gap: 11px;

    padding: 0 16px;

    background: #172235;

    border: 1px solid #2a3950;

    border-radius: 12px;
}

.legal-search i,
.legal-select i {
    color: #5eead4;
    font-size: 17px;
}

.legal-search input,
.legal-select select {
    width: 100%;
    height: 52px;

    border: 0;
    outline: 0;

    color: #f8fafc;
    background: transparent;

    font-size: 14px;
}

.legal-search input::placeholder {
    color: #94a3b8;
}

.legal-select select {
    cursor: pointer;
}

.legal-select select option {
    color: #0f172a;
    background: #fff;
}

#clearSearch {
    width: 30px;
    height: 30px;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: #94a3b8;

    cursor: pointer;
}

#clearSearch:hover {
    background: #26344a;
    color: #fff;
}

.legal-filter-btn {
    min-height: 54px;

    padding: 0 24px;

    border: 0;
    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #14b8a6,
            #0f766e
        );

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: 0.25s ease;
}

.legal-filter-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(20, 184, 166, 0.25);
}


/* =========================================================
   LEGAL GRID
========================================================= */

.legal-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}


/* =========================================================
   LEGAL CARD
========================================================= */

.legal-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 355px;

    background: #ffffff;

    border: 1px solid #e2e8f0;

    border-radius: 20px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.legal-card::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    right: -55px;
    top: -55px;

    background: rgba(20, 184, 166, 0.06);

    transition: 0.3s ease;
}

.legal-card:hover {
    transform: translateY(-7px);

    border-color: #99f6e4;

    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.10);
}

.legal-card:hover::before {
    transform: scale(1.3);
}


/* =========================================================
   LEGAL CARD TOP
========================================================= */

.legal-card-top {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 23px 23px 5px;
}

.pdf-icon {
    width: 52px;
    height: 58px;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #fee2e2,
            #fecaca
        );

    color: #dc2626;

    font-size: 26px;

    box-shadow:
        0 8px 20px rgba(220, 38, 38, 0.12);
}

.pdf-icon::after {
    content: "PDF";

    position: absolute;

    left: 7px;
    right: 7px;
    bottom: 5px;

    padding: 2px 0;

    border-radius: 3px;

    background: #dc2626;
    color: white;

    font-size: 7px;
    font-weight: 800;

    text-align: center;
}

.legal-badge {
    padding: 6px 10px;

    border-radius: 20px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.7px;
}

.legal-badge.peraturan {
    color: #0369a1;
    background: #e0f2fe;
}

.legal-badge.keputusan {
    color: #7c3aed;
    background: #ede9fe;
}

.legal-badge.pedoman {
    color: #047857;
    background: #d1fae5;
}


/* =========================================================
   LEGAL CARD BODY
========================================================= */

.legal-card-body {
    position: relative;
    z-index: 1;

    flex: 1;

    padding: 18px 23px 22px;
}

.legal-card-body h3 {
    margin: 0;

    color: #0f172a;

    font-size: 19px;
    line-height: 1.45;

    font-weight: 750;
}

.legal-card-body p {
    margin: 10px 0 20px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.65;
}

.legal-meta {
    display: flex;
    align-items: center;

    gap: 18px;

    color: #94a3b8;

    font-size: 12px;
}

.legal-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legal-meta i {
    color: #0f766e;
}


/* =========================================================
   LEGAL CARD FOOTER
========================================================= */

.legal-card-footer {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 9px;

    padding: 16px 23px 21px;

    border-top: 1px solid #f1f5f9;

    background: #fcfdff;
}

.legal-btn {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border-radius: 10px;

    font-size: 12px;
    font-weight: 700;

    transition: 0.25s ease;
}

.legal-btn.view {
    color: #0f766e;

    background: #ecfdf5;

    border: 1px solid #ccfbf1;
}

.legal-btn.view:hover {
    background: #d1fae5;
}

.legal-btn.download {
    color: white;
    background: #0f766e;
}

.legal-btn.download:hover {
    background: #115e59;
    transform: translateY(-1px);
}


/* =========================================================
   NO DOCUMENT
========================================================= */

.no-document {
    padding: 80px 20px;

    text-align: center;

    border: 1px dashed #cbd5e1;

    border-radius: 20px;

    background: #f8fafc;
}

.no-document-icon {
    width: 64px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 17px;

    border-radius: 50%;

    background: #ecfdf5;
    color: #0f766e;

    font-size: 23px;
}

.no-document h3 {
    margin: 0 0 7px;
    color: #0f172a;
}

.no-document p {
    margin: 0;
    color: #64748b;
}


/* =========================================================
   RESPONSIVE - 1199
========================================================= */

@media (max-width: 1199px) {

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .hero-section h1 {
        font-size: 53px;
    }

}


/* =========================================================
   RESPONSIVE - 1100
========================================================= */

@media (max-width: 1100px) {

    .legal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .legal-filter {
        grid-template-columns: 1fr 1fr;
    }

    .legal-filter-btn {
        grid-column: span 2;
    }

}


/* =========================================================
   RESPONSIVE - 991
========================================================= */

@media (max-width: 991px) {

    .posyandu-navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        margin-top: 15px;

        padding: 15px;

        background: white;

        border-radius: 18px;

        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        align-items: stretch !important;
    }

    .nav-link {
        padding: 11px 13px !important;
    }

    .nav-item.ms-lg-3 {
        margin-left: 0 !important;
        margin-top: 10px;
    }

    .hero-section {
        padding-top: 130px;
    }

    .hero-section h1 {
        font-size: 50px;
    }

    .hero-image-wrapper {
        max-width: 650px;
        margin: 30px auto 0;
    }

    .hero-image-main {
        height: 520px;
    }

    .hero-slider {
        height: 520px;
    }

    .hero-floating-card {
        left: 20px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 200px 200px;
    }

    .gallery-large {
        grid-column: span 2;
        grid-row: auto;
    }

    .gallery-featured {
        grid-template-columns: 1fr;
        height: auto;
    }

    .gallery-featured-main {
        height: 400px;
    }

    .gallery-featured-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px;
    }

    .gallery-featured-small {
        height: 220px;
    }

    .document-sidebar {
        position: static;
    }

    .document-header {
        align-items: center;
    }

}


/* =========================================================
   RESPONSIVE - 768
========================================================= */

@media (max-width: 768px) {

    .legal-hero {
        padding: 65px 0;
    }

    .legal-hero h1 {
        font-size: 43px;
    }

    .legal-hero-stats {
        flex-direction: column;
    }

    .legal-section {
        padding: 55px 0 70px;
    }

    .legal-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .legal-total {
        width: 100%;
    }

    .legal-filter {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .legal-filter-btn {
        grid-column: auto;
    }

    .legal-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   RESPONSIVE - 767 MOBILE
========================================================= */

@media (max-width: 767px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section {
        min-height: auto;
        padding: 125px 0 75px;
    }

    .hero-section h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-statistics {
        gap: 14px;
        justify-content: space-between;
    }

    .stat-item strong {
        font-size: 22px;
    }

    .stat-item span {
        font-size: 7px;
        letter-spacing: 0.5px;
    }

    /* HERO FOTO HP */
    .hero-image-wrapper {
        width: 100%;
        max-width: 100%;
        margin-top: 35px;
    }

    .hero-image-main {
        width: 100%;
        height: 400px;
        border-radius: 25px;
    }

    .hero-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* SLIDER HP */
    .hero-slider {
        width: 100%;
        height: 400px;
        border-radius: 25px;
    }

    .hero-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-floating-card {
        left: 12px;
        bottom: 20px;
        min-width: auto;
        max-width: 245px;
    }

    .hero-circle {
        width: 65px;
        height: 65px;

        right: -10px;
        top: 15px;

        font-size: 18px;
    }

    .intro-section,
    .spm-section,
    .news-section,
    .gallery-preview {
        padding: 75px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .gallery-mosaic {
        display: grid;

        grid-template-columns: 1fr 1fr;

        grid-template-rows:
            190px
            190px
            190px;
    }

    .gallery-large {
        grid-column: span 2;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gallery-item {
        height: 180px;
        border-radius: 15px;
    }

    .cta-section {
        padding-bottom: 75px;
    }

    .cta-box {
        padding: 40px 25px;
        border-radius: 25px;
    }

    .footer {
        padding-top: 60px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .content-box {
        padding: 28px 22px;
    }

    .page-hero {
        padding: 130px 0 65px;
    }

    .page-hero h1 {
        font-size: 40px;
    }

    .gallery-featured-main {
        height: 300px;
    }

    .gallery-featured-side {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 220px);
    }

    .gallery-featured-small {
        height: 220px;
    }

    .gallery-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    /* DOCUMENT MOBILE */

    .document-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }

    .document-item {
        align-items: flex-start;
        gap: 14px;

        padding: 17px;

        flex-wrap: wrap;
    }

    .document-file-icon {
        flex: 0 0 50px;

        width: 50px;
        height: 50px;

        border-radius: 12px;
    }

    .document-file-icon i {
        font-size: 24px;
    }

    .document-info {
        width: calc(100% - 64px);
    }

    .document-info h3 {
        font-size: 15px;
    }

    .document-meta {
        gap: 12px;
    }

    .document-actions {
        width: 100%;

        margin-top: 3px;
        padding-top: 13px;

        border-top: 1px solid #edf0f2;
    }

    .document-btn {
        flex: 1;
        height: 40px;
    }

}


/* =========================================================
   RESPONSIVE - 576
========================================================= */

@media (max-width: 576px) {

    .gallery-featured-main {
        height: 300px;
    }

    .gallery-featured-side {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(2, 220px);
    }

    .gallery-featured-small {
        height: 220px;
    }

    .gallery-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-card-image {
        height: 230px;
    }

}


/* =========================================================
   RESPONSIVE - 480
========================================================= */

@media (max-width: 480px) {

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .logo-box {
        width: 41px;
        height: 41px;
        font-size: 19px;
    }

    .hero-section h1 {
        font-size: 35px;
    }

    .hero-statistics {
        gap: 9px;
    }

    .stat-divider {
        height: 30px;
    }

    .spm-card {
        padding: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 230px;
    }

    .legal-hero h1 {
        font-size: 37px;
    }

    .legal-hero p {
        font-size: 14px;
    }

    .legal-heading h2 {
        font-size: 28px;
    }

    .legal-card {
        min-height: 0;
    }

    .document-sidebar {
        padding: 17px;
    }

    .document-item {
        padding: 15px;
    }

    .document-actions {
        gap: 7px;
    }

    .document-btn {
        padding: 0 10px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 360px) {

    .hero-section h1 {
        font-size: 31px;
    }

    .hero-image-main,
    .hero-slider {
        height: 350px;
        border-radius: 20px;
    }

    .hero-statistics {
        flex-wrap: wrap;
    }

    .stat-divider {
        display: none;
    }

    .hero-floating-card {
        transform: scale(0.9);
        transform-origin: left bottom;
    }

}


/* =========================================================
   IMAGE QUALITY FIX
========================================================= */

img {
    image-rendering: auto;
    -webkit-font-smoothing: antialiased;
}


/* =========================================================
   PREVENT IMAGE DISTORTION
========================================================= */

.hero-image-main img,
.hero-slide img,
.news-image img,
.gallery-photo img,
.gallery-featured-main img,
.gallery-featured-small img,
.gallery-card-image img,
.gallery-item img,
.article-cover {
    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}