/*
================================================================
Apostle Victor Peters Ministries - Complete Master Stylesheet
================================================================
*/

/* --- 1. Typography & Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Elegant Color Palette */
    --primary-dark: #1F2937;  /* Deep Slate (Connect Section) */
    --footer-dark: #111827;   /* Darker Slate (Footer) */
    --primary-gold: #D5CBA1;  /* Platinum Gold */
    --text-body: #475569;     /* Soft Grey */
    --bg-light: #F8FAFC;      /* Very light grey-blue tint */
    --bg-white: #FFFFFF;
    
    /* Spacing & Borders */
    --radius-sm: 2px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(0, 0, 0, 0.12);
}

body, html {
    margin: 0; padding: 0; font-family: 'Lato', sans-serif;
    background-color: var(--bg-light); color: var(--text-body);
    line-height: 1.8; -webkit-font-smoothing: antialiased; font-size: 16px;
}

/* Headings - Sleek and Thin (400) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; color: var(--primary-dark);
    font-weight: 400; margin-top: 0; line-height: 1.3; letter-spacing: -0.5px;
}

a { color: var(--primary-gold); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--primary-dark); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- 2. Header & Navigation --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    position: sticky; top: 0; z-index: 1000; height: 90px;
    display: flex; align-items: center; width: 100%;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.nav-logo a {
    font-family: 'Montserrat', sans-serif; font-size: 1.5rem; font-weight: 400; 
    color: var(--primary-dark); letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
}

.main-nav { display: flex; align-items: center; gap: 35px; }
.main-nav .nav-link {
    color: var(--text-body); font-family: 'Montserrat', sans-serif; font-weight: 600;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; padding: 10px 0;
    position: relative; background: none; border: none; cursor: pointer;
}
.main-nav .nav-link:hover { color: var(--primary-dark); }
.main-nav .nav-link::after {
    content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0;
    background-color: var(--primary-gold); transition: width 0.3s ease;
}
.main-nav .nav-link:hover::after { width: 100%; }

.nav-give-btn {
    background-color: var(--primary-gold) !important; color: #1F2937 !important;
    padding: 12px 28px !important; border-radius: 50px !important; font-weight: 700;
}
.nav-give-btn:hover {
    background-color: var(--primary-dark) !important; color: #FFFFFF !important;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}
.nav-give-btn::after { display: none; } 

/* Dropdown */
.dropdown { position: relative; }
.dropdown-content {
    display: none; position: absolute; top: 100%; left: -20px;
    background-color: #FFFFFF; min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 3px solid var(--primary-gold);
    padding: 10px 0; z-index: 1001; border-radius: 0 0 4px 4px;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    display: block; padding: 12px 25px; color: var(--text-body); font-size: 0.9rem; font-weight: 400;
}
.dropdown-content a:hover { background-color: var(--bg-light); color: var(--primary-gold); padding-left: 30px; }

.nav-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--primary-dark); }


/* --- 3. Hero Section --- */
.hero-section {
    position: relative; min-height: 85vh; height: auto;
    display: flex; align-items: center; justify-content: center; text-align: center;
    color: white; background-size: cover; background-position: center;
    overflow: hidden; padding-bottom: 60px;
}
.hero-section::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.9)); z-index: 2;
}
.hero-video-container { position: absolute; inset: 0; z-index: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }

