:root {
    --primary-blue: #1a4d9b;
    --primary-blue-light: #4ea5ff;
    --deep-navy: #0b1a33;
    --white-soft: #f5f8ff;
    --glass-bg: rgba(255, 255, 255, 0.22);
    --glass-border: rgba(255, 255, 255, 0.35);
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.15);
    --shadow-large: 0 32px 85px rgba(0, 52, 128, 0.25);
    --radius-xl: 32px;
}

* {
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(145deg, #dce9ff 0%, #f5f8ff 35%, #dfeeff 100%);
    color: var(--deep-navy);
}

/* Hero section */

.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(76, 124, 203, 0.45),
            transparent 45%
        ),
        radial-gradient(
            circle at 95% 5%,
            rgba(19, 63, 140, 0.45),
            transparent 60%
        ),
        linear-gradient(180deg, #edf4ff, #ffffff);
    background-image: url("../assets/background-image/bghereo.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: column;
    align-items: center;
    padding-top: 6rem;
    padding-bottom: 2rem;
}
.hero-gradient-text strong {
    background: linear-gradient(120deg, rgb(253, 122, 42), rgba(241, 100, 12));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero-image-wrapper {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    width: 100%;
}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    /* background: radial-gradient(
    circle at top left,
    rgba(244, 159, 28, 0.25),
    transparent 55%
  ); */
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-badge {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dbeafe;
}

.glass-card,
.contact-card,
.map-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-large);
    padding: 2rem;
}

.section-padding {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    color: #e5e7eb;
    margin-bottom: 2.5rem;
}

/* Visi / Tentang */

.visi-tabs {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #9ca3af;
    margin-bottom: 1rem;
    cursor: pointer;
}

.visi-tabs span {
    margin-right: 1rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid transparent;
}

.visi-tabs span.active {
    color: #fd7a2a;
    border-color: var(--primary-orange);
}

/* Struktur Team */

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 22px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    padding: 0.5rem;
}

.team-name {
    color: var(--deep-navy);
}

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(248, 250, 252, 0.9);
    margin: 0 auto 1rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* .team-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
} */

.team-role {
    font-size: 0.9rem;
    color: #cbd5f5;
}

/* Map card */

.map-card {
    border-radius: var(--radius-xl);
    background: radial-gradient(
        circle at top,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.98)
    );
    border: 1px solid rgba(148, 163, 184, 0.2);
    padding: 2.5rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.8);
}

.map-illustration {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: linear-gradient(
        90deg,
        rgba(253, 122, 42, 0.98),
        rgba(241, 100, 12, 0.98)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    margin-bottom: 1.5rem;
}

/* =========================================
   PROPER GOOGLE MAPS STYLE
   ========================================= */
.proper-map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius-xl);
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 24px 48px rgba(0, 52, 128, 0.12);
    padding: 8px; /* Memberikan efek bingkai putih ala polaroid/frame modern */
    transition: transform 0.3s ease;
}

.proper-map-container:hover {
    transform: translateY(-4px);
}

.proper-map-container iframe {
    border-radius: 24px; /* Sudut disesuaikan dengan frame luar */
    background-color: #e2e8f0; /* Warna loading skeleton sebelum map termuat */
}

.map-overlay-action {
    position: absolute;
    bottom: 24px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Penting: Agar area transparan di luar tombol tetap bisa di-drag petanya */
    z-index: 10;
}

.map-overlay-action .btn {
    pointer-events: auto; /* Mengaktifkan klik hanya untuk tombol ini */
    padding: 10px 24px;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(253, 122, 42, 0.45);
    border: 2px solid #ffffff; /* Garis putih tegas agar kontras dengan map */
}

.map-overlay-action:hover .btn {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(253, 122, 42, 0.4);
}

/* Team Glass Card Redesign */
.team-glass-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 360px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(253, 122, 42, 0.2);
}

.team-img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-glass-card:hover .team-img-full {
    transform: scale(1.05);
}

.team-info-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 15px;
    text-align: right;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.team-info-overlay .team-name {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.team-info-overlay .team-role {
    font-size: 0.85rem;
    color: #fd7a2a;
    font-weight: 600;
}

/* News Card Redesign */
.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.08);
}

.btn-news-link {
    color: #fd7a2a;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-news-link:hover {
    color: #d15a13;
    letter-spacing: 0.5px;
}

/* PIN GOOGLE MAP STYLE */

/* PIN GOOGLE MAP STYLE */

.map-pin {
    width: 150px;
    height: 190px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}

