/* --- About Us Hero Section (Fullscreen Blue Gradient) --- */
.about-hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* Full screen height */
    background: linear-gradient(135deg, rgba(0, 96, 147, 0.65) 0%, #00476F 100%);
    display: flex;
    align-items: center;
    padding-top: 112px;
    /* Offset for fixed navbar */
    overflow: hidden;
    margin-bottom: 80px;
}

.about-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text-col .section-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-text-col .text-white {
    color: var(--white);
}

.hero-text-col .about-desc {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    /* Slightly transparent white for readability */
    margin-bottom: 30px;
    text-align: justify;
    /* Rata kanan kiri */
}

/* Hero Images - Stacked Photos Effect */
.hero-image-col {
    position: relative;
    height: 500px;
}

.stacked-photos {
    position: relative;
    width: 100%;
    height: 100%;
}

.stacked-photos .photo {
    position: absolute;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.5s ease;
}

.stacked-photos .photo-1 {
    width: 308px;
    height: 385px;
    top: 0px;
    left: 120px;
    /* Digeser lebih jauh ke kanan (ditambah 60px lagi dari versi sebelumnya) */
    border-radius: 16px;
    transform: rotate(8deg);
    z-index: 2;
}

.stacked-photos .photo-2 {
    width: 308px;
    height: 385px;
    top: 39px;
    left: 260px;
    /* Tetap menjaga offset absolut 140px dari photo-1 (120+140) */
    border-radius: 16px;
    transform: rotate(-10deg);
    z-index: 1;
}

.stacked-photos:hover .photo-1 {
    transform: rotate(8deg) translateY(-10px) translateX(10px);
}

.stacked-photos:hover .photo-2 {
    transform: rotate(-10deg) translateY(10px) translateX(-10px);
}


/* --- Core Services Section --- */
.core-services {
    margin-bottom: 100px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.image-dotted-border {
    position: relative;
    padding: 20px;
    display: inline-block;
}

.services-image {
    width: 480px;
    height: 484px;
    object-fit: cover;
    border-radius: 16px;
}

.services-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
    /* Diperkecil */
}

.services-desc {
    font-size: 15px;
    /* Sedikit dikecilkan agar ringkas */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    /* Diperkecil dari 40px */
}

.services-lists-row {
    display: flex;
    gap: 40px;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    /* Lebih rapat */
    margin-bottom: 16px;
    /* Lebih pendek */
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-main);
    font-size: 15px;
}

.list-heading {
    color: var(--text-muted);
    font-size: 15px;
    /* Disesuaikan dengan teks list */
    font-weight: 600;
    /* Lebih bold agar terlihat penting sebagai grup */
    margin-bottom: 10px;
}

.check-list li::before {
    content: '\2714';
    /* Heavy Checkmark */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background-color: #6B3C92;
    /* Warna ungu Naraya */
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    flex-shrink: 0;
}


/* --- Teams Section --- */
.teams-section {
    padding: 80px 0;
    overflow: hidden;
    background: #fbfdff;
    /* Background pembeda section */
}

.teams-section .header-flex {
    margin-bottom: 40px;
}

.teams-section .header-left h2 {
    font-size: 36px;
    color: var(--text-main);
}

.teams-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.teams-slider::-webkit-scrollbar {
    display: none;
}

.team-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    padding-bottom: 25px;
    transition: var(--transition);
    flex: 0 0 calc((100% / 3) - 16px);
    scroll-snap-align: start;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(107, 60, 146, 0.1);
}

.team-photo img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: top;
    margin-bottom: 20px;
}

.team-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.team-info p {
    color: #6B3C92;
    font-weight: 600;
    font-size: 14px;
}




/* --- About Dynamic Section --- */
.about-dynamic {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 100px;
    align-items: stretch;
}

.social-header h2 {
    font-size: 36px;
    color: var(--text-main);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 40px;
}

/* Dummy Instagram Widget */
.social-widget-dummy {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.widget-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    background: #f8fafc;
    padding: 10px;
    border: 1px solid #e2e8f0;
}

.widget-meta h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.widget-meta p {
    font-size: 13px;
    color: var(--text-muted);
}

.btn-follow-dummy {
    margin-left: auto;
    background: #0ea5e9;
    /* IG Blue-ish */
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.widget-previews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.preview-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #94a3b8;
    font-weight: 700;
    font-size: 12px;
}

.bg-gray {
    background-color: #f1f5f9;
}

.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* News Section */
.news-header .section-title {
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--text-main);
    font-weight: 800;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card .card-info {
    padding: 24px;
    text-align: left;
}

.news-card .card-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.news-card .card-info p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.news-meta {
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0 !important;
}


/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .hero-text-col .section-title {
        font-size: 46px;
    }

    .hero-image-col {
        height: 400px;
    }

    .stacked-photos .photo-1 {
        height: 280px;
    }

    .stacked-photos .photo-2 {
        height: 230px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-image {
        height: 350px;
    }

    .about-dynamic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .team-card {
        flex: 0 0 calc(50% - 12px);
    }
}

