/* ===========================================
   RESET
=========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f8f9fa;
    color:#333;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===========================================
   GLOBAL
=========================================== */

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:40px;
    color:#9B111E;
    margin-bottom:10px;
}

.section-title p{
    color:#666;
    font-size:18px;
}

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

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

}

.header.scrolled{

    background:white;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.header.scrolled .nav-menu a{

    color:#222;

}

.header.scrolled .nav-menu a:hover{

    color:#C62828;

}

/* ===========================================
   NAVBAR
=========================================== */

.navbar{

    height:85px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    width:120px;

}

.nav-menu{

    display:flex;

    gap:40px;

}

.nav-menu a{

    color:white;

    font-weight:600;

    transition:.3s;

}

.nav-menu a:hover{

    color:#FFD54F;

}

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

.hero{

    position:relative;

    min-height:100vh;

    background:linear-gradient(
    135deg,
    #980B0B,
    #C62828,
    #E64A19);

    overflow:hidden;

}

/* dekorasi */

.hero::before{

    content:"";

    position:absolute;

    width:650px;

    height:650px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    left:-220px;

    top:-250px;

}

.hero::after{

    content:"";

    position:absolute;

    width:500px;

    height:500px;

    background:rgba(255,255,255,.05);

    border-radius:50%;

    right:-180px;

    bottom:-120px;

}

.hero-wrapper{

    min-height:100vh;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:80px;

}

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

.hero-content{

    flex:1;

    color:white;

}

.badge{

    display:inline-block;

    padding:10px 22px;

    border-radius:30px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(10px);

    margin-bottom:25px;

    font-size:15px;

}

.hero-content h1{

    font-size:82px;

    font-weight:800;

    line-height:1;

    margin-bottom:15px;

}

.hero-content h2{

    font-size:38px;

    line-height:1.4;

    margin-bottom:25px;

    font-weight:600;

}

.hero-content span{

    color:#FFD54F;

}

.hero-content p{

    max-width:620px;

    font-size:18px;

    color:#f5f5f5;

    margin-bottom:35px;

}

/* ===========================================
   BUTTON
=========================================== */

.btn-primary{

    display:inline-block;

    padding:16px 42px;

    border-radius:40px;

    background:white;

    color:#B22222;

    font-weight:600;

    transition:.35s;

}

.btn-primary:hover{

    background:#FFD54F;

    transform:translateY(-5px);

}

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

.hero-image{

    width:340px;

}

.qr-card{

    background:white;

    padding:25px;

    border-radius:25px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.2);

    animation:float 3s infinite ease-in-out;

}

.qr-card img{

    width:220px;

    margin:auto;

}

.qr-card h3{

    margin-top:20px;

    color:#B22222;

}

.qr-card p{

    color:#777;

    margin-top:10px;

}

/* ===========================================
   WAVE
=========================================== */

.wave{

    position:absolute;

    bottom:-50px;

    width:100%;

}

.wave svg{

    display:block;

}

/* ===========================================
   FLOAT
=========================================== */

@keyframes float{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-12px);

}

100%{

transform:translateY(0);

}

}

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

@media(max-width:992px){

.hero-wrapper{

flex-direction:column-reverse;

justify-content:center;

text-align:center;

padding-top:120px;

padding-bottom:80px;

}

.hero-content p{

max-width:100%;

}

.hero-image{

width:100%;

display:flex;

justify-content:center;

margin-bottom:40px;

}

.navbar{

flex-direction:column;

height:auto;

padding:20px 0;

gap:20px;

}

.nav-menu{

flex-wrap:wrap;

justify-content:center;

gap:20px;

}

.hero-content h1{

font-size:55px;

}

.hero-content h2{

font-size:28px;

}

}

/* ===========================================
   LAYANAN
=========================================== */

.layanan{
    background:#ffffff;
}

.service-grid {

    flex-direction:column;

    display: grid;

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

    justify-content: center;

    gap: 30px;

    max-width:900px;

    margin:0 auto;


}

.service-card{

    background:#fff;

    border-radius:20px;

    padding:35px 30px;

    text-align:center;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.35s;

    border:1px solid #f2f2f2;

    display:flex;

    flex-direction:column;

    min-height:320px;

}

.service-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(198,40,40,.18);

}

.service-card i{

    width:90px;

    height:90px;

    background:#C62828;

    color:#fff;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin:0 auto 25px;

}

.service-card h3{

    color:#B22222;

    margin-bottom:15px;

    font-size:24px;

}

.service-card p{

    color:#666;

    margin-bottom:30px;

    min-height:120px;

}