/* Slider Logic */
.hero-slider { position: absolute; inset: 0; z-index: 1; }
.hero-slide {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 2s ease-in-out;
    background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide video { width: 100%; height: 100%; object-fit: cover; }

.hero-content { position: relative; z-index: 3; padding-top: 60px; padding-bottom: 40px; width: 100%; }

.hero-pre-title {
    display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 0.85rem;
    font-weight: 600; letter-spacing: 3px; color: var(--primary-gold); margin-bottom: 1rem;
    text-transform: uppercase; border-right: 2px solid var(--primary-gold);
    animation: blink-caret .75s step-end infinite;
}
.hero-content h1 {
    font-family: 'Montserrat', sans-serif; font-size: 4rem; color: white; margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3); font-weight: 400;
}
.hero-content p {
    font-size: 1.3rem; color: rgba(255,255,255,0.95); max-width: 700px; margin: 0 auto 2.5rem; font-weight: 400;
}
.hero-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.hero-buttons .btn-primary {
    background-color: #FFFFFF; color: var(--primary-dark); padding: 15px 35px;
    border-radius: 2px; font-weight: 600; font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; border: 2px solid #FFFFFF; white-space: nowrap;
}
.hero-buttons .btn-primary:hover { background-color: var(--primary-gold); border-color: var(--primary-gold); color: white; }
.hero-buttons .btn-ghost {
    background-color: transparent; border: 2px solid #FFFFFF; color: #FFFFFF; padding: 15px 35px;
    border-radius: 2px; font-weight: 600; font-family: 'Montserrat', sans-serif;
    text-transform: uppercase; letter-spacing: 1px; white-space: nowrap;
}
.hero-buttons .btn-ghost:hover { background-color: #FFFFFF; color: var(--primary-dark); }


/* --- 4. General Components (Home) --- */
.about-blurb { background-color: var(--bg-white); text-align: center; padding: 100px 0; }
.about-blurb h2 { font-size: 2.2rem; margin-bottom: 1.5rem; font-weight: 400; }
.about-blurb p { font-size: 1.2rem; max-width: 750px; margin: 0 auto; color: var(--text-body); }

/* Vertical Blurbs */
.blurbs-section { background-color: var(--bg-white); padding: 100px 0; }
.blurb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blurb-card {
    position: relative; display: block; min-height: 500px; border-radius: var(--radius-md);
    overflow: hidden; background-size: cover; background-position: center;
    box-shadow: var(--shadow-soft); transition: all 0.3s ease;
}
.blurb-card:hover { transform: translateY(-10px); }
.blurb-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.1) 50%, rgba(15,23,42,0.95) 100%);
    z-index: 1;
}
.blurb-card-content {
    position: relative; z-index: 2; height: 100%; padding: 40px; display: flex;
    flex-direction: column; justify-content: space-between; color: white;
}
.blurb-card-content h3 { color: white; font-size: 2rem; margin-bottom: 10px; font-weight: 400; }
.blurb-card-text { font-size: 1.1rem; color: rgba(255,255,255,0.9); }
.learn-more { color: var(--primary-gold); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; font-family: 'Montserrat', sans-serif; font-size: 0.9rem; }

