/* ==========================================================================
   THEME STYLE: PPDB PESANTREN PREMIUM (DARUS SYIFA) & MODAL SYSTEM
   Colors: Emerald Green, Metallic Gold, Ivory White
   Typography: Cinzel, Amiri, Plus Jakarta Sans
   ========================================================================== */

/* --- 1. BASE VARIABLES & RESET --- */
:root {
    /* Color Palette */
    --emerald-darkest: #061F17;
    --emerald-deep: #0B2F24;
    --emerald-medium: #134B3B;
    --emerald-light: #1C6B54;
    --emerald-accent: #2E8E73;
    
    --gold-metallic: #D4AF37;
    --gold-accent: #C5A028;
    --gold-light: #F3E5AB;
    --gold-glow: rgba(212, 175, 55, 0.4);
    
    --ivory-white: #FCFBF7;
    --ivory-dark: #F4F1EA;
    --white: #FFFFFF;
    
    --text-dark: #2A363B;
    --text-muted: #5E696D;
    
    /* Fonts */
    --font-heading: 'Cinzel', serif;
    --font-arabic: 'Amiri', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--ivory-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 2. GLOBAL UTILITIES & COMPONENTS --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Section Common Headers */
.section-badge-center {
    font-family: var(--font-heading);
    color: var(--gold-accent);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 8px;
    display: block;
}

.section-title-center {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--emerald-deep);
    text-align: center;
    font-weight: 700;
    line-height: 1.3;
}

.title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold-metallic), transparent);
    margin: 16px auto 32px auto;
    position: relative;
}

.title-underline::after {
    content: "✦";
    color: var(--gold-metallic);
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ivory-white);
    padding: 0 8px;
    font-size: 0.8rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -16px auto 48px auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-metallic) 50%, var(--gold-accent) 100%);
    color: var(--emerald-darkest);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 40%, var(--gold-metallic) 100%);
}

.btn-emerald {
    background-color: var(--emerald-medium);
    color: var(--ivory-white);
}

.btn-emerald:hover {
    background-color: var(--emerald-light);
    transform: translateY(-2px);
}

.btn-outline-emerald {
    background-color: transparent;
    border: 2px solid var(--emerald-medium);
    color: var(--emerald-medium);
}

.btn-outline-emerald:hover {
    background-color: var(--emerald-medium);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--gold-metallic);
    color: var(--gold-metallic);
}

.btn-outline:hover {
    background-color: var(--gold-metallic);
    color: var(--emerald-darkest);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-full-width {
    width: 100%;
    text-align: center;
}

.btn-arrow {
    margin-left: 8px;
    transition: var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* --- 3. HEADER & NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(6, 31, 23, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-gold-seal {
    width: 44px;
    height: 44px;
    position: relative;
}

.gold-seal-svg {
    width: 100%;
    height: 100%;
    animation: slow-spin 30s linear infinite;
}

@keyframes slow-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.pesantren-title {
    font-size: 0.65rem;
    letter-spacing: 2px;
    color: var(--gold-light);
    font-weight: 600;
}

.pesantren-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
    background: linear-gradient(to right, var(--white) 30%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold-metallic);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--gold-metallic);
}

/* Header Call to Action (Tombol Masuk & Daftar) */
.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-header .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-header:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-primary-gold {
    background: linear-gradient(135deg, var(--gold-metallic) 0%, #AA7C11 100%);
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px var(--gold-glow);
}

.btn-primary-gold:hover {
    background: linear-gradient(135deg, #E5C158 0%, #C4921B 100%);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-metallic) !important;
    border: 1.5px solid var(--gold-metallic);
}

.btn-outline-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light) !important;
    border-color: var(--gold-light);
    transform: translateY(-2px);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--gold-metallic);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* --- 4. MOBILE DRAWER SIDEBAR --- */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background-color: var(--emerald-darkest);
    z-index: 1002;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 2px solid var(--gold-metallic);
    transition: var(--transition-smooth);
}

.mobile-drawer.active {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.drawer-close {
    font-size: 2rem;
    color: var(--gold-metallic);
    background: transparent;
    border: none;
    cursor: pointer;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--ivory-white);
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.drawer-link:hover {
    color: var(--gold-metallic);
    padding-left: 8px;
}

/* --- 5. HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 120px;
    padding-bottom: 160px;
    background-color: var(--emerald-darkest);
    background: radial-gradient(circle at top, var(--emerald-medium) 0%, var(--emerald-darkest) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg-ornaments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-pattern-svg {
    opacity: 0.8;
}

.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--emerald-darkest) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    color: var(--white);
}

.arabic-tagline {
    font-family: var(--font-arabic);
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 16px;
    opacity: 0.95;
    letter-spacing: 1px;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-metallic);
    color: var(--gold-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.25;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--ivory-white);
    text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(252, 251, 247, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Floating Quick Stats Widget */
.hero-stats-overlay {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card-mini {
    background: rgba(11, 47, 36, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
    color: var(--white);
}

.stat-card-mini:hover {
    transform: translateX(-5px);
    border-color: var(--gold-metallic);
    box-shadow: 0 15px 35px rgba(212,175,55,0.15);
}

.mini-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50px;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-metallic);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-stat-info {
    display: flex;
    flex-direction: column;
}

.mini-stat-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.1;
}

.mini-stat-num-static {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1.1;
}

.mini-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Curved Separator */
.hero-curved-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 5;
    transform: rotate(180deg);
}