.service-card a{

    display:inline-block;

    padding:12px 28px;

    background:#C62828;

    color:#fff;

    border-radius:30px;

    transition:.3s;

    font-weight:600;

    margin-top:auto;
    align-self:center;

}

.service-card a:hover{

    background:#9B111E;

}

/* ===========================================
   TERIMA KASIH
=========================================== */

.thanks{

    background:linear-gradient(135deg,#9B111E,#D32F2F);

    color:white;

    text-align:center;

}

.thanks h2{

    font-size:42px;

    margin-bottom:20px;

}

.thanks p{

    max-width:800px;

    margin:auto;

    font-size:20px;

    line-height:1.9;

}

/* ===========================================
   PORTAL
=========================================== */

.portal{

    background:#f8f9fa;

}

.portal-grid{

    display:grid;

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

    gap:30px;

}

.portal-card{

    background:white;

    border-radius:20px;

    padding:40px;

    text-align:center;

    transition:.35s;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

}

.portal-card:hover{

    transform:translateY(-10px);

    background:#C62828;

}

.portal-card i{

    font-size:52px;

    color:#C62828;

    margin-bottom:20px;

    transition:.3s;

}

.portal-card h3{

    color:#333;

    transition:.3s;

}

.portal-card:hover i,

.portal-card:hover h3{

    color:white;

}

/* ===========================================
   RESPONSIVE
=========================================== */

@media(max-width:992px){

.service-grid{

grid-template-columns:1fr;

}

.portal-grid{

grid-template-columns:1fr;

}

.service-card p{

min-height:auto;

}

}

/* ===========================================
   VIDEO
=========================================== */

.video {
    width: 100%;
    padding: 100px 0;

    background: #be2d2d;

    overflow: hidden;
}


/* CONTAINER */

.video .container {
    position: relative;

    width: 70%;
    max-width: 1100px;

    margin: 0 auto;

    padding: 60px 40px;

    background: #fff;

    border-radius: 35px;

    box-shadow: 0 20px 50px rgba(0,0,0,.08);

    text-align: center;

    overflow: hidden;
}


/* ===========================================
   ANIMATED BACKGROUND
=========================================== */

.video .container::before {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    top: -120px;
    left: -100px;

    border-radius: 50%;

    background: #b71c1c;

    opacity: .08;

    animation: floatingCircle 7s ease-in-out infinite;

}


/* CIRCLE 2 */

.video .container::after {

    content: "";

    position: absolute;

    width: 240px;
    height: 240px;

    bottom: -100px;
    right: -70px;

    border-radius: 50%;

    background: #e53935;

    opacity: .07;

    animation: floatingCircle2 9s ease-in-out infinite;

}


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

@keyframes floatingCircle {

    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(50px, 30px);
    }

    100% {
        transform: translate(0, 0);
    }

}


@keyframes floatingCircle2 {

    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-40px, -30px);
    }

    100% {
        transform: translate(0, 0);
    }

}


/* ===========================================
   TITLE
=========================================== */

.video .section-title {

    position: relative;

    z-index: 2;

    margin-bottom: 30px;

}

.video .section-title h2 {

    color: #b71c1c;

}


/* ===========================================
   YOUTUBE
=========================================== */

.video iframe {

    position: relative;

    z-index: 2;

    display: block;

    width: 65%;

    max-width: 750px;

    height: 420px;

    margin: 0 auto;

    border: none;

    border-radius: 18px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

}


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

@media (max-width: 768px) {

    .video {

        padding: 70px 0;

    }

    .video .container {

        width: 90%;

        padding: 40px 20px;

    }

    .video iframe {

        width: 100%;

        height: 230px;

    }

}
/* ===========================================
   KONTAK
=========================================== */

.kontak{

    background:#f8f9fa;

}

.contact-card{

    background:white;

    border-radius:20px;

    padding:40px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);


}

.contact-card div{

    display:flex;

    align-items:flex-start;

    gap:20px;

    margin-bottom:25px;

}

.contact-card div:last-child{

    margin-bottom:0;

}

.contact-card i{

    width:55px;

    height:55px;

    min-width:55px;

    border-radius:50%;

    background:#C62828;

    color:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:20px;

}

.contact-card span{

    color:#444;

    font-size:17px;

    line-height:1.8;

}

/* ===========================================
   FOOTER
=========================================== */

footer{
    background:#9B111E;
    color:white;
    text-align:center;
    padding:30px 20px;
    width:100%;

}

footer p{
    font-size:15px;
    letter-spacing:.5px;
}

/* ===========================================
   BACK TO TOP
=========================================== */

.back-to-top{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:#C62828;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.2);

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:999;

}