/* Connect Section */
.connect-section { background-color: var(--primary-dark); color: white; padding: 120px 0; text-align: center; position: relative; }
.connect-section h2 { color: white; font-size: 2.5rem; font-weight: 300; margin-bottom: 1.5rem; }
.connect-section p { color: #FFFFFF; font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; }
.service-time {
    display: inline-block; border: 1px solid var(--primary-gold); color: var(--primary-gold);
    padding: 10px 20px; margin: 0 10px 10px 10px; border-radius: 50px;
    font-size: 0.9rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
}


/* --- 5. About & Give Page Components (Restored) --- */
.vmp-section { padding: 100px 0; background-color: var(--bg-light); }
.vmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.vmp-card { background: white; padding: 40px; border-bottom: 3px solid var(--primary-gold); box-shadow: var(--shadow-soft); transition: transform 0.3s; }
.vmp-card:hover { transform: translateY(-5px); }
.vmp-card h3 { font-size: 1.5rem; margin-bottom: 15px; }

/* Meet Our Founder (Side-by-Side) */
.founders-section { background-color: var(--primary-dark); padding: 120px 0; color: white; }
.founder-split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1100px; margin: 0 auto; }
.founder-portrait { width: 100%; height: 600px; background-size: cover; background-position: center 20%; border-radius: var(--radius-sm); box-shadow: -20px 20px 0px rgba(255, 255, 255, 0.05); filter: brightness(0.95) contrast(1.1); }
.founder-role { display: block; color: var(--primary-gold); font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; font-size: 0.85rem; margin-bottom: 20px; position: relative; padding-left: 50px; }
.founder-role::before { content: ''; position: absolute; left: 0; top: 50%; width: 35px; height: 2px; background-color: var(--primary-gold); }
.founders-section h3 { color: white; font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 3rem; margin-bottom: 30px; line-height: 1.1; }
.founder-bio p { font-family: 'Lato', sans-serif; font-size: 1.15rem; color: #E2E8F0; line-height: 1.8; margin-bottom: 25px; opacity: 0.9; font-weight: 300; }

/* Bank Details & USSD (Give Page) */
.bank-details-section { padding: 100px 0; background-color: #ffffff; }
.bank-details-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.account-card { background-color: var(--bg-light); border: 1px solid #e2e8f0; border-radius: var(--radius-md); padding: 30px; transition: transform 0.3s; }
.account-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.account-purpose { font-family: 'Montserrat', sans-serif; font-size: 1.3rem; font-weight: 700; text-align: center; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; margin-bottom: 20px; color: var(--primary-dark); }
.bank-logo { text-align: center; margin-bottom: 20px; min-height: 50px; }
.bank-logo img { max-height: 40px; }
.detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e2e8f0; color: var(--text-body); }
.detail-row strong { color: var(--primary-dark); }
.ussd-section { padding: 100px 0; background-color: var(--bg-light); }
.ussd-generator-wrapper { max-width: 800px; margin: 0 auto; background: white; padding: 50px; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }
.generated-code-wrapper { background-color: var(--primary-dark); color: white; padding: 10px; border-radius: var(--radius-sm); display: flex; align-items: center; }
#generated-code-display { flex-grow: 1; text-align: center; font-size: 1.5rem; font-family: monospace; color: var(--primary-gold); }
.quote-section { background: white; padding: 80px 0; text-align: center; }
.quote-section blockquote { font-family: 'Montserrat', sans-serif; font-size: 2rem; color: var(--primary-dark); font-style: italic; margin: 0 auto; max-width: 800px; }
.quote-section cite { display: block; margin-top: 20px; font-family: 'Lato', sans-serif; font-size: 0.9rem; color: var(--primary-gold); font-weight: 700; letter-spacing: 2px; font-style: normal; text-transform: uppercase; }


/* --- 6. Forms & Utility --- */
.btn, .btn-submit, .copy-btn { display: inline-block; padding: 15px 30px; background-color: var(--primary-gold); color: var(--primary-dark); font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: var(--radius-sm); cursor: pointer; transition: all 0.3s ease; }
.btn:hover, .btn-submit:hover, .copy-btn:hover { background-color: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); color: white; }
.form-container { max-width: 800px; margin: 0 auto; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
fieldset { border: 1px solid #e2e8f0; padding: 30px; border-radius: var(--radius-md); margin-bottom: 30px; background-color: white; }
legend { font-family: 'Montserrat', sans-serif; font-size: 1.2rem; color: var(--primary-dark); padding: 0 10px; font-weight: 700; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; color: var(--text-body); font-family: 'Montserrat', sans-serif; }
input, select, textarea { width: 100%; padding: 15px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); background-color: var(--bg-light); font-family: 'Lato', sans-serif; font-size: 1rem; box-sizing: border-box; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary-gold); background-color: white; }
.radio-group { display: flex; gap: 20px; }
.website-form-group { display: none !important; }
.logo-image { height: 45px; width: auto; display: block; }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--primary-gold); } }