.hero-curved-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* --- 6. PROFIL & KEUNGGULAN --- */
.profile-section {
    padding: 100px 0;
    background-color: var(--ivory-white);
    position: relative;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

.profile-intro {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.profile-quote {
    position: relative;
    padding: 32px;
    background-color: var(--white);
    border-left: 4px solid var(--gold-metallic);
    border-radius: 0 12px 12px 0;
    box-shadow: 0 10px 30px rgba(11, 47, 36, 0.04);
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--emerald-deep);
    line-height: 1.6;
    margin-bottom: 12px;
}

.quote-author {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold-accent);
    letter-spacing: 0.5px;
}

.profile-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.excellence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.excellence-card {
    background-color: var(--white);
    border: 1px solid rgba(19, 75, 59, 0.08);
    border-radius: 8px;
    padding: 32px 24px;
    box-shadow: 0 8px 24px rgba(11, 47, 36, 0.03);
    transition: var(--transition-smooth);
}

.excellence-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-metallic);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.12);
}

.ex-icon {
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(19, 75, 59, 0.04);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-metallic);
    transition: var(--transition-smooth);
}

.excellence-card:hover .ex-icon {
    background-color: var(--emerald-medium);
    color: var(--gold-light);
}

.ex-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
}

.ex-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- 7. PILIHAN UNIT --- */
.units-section {
    padding: 100px 0;
    background-color: var(--ivory-dark);
}

.units-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.unit-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 47, 36, 0.05);
    border: 1px solid rgba(11, 47, 36, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.unit-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-metallic);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.unit-banner {
    height: 160px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-female {
    background: linear-gradient(135deg, var(--emerald-medium) 0%, var(--emerald-darkest) 100%);
}

.card-male {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--emerald-deep) 100%);
}

.card-female-high {
    background: linear-gradient(135deg, var(--emerald-light) 0%, var(--emerald-darkest) 100%);
}

.card-male-high {
    background: linear-gradient(135deg, var(--gold-metallic) 0%, var(--emerald-medium) 100%);
}

.unit-banner::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.06;
    background-image: radial-gradient(var(--gold-metallic) 1px, transparent 0);
    background-size: 12px 12px;
}

.unit-gender-tag {
    position: absolute;
    bottom: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unit-gender-tag.female {
    background-color: rgba(255, 200, 200, 0.95);
    color: #8b0000;
}

.unit-gender-tag.male {
    background-color: rgba(200, 230, 255, 0.95);
    color: #004b87;
}

.unit-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.unit-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
    line-height: 1.3;
}

.unit-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
    flex-grow: 1;
}

.unit-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.unit-features li {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.unit-features li svg {
    color: var(--gold-metallic);
    flex-shrink: 0;
}

.unit-action {
    margin-top: auto;
}

.unit-action .btn {
    width: 100%;
}

/* --- 8. STATISTIK PPDB --- */
.stats-section {
    padding: 80px 0;
    background-color: var(--emerald-deep);
    background: linear-gradient(135deg, var(--emerald-darkest) 0%, var(--emerald-medium) 100%);
    position: relative;
    overflow: hidden;
    color: var(--white);
}

.stats-bg-ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    transform: translate(-50%, -50%);
    opacity: 0.03;
    border: 1px solid var(--gold-metallic);
    border-radius: 50%;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--gold-metallic);
    line-height: 1;
}

.stat-plus, .stat-percent {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-metallic);
}

.stat-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--ivory-white);
    margin: 12px 0 8px 0;
    text-transform: uppercase;
}

.stat-details {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 220px;
    margin: 0 auto;
}

/* --- 9. ALUR PENDAFTARAN --- */
.steps-section {
    padding: 100px 0;
    background-color: var(--ivory-white);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
}

.steps-line {
    position: absolute;
    top: 40px;
    left: 12.5%;
    width: 75%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-metallic) 50%, rgba(19, 75, 59, 0.1) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    z-index: 1;
    transition: background-position 1.5s ease;
}

.step-card {
    background-color: var(--white);
    border: 1px solid rgba(19, 75, 59, 0.06);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(11, 47, 36, 0.02);
    transition: var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-metallic);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.15);
}

