/* DEFAULT */

:root {
    --primary:     #D62B2B;
    --primary-dark:#B01C1C;
    --primary-light:#F9ECEC;
    --accent:      #F5C518;
    --dark:        #1A1A2E;
    --gray-soft:   #F5F5F5;
    --text-muted:  #6c757d;
    --radius-lg:   1rem;
    --shadow-card: 0 4px 24px rgba(0,0,0,.08);
    --blue-primary: rgb(10 40 127);
}

* { box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    color: #2c2c2c;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

/* DEFAULT */

.blue-color-primary {
    color: var(--blue-primary);
}

.btn-primary-custom {
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: .55rem 1.6rem;
    font-weight: 700;
    font-size: .9rem;
    transition: background .25s, transform .2s, box-shadow .2s;
}
.btn-primary-custom:hover {
    background: var(--blue-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(10, 34, 214, 0.35);
}

.section-label {
    display: inline-block;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--blue-primary);
    text-transform: uppercase;
    margin-bottom: .4rem;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--dark);
    line-height: 1.3;
}

@media (max-width: 576px) {
    .section-title { font-size: 1.35rem; }
}

.navbar-nav .nav-link {
    font-size: .9rem;
    color: #333;
    padding: .45rem .7rem;
    border-radius: 6px;
    transition: color .2s, background .2s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-brand .img-navbar-brand {
    height: 50px;
}

.btn-cta-navbar {
    background: var(--blue-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.btn-cta-navbar:hover {
    background: #a82123;
    color: #fff;
    transform: translateY(-1px);
}

.btn-cta-navbar:active {
    transform: translateY(0);
}

/* Hide label on very small screens, keep icon only */
@media (max-width: 400px) {
    .btn-cta-navbar span {
        display: none;
    }
}

.footer-heading {
    font-size: .8rem;
    letter-spacing: .08em;
    color: #fff;
    opacity: .9;
}

.footer-links {
    font-size: .85rem;
}
.footer-links li { margin-bottom: .4rem; }
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

@media (max-width: 576px) {
    .footer-main { text-align: center; }
    .footer-main .d-flex.gap-2.mt-3 { justify-content: center; }
}

.cta-section {
    background-color: var(--blue-primary);
}

.py-lg-6 { padding-top: 4rem; padding-bottom: 4rem; }

.features-section { background: var(--gray-soft); }

.feature-card {
    transition: transform .3s, box-shadow .3s;
    border: 1px solid rgba(0,0,0,.06);
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12) !important;
}

.feature-img {
    transition: transform .5s ease;
}
.feature-card:hover .feature-img {
    transform: scale(1.05);
}

.hero-section {
    background: linear-gradient(135deg, #fff9f9 0%, #fff 60%, #fff3f3 100%);
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.min-vh-hero { min-height: calc(100vh - 70px); }

.hero-heading {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1.25;
    color: var(--blue-primary);
}

.text-highlight {
    color: var(--primary);
    position: relative;
}

.hero-hightlight {
    color: var(--blue-primary);
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--blue-primary);
    line-height: 1.75;
    max-width: 480px;
}

.hero-img-wrap {
    max-width: 440px;
    width: 100%;
}


.hero-badge {
    bottom: 30px;
    left: -10px;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    animation: floatY 3s ease-in-out infinite;
}

.hero-tag {
    top: 40px;
    right: -10px;
    z-index: 2;
    font-family: 'Poppins', sans-serif;
    animation: floatY 3.5s ease-in-out infinite reverse;
}

.hero-dots {
    position: absolute;
    top: 80px;
    left: 30px;
    display: grid;
    grid-template-columns: repeat(5, 16px);
    gap: 10px;
    opacity: .25;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    animation: fadeIn 1.5s var(--d, 0s) both;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0); }
    to   { opacity: 1; transform: scale(1); }
}

@media (max-width: 767px) {
    .min-vh-hero { min-height: auto; }
    .hero-circle { width: 240px; height: 240px; }
    .hero-heading { font-size: 1.55rem; }
}

.partners-section { border-top: 1px solid #f0f0f0; }

.partners-track-wrap::before,
.partners-track-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}
.partners-track-wrap::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.partners-track-wrap::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

.partners-track {
    width: max-content;
    animation: scroll-partners 24s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }

.partner-logo {
    transition: transform .25s, box-shadow .25s;
}
.partner-logo:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0,0,0,.15) !important;
}