.back-to-top.show{

    opacity:1;

    visibility:visible;

}

.back-to-top:hover{

    background:#9B111E;

    transform:translateY(-5px);

}

/* ===========================================
   SCROLLBAR
=========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}

::-webkit-scrollbar-thumb{

    background:#C62828;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#9B111E;

}

/* ===========================================
   RESPONSIVE
=========================================== */

@media(max-width:768px){

.video iframe {
    width: 20%;
    height: 20px;
    display: block;
    margin: 0 auto;
    border-radius: 15px;
}

.contact-card{

padding:25px;

}

.contact-card div{

align-items:flex-start;

}

.contact-card span{

font-size:15px;

}

}

@media(max-width:576px){

.section-title h2{

font-size:30px;

}

.section-title p{

font-size:16px;

}

.hero-content h1{

font-size:42px;

}

.hero-content h2{

font-size:24px;

line-height:1.5;

}

.hero-content p{

font-size:16px;

}

.btn-primary{

padding:14px 28px;

}

.qr-card{

padding:20px;

}

.qr-card img{

width:180px;

}

}

/* ===============================
   CONTACT
================================== */

.contact{

    padding:80px 0;

    background:#fafafa;

}

.contact h2{

    text-align:center;

    margin-bottom:50px;

    color:#b71c1c;

}

.location-card,
.contact-card{

    background:#fff;

    padding:30px;

    border-radius:20px;

    margin-bottom:25px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.location-card h3{
    color:#c62828;
    margin-bottom:20px;
}


.contact-card h3{
    color:#c62828;
    margin-bottom:20px;
    text-align:center;
}

.map-link{

    display:block;

    text-decoration:none;

    color:#555;

    line-height:1.8;

    transition:.3s;

}

.map-link:hover{

    color:#c62828;

}

.map-link i{

    color:#c62828;

    margin-right:8px;

}

.jam-layanan{

    margin-top:15px;

    color:#b71c1c;

    font-weight:600;

}

.contact-list{

    list-style:none;

    padding:0;

}

.contact-list li{

    margin-bottom:18px;

}

.contact-list a{

    color:#444;

    text-decoration:none;

    font-size:17px;

    transition:.3s;

}

.contact-list a:hover{

    color:#c62828;

    padding-left:10px;

}

.contact-list i{

    width:35px;

    color:#c62828;

    font-size:22px;

}

/* ==========================
   SOCIAL MEDIA
========================== */

.social-wrapper{

    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:25px;

}

.social-item{

    width:150px;

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

    padding:20px;

    border-radius:15px;

    text-decoration:none;

    background:#fff;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:.3s;

}

.social-item:hover{

    transform:translateY(-6px);

}

.social-item i{

    font-size:38px;

    margin-bottom:10px;

}

.social-item span{

    color:#444;

    font-weight:600;

}

/* Warna Icon */

.fa-whatsapp{

    color:#25D366;

}

.fa-instagram{

    color:#E4405F;

}

.fa-facebook-f{

    color:#1877F2;

}

.fa-youtube{

    color:#FF0000;

}

.fa-globe{

    color:#0D6EFD;

}

.fa-envelope{

    color:#EA4335;

}

/* ===============================
   FOTO KANTOR BBPOM - HERO
================================== */

.office-box{

    width:100%;
    max-width:480px;

    border-radius:30px;

    overflow:hidden;

    box-shadow:0 20px 45px rgba(0,0,0,.20);

    position:relative;

}

.office-box img{

    width:100%;

    height:380px;

    object-fit:cover;

    display:block;

}
.office-box::after{

    content:"Balai Besar POM di Palembang";

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:18px 25px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.75),
        transparent
    );

    color:#fff;

    font-size:18px;

    font-weight:600;

}

/* ===============================
   PORTAL EDUKASI
================================== */

.portal{

    padding:100px 0;

    background:#f8f8f8;

}

.section-title{

    text-align:center;

    max-width:750px;

    margin:0 auto 60px;

}

.section-title h2{

    color:#b71c1c;

    font-size:32px;

    margin-bottom:15px;

}

.section-title p{

    color:#666;

    line-height:1.8;

    font-size:16px;

}


/* WRAPPER */

.portal-wrapper{

    display:grid;

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

    gap:25px;

}


/* CARD */

.portal-card{

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    min-height:300px;

    padding:30px;

    background:#ffffff;

    border-radius:20px;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

    border:1px solid transparent;

}

.portal-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 40px rgba(183,28,28,.15);

    border-color:#b71c1c;

}


/* ICON */

.portal-icon{

    width:60px;

    height:60px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:15px;

    background:#fff0f0;

    margin-bottom:25px;

}