/* Base states: hide mobile nav elements */
.mobile-only-nav,
.mobile-only-nav-float {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only-nav {
        display: flex;
        gap: 12px;
        margin-top: 15px;
    }

    .slider-wrapper-mobile {
        position: relative;
        width: 100%;
        padding: 0 10px;
    }

    .mobile-only-nav-float {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background-color: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #6B3C92;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .btn-prev.mobile-only-nav-float {
        left: -10px;
    }

    .btn-next.mobile-only-nav-float {
        right: -10px;
    }

    .teams-section .header-flex,
    .news-section .header-flex {
        flex-direction: column;
        align-items: center;
        /* Center header content and title */
    }

    .teams-section .header-left,
    .news-section .header-left {
        width: 100%;
        text-align: center;
    }

    .teams-section .header-left h2,
    .news-section .header-left h2 {
        font-size: 28px;
        text-align: center;
        margin-bottom: 0;
    }

    .about-hero-fullscreen {
        min-height: auto;
        padding: 140px 0 60px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text-col .section-title {
        font-size: 38px;
        text-align: center;
    }

    .hero-text-col .about-desc {
        text-align: justify;
    }

    .hero-image-col {
        height: 380px;
    }

    .stacked-photos {
        position: relative;
        height: 100%;
        width: 300px;
        margin: 0 auto;
        display: block;
    }

    .stacked-photos .photo {
        position: absolute !important;
        width: 220px !important;
        height: 280px !important;
        max-width: 100%;
        border-radius: 12px;
    }

    .stacked-photos .photo-1 {
        top: 0 !important;
        left: 0 !important;
        transform: rotate(8deg) !important;
        z-index: 2;
    }

    .stacked-photos .photo-2 {
        top: 40px !important;
        left: 80px !important;
        transform: rotate(-10deg) !important;
        z-index: 1;
    }

    .services-lists-row {
        flex-direction: column;
        gap: 15px;
    }

    .services-image {
        width: 100%;
        height: auto;
    }

    /* Slider tim */
    .team-card {
        flex: 0 0 calc(100% - 10px);
        scroll-snap-align: center;
    }

    .team-photo img {
        height: 320px;
    }

    .moments-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .moment-item {
        flex: unset;
        scroll-snap-align: unset;
    }

    .moments-social-bar {
        padding: 15px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
        width: 100%;
    }

    .btn-follow-us {
        padding: 12px 16px;
        font-size: 14px;
        width: 100%;
        display: block;
        text-align: center;
    }

    .moments-header h2 {
        font-size: 28px;
        text-align: center;
    }
}

/* --- Moments Section Styles --- */
.moments-section {
    padding: 80px 0;
    margin-bottom: 60px;
}

.moments-header h2 {
    font-size: 36px;
    color: var(--text-main);
    margin-bottom: 40px;
    line-height: 1.3;
}

.moments-social-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.social-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-avatar {
    width: 50px;
    height: 50px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    border: 1px solid #e2e8f0;
}

.social-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.social-info p {
    font-size: 13px;
    color: var(--text-muted);
}

.social-stats {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}

.social-stats span {
    font-size: 13px;
    color: var(--text-muted);
}

.social-stats strong {
    color: var(--text-main);
    font-weight: 700;
    margin-right: 3px;
}

.btn-follow-us {
    background: #6B3C92;
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-follow-us:hover {
    background: #512b70;
    transform: translateY(-2px);
}

.moments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.moment-item {
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.moment-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Headline News Styles --- */
.news-section {
    padding: 80px 0 100px;
    background: #fff;
    /* Background pembeda */
}

a.news-card {
    text-decoration: none;
    color: inherit;
}

/* .header-right .view-more {
    font-size: 15px;
    font-weight: 600;
    color: #6B3C92;
    text-decoration: none;
    transition: var(--transition);
}

.header-right .view-more:hover {
    color: #512b70;
    text-decoration: underline;
} */

/* Desktop nav buttons styles (if used) */

@media (max-width: 768px) {
    .mobile-only-nav {
        display: flex;
        gap: 12px;
        margin-top: 15px;
    }
}

.slider-nav .nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    color: #6B3C92;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.slider-nav .nav-btn:hover {
    background-color: #6B3C92;
    color: #fff;
    border-color: #6B3C92;
}

.news-slider {
    display: flex;
    justify-content: center;
    /* Memusatkan jika < 3 */
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px 40px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.news-slider::-webkit-scrollbar {
    display: none;
}

.news-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% / 3) - 16px);
    scroll-snap-align: start;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.news-thumb {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

.news-inner {
    padding: 24px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Pastikan mengambil ruang sisa */
}

.news-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    /* Properti standar */
    overflow: hidden;
}

.news-inner p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    /* Properti standar */
    overflow: hidden;
}

.news-meta {
    font-size: 13px;
    color: #94a3b8;
    margin-top: auto;
    /* Dorong ke paling bawah agar sejajar */
    padding-top: 15px;
}

@media (max-width: 1024px) {
    .news-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .news-slider {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        gap: 15px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .news-slider::-webkit-scrollbar {
        display: none;
    }

    .news-card {
        flex: 0 0 calc(85% - 10px);
        scroll-snap-align: center;
    }

    .news-section .header-left h2 {
        font-size: 28px;
        text-align: center;
    }
}