/* Custom Badge */
/* Hero Title Styling - Font Elegan */
/* Tombol Secondary dengan teks gold di semua state */




/* === GOOGLE FONTS - SATU IMPOR UNTUK SEMUA === */

<style>
    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


/* === SECTION TITLE dengan BOLD 700 === */
/* === SECTION TITLE dengan BOLD 700 dan RESPONSIVE === */
.section-title {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(32px, 4vw, 48px) !important;
    font-weight: 700 !important;
    color: #1A1A2E !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}

.section-title em {
    font-family: 'Playfair Display', serif !important;
    font-style: italic !important;
    font-weight: 700 !important;
    color: #FFB800 !important;
   
}

/* Untuk memastikan tidak ada style lain yang menimpa */
h2.section-title,
.section-title em {
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
}
:root {
    --navy: #0B1340;
    --gold: #D4A843;
    --white: #FFFFFF;
}

/* === HERO SECTION === */
.hero-section {
    background-color: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212, 168, 67, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(46, 158, 107, 0.06) 0%, transparent 50%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 168, 67, 0.12);
    border: 1px solid rgba(212, 168, 67, 0.3);
    color: var(--gold);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-badge::before {
    content: '✦';
    font-size: 20px;
}

/* Hero Title - Playfair Display (Final) */
.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5.5vw, 72px);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-line1 {
    font-family: 'Playfair Display', serif;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-size: clamp(2.5rem, 5vw, 4rem);
    display: block;
    font-weight: 700;
    /* Bold 700 */
}

.hero-line2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
.hero-title em {
    font-style: italic;
    color: var(--gold);
    display: block;
}

.hero-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(212, 167, 4, 0.927);
    max-width: 440px;
    margin-bottom: 44px;
}

/* Style untuk kata Berilmu & Berakhlak (Medium 500 Italic) */
.italic-medium {
    font-family: 'Playfair Display', serif;
    font-weight: 500 !important;
    font-style: italic !important;
    background: linear-gradient(135deg, #FFB800, #FFD966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
    display: inline-block;
}

/* Gradient gold (jika diperlukan) */
.gradient-gold {
    background: linear-gradient(135deg, #FFB800, #FFD966);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
    display: inline-block;
}


.hero-line2 .text-white {
    font-family: 'Playfair Display', serif;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    /* Bold 700 */
}

/* Hero Text */
.hero-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 440px;
    margin-bottom: 44px;
}

/* Class fw-black (jika masih diperlukan) */
.fw-black {
    font-weight: 900 !important;
    font-family: 'Playfair Display', serif;
}

.btn-hero-secondary {
    background: transparent;
    color: #FFB800 !important;
    /* Teks gold */
    border: 2px solid #FFB800;
    backdrop-filter: blur(5px);
}

.btn-hero-secondary i {
    color: #FFB800 !important;
    /* Ikon gold */
}

.btn-hero-secondary:hover {
    background: rgba(255, 184, 0, 0.15);
    /* Background gold transparan saat hover */
    border-color: #FFB800;
    transform: translateY(-5px);
    color: #FFB800 !important;
    /* Tetap gold saat hover */
}

.btn-hero-secondary:hover i {
    color: #FFB800 !important;
    /* Ikon tetap gold */
}


.badge-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.badge-custom:hover::before {
    left: 100%;
}




/* Stat Items */
.stat-item {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 184, 0, 0.5), transparent);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFB800;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero Buttons */
.btn-hero {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-hero-primary {
    background: #FFB800;
    color: #1C0770;
    box-shadow: 0 10px 20px rgba(255, 184, 0, 0.3);
}

.btn-hero-primary:hover {
    background: #FFC933;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 184, 0, 0.4);
    color: #1C0770;
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 184, 0, 0.5);
    backdrop-filter: blur(5px);
}

.btn-hero-secondary:hover {
    background: rgba(255, 184, 0, 0.1);
    border-color: #FFB800;
    transform: translateY(-5px);
    color: white;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    width: 280px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px) rotate(0deg) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.card-1 {
    top: 0;
    right: 0;
    transform: rotate(5deg);
    z-index: 3;
}

.card-2 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(-3deg);
    z-index: 2;
}

.card-3 {
    bottom: 0;
    right: 0;
    transform: rotate(2deg);
    z-index: 1;
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 7, 112, 0.1);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 184, 0, 0.03);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

/* Floating Lines (sama dengan footer) */
.floating-line {
    position: absolute;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 184, 0, 0.3), transparent);
    animation: slide 15s linear infinite;
}

@keyframes slide {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .stat-item:not(:last-child)::after {
        height: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .btn-hero {
        width: 100%;
    }

    .badge-custom {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
}

</style>