.portal-icon i{

    font-size:27px;

    color:#b71c1c;

}


/* TEXT */

.portal-card h3{

    color:#333;

    font-size:20px;

    margin-bottom:15px;

}

.portal-card p{

    color:#666;

    font-size:14px;

    line-height:1.7;

    flex-grow:1;

}


/* LINK */

.portal-link{

    color:#b71c1c;

    font-weight:600;

    margin-top:20px;

}

.portal-link i{

    margin-left:5px;

    transition:.3s;

}

.portal-card:hover .portal-link i{

    margin-left:10px;

}


/* TABLET */

@media(max-width:992px){

    .portal-wrapper{

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

    }

}


/* MOBILE */

@media(max-width:576px){

    .portal{

        padding:70px 20px;

    }

    .portal-wrapper{

        grid-template-columns:1fr;

    }

    .section-title h2{

        font-size:25px;

    }

}
/* NORMAL */
.portal-card h3 {
    color: #b71c1c;
    transition: 0.3s ease;
}

.portal-card p {
    color: #666;
    transition: 0.3s ease;
}

.portal-link {
    color: #b71c1c;
    transition: 0.3s ease;
}

.portal-icon {
    color: #b71c1c;
    background: #fff;
    transition: 0.3s ease;
}


/* HOVER */
.portal-card:hover h3 {
    color: #ffffff;
}

.portal-card:hover p {
    color: #ffffff;
}

.portal-card:hover .portal-link {
    color: #ffffff;
}

.portal-card:hover .portal-icon {
    background: rgba(255, 255, 255, 0.15);
}

.portal-card:hover .portal-icon i {
    color: #ffffff;
}

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

.bpom-mobile {
    padding: 70px 8%;
    background: #fff;
}

/* .bpom-mobile-content {
    max-width: 1100px;
    margin: auto;

    padding: 45px 55px;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        #b71c1c,
        #d32f2f
    );

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

    gap: 40px;

    box-shadow: 0 15px 35px rgba(183, 28, 28, 0.18);
} */

/* .bpom-mobile-text {
    max-width: 650px;
} */

/* .bpom-label {
    display: inline-block;

    margin-bottom: 12px;

    color: rgba(255,255,255,.8);

    font-size: 14px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;
} */

.bpom-mobile h2 {
    margin-bottom: 12px;

    color: #fff;

    font-size: 32px;
}

.bpom-mobile p {
    margin-bottom: 25px;

    color: rgba(255,255,255,.9);

    line-height: 1.7;
}

.bpom-mobile-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 22px;

    border-radius: 30px;

    background: #fff;

    color: #b71c1c;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;
}

.bpom-mobile-link:hover {
    transform: translateX(5px);

    background: #f5f5f5;
}

/* .bpom-mobile-image {
    width: 250px;

    display: flex;
    justify-content: center;

    flex-shrink: 0;
}

.bpom-mobile-image img {
    width: 100%;

    max-height: 330px;

    object-fit: contain;

    border-radius: 18px;

    box-shadow: 0 15px 30px rgba(0,0,0,.2);
}
@media (max-width: 768px) {

    .bpom-mobile-content {
        flex-direction: column;
        text-align: center;
    }

    .bpom-mobile-image {
        width: 200px;
        order: -1;
    }

} */

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

.bpom-mobile {
    padding: 100px 8%;
    background: #ffffff;
}


/* HEADING */

.bpom-mobile-heading {
    max-width: 700px;
    margin: 0 auto 55px;

    text-align: center;
}

.bpom-mobile-heading span {
    display: inline-block;

    margin-bottom: 12px;

    color: #b71c1c;

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

    letter-spacing: 1.5px;
}

.bpom-mobile-heading h2 {
    margin-bottom: 15px;

    color: #333;

    font-size: 34px;
}

.bpom-mobile-heading h2 strong {
    color: #b71c1c;
}

.bpom-mobile-heading p {
    color: #777;

    line-height: 1.7;
}


/* MAIN BOX */

.bpom-mobile-box {

    max-width: 1100px;

    min-height: 450px;

    margin: auto;

    padding: 55px;

    display: flex;

    align-items: center;

    gap: 70px;

    position: relative;

    overflow: hidden;

    border-radius: 35px;

    background:
        linear-gradient(
            135deg,
            #b71c1c,
            #d32f2f
        );

    box-shadow:
        0 25px 60px rgba(183,28,28,.20);

}


/* DECORATION */

.bpom-mobile-box::before {

    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.08);

}

.bpom-mobile-box::after {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    left: -130px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);

}


/* POSTER */

