/* ================= TYPOGRAPHY SYSTEM ================= */

h1, h2, h3 {
    font-weight: 700;

}

h4 {
    font-size: 16px;
    font-weight: 600;
}

p {
    font-size: 14px;
    line-height: 1.6;
}

/* khusus deskripsi section */
.section-description {
    font-size: 14.5px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 25px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc;
}

a {
    text-decoration: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.service-desc {
    font-size: 14px;
    color: #666;
    font-family: 'Inter', sans-serif;
}

.service-btn {
    margin-top: 15px;
    background: #155F83;
    color: white;
    padding: 10px;
    border-radius: 6px;
}

/* ROOM */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.room-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;

    border: 1px solid #eef2f6;

    transition: all 0.3s ease;

    display: flex;
    flex-direction: column;

    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

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

.room-img {
    width: 100%;
    height: 200px;
    object-fit: cover;

    border-bottom: 1px solid #f1f5f9;
}

.room-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.room-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.room-price {
    font-size: 14px;
    color: #155F83;
    font-weight: 600;
    margin-bottom: 12px;
} 
/* POLI */
.poli-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
    gap: 20px;
}

.poli-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 10px;
}

.poli-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}


/* ================= GLOBAL ================= */
.custom-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ================= HEADER ================= */

.header-bottom {
    background: linear-gradient(135deg, #155F83 0%, #0D4A6B 100%);
    color: white;

    padding: 60px 20px;

    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.header-bottom .page-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

.header-bottom .page-description {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    text-align: center;
    font-family: 'Inter', sans-serif;
}



/* ================= SECTION CARD ================= */
.room-section {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    font-family: 'Inter', sans-serif;
}

.room-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 3px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.room-section-description {
    color: #64748b;
    margin-bottom: 2rem;
}


/* ================= SECTION TITLE GLOBAL ================= */
.section-title-center {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #1E293B;
    margin-bottom: 25px;
    position: relative;
}

/* garis bawah biar lebih cakep */
.section-title-center::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #155F83;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}
.room-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 20px;
}

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


@media (max-width: 576px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.room-item {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid #eef2f6;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}


.room-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border-color: #dbeafe;
}


.room-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    transition: 0.4s;
}

.room-item:hover::before {
    left: 0;
}


.room-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}


.room-item p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}


.room-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 6px;
}


.room-section-description {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}
/* ================= FACILITY ================= */
.facility-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 2rem;
    margin-top: 1rem;
}

.facility-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: center;
}

.facility-icon {
    color: #155f83;
    font-weight: bold;
}




/* ================= ROOM ================= */
.room-card-improved:hover {
    transform: translateY(-8px);
}

.room-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    padding: 15px;
    text-align: center;
}

.room-detail-btn {
    background-color: #155f83;
    color: white;
}

.btn-detail {
    margin-top: auto;

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

    padding: 10px 14px;

    background: #eff6ff;
    color: #155F83;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;

    transition: 0.3s;
}

.btn-detail:hover {
    background: #155F83;
    color: white;
}
/* ================= SECTION TITLE GLOBAL ================= */
.section-title-center {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: #1E293B;
    margin-bottom: 25px;
    position: relative;
}

/* garis bawah biar lebih cakep */
.section-title-center::after {
    content: "";
    width: 60px;
    height: 3px;
    background: #155F83;
    display: block;
    margin: 10px auto 0;
    border-radius: 2px;
}

.poli-title {
    font-weight: 700;
    text-align: center;
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .hero-single-grid {
        flex-direction: column;
    }

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

    .content-split {
        flex-direction: column;
    }

    .flow-wrapper {
        flex-direction: column;
    }
}


.poli-card {
    background: #fff;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.poli-card:hover {
    transform: translateY(-5px);
}

.poli-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.poli-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #155F83;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}


a {
    text-decoration: none;
    color: inherit;
}