.step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: var(--ivory-white);
    border: 2px solid rgba(19, 75, 59, 0.15);
    color: var(--emerald-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.step-card:hover .step-badge {
    background-color: var(--emerald-medium);
    border-color: var(--gold-metallic);
    color: var(--gold-light);
    box-shadow: 0 0 15px var(--gold-glow);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-badge-mini {
    display: inline-block;
    background-color: var(--ivory-dark);
    color: var(--emerald-medium);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
}

/* --- 10. JADWAL PPDB (TIMELINE) --- */
.schedule-section {
    padding: 100px 0;
    background-color: var(--ivory-dark);
}

.schedule-timeline {
    max-width: 900px;
    margin: 60px auto 0 auto;
    position: relative;
    padding-left: 32px;
}

.schedule-timeline::after {
    content: "";
    position: absolute;
    top: 0;
    left: 8px;
    width: 2px;
    height: 100%;
    background-color: rgba(19, 75, 59, 0.15);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -140px;
    top: 4px;
    width: 100px;
    text-align: right;
    display: flex;
    flex-direction: column;
}

.t-month {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--emerald-deep);
    letter-spacing: 0.5px;
}

.t-year {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--white);
    border: 3px solid rgba(19, 75, 59, 0.3);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item.active-gelombang::before {
    border-color: var(--gold-metallic);
    background-color: var(--emerald-medium);
    box-shadow: 0 0 10px var(--gold-glow);
}

.timeline-content-card {
    background-color: var(--white);
    border: 1px solid rgba(19, 75, 59, 0.06);
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 6px 24px rgba(11, 47, 36, 0.02);
    transition: var(--transition-smooth);
}

.timeline-item.active-gelombang .timeline-content-card {
    border-left: 4px solid var(--gold-metallic);
    box-shadow: 0 10px 30px rgba(11, 47, 36, 0.06);
}

.timeline-badge-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.status-open {
    background-color: rgba(46, 142, 115, 0.12);
    color: var(--emerald-light);
}

.status-locked {
    background-color: #f1f1f1;
    color: #888888;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-meta {
    list-style: none;
    display: flex;
    gap: 32px;
    border-top: 1px solid #f1f1f1;
    padding-top: 16px;
    flex-wrap: wrap;
}

.timeline-meta li {
    font-size: 0.8rem;
    color: var(--text-dark);
}

.timeline-meta li strong {
    color: var(--emerald-medium);
}

/* --- 11. TESTIMONIAL SLIDER --- */
.testimonial-section {
    padding: 100px 0;
    background-color: var(--ivory-white);
}

.testimonial-slider-wrapper {
    max-width: 800px;
    margin: 50px auto 0 auto;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 40px;
    background-color: var(--white);
    border-radius: 12px;
    border: 1px solid rgba(19, 75, 59, 0.05);
    box-shadow: 0 15px 40px rgba(11, 47, 36, 0.03);
    text-align: center;
    position: relative;
}

.testimonial-slide::before {
    content: "“";
    position: absolute;
    top: -20px;
    left: 40px;
    font-family: var(--font-heading);
    font-size: 8rem;
    color: rgba(212, 175, 55, 0.08);
    line-height: 1;
}

.testi-stars {
    color: var(--gold-metallic);
    font-size: 1.1rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.testi-text {
    font-size: 1.15rem;
    color: var(--emerald-deep);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 28px;
    font-weight: 300;
}

.testi-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.testi-avatar-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: var(--emerald-medium);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--gold-metallic);
}

.testi-info {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.testi-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--emerald-deep);
}

.testi-role {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50px;
    background-color: rgba(19, 75, 59, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background-color: var(--gold-metallic);
    transform: scale(1.25);
}

/* --- 12. BERITA & INFORMASI --- */
.news-section {
    padding: 100px 0;
    background-color: var(--ivory-dark);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.news-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(11, 47, 36, 0.03);
    border: 1px solid rgba(19, 75, 59, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-metallic);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.12);
}

.news-img-placeholder {
    height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.n-img-1 {
    background: linear-gradient(135deg, var(--emerald-medium) 0%, var(--emerald-light) 100%);
}

.n-img-2 {
    background: linear-gradient(135deg, var(--gold-accent) 0%, var(--gold-light) 100%);
}

.n-img-3 {
    background: linear-gradient(135deg, var(--emerald-darkest) 0%, var(--emerald-medium) 100%);
}

.news-img-placeholder::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}

.news-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--emerald-deep);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.news-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a:hover {
    color: var(--gold-accent);
}

.news-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-readmore {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gold-accent);
    display: inline-flex;
    align-items: center;
}

.news-readmore:hover {
    color: var(--emerald-medium);
    padding-left: 4px;
}

/* --- 13. FORM PENDAFTARAN --- */
.registration-form-section {
    padding: 100px 0;
    background-color: var(--emerald-darkest);
    background: radial-gradient(circle at center, var(--emerald-medium) 0%, var(--emerald-darkest) 100%);
    color: var(--white);
    position: relative;
}

