/* ==========================================================================
   SMKS DOA BANGSA - Oakridge-Inspired Design System
   Modern, Prestigious, Clean, and Highly Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-navy: #0B2545;
    --navy-light: #133E87;
    --navy-dark: #071930;
    --accent-gold: #E59500;
    --gold-hover: #D97706;
    --gold-light: #FEF3C7;
    --gold-subtle: #FFFBEB;
    
    --bg-cream: #FDFBF7;
    --bg-warm: #F8F5EE;
    --bg-card: #FFFFFF;
    
    --text-primary: #111827;
    --text-muted: #526071;
    --text-light: #8492A6;
    
    --border-light: #ECE7DE;
    --border-color: #E2DBD0;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --font-handwriting: 'Caveat', cursive;

    --shadow-soft: 0 4px 20px -2px rgba(11, 37, 69, 0.05);
    --shadow-hover: 0 20px 30px -10px rgba(11, 37, 69, 0.12);
    --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.04), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* Global Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

/* Top Notification Bar */
.top-bar {
    background-color: var(--primary-navy);
    color: #E2E8F0;
    font-size: 0.83rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar a {
    color: #CBD5E1;
}

.top-bar a:hover {
    color: var(--accent-gold);
}

.top-btn-quote {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF !important;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.78rem;
    margin-left: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-btn-quote:hover {
    background: var(--accent-gold);
    color: #FFFFFF !important;
    border-color: var(--accent-gold);
}

/* Google Translate Widget Styling */
#google_translate_element {
    display: inline-block;
}

.goog-te-gadget {
    font-family: var(--font-body) !important;
    color: #CBD5E1 !important;
    font-size: 0.8rem !important;
}

.goog-te-gadget .goog-te-combo {
    margin: 0 !important;
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    background: #0f3057 !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    outline: none !important;
}

/* Navbar */
.navbar-custom {
    background: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    padding: 14px 0;
    transition: all 0.3s ease;
}

.navbar-custom.sticky-top {
    top: 0;
    z-index: 1030;
}

.navbar-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.01em;
}

.brand-subtitle {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.nav-link-custom {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: var(--primary-navy) !important;
    background: var(--bg-warm);
}

.btn-cta-gold {
    background: var(--accent-gold);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 30px;
    border: none;
    box-shadow: 0 4px 14px rgba(229, 149, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cta-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(229, 149, 0, 0.45);
}

.btn-cta-outline {
    background: #FFFFFF;
    color: var(--primary-navy) !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 22px;
    border-radius: 30px;
    border: 1.5px solid var(--border-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    border-color: var(--primary-navy);
    background: var(--bg-warm);
}

.btn-cta-navy {
    background: var(--primary-navy);
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 18px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}

.btn-cta-navy:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    background: var(--bg-cream);
    padding: 60px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #718096;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.08;
    color: var(--primary-navy);
    margin-bottom: 16px;
}

.hero-title span.text-gold {
    color: var(--accent-gold);
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Handwritten Badge on Hero Image */
.handwriting-badge {
    font-family: var(--font-handwriting);
    font-size: 1.35rem;
    color: var(--primary-navy);
    line-height: 1.25;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 22px;
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    position: absolute;
    top: 25px;
    left: -20px;
    transform: rotate(-6deg);
    border: 1px dashed var(--accent-gold);
    z-index: 5;
    pointer-events: none;
}

.hero-image-wrap {
    position: relative;
    border-radius: 32px;
    overflow: visible;
}

.hero-image-main {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 20px 40px -15px rgba(11, 37, 69, 0.2);
}

.hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.trust-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary-navy);
    transition: all 0.3s ease;
}

.trust-badge-item:hover .trust-badge-icon {
    background: var(--accent-gold);
    color: #FFFFFF;
    transform: translateY(-3px);
}

.trust-badge-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Our Programs / Kompetensi Keahlian */
.section-programs {
    padding: 70px 0;
    background: #FFFFFF;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 35px;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 0.96rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.program-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}

.program-img-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.program-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.program-card:hover .program-img-box img {
    transform: scale(1.06);
}

.program-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary-navy);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.03em;
}

