/* =========================================================
   DATA DESA - KANDANG
========================================================= */

/* =========================================================
   REVEAL ANIMATION
========================================================= */

.dd-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.dd-reveal.dd-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   HERO
========================================================= */

.dd-hero {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #022c22;
}

.dd-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.15;

    background-image: linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08) 25%,
            transparent 25%
        ),
        linear-gradient(315deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%);

    background-size: 60px 60px;
}

.dd-glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.15;
}

.dd-glow-one {
    right: -180px;
    top: -220px;
    background: #34d399;
}

.dd-glow-two {
    left: -180px;
    bottom: -250px;
    background: #22c55e;
}

.dd-hero .container {
    position: relative;
    z-index: 2;
}

.dd-hero-content {
    padding: 85px 0;
    max-width: 750px;
}

.dd-eyebrow {
    display: inline-block;
    padding: 8px 14px;
    margin-bottom: 18px;

    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.06);

    color: #a7f3d0;

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dd-hero h1 {
    margin: 0 0 18px;

    color: white;

    font-size: clamp(48px, 7vw, 76px);
    line-height: 1;
    letter-spacing: -3px;
}

.dd-hero h1 span {
    color: #6ee7b7;
}

.dd-hero p {
    max-width: 600px;
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 15px;
    line-height: 1.8;
}

.dd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 28px;

    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.dd-breadcrumb a {
    color: #86efac;
    text-decoration: none;
}

.dd-breadcrumb strong {
    color: white;
}

/* =========================================================
   STATISTICS
========================================================= */

.dd-stat-section {
    padding: 105px 0;
    background: white;
}

.dd-section-heading {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}

.dd-section-heading > span {
    color: #16a34a;

    font-size: 10px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.dd-section-heading h2 {
    margin: 9px 0 14px;

    color: #0f172a;

    font-size: clamp(34px, 5vw, 50px);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.dd-section-heading h2 strong {
    color: #16a34a;
}

.dd-section-heading p {
    margin: 0;

    color: #64748b;

    font-size: 13px;
    line-height: 1.8;
}

.dd-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dd-stat-card {
    padding: 30px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background: white;

    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.dd-stat-card:hover {
    transform: translateY(-8px);

    border-color: #bbf7d0;

    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.07);
}

.dd-stat-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 14px;

    background: #ecfdf5;

    font-size: 21px;
}

.dd-stat-number {
    color: #0f172a;

    font-size: 34px;
    font-weight: 850;

    line-height: 1;
}

.dd-stat-title {
    display: inline-block;

    margin-left: 4px;

    color: #16a34a;

    font-size: 12px;
    font-weight: 800;
}

.dd-stat-card p {
    margin: 10px 0 0;

    color: #94a3b8;

    font-size: 11px;
}

/* =========================================================
   IDENTITY
========================================================= */

.dd-identity-section {
    padding: 105px 0;

    background: #f8fafc;
}

.dd-two-column {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.dd-label {
    color: #16a34a;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 1.6px;
}

.dd-section-title h2 {
    margin: 10px 0 18px;

    color: #0f172a;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.1;
}

.dd-section-title h2 span {
    display: block;
    color: #16a34a;
}

.dd-section-title p {
    max-width: 450px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.8;
}

.dd-identity-card {
    padding: 10px 30px;

    border: 1px solid #e2e8f0;
    border-radius: 20px;

    background: white;

    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.04);
}

.dd-data-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;

    padding: 21px 0;

    border-bottom: 1px solid #f1f5f9;
}

.dd-data-row:last-child {
    border-bottom: 0;
}

.dd-data-row span {
    color: #94a3b8;

    font-size: 12px;
}

.dd-data-row strong {
    color: #0f172a;

    font-size: 12px;

    text-align: right;
}

/* =========================================================
   POPULATION
========================================================= */

.dd-population-section {
    padding: 105px 0;

    background: white;
}

.dd-population-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.dd-pop-card {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 25px;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dd-pop-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

.dd-pop-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #ecfdf5;

    font-size: 20px;
}

.dd-pop-card span {
    display: block;

    margin-bottom: 5px;

    color: #64748b;

    font-size: 11px;
}

.dd-pop-card strong {
    display: inline-block;

    color: #0f172a;

    font-size: 23px;
}

.dd-pop-card small {
    margin-left: 4px;

    color: #16a34a;

    font-size: 10px;
    font-weight: 800;
}

.dd-population-note {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 25px;

    padding: 15px 18px;

    border: 1px solid #dcfce7;
    border-radius: 12px;

    background: #f0fdf4;
}

.dd-note-icon {
    width: 25px;
    height: 25px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16a34a;

    color: white;

    font-size: 12px;
    font-weight: 800;
}

.dd-population-note p {
    margin: 0;

    color: #166534;

    font-size: 11px;
    line-height: 1.6;
}

/* =========================================================
   REGION
========================================================= */

.dd-region-section {
    padding: 105px 0;

    background: #f8fafc;
}

.dd-region-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.dd-region-content h2 {
    margin: 10px 0 18px;

    color: #0f172a;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.1;
}

.dd-region-content h2 span {
    display: block;
    color: #16a34a;
}

.dd-region-content > p {
    max-width: 500px;

    color: #64748b;

    font-size: 13px;
    line-height: 1.8;
}

.dd-region-list {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 30px;
}

.dd-region-list div {
    padding: 17px;

    border: 1px solid #e2e8f0;
    border-radius: 12px;

    background: white;
}