.bpom-mobile-poster {

    width: 300px;

    flex-shrink: 0;

    position: relative;

    z-index: 2;

    display: flex;

    justify-content: center;

}


/* POSTER GLOW */

.poster-glow {

    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background: rgba(255,255,255,.15);

    filter: blur(30px);

    z-index: -1;

}


/* POSTER IMAGE */

.bpom-mobile-poster img {

    width: 230px;

    max-height: 360px;

    object-fit: contain;

    border-radius: 18px;

    box-shadow:
        0 20px 40px rgba(0,0,0,.25);

    transform: rotate(-3deg);

    transition: .4s ease;

}

.bpom-mobile-box:hover
.bpom-mobile-poster img {

    transform:
        rotate(0deg)
        translateY(-8px);

}


/* INFORMATION */

.bpom-mobile-info {

    max-width: 570px;

    position: relative;

    z-index: 2;

}

.bpom-mini-title {

    color: rgba(255,255,255,.75);

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

}

.bpom-mobile-info h3 {

    margin: 12px 0 15px;

    color: #fff;

    font-size: 32px;

    line-height: 1.25;

}

.bpom-mobile-info > p {

    color: rgba(255,255,255,.9);

    line-height: 1.7;

}


/* FEATURES */

.bpom-features {

    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 25px 0;

}

.bpom-features div {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #fff;

    font-size: 14px;

}

.bpom-features i {

    width: 30px;

    height: 30px;

    display: flex;

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

    border-radius: 50%;

    background: rgba(255,255,255,.15);

}


/* BUTTON */

.bpom-mobile-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 23px;

    border-radius: 30px;

    background: #fff;

    color: #b71c1c;

    text-decoration: none;

    font-weight: 600;

    transition: .3s ease;

}

.bpom-mobile-link:hover {

    transform: translateX(6px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.15);

}

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

@media screen and (max-width: 768px) {

    /* CONTAINER */
    .container {
        width: 90%;
    }


    /* JUDUL SECTION */
    .section-title h2 {
        font-size: 26px;
    }

    .section-title p {
        font-size: 14px;
    }


    /* PORTAL EDUKASI */
    .portal-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portal-card {
        min-height: auto;
        padding: 25px;
    }


    /* VIDEO */
    .video {
        padding: 60px 0;
    }

    .video .container {
        width: 90%;
        padding: 35px 15px;
        border-radius: 25px;
    }

    .video iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }


    /* BPOM MOBILE */
    .bpom-mobile {
        padding: 60px 0;
    }


    /* SECTION UMUM */
    section {
        padding-left: 15px;
        padding-right: 15px;
    }

}

@media (max-width: 768px) {

    .navbar {
        padding: 10px 0;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

}

/* ===========================================
   BPOM MOBILE - RESPONSIVE HP
=========================================== */

@media (max-width: 768px) {

    /* SECTION */
    .bpom-mobile {
        padding: 60px 20px;
    }


    /* JUDUL ATAS */
    .bpom-mobile-heading {
        width: 100%;
        margin-bottom: 35px;
    }

    .bpom-mobile-heading h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .bpom-mobile-heading p {
        font-size: 14px;
        line-height: 1.6;
    }


    /* BOX MERAH */
    .bpom-mobile-box {
        width: 100%;
        box-sizing: border-box;

        min-height: auto;

        padding: 40px 20px;

        display: flex;
        flex-direction: column;

        align-items: center;

        gap: 35px;

        text-align: center;

        border-radius: 25px;
    }


    /* POSTER */
    .bpom-mobile-poster {
        width: 100%;

        display: flex;
        justify-content: center;

        order: 1;
    }

    .bpom-mobile-poster img {
        width: 190px;
        max-height: 300px;
    }


    /* INFO */
    .bpom-mobile-info {
        width: 100%;
        max-width: 100%;

        order: 2;

        text-align: center;
    }


    /* JUDUL KECIL */
    .bpom-mini-title {
        font-size: 11px;
    }


    /* JUDUL UTAMA */
    .bpom-mobile-info h3 {
        font-size: 24px;
        line-height: 1.3;

        margin: 10px 0 15px;
    }


    /* DESKRIPSI */
    .bpom-mobile-info > p {
        font-size: 14px;
        line-height: 1.7;

        margin-bottom: 20px;
    }


    /* FITUR */
    .bpom-features {
        align-items: center;

        gap: 10px;

        margin: 20px 0;
    }

    .bpom-features div {
        justify-content: center;

        font-size: 13px;
    }


    /* TOMBOL */
    .bpom-mobile-link {
        font-size: 13px;

        padding: 12px 18px;
    }

}