.program-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.program-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.program-action-link {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--primary-navy);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.program-action-link:hover {
    color: var(--accent-gold);
}

.btn-arrow-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    transition: all 0.25s ease;
}

.program-card:hover .btn-arrow-circle {
    background: var(--accent-gold);
    color: #FFFFFF;
}

/* Where Learning Meets Life / Sambutan & Profil */
.section-features {
    padding: 80px 0;
    background: var(--bg-cream);
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--primary-navy);
    flex-shrink: 0;
    border: 1px solid var(--border-light);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
    color: var(--primary-navy);
}

.feature-desc {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.campus-img-frame {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    height: 420px;
}

.campus-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Statistik Counter Bar */
.stats-bar-wrapper {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 30px 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent-gold);
}

.stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
}

.stat-special-box {
    background: linear-gradient(135deg, var(--gold-subtle) 0%, var(--gold-light) 100%);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #FDE68A;
}

/* PPDB Banner (Admissions Open) */
.section-ppdb-banner {
    padding: 50px 0;
}

.ppdb-banner-box {
    background: linear-gradient(135deg, #0B2545 0%, #173866 100%);
    border-radius: var(--radius-xl);
    padding: 50px 60px;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.ppdb-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #FBBF24;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.ppdb-banner-title {
    color: #FFFFFF;
    font-size: 2.25rem;
    max-width: 650px;
    margin-bottom: 12px;
}

.ppdb-banner-desc {
    color: #CBD5E1;
    font-size: 1.05rem;
    max-width: 580px;
    margin-bottom: 24px;
}

/* Life at SMKS Doa Bangsa / Galeri */
.section-life {
    padding: 70px 0;
    background: #FFFFFF;
}

.life-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    transition: all 0.3s ease;
}

.life-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.life-thumb {
    height: 180px;
    overflow: hidden;
    position: relative;
}

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

.life-card:hover .life-thumb img {
    transform: scale(1.08);
}

.life-title {
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary-navy);
}

/* Prestasi Cards */
.prestasi-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.prestasi-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.prestasi-badge-rank {
    background: #FEF3C7;
    color: #92400E;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 12px;
}

/* Testimonials / What Parents & Alumni Say */
.section-testimonials {
    padding: 75px 0;
    background: var(--bg-cream);
}

.testimonial-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars-rating {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 14px;
}

.testimonial-quote {
    font-size: 0.96rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 24px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-gold);
}

.author-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin: 0;
}

.author-role {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
}

/* Mitra Industri DUDI */
.section-mitra {
    padding: 60px 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.mitra-logo-box {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: all 0.3s ease;
    padding: 10px;
}

.mitra-logo-box:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.mitra-logo-box img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
}

/* Kontak Direct Form */
.section-contact {
    padding: 70px 0;
    background: var(--bg-cream);
}

.contact-card-box {
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
}

/* Footer (Oakridge style) */
.footer-main {
    background: #071930;
    color: #94A3B8;
    padding: 70px 0 30px 0;
    font-size: 0.9rem;
}

.footer-brand-title {
    color: #FFFFFF;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.footer-brand-tagline {
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col-title {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.82rem;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.6rem;
    }
    .hero-trust-badges {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-bar-wrapper {
        margin-top: 20px;
        padding: 24px 20px;
    }
    .ppdb-banner-box {
        padding: 35px 25px;
    }
    .hero-image-main {
        height: 360px;
        margin-top: 30px;
    }
    .handwriting-badge {
        left: 10px;
        top: -15px;
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 2.1rem;
    }
    .hero-lead {
        font-size: 1rem;
    }
    .hero-trust-badges {
        grid-template-columns: 1fr;
    }
    .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