.dd-region-list span {
    display: block;

    margin-bottom: 6px;

    color: #94a3b8;

    font-size: 10px;
}

.dd-region-list strong {
    color: #0f172a;

    font-size: 13px;
}

.dd-map-card {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;

    overflow: hidden;

    border-radius: 25px;

    background: linear-gradient(135deg, #d1fae5, #ecfdf5);

    position: relative;
}

.dd-map-card::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    border: 1px dashed rgba(22, 163, 74, 0.25);

    border-radius: 50%;
}

.dd-map-card::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    border: 1px dashed rgba(22, 163, 74, 0.2);

    border-radius: 50%;
}

.dd-map-placeholder {
    position: relative;

    z-index: 2;

    text-align: center;
}

.dd-map-icon {
    width: 75px;
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 22px;

    background: white;

    font-size: 30px;

    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.dd-map-placeholder h3 {
    margin: 0 0 8px;

    color: #0f172a;

    font-size: 22px;
}

.dd-map-placeholder p {
    max-width: 280px;

    margin: 0 auto;

    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}

.dd-map-placeholder button {
    margin-top: 22px;

    padding: 11px 18px;

    border: 0;
    border-radius: 9px;

    background: #15803d;

    color: white;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;

    transition: transform 0.25s ease, background 0.25s ease;
}

.dd-map-placeholder button:hover {
    transform: translateY(-3px);

    background: #166534;
}

/* =========================================================
   FACILITIES
========================================================= */

.dd-facility-section {
    padding: 105px 0;

    background: white;
}

.dd-facility-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}

.dd-facility-card {
    display: flex;

    gap: 22px;

    padding: 28px;

    border: 1px solid #e2e8f0;
    border-radius: 18px;

    transition: transform 0.3s ease, box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.dd-facility-card:hover {
    transform: translateY(-6px);

    border-color: #bbf7d0;

    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.dd-facility-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: #ecfdf5;

    font-size: 23px;
}

.dd-facility-card h3 {
    margin: 0 0 7px;

    color: #0f172a;

    font-size: 17px;
}

.dd-facility-card p {
    margin: 0 0 13px;

    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}

.dd-facility-card strong {
    color: #16a34a;

    font-size: 11px;
}

/* =========================================================
   POTENTIAL
========================================================= */

.dd-potential-section {
    padding: 105px 0;

    background: #f8fafc;
}

.dd-potential-header {
    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}

.dd-potential-header h2 {
    margin: 10px 0 0;

    color: #0f172a;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.1;
}

.dd-potential-header h2 span {
    color: #16a34a;
}

.dd-potential-header > p {
    max-width: 400px;

    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.8;
}

.dd-potential-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.dd-potential-card {
    overflow: hidden;

    border-radius: 20px;

    background: white;

    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dd-potential-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
}

.dd-potential-image {
    height: 220px;

    overflow: hidden;
}

.dd-potential-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.dd-potential-card:hover img {
    transform: scale(1.07);
}

.dd-potential-content {
    padding: 25px;
}

.dd-potential-content > span {
    color: #16a34a;

    font-size: 10px;
    font-weight: 850;
}

.dd-potential-content h3 {
    margin: 7px 0 8px;

    color: #0f172a;

    font-size: 20px;
}

.dd-potential-content p {
    margin: 0;

    color: #64748b;

    font-size: 12px;

    line-height: 1.7;
}

/* =========================================================
   CTA
========================================================= */

.dd-cta {
    padding: 100px 0;

    background: #022c22;

    text-align: center;
}

.dd-cta-content {
    max-width: 700px;

    margin: auto;
}

.dd-cta-content > span {
    color: #6ee7b7;

    font-size: 10px;
    font-weight: 850;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dd-cta h2 {
    margin: 10px 0 15px;

    color: white;

    font-size: clamp(34px, 5vw, 50px);

    line-height: 1.15;
}

.dd-cta p {
    color: rgba(255, 255, 255, 0.58);

    font-size: 13px;

    line-height: 1.8;
}

.dd-cta-button {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    margin-top: 25px;

    padding: 14px 21px;

    border-radius: 10px;

    background: white;

    color: #064e3b;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;

    transition: transform 0.25s ease;
}

.dd-cta-button:hover {
    transform: translateY(-3px);
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {
    .dd-stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dd-population-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dd-potential-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {
    .dd-hero {
        min-height: 500px;
    }

    .dd-hero-content {
        padding: 75px 0;
    }

    .dd-stat-section,
    .dd-identity-section,
    .dd-population-section,
    .dd-region-section,
    .dd-facility-section,
    .dd-potential-section {
        padding: 75px 0;
    }

    .dd-two-column {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .dd-region-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .dd-potential-header {
        display: block;
    }

    .dd-potential-header > p {
        margin-top: 20px;
    }

    .dd-facility-grid {
        grid-template-columns: 1fr;
    }

    .dd-potential-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {
    .dd-hero h1 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .dd-stat-grid,
    .dd-population-grid {
        grid-template-columns: 1fr;
    }

    .dd-stat-card {
        padding: 25px;
    }

    .dd-identity-card {
        padding: 5px 20px;
    }

    .dd-data-row {
        flex-direction: column;

        gap: 5px;
    }

    .dd-data-row strong {
        text-align: left;
    }

    .dd-region-list {
        grid-template-columns: 1fr;
    }

    .dd-map-card {
        min-height: 350px;
    }
}