/* --- 7. Footer (Final Darker Tone) --- */
.site-footer { background-color: var(--footer-dark); color: #FFFFFF; padding: 80px 0 0 0; }
.footer-widgets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-widget { min-width: 0; }
.footer-widget-title { color: #FFFFFF; font-size: 1.1rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 25px; font-family: 'Montserrat', sans-serif; font-weight: 400; }
.footer-list { list-style: none !important; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 10px; }
.footer-list li a { color: #FFFFFF; text-decoration: none; display: block; transition: 0.3s; font-weight: 400; opacity: 0.9; }
.footer-list li a:hover { color: var(--primary-gold); opacity: 1; padding-left: 5px; }
.social-links { display: flex; flex-direction: column; gap: 15px; }
.social-links a { display: flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; transition: 0.3s; font-weight: 400; opacity: 0.9; }
.social-links a:hover { color: var(--primary-gold); opacity: 1; }
.social-links a svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.footer-bottom-bar { padding: 30px 0; text-align: center; font-size: 0.85rem; color: #E2E8F0; }


/* --- 8. SERMONS PAGE SPECIFICS (Added Back) --- */
.sermon-search-container { max-width: 600px; margin: 0 auto 50px auto; text-align: center; }
.sermon-search-form { display: flex; gap: 10px; position: relative; }
.sermon-search-form input { width: 100%; padding: 15px 25px; border: 2px solid #E2E8F0; border-radius: 50px; font-family: 'Montserrat', sans-serif; font-size: 1rem; transition: all 0.3s ease; }
.sermon-search-form input:focus { border-color: var(--primary-gold); box-shadow: 0 0 0 4px rgba(213, 203, 161, 0.2); outline: none; }
.sermon-search-form .btn-search { padding: 15px 35px; border-radius: 50px; background-color: var(--primary-gold); color: #0F172A; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border: none; cursor: pointer; transition: all 0.3s ease; }
.sermon-search-form .btn-search:hover { background-color: var(--primary-dark); color: white; }
.btn-clear { position: absolute; right: 130px; top: 50%; transform: translateY(-50%); color: #94A3B8; text-decoration: none; font-size: 0.85rem; font-weight: 600; padding: 5px 10px; }
.btn-clear:hover { color: #EF4444; }

.featured-sermons-section { background-color: var(--bg-white); padding: 100px 0; }
.sermon-player-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.sermon-player-card { position: relative; height: 350px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid #e2e8f0; }
.sermon-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.5s; }
.sermon-player-card:hover .sermon-card-bg { transform: scale(1.05); }
.sermon-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.2) 70%); }
.sermon-card-content { position: relative; z-index: 2; height: 100%; padding: 30px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: flex-end; color: white; }

.play-pause-btn { width: 50px; height: 50px; border-radius: 50%; background: white; color: var(--primary-dark); display: flex; align-items: center; justify-content: center; cursor: pointer; border: none; transition: all 0.3s ease; }
.play-pause-btn:hover { background: var(--primary-gold); color: white; }
.play-icon { padding-left: 3px; font-size: 1.2rem; } .pause-icon { font-size: 1.2rem; }
.sermon-card-info { text-align: right; }
.sermon-card-info h3 { font-size: 1.3rem; margin: 0 0 5px 0; color: white; font-weight: 600; }
.sermon-card-info span { font-size: 0.9rem; color: #CBD5E1; display: block; }

.sermon-download-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 14px; background: rgba(255,255,255,0.1); border-radius: 50px; color: var(--primary-gold); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none; transition: all 0.3s ease; border: 1px solid rgba(255,255,255,0.1); }
.sermon-download-link:hover { background: white; color: var(--primary-dark); border-color: white; }

/* --- Streaming Platforms Section (Update for PNGs) --- */
.streaming-platforms-section { padding: 100px 0; background-color: var(--bg-light); }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.platform-card {
    background: white; border-radius: var(--radius-md); padding: 25px; display: flex; align-items: center; gap: 20px;
    box-shadow: var(--shadow-soft); border: 1px solid #e2e8f0; transition: all 0.3s ease;
}
.platform-card:hover { transform: translateY(-3px); border-color: var(--primary-gold); }

/* Container for the PNG Icon */
.platform-icon {
    flex-shrink: 0;
    width: 50px; /* Container width */
    height: 50px; /* Container height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Removed background colors */
}

/* The PNG Image Itself - Uniform Size */
.platform-icon img {
    width: 40px; /* Force image width */
    height: 40px; /* Force image height */
    object-fit: contain; /* Ensures logo doesn't stretch/distort */
    display: block;
}

.platform-info h4 { font-size: 1.1rem; margin: 0; font-weight: 700; }
.platform-info span { font-size: 0.9rem; color: #64748B; }

/* --- 9. Mobile & Tablet Responsive --- */
@media (max-width: 991px) {
    .main-nav { display: none; }
    .nav-toggle { display: flex; }

    .main-nav.mobile-menu-active {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
        position: fixed; inset: 0; background: white; z-index: 1000; padding: 40px;
    }
    .main-nav.mobile-menu-active .dropdown-content {
        position: static; box-shadow: none; border: none; background: #F1F5F9; width: 100%; text-align: center; display: none;
    }
    .main-nav.mobile-menu-active .dropdown-content.submenu-active { display: block; }

    /* Grid Stacking */
    .footer-widgets, .blurb-grid, .bank-details-grid, .form-grid-2, .form-grid-3, .vmp-grid, .founder-split-layout, .sermon-player-grid, .platforms-grid { 
        grid-template-columns: 1fr; 
    }
    .footer-widgets { gap: 50px; }

    .site-footer { text-align: center; }
    .social-links { align-items: center; }
    .footer-list li a:hover { padding-left: 0; }

    .hero-content h1 { font-size: 2.8rem; }
    
    .hero-buttons { flex-direction: column; align-items: center; gap: 15px; }
    .hero-buttons .btn-primary, .hero-buttons .btn-ghost {
        width: 100%; max-width: 300px; padding: 15px 20px; font-size: 0.85rem;
    }
    
    .carousel-nav { width: 100%; left: 0; position: relative; top: 0; transform: none; margin-top: 20px; }
    
    /* About Page Mobile Fixes */
    .founder-portrait { height: 500px; box-shadow: none; }
    .founder-text-col { text-align: center; padding: 0; }
    .founder-role { padding-left: 0; display: inline-block; }
    .founder-role::before { display: none; }
    .founders-section h3 { font-size: 2.5rem; }
    .sermon-search-form { flex-direction: column; }
    .sermon-search-form input, .sermon-search-form .btn-search { width: 100%; }
    .btn-clear { position: static; transform: none; display: block; margin-top: 10px; }
}

@media (max-width: 768px) {
    .hero-section { padding-bottom: 80px; }
    .hero-content h1 { font-size: 2.4rem; }
}

/* --- Partnership & Form Styles --- */

.partnership-form-section {
    padding: 100px 0;
    background-color: #ffffff;
}

/* Remove the box container look for a clean full-width feel */
.partnership-form-section .form-container {
    max-width: 800px;
    margin: 0 auto;
}

.partnership-form-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-top: 0;
}

.partnership-form-section p {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-body);
}

/* Success & Error Messages */
.form-success-message {
    background-color: #dcfce7;
    color: #166534;
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid #bbf7d0;
    text-align: center;
    font-weight: 700;
}

.error-message {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 15px;
    border-radius: var(--radius-sm);
    border: 1px solid #fecaca;
    text-align: center;
    font-weight: 700;
}

/* Fieldsets & Legends */
fieldset {
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: var(--radius-md);
    margin-bottom: 30px;
    background-color: white;
}

legend {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-dark);
    padding: 0 10px;
    font-weight: 700;
}

/* Form Grids */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-body);
    font-family: 'Montserrat', sans-serif;
}

/* Inputs */
input[type="text"], 
input[type="email"], 
input[type="tel"], 
select, 
textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background-color: var(--bg-light);
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background-color: white;
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
    
    .partnership-form-section {
        padding: 60px 0;
    }
    
    fieldset {
        padding: 20px;
    }
}