.map-pin a {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* kepala pin (lingkaran atas) */
.map-pin-inner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 20%,
        #feaaaa,
        #fb923c 45%,
        #b91c1c 100%
    );
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    transition: transform 0.2s ease;
    bottom: -30px;
}

/* ekor pin (bagian runcing) */
.map-pin-inner::after {
    content: "";
    position: absolute;
    left: 35%;
    bottom: 82px;
    transform: translateX(-50%) rotate(300deg);
    width: 70px;
    height: 70px;
    border-radius: 50% 50% 50% 0;
    background: radial-gradient(circle at 30% 20%, #fb923c, #b91c1c 80%);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* efek hover lembut */
.map-pin a:hover .map-pin-inner {
    transform: translateY(-4px) scale(1.05);
}

/* Form */

.contact-card {
    background: radial-gradient(
        circle at top,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0.98)
    );
    border-radius: var(--radius-xl);
    border: 1px solid rgba(148, 163, 184, 0.4);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.form-control,
.form-control:focus {
    background: rgba(255, 255, 255, 0.35);
    border-color: var(--primary-blue);
    color: var(--deep-navy);
}

.btn-gradient {
    background: linear-gradient(
        90deg,
        rgb(253, 122, 42, 0.98),
        rgba(241, 100, 12, 0.98)
    );
    border: none;
    color: #ffffff;
    font-weight: 600;
    padding-inline: 2.4rem;
    border-radius: 999px;
    box-shadow: var(--shadow-soft);
}

.btn-gradient:hover {
    background: linear-gradient(120deg, #4ea5ff, #1a4d9b);
}

.partner-logo {
    max-height: 48px;
    object-fit: contain;
    filter: brightness(0.9);
}

@media (max-width: 991.98px) {
    .section-padding {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .glass-card,
    .map-card,
    .contact-card {
        padding: 1.75rem;
    }
}

/* Testimoni Read More */
.testimoni-quote {
    display: -webkit-box !important;
    -webkit-line-clamp: 4 !important;
    /*! autoprefixer: ignore next */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: all 0.3s ease;
}
.testimoni-quote.expanded {
    -webkit-line-clamp: none !important;
}
.btn-read-more {
    font-size: 0.75rem !important; /* Smaller text */
}
.btn-read-more:focus {
    box-shadow: none !important; /* Remove blue border */
}
.btn-read-more:hover {
    text-decoration: underline !important;
}

/* Testimoni Carousel Design */
.testimoni-card-wrapper {
    margin: 2rem 0;
}
.testimoni-left-pane {
    width: 280px;
    height: 340px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}
@media (min-width: 768px) {
    .testimoni-left-pane {
        margin-right: -50px; /* Overlap with right pane */
        margin-left: 20px;
    }
}
@media (max-width: 767.98px) {
    .testimoni-left-pane {
        margin: 0 auto -40px auto; /* Overlap bottom on mobile */
    }
    .testimoni-right-pane {
        padding-top: 60px !important;
    }
}

.decor-outline {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid #cbd5e1;
    border-radius: 40px;
    transform: rotate(-12deg) translate(15px, 15px);
    z-index: 1;
}

.testimoni-shape-blue {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    border-radius: 40px;
    transform: rotate(-12deg);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(59, 130, 246, 0.25);
    overflow: hidden; /* Clips the image to the rotated shape */
}

.testimoni-person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: rotate(12deg) scale(1.25); /* Counter-rotate and scale to fill corners */
    transition: transform 0.5s ease;
}

.testimoni-shape-blue:hover .testimoni-person-img {
    transform: rotate(12deg) scale(1.35);
}

.decor-triangle {
    position: absolute;
    top: -10px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 7px solid #fed7aa;
    border-radius: 14px;
    transform: rotate(-15deg);
    z-index: 3;
}
.decor-blob {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    z-index: 3;
    opacity: 0.8;
}

.testimoni-right-pane {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 1;
}
@media (min-width: 768px) {
    .testimoni-right-pane {
        padding-left: 80px !important;
    }
}

/* Visitor Badge Animation */
@keyframes slideInOutLeft {
    0% { transform: translateX(-150%); opacity: 0; }
    5% { transform: translateX(0); opacity: 1; }
    80% { transform: translateX(0); opacity: 1; }
    85% { transform: translateX(-150%); opacity: 0; }
    100% { transform: translateX(-150%); opacity: 0; }
}

.visitor-badge-anim {
    animation: slideInOutLeft 25s infinite ease-in-out;
}
