/* ==========================================
   RESET & BASE STYLES
========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT (OLD)
========================================== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .15);
}

.about-content span {
    color: #1FA463;
    font-weight: 600;
    letter-spacing: 2px;
}

.about-content h2 {
    font-size: 42px;
    margin: 15px 0;
}

.about-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

/* ==========================================
   SERVICES (OLD)
========================================== */
.services {
    padding: 100px 0;
    background: #f5f7fb;
}

.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 42px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    transition: .4s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 50px;
    color: #1FA463;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-link:hover {
    color: inherit;
}

/* ==========================================
   COUNTER
========================================== */
.counter {
    padding: 90px 0;
    background: #1FA463;
    color: white;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.counter h2 {
    font-size: 50px;
    margin-bottom: 10px;
}

/* ==========================================
   HERO
========================================== */
.hero {
    position: relative;
    width: 100%;
    min-height: 650px;
    background: url("../images/hero.png") center center/cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7, 33, 71, .82) 0%,
        rgba(7, 33, 71, .70) 28%,
        rgba(7, 33, 71, .35) 60%,
        rgba(7, 33, 71, .08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 600px;
    margin-left: 70px;
    margin-top: 40px;
}

.hero-subtitle {
    color: #d9b56d;
    letter-spacing: 4px;
    font-weight: 600;
}

.hero h1 {
    font-size: 88px;
    line-height: 1;
    font-weight: 800;
    margin: 20px 0 30px;
}

.hero p {
    width: 560px;
    font-size: 22px;
    line-height: 1.8;
    color: #f4f4f4;
    margin-bottom: 45px;
}

.hero-buttons {
    display: flex;
    gap: 25px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 68px;
    background: #0B4EA2;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    transition: .35s;
}

.btn-primary:hover {
    background: #0a3a70;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 68px;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 14px;
    color: white;
    text-decoration: none;
    font-size: 20px;
    transition: .35s;
}

.btn-outline:hover {
    background: white;
    color: #0d4d94;
}

/* ==========================================
   ABOUT NEW
========================================== */
.about-new {
    padding: 110px 0;
    background: #ffffff;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr .9fr;
    gap: 45px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    transition: .4s;
}

.about-photo img:hover {
    transform: scale(1.03);
}

.about-text span {
    color: #c89a2b;
    font-weight: 700;
    letter-spacing: 3px;
}

.about-text h2 {
    font-size: 48px;
    color: #0f2f5f;
    margin: 18px 0;
}

.about-text p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 22px;
}

.about-card {
    background: #f8f9fc;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-box:last-child {
    margin-bottom: 0;
}

.info-box i {
    font-size: 38px;
    color: #123d75;
    width: 55px;
}

.info-box h4 {
    margin-bottom: 8px;
    color: #123d75;
}

.info-box p {
    color: #666;
    line-height: 1.6;
}

/* ==========================================
   VIDEO PROMO
========================================== */
.promo-section {
    position: relative;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: url("../images/promo_video.jpg") center center/cover no-repeat;
    overflow: hidden;
    border-radius: 20px;
    margin: 80px auto;
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 35, 73, .88) 0%,
        rgba(8, 35, 73, .65) 40%,
        rgba(8, 35, 73, .15) 100%
    );
}

.promo-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 50px 60px;
}

.promo-left {
    max-width: 520px;
}

.promo-left span {
    color: #d8b15d;
    letter-spacing: 3px;
    font-weight: 600;
}

.promo-left h2 {
    font-size: 52px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin: 15px 0 20px;
}

.promo-left p {
    line-height: 1.9;
    margin-bottom: 35px;
}

.promo-feature {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
}

.promo-feature div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.promo-feature i {
    font-size: 35px;
    color: #d9b15c;
    margin-bottom: 10px;
}

.btn-gold {
    background: #c79a3b;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    margin-right: 15px;
}

.play-button {
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, .8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button a {
    color: white;
    font-size: 40px;
}

/* ==========================================
   STATISTIK
========================================== */
.stats-section {
    padding: 100px 0;
    background: #f7f9fc;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-card {
    background: white;
    padding: 45px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: .35s;
}

.stat-card:hover {
    transform: translateY(-12px);
}

.stat-icon {
    width: 90px;
    height: 90px;
    background: #0d4d94;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
}

.stat-icon i {
    color: white;
    font-size: 36px;
}

.stat-card h2 {
    font-size: 46px;
    color: #0d4d94;
    margin-bottom: 10px;
}

.stat-card p {
    color: #777;
    font-size: 17px;
}

/* ==========================================
   LAYANAN PENGHUNI
========================================== */
.service-home {
    padding: 110px 0;
    background: #ffffff;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title span {
    color: #c89a2b;
    letter-spacing: 3px;
    font-weight: 700;
}

.section-title h2 {
    font-size: 48px;
    color: #0d4d94;
    margin: 18px 0;
}

.section-title p {
    color: #666;
    line-height: 1.8;
}

.service-home-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-box {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: #333;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .35s;
}

.service-box:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.service-box i {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: #0d4d94;
    color: white;
    font-size: 34px;
    margin-bottom: 25px;
    display: inline-block;
}

.service-box h3 {
    color: #0d4d94;
    margin-bottom: 15px;
}

.service-box p {
    color: #777;
    line-height: 1.7;
}

/* ==========================================
   BERITA HOME
========================================== */
.news-home {
    padding: 110px 0;
    background: #f7f9fc;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.news-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .35s;
}

.news-card:hover {
    transform: translateY(-12px);
}

.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.news-content {
    padding: 30px;
}

.news-content span {
    color: #c89a2b;
    font-size: 14px;
    font-weight: 600;
}

.news-content h3 {
    margin: 15px 0;
    color: #0d4d94;
}

.news-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.news-content a {
    color: #0d4d94;
    text-decoration: none;
    font-weight: 600;
}

/* ==========================================
   GALERI HOME
========================================== */
.gallery-home {
    padding: 110px 0;
    background: white;
}

.gallery-home-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-home-grid img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    transition: .4s;
    cursor: pointer;
}