/* Spam Trap */
.website-form-group { display: none !important; }

/* --- Mentorship Registration Page Styles --- */
.registration-section {
    /* FIX: Increased top padding to 120px to create clear separation from Hero */
    padding: 120px 0 100px 0;
    background-color: #ffffff;
}

/* This rule removes the box around the form for the clean look */
.registration-section .form-container {
    max-width: 800px;
    margin: 0 auto;
    /* FIX: Added explicit top margin as a backup spacing guarantee */
    margin-top: 40px; 
}

.registration-section .form-container h2 {
    text-align: center;
    font-size: 2.2rem; /* Slightly larger for impact */
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 400; /* Sleek weight */
}

.registration-section .form-container p {
    text-align: center;
    margin-bottom: 50px; /* More space between text and form fields */
    color: #555;
    font-size: 1.1rem;
}

/* Styles for the "Registration Closed" message */
.registration-closed-message {
    text-align: center;
    max-width: 700px;
    margin: 40px auto 0 auto; /* Added top margin here too */
    background-color: #fff3cd;
    color: #664d03;
    border: 1px solid #ffecb5;
    padding: 50px;
    border-radius: 4px;
}

.registration-closed-message h2 {
    margin-top: 0;
    font-size: 2rem;
}

.registration-closed-message p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* --- Mentorship Page Specifics --- */