@keyframes scroll-partners {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.program-card {
    transition: transform .3s, box-shadow .3s;
    border: 2px solid var(--blue-primary);
}
.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.12) !important;
}
.program-img {
    transition: transform .5s ease;
}
.program-card:hover .program-img {
    transform: scale(1.06);
}

.stat-item {
    padding: 1rem;
    transition: transform .3s;
}
.stat-item:hover { transform: translateY(-4px); }

.testi-card {
    border: 1px solid rgba(0,0,0,.06);
    transition: box-shadow .3s;
}
.testi-card:hover { box-shadow: 0 10px 32px rgba(214,43,43,.12) !important; }

.testi-avatar {
    border: 3px solid var(--primary);
    object-fit: cover;
}

.testi-text {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    font-style: italic;
}

.testi-ctrl {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}
.testi-ctrl:hover { background: var(--primary-light); }
.carousel-control-prev.testi-ctrl { left: -10px; }
.carousel-control-next.testi-ctrl { right: -10px; }

@media (max-width: 576px) {
    .testi-ctrl { display: none; }
}


/* ── Pagination ─────────────────────────────── */
.pagination-features {
    align-items: center;
}

.pagination-features .page-link {
    border: none;
    border-radius: 8px !important;
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    background: transparent;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .5rem;
    transition: background .15s, color .15s;
    line-height: 1;
}

/* Number hover */
.pagination-features .page-number:hover {
    background: rgba(var(--primary-rgb), .08);
    color: var(--blue-primary);
}

/* Active page */
.pagination-features .page-number.active {
    background: var(--blue-primary);
    color: #fff;
    pointer-events: none;
}

/* Chevron nav buttons */
.pagination-features .page-nav {
    background: #f4f4f4;
    color: #444;
}

.pagination-features .page-nav:hover {
    background: #e8e8e8;
    color: #111;
}

.pagination-features .page-item.disabled .page-nav {
    opacity: .35;
    pointer-events: none;
}

/* Ellipsis */
.pagination-features .page-ellipsis {
    border: none;
    background: transparent;
    color: #aaa;
    min-width: 24px;
    padding: 0 .25rem;
    pointer-events: none;
    font-size: .85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.img-footer-brand {
    width: 200px;
}

.footer-contact-us {
    width:28px;
    height:28px;
    border:1px solid rgba(243, 213, 17, 0.3);
}

.footer-contact-us .footer-contact-us-icon {
    color: #FFFFFF;
    font-size:.75rem;
}


/* ── Pantau Button ──────────────────────────── */
.btn-pantau {
    font-size: .82rem;
    font-weight: 600;
    padding: .45rem 1.1rem;
    border-radius: 6px;
    border: none;
    display: inline-flex;
    align-items: center;
    transition: opacity .2s, transform .15s;
    text-decoration: none;
}
.btn-pantau:hover  { opacity: .85; transform: translateY(-1px); }
.btn-pantau:active { transform: translateY(0); }

/* On white cards → red button */
.btn-pantau-primary {
    background: var(--primary);
    color: #fff;
}

/* On featured (red) cards → white button */
.btn-pantau-light {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .4) !important;
}
.btn-pantau-light:hover {
    background: rgba(255, 255, 255, .35);
    color: #fff;
}

/* ── Modal ──────────────────────────────────── */
.modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, .15);
}

/* ── Timeline ───────────────────────────────── */
.tl-item:last-child .pb-4 {
    padding-bottom: 0 !important;
}