.registration-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.form-info-panel {
    display: flex;
    flex-direction: column;
}

.arabic-quote {
    font-family: var(--font-arabic);
    font-size: 2.2rem;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.form-panel-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.form-panel-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.req-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 28px;
}

.req-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.req-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.req-list li {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 10px;
}

.req-list li svg {
    color: var(--gold-metallic);
}

.form-card {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: var(--text-dark);
}

.form-card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 8px;
}

.form-card-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="date"],
select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(19, 75, 59, 0.15);
    background-color: var(--ivory-white);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus {
    outline: none;
    border-color: var(--gold-metallic);
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
}

/* Custom Checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    font-size: 0.78rem;
    text-transform: none;
    color: var(--text-muted);
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 1px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: var(--ivory-white);
    border: 1px solid rgba(19, 75, 59, 0.2);
    border-radius: 3px;
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--gold-metallic);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--emerald-medium);
    border-color: var(--emerald-medium);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 6px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* --- 14. KONTAK & LOKASI --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--ivory-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    margin-top: 50px;
    align-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background-color: rgba(19, 75, 59, 0.05);
    color: var(--emerald-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-text h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--emerald-deep);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.info-text p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-map {
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 47, 36, 0.05);
    border: 3px solid var(--white);
    outline: 1px solid rgba(212, 175, 55, 0.3);
}

.map-wrapper {
    width: 100%;
    height: 100%;
}

/* --- 15. MAIN FOOTER --- */
.main-footer {
    background-color: var(--emerald-darkest);
    color: var(--ivory-white);
    padding: 80px 0 0 0;
    border-top: 2px solid var(--gold-metallic);
    position: relative;
    z-index: 5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand .pesantren-name-gold {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gold-metallic);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    display: block;
}

.footer-brand .footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 320px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-socials a:hover {
    background-color: var(--gold-metallic);
    color: var(--emerald-darkest);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--gold-glow);
}

.footer-links h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links ul a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul a:hover {
    color: var(--gold-metallic);
    padding-left: 4px;
}

.footer-links p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 24px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* --- 16. MOBILE BOTTOM NAVIGATION (HP ONLY) --- */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(6, 31, 23, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 999;
    padding: 10px 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

.m-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.m-nav-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.m-nav-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.m-nav-item:hover,
.m-nav-item.active {
    color: var(--gold-metallic);
}

/* Floating CTA Mobile Button */
.floating-cta-mobile {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-metallic) 50%, var(--gold-accent) 100%);
    color: var(--emerald-darkest);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.4);
    z-index: 998;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--white);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(212, 175, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

/* --- 17. SCROLL TRIGGER ANIMATION CLASSES --- */
.scroll-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-anim.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 18. MODAL POP-UP STYLES --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(6, 31, 23, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--white);
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-container.modal-lg {
    max-width: 700px;
}

.modal-header-custom {
    background: linear-gradient(135deg, var(--emerald-darkest) 0%, var(--emerald-deep) 100%);
    padding: 24px 30px;
    color: var(--white);
    position: relative;
    border-bottom: 3px solid var(--gold-metallic);
}

.modal-header-custom .modal-title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--gold-light);
}

.modal-header-custom .modal-subtitle {
    margin: 4px 0 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.8);
}

.modal-body-custom {
    padding: 30px;
    overflow-y: auto;
}

.modal-body-custom::-webkit-scrollbar {
    width: 6px;
}

.modal-body-custom::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 10px;
}

.modal-form .form-group {
    margin-bottom: 18px;
}

.modal-footer-text {
    text-align: center;
    margin-top: 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-footer-text a {
    color: var(--gold-accent);
    text-decoration: none;
    font-weight: 700;
}

.modal-footer-text a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   --- 19. RESPONSIVE MEDIA QUERIES ---
   ========================================================================== */

/* Tablet Styles (Less than 1024px) */
@media (max-width: 1024px) {
    .units-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-stats-overlay {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .stat-card-mini {
        flex: 1;
        padding: 16px;
    }

    .profile-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .steps-line {
        display: none;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .registration-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

/* Mobile Styles (Less than 768px) */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .desktop-nav,
    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-section {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-stats-overlay {
        flex-direction: column;
    }
    
    .hero-curved-bottom svg {
        height: 40px;
    }

    .excellence-grid {
        grid-template-columns: 1fr;
    }

    .units-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

    .schedule-timeline {
        padding-left: 20px;
    }
    
    .schedule-timeline::after {
        left: 0;
    }
    
    .timeline-item::before {
        left: -27px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        text-align: left;
        margin-bottom: 8px;
    }
    
    .t-month {
        font-size: 1.1rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .floating-cta-mobile {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}