.content-area {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.main-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.main-text h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

.main-text p {
    font-size: 1.2rem;
    color: var(--text-body);
    line-height: 1.8;
}

/* Large Register Button */
.btn-large {
    padding: 18px 40px;
    font-size: 1rem;
    letter-spacing: 2px;
    border-radius: 2px;
    background-color: var(--primary-dark); /* Dark button for high contrast */
    color: white;
    border: 2px solid var(--primary-dark);
}

.btn-large:hover {
    background-color: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-dark);
}

/* --- USSD Generator (High Contrast Fix) --- */
.ussd-section { padding: 100px 0; background-color: var(--bg-light); }

.ussd-generator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid #e2e8f0;
}

.generated-code-wrapper {
    background-color: var(--primary-dark); /* Dark Blue Background */
    color: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    margin-top: 10px;
}

#generated-code-display {
    flex-grow: 1;
    text-align: center;
    font-size: 1.5rem;
    font-family: monospace;
    font-weight: 700;
    color: var(--primary-gold); /* GOLD TEXT for the code */
    letter-spacing: 2px;
}

/* The placeholder text (when no code is generated) */
.generated-code-placeholder {
    color: rgba(255, 255, 255, 0.5) !important; /* Dim white text */
    font-style: italic;
    font-weight: 400 !important;
    letter-spacing: normal !important;
}

#copy-ussd-btn {
    flex-shrink: 0;
    background-color: var(--primary-gold);
    color: var(--primary-dark);
    border: none;
    padding: 10px 20px;
    font-weight: 700;
}
#copy-ussd-btn:disabled {
    background-color: #4b5563; /* Greyed out */
    color: #9ca3af;
    cursor: not-allowed;
}

/* --- CONTACT PAGE SPECIFIC STYLES --- */
.contact-section {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-body);
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.info-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item span {
    font-size: 1.1rem;
    color: var(--text-body);
}

/* Socials Section in Contact Info */
.contact-socials-header {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

/* Override default vertical stack for this specific section */
.contact-info .contact-socials {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    gap: 15px;
}

.contact-info .contact-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #F1F5F9;
    color: var(--primary-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info .contact-socials a:hover {
    background-color: var(--primary-gold);
    color: white;
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        margin-top: 40px;
    }
}

/* --- 1. Default State (Hidden on Desktop) --- */
.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
    
    /* CRITICAL: High Z-Index to sit on top of the white menu overlay */
    position: relative;
    z-index: 1100; 
}

.nav-toggle-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}


/* --- 2. Mobile State (Visible) --- */
@media (max-width: 991px) {
    /* Force the button to show on mobile */
    .nav-toggle {
        display: flex !important; 
    }

    /* Styles for the Overlay Menu */
    .main-nav.mobile-menu-active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        position: fixed;
        inset: 0; /* Full screen */
        background-color: #FFFFFF;
        z-index: 1000; /* Lower than the toggle button */
        padding: 40px;
    }

    /* --- 3. The "X" Close Animation --- */
    /* When menu is active, transform the lines inside the button next to it */
    .main-nav.mobile-menu-active + .nav-toggle .nav-toggle-line:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .main-nav.mobile-menu-active + .nav-toggle .nav-toggle-line:nth-child(2) {
        opacity: 0; /* Hide middle line */
    }

    .main-nav.mobile-menu-active + .nav-toggle .nav-toggle-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }
}

/* --- Vimeo Background Fix (Force Cover) --- */
.vimeo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none; /* Prevents clicking on the video */
}

.vimeo-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* These calculations force the 16:9 video to cover the screen */
    width: 100vw; 
    height: 56.25vw; /* 16:9 ratio based on width */
    
    /* If the screen is too tall, switch to height-based scaling */
    min-height: 100vh;
    min-width: 177.77vh; /* 16:9 ratio based on height */
}