.service-card,
.poli-card {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .header-nav {
        top: 0;
        height: 60px;
    }

}
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding-top: 160px; /* SESUAI TINGGI HEADER ASLI */
}

@media (max-width: 992px) {
    .header-top { display: none; }

    .header-nav {
        top: 0;
        height: 60px;
    }
}

@media (max-width: 992px) {
    .main-content {
        padding-top: 60px;
    }
}

.hero-split {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-left {
    flex: 1;
}

.hero-left img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.hero-right {
    flex: 1;
}

.hero-price {
    font-size: 20px;
    font-weight: bold;
    color: #04657e;
    margin: 10px 0;
}

.floating-contact{
    position: fixed;
    right: 25px;
    bottom: 110px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* BUTTON WRAPPER */
.float-btn{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
}

/* ICON BULAT */
.float-btn i{
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    font-size:20px;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: 0.3s ease;
}

/* BOX (HIDDEN DEFAULT) */
.float-box{
    position: absolute;
    right: 60px;
    width: 0;
    opacity: 0;
    overflow: hidden;

    background: white;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);

    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* TEXT */
.float-title{
    font-size: 13px;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
}

.float-value{
    font-size: 14px;
    font-weight: 800;
    color: #666;
    white-space: nowrap;
}

.float-btn:hover .float-box{
    width: 180px;
    padding: 10px 12px;
    opacity: 1;
}


.float-btn:hover i{
    transform: scale(1.1);
}

/* COLORS */
.float-btn.wa i{
    background:#25D366;
}

.float-btn.emergency i{
    background:#e74c3c;
}

.float-btn.call i{
    background:#155F83;
}

/* =========================================
   SERVICES MODERN HEALTHCARE UI
========================================= */

.services-hero{
    position: relative;
    overflow: hidden;

    border-radius: 0 0 30px 30px;

    min-height: 420px;

    padding: 90px 0;

    background:
        linear-gradient(
            rgba(0,64,140,0.78),
            rgba(0,64,140,0.78)
        ),
        url('/gambar/hospital.jpeg');

    background-size: cover;
    background-position: center;

    color: white;
}

.services-highlight::before{
    content:'';
    position:absolute;

    width:300px;
    height:300px;

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

    border-radius:50%;

    top:-120px;
    right:-120px;
}

.highlight-left{
    flex:1;
    position:relative;
    z-index:2;
}

.highlight-badge{
    display:inline-block;
    background:rgba(255,255,255,0.15);

    padding:8px 14px;
    border-radius:50px;

    font-size:13px;
    margin-bottom:18px;
}

.highlight-left h2{
    font-size:38px;
    line-height:1.2;
    margin-bottom:18px;
    color:white;
}

.highlight-left p{
    font-size:15px;
    color:rgba(255,255,255,0.85);
    max-width:600px;
    line-height:1.8;
}

.highlight-right{
    display:grid;
    grid-template-columns:repeat(1,1fr);
    gap:16px;
    min-width:220px;
    position:relative;
    z-index:2;
}

.highlight-box{
    background:rgba(255,255,255,0.12);
    backdrop-filter:blur(10px);

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

    border-radius:18px;

    padding:20px;
}

.highlight-box h3{
    color:white;
    font-size:28px;
    margin-bottom:6px;
}

.highlight-box span{
    font-size:14px;
    color:rgba(255,255,255,0.85);
}


/* GRID */
.services-grid{
    display:grid;

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

    gap:30px;

    margin-top:60px;
}


/* CARD */
.service-card-modern{
    background:white;

    border-radius:24px;

    padding:35px 30px;

    border:1px solid #edf2f7;

    display:flex;
    align-items:flex-start;

    gap:24px;

    transition:0.3s ease;

    min-height:250px;

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


.service-card-modern:hover{
    transform:translateY(-10px);

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

/* Make sure modern services layout stays consistent */
.service-card-modern{align-items:stretch}
                   
/* =========================================
   SERVICES GRID FIX (OVERRIDE)
   Fokus: services-grid & service-card-modern
========================================= */

/* Force horizontal modern service card layout */
.services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
    margin-top: 60px;
}

.service-card-modern{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;

    padding: 28px;
    min-height: unset;

    flex-wrap: nowrap;
}

.service-icon-wrapper{
    margin-bottom: 0;
    flex-shrink: 0;
}

.service-content{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-title{
    font-size: 20px;
    margin-bottom: 8px;
}

.service-desc{
    font-size: 14px;
    margin-bottom: 10px;
}

.service-link{
    margin-top: 10px;
    align-self: flex-start;
}

/* END Force horizontal modern service card layout */

/* Ensure button is directly below description (override any margin-top:auto variants) */
.service-link{ margin-top:10px; align-self:flex-start; }


@media(max-width:768px){
    .service-card-modern{flex-direction:row;}
    .services-grid{grid-template-columns:1fr;}
}


.services-grid{
    /* selalu override grid lama yang bentrok */
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:32px;
    margin-top:60px;
    align-items:stretch;
}

.service-card-modern{
    background:#fff;
    border-radius:26px;
    padding:34px 32px;
    border:1px solid #edf2f7;

    display:flex;
    flex-direction:column;

    /* tinggi sama untuk semua card */
    min-height:340px;

    transition:all 0.3s ease;

    box-shadow:0 8px 25px rgba(15,23,42,0.05);
    overflow:hidden;
}

.service-icon-wrapper{
    width:95px;
    height:95px;
    min-width:95px;

    border-radius:50%;

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

    font-size:42px;
    margin-bottom:26px;

    flex-shrink:0;
    transition:0.3s ease;
}

.service-icon-wrapper:hover{transform:none}

.service-icon-wrapper{box-sizing:border-box}

.service-content{
    display:flex;
    flex-direction:column;
    flex:1;
}

.service-title{
    font-size:32px;
    font-weight:700;
    line-height:1.3;

    margin-bottom:16px;
    color:#0f172a;
    word-break:break-word;
}

.service-desc{
    font-size:15px;
    line-height:1.9;
    color:#64748b;
    margin-bottom:28px;
}

.service-link{
    margin-top:auto;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    width:fit-content;
    padding:14px 22px;

    border-radius:14px;

    background:#eff6ff;
    color:#0056d6;

    font-size:15px;
    font-weight:600;

    transition:0.3s ease;
}

.service-link i{font-size:14px}

.service-card-modern:hover .service-link{
    background:#0056d6;
    color:white;
}

/* RESPONSIVE */
@media(max-width:1200px){

    .services-grid{grid-template-columns:repeat(2,1fr)}

}

@media(max-width:768px){

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

    .service-card-modern{min-height:auto}

    .service-title{font-size:28px}

}

/* END SERVICES GRID FIX */



/* ICON */
.service-icon-wrapper{
    width:90px;
    height:90px;

    min-width:90px;

    border-radius:50%;

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

    font-size:40px;

    position:relative;

    flex-shrink:0;
}       

.service-card-modern:hover .service-icon-wrapper{
    transform:scale(1.08) rotate(-4deg);
}


/* TITLE */
.service-title{
    font-size:28px;

    font-weight:700;

    margin-bottom:14px;

    color:#0f172a;

    line-height:1.3;
}

/* DESC */
.service-desc{
    font-size:15px;

    line-height:1.8;

    color:#64748b;

    margin-bottom:20px;
}


/* ARROW */
.service-arrow{
    margin-top:auto;

    width:44px;
    height:44px;

    border-radius:50%;

    background:#f1f5f9;

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

    color:#155F83;

    transition:0.3s ease;
}

.service-card-modern:hover .service-arrow{
    background:#155F83;
    color:white;

    transform:translateX(6px);
}


/* RESPONSIVE */
@media(max-width:768px){

    .services-highlight{
        flex-direction:column;
        padding:35px 25px;
    }

    .highlight-left h2{
        font-size:28px;
    }

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

}

.hero-wrapper{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.hero-left h1{
    font-size:64px;
    font-weight:800;
    margin-bottom:20px;
    color:white;
}

.hero-left p{
    font-size:20px;
    line-height:1.8;
    max-width:600px;
    color:rgba(255,255,255,0.92);
}

.hero-floating-card{
    background:white;
    border-radius:24px;
    padding:30px;

    width:380px;

    display:flex;
    gap:20px;
    align-items:flex-start;

    box-shadow:
    0 15px 40px rgba(0,0,0,0.15);
}

.floating-icon{
    width:72px;
    height:72px;

    border-radius:50%;
    background:#edf5ff;

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

    font-size:30px;
    color:#0056d6;

    flex-shrink:0;
}

.hero-floating-card h4{
    font-size:24px;
    margin-bottom:10px;
    color:#0f172a;
}

.hero-floating-card p{
    font-size:15px;
    line-height:1.7;
    color:#64748b;
}

.service-link{
    margin-top:auto;

    display:flex;
    align-items:center;
    gap:10px;

    color:#0056d6;

    font-weight:600;

    font-size:15px;
}

.services-heading{
    text-align:center;
    margin-bottom:60px;
}

.services-heading span{
    color:#0056d6;
    font-weight:700;
    font-size:14px;
    letter-spacing:1px;
}

.services-heading h2{
    font-size:48px;
    margin:16px 0;
    color:#0f172a;
}

.services-heading p{
    max-width:700px;
    margin:auto;

    color:#64748b;
    line-height:1.9;
}

.services-stats{
    margin-top:70px;

    background:white;

    border-radius:28px;

    padding:40px;

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

    gap:30px;

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

.stat-item{
    text-align:center;
}

.stat-item i{
    font-size:42px;
    margin-bottom:18px;
    color:#0056d6;
}

.stat-item h3{
    font-size:38px;
    color:#0056d6;
}

.stat-item p{
    color:#64748b;
}

.service-content{
    display:flex;
    flex-direction:column;
    height:100%;
}

@media(max-width:1200px){

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

}

@media(max-width:768px){

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

    .service-card-modern{
        flex-direction:column;
        align-items:flex-start;
    }

}

/* =========================================
   SERVICES GRID FIX (OVERRIDE)
   Fokus: services-grid & service-card-modern
========================================= */

.services-grid{
    /* selalu override grid lama yang bentrok */
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:32px;
    margin-top:60px;
    align-items:stretch;
}

.service-card-modern{
    background:#fff;
    border-radius:26px;
    padding:34px 32px;
    border:1px solid #edf2f7;

    display:flex;
    flex-direction:column;

    /* tinggi sama untuk semua card */
    min-height:340px;

    transition:all 0.3s ease;

    box-shadow:0 8px 25px rgba(15,23,42,0.05);
    overflow:hidden;
}

.service-icon-wrapper{
    width:95px;
    height:95px;
    min-width:95px;

    border-radius:50%;

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

    font-size:42px;
    margin-bottom:26px;

    flex-shrink:0;
    transition:0.3s ease;
}

.service-content{
    display:flex;
    flex-direction:column;
    flex:1;
}

.service-title{
    font-size:32px;
    font-weight:700;
    line-height:1.3;

    margin-bottom:16px;
    color:#0f172a;
    word-break:break-word;
}

.service-desc{
    font-size:15px;
    line-height:1.9;
    color:#64748b;
    margin-bottom:28px;
}

.service-link{
    margin-top:auto;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    width:fit-content;
    padding:14px 22px;

    border-radius:14px;

    background:#eff6ff;
    color:#0056d6;

    font-size:15px;
    font-weight:600;

    transition:0.3s ease;
}

.service-link i{
    font-size:14px;
}

.service-card-modern:hover .service-link{
    background:#0056d6;
    color:white;
}

/* RESPONSIVE */
@media(max-width:1200px){

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

}

@media(max-width:768px){

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

    .service-card-modern{
        min-height:auto;
    }

    .service-title{
        font-size:28px;
    }

}

/* =========================================
   FINAL FIX SERVICES (WAJIB PALING BAWAH)
========================================= */

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

/* CARD JADI MELEBAR KE SAMPING */
.service-card-modern{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;

    padding:22px !important;
    min-height:auto !important;

    gap:18px !important;
}

/* ICON KIRI */
.service-icon-wrapper{
    width:70px !important;
    height:70px !important;
    min-width:70px !important;

    font-size:28px !important;

    margin:0 !important;
}

/* KONTEN KANAN */
.service-content{
    display:flex;
    flex-direction:column;
    flex:1;
}

/* JUDUL */
.service-title{
    font-size:18px !important;
    margin-bottom:6px !important;
}

/* DESKRIPSI */
.service-desc{
    font-size:13px !important;
    margin-bottom:8px !important;
}

/* BUTTON DI BAWAH DESKRIPSI (BUKAN KE BAWAH CARD) */
.service-link{
    margin-top:0 !important;
    align-self:flex-start !important;

    font-size:13px !important;
    padding:8px 14px !important;
}

/* RESPONSIVE */
@media(max-width:768px){
    .services-grid{
        grid-template-columns:1fr !important;
    }
}

/* ================= POLI PREMIUM ================= */

.poli-card{
    background:#ffffff;
    border-radius:20px;
    padding:24px 12px;

    display:flex;
    flex-direction:column;
    align-items:center;

    text-align:center;
    text-decoration:none;

    transition:all .3s ease;

    border:1px solid #f1f5f9;
}

/* HOVER LEBIH HIDUP */
.poli-card:hover{
    transform:translateY(-10px) scale(1.03);
    box-shadow:0 20px 40px rgba(0,0,0,0.12);
}

/* ICON BOX (MODERN, BUKAN BULAT) */
.poli-icon{
    width:64px;
    height:64px;
    border-radius:16px;

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

    margin-bottom:14px;

    font-size:26px;
    transition:.3s;
}

/* ANIMASI ICON */
.poli-card:hover .poli-icon{
    transform:scale(1.15) rotate(5deg);
}

/* TITLE */
.poli-title{
    font-size:14px;
    font-weight:600;
    color:#1E293B;
}

/* ================= WARNA VARIASI ================= */

/* BLUE */
.poli-blue .poli-icon{
    background:linear-gradient(135deg,#dbeafe,#93c5fd);
    color:#1d4ed8;
}

/* GREEN */
.poli-green .poli-icon{
    background:linear-gradient(135deg,#dcfce7,#86efac);
    color:#15803d;
}

/* PINK */
.poli-pink .poli-icon{
    background:linear-gradient(135deg,#fce7f3,#f9a8d4);
    color:#be185d;
}

/* PURPLE */
.poli-purple .poli-icon{
    background:linear-gradient(135deg,#ede9fe,#c4b5fd);
    color:#6d28d9;
}

/* ORANGE */
.poli-orange .poli-icon{
    background:linear-gradient(135deg,#ffedd5,#fdba74);
    color:#c2410c;
}

/* TEAL */
.poli-teal .poli-icon{
    background:linear-gradient(135deg,#ccfbf1,#5eead4);
    color:#0f766e;
}

.poli-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .poli-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

.poli-wrapper {
    position: relative;
}

.poli-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    transition: all 0.3s ease;
}

/* 🔥 BATAS 2 BARIS (6 ITEM) */
.poli-grid.collapsed {
    max-height: 320px;
    overflow: hidden;
}

/* tombol */
.btn-lihat {
    background: #1d5fd0;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.btn-lihat:hover {
    background: #174bb5;
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
    }

    .hero-left img {
        height: auto;
        max-height: 300px;
        object-fit: cover; 
    }
}