.gallery-home-grid img:hover {
    transform: scale(1.05);
}

.gallery-btn {
    text-align: center;
    margin-top: 50px;
}

/* ==========================================
   CALL TO ACTION
========================================== */
.cta-home {
    position: relative;
    padding: 120px 0;
    margin: 100px auto 0;
    width: 95%;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(135deg, #0d4d94, #123d75);
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: url("../images/building-pattern.png") center/cover;
    opacity: .08;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 850px;
    margin: 0 auto;
}

.cta-content span {
    color: #d6b164;
    letter-spacing: 4px;
    font-weight: 700;
}

.cta-content h2 {
    font-size: 52px;
    margin: 25px 0;
}

.cta-content p {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 45px;
}

.cta-button {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================
   FOOTER (DESKTOP)
========================================== */
.footer {
    background: #0d2d57;
    color: #fff;
    padding: 90px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-about img {
    width: 110px;
    margin-bottom: 20px;
}

.footer-about h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-about p,
.footer-menu a,
.footer-contact p {
    font-size: 16px;
    line-height: 1.8;
    word-break: normal;
    white-space: normal;
}

.footer-social {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #123d75;
    border-radius: 50%;
    color: #fff;
    transition: .3s;
}

.footer-social a:hover {
    background: #d8b15d;
}

.footer h4 {
    font-size: 22px;
    color: #d8b15d;
    margin-bottom: 25px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: #ddd;
    text-decoration: none;
    transition: .3s;
}

.footer-menu a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: #ddd;
    line-height: 1.6;
}

.footer-contact i {
    color: #d8b15d;
    margin-right: 10px;
}

/* Telepon, WhatsApp dan email di footer sekarang bisa diklik.
   Tanpa aturan ini tautannya memakai biru bawaan peramban, yang di atas
   latar biru tua footer hampir tidak terbaca. */
.footer-contact a {
    color: inherit;
    text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    padding: 22px;
    background: #081f3c;
    color: #ccc;
    font-size: 14px;
}

/* ==========================================
   MEDIA QUERIES (TABLET & MOBILE)
========================================== */

/* TABLET (max-width: 991px) */
@media (max-width: 991px) {
    .hero {
        min-height: 550px;
    }

    .hero-content {
        width: 100%;
        margin: 0;
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        width: 100%;
        font-size: 18px;
    }

    .about-grid,
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card {
        margin-top: 20px;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .promo-left {
        max-width: 100%;
    }

    .promo-feature {
        justify-content: center;
        flex-wrap: wrap;
    }

    .stats-grid,
    .service-home-grid,
    .gallery-home-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE (max-width: 767px) */
@media (max-width: 767px) {
    /* HERO */
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
        background-position: center;
    }

    .hero-content {
        width: 100%;
        margin: 0;
        padding: 0 20px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
        margin: 16px 0 20px;
    }

    .hero p {
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
    }

    .hero-buttons a,
    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        height: 52px;
        font-size: 16px;
    }

    /* ABOUT */
    .about-new {
        padding: 60px 0;
    }

    .about-photo {
        order: 1;
    }

    .about-text {
        order: 2;
        text-align: center;
    }

    .about-card {
        padding: 20px;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .info-box i {
        font-size: 28px;
        width: auto;
    }

    /* PROMO */
    .promo-section {
        min-height: auto;
        margin: 40px auto;
        border-radius: 20px;
    }

    .promo-content {
        padding: 40px 20px;
    }

    .promo-left h2 {
        font-size: 28px;
    }

    .promo-left p {
        font-size: 14px;
    }

    .btn-gold {
        width: 100%;
        max-width: 280px;
        display: inline-block;
        margin: 0 0 15px 0;
    }

    .play-button {
        width: 75px;
        height: 75px;
        margin: 0 auto;
    }

    /* STATS & SERVICES */
    .stats-section,
    .service-home,
    .news-home,
    .gallery-home {
        padding: 60px 0;
    }

    .service-home-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 20px 15px;
    }

    .stat-card h2 {
        font-size: 28px;
    }

    /* CTA */
    .cta-home {
        width: 100%;
        padding: 50px 20px;
        border-radius: 20px;
        margin-top: 50px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-button {
        flex-direction: column;
        align-items: center;
    }

    /* FOOTER MOBILE */
    .footer {
        text-align: center;
        padding: 50px 0 0;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-about img {
        margin: 0 auto 15px;
    }

    .footer-social {
        justify-content: center;
    }
}

/* EXTRA SMALL MOBILE (max-width: 430px) */
@media (max-width: 430px) {
    .stats-grid,
    .gallery-home-grid {
        grid-template-columns: 1fr;
    }

    .gallery-home-grid img {
        height: 200px;
    }

    .about-text h2,
    .section-title h2,
    .cta-content h2 {
        font-size: 24px;
    }
}

.video-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.88);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.video-modal.show{
    display:flex;
}

.video-container{
    width:90%;
    max-width:1000px;
    background:#111;
    border-radius:20px;
    overflow:hidden;
    position:relative;
}

.video-container video{
    width:100%;
    display:block;
}

.close-video{
    position:absolute;
    top:15px;
    right:20px;
    color:#fff;
    font-size:40px;
    cursor:pointer;
    z-index:5;
}

.video-info{
    padding:25px;
    color:white;
}

.video-info h3{
    margin-bottom:10px;
}

.video-info p{
    color:#ddd;
}