/* 
  El Bethel Centre - Premium Zegen-Inspired Stylesheet (V3 - Exact Match)
*/

:root {
    /* El Bethel Royal Blue Theme (Matches Logo Outer Ring) */
    --brand-blue: #0b4bbb;
    --brand-blue-hover: #073587;
    --brand-blue-light: #eff6ff;
    --brand-blue-border: #bfdbfe;
    --zegen-red: #0b4bbb; /* Redish-pink replaced with logo Royal Blue */
    --zegen-dark: #0a1728;
    --zegen-text: #556980;
    --zegen-bg-light: #f6f9fc;
    --zegen-border: #e2e8f0;
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* ==========================================================================
   Global Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--zegen-text);
    line-height: 1.8;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--zegen-dark);
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* ==========================================================================
   Buttons (Zegen Strict Square)
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 2px !important;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary, .btn-donate {
    background-color: var(--brand-blue);
    color: #ffffff;
}

.btn-primary:hover, .btn-donate:hover {
    background-color: var(--brand-blue-hover);
    color: #ffffff;
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background-color: #0b1521;
    color: #a0a0a0;
    font-size: 13px;
    padding: 12px 0;
    font-family: var(--font-body);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: #a0a0a0;
    margin-left: 20px;
}

.top-bar a:hover {
    color: var(--zegen-red);
}

.top-bar i {
    color: #ffffff;
    margin-right: 5px;
    font-style: normal;
}

/* ==========================================================================
   Main Header (Transparent Overlay on Hero)
   ========================================================================== */
.header-wrapper {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
}

.site-header {
    background-color: rgba(11, 21, 33, 0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.logo-text {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.logo-text small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.85;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a:not(.btn) {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-nav a:not(.btn):hover {
    color: var(--zegen-red);
}

/* ==========================================================================
   Hero Section (Zegen Exact)
   ========================================================================== */
.zegen-hero {
    position: relative;
    background-color: #0b1521;
    background-image: url('../images/church-banner.jpg');
    background-size: cover;
    background-position: center;
    padding: 220px 0 250px 0;
    text-align: center;
    transition: background-image 0.8s ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(11, 21, 33, 0.75);
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-icon svg {
    margin: 0 auto 15px auto;
}

.hero-subtitle {
    color: var(--zegen-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 64px;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.hero-desc {
    color: #ffffff;
    font-size: 16px;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0,0,0,0.4);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 30px;
    z-index: 20;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-arrow:hover {
    background-color: var(--zegen-red);
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

/* ==========================================================================
   Overlap Cards (Zegen Style)
   ========================================================================== */
.overlap-section {
    position: relative;
    z-index: 30;
    margin-top: -120px;
    padding-bottom: 80px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.zegen-card {
    background-color: #ffffff;
    padding: 50px 40px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.zegen-card.card-dark {
    background-color: #f7f9fa;
}

.zegen-card:hover {
    background-color: var(--zegen-red);
}

.zegen-card:hover h3, 
.zegen-card:hover p,
.zegen-card:hover .card-link,
.zegen-card:hover .icon {
    color: #ffffff;
}

.zegen-card .icon {
    font-size: 40px;
    color: var(--zegen-red);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.zegen-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.zegen-card p {
    font-size: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card-link {
    color: var(--zegen-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
}

/* ==========================================================================
   Standard Sections
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--zegen-bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.zegen-subtitle {
    color: var(--zegen-red);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--zegen-dark);
}

.basic-card {
    background: #ffffff;
    padding: 40px;
    border: 1px solid #eaeaea;
    text-align: center;
}

.basic-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0b1521;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: slideDown 0.4s ease forwards;
    border-bottom: none;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* ==========================================================================
   Preloader
   ========================================================================== */
#preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #0b1521;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    border-top-color: var(--zegen-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   Navigation Sub-Menus (Dropdowns)
   ========================================================================== */
.main-nav li {
    position: relative; /* For absolute positioning of sub-menu */
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 15px 0;
    border-top: 3px solid var(--zegen-red);
    flex-direction: column !important; /* Override the main-nav ul flex row */
    align-items: flex-start !important;
}

.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li {
    margin: 0 !important;
    width: 100%;
}

.sub-menu a:not(.btn) {
    display: block;
    padding: 10px 25px !important;
    color: var(--zegen-dark) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    transition: all 0.2s ease !important;
}

.sub-menu a:not(.btn):hover {
    color: var(--zegen-red) !important;
    padding-left: 32px !important; /* Slide right effect */
    background-color: #f9f9f9;
}

/* ==========================================================================
   Zegen Footer
   ========================================================================== */
.zegen-footer {
    background-color: #08101a; /* Even darker than header */
    color: #8a96a3;
    padding: 100px 0 0 0;
    font-size: 14px;
}

.zegen-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 70px;
}

.zegen-footer .widget-title {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.zegen-footer .widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--zegen-red);
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: #ffffff;
    border-radius: 2px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: var(--zegen-red);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #8a96a3;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-links a::before {
    content: '\f105'; /* FontAwesome right angle bracket */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--zegen-red);
}

.footer-links a:hover {
    color: var(--zegen-red);
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    margin-bottom: 20px;
}

.footer-contact i {
    color: var(--zegen-red);
    font-size: 16px;
    margin-top: 5px;
    margin-right: 15px;
}

.footer-newsletter input {
    width: 100%;
    padding: 15px;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
    margin-bottom: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.footer-newsletter input:focus {
    border-color: var(--zegen-red);
}

.footer-newsletter button {
    width: 100%;
}

.zegen-footer .footer-bottom {
    background-color: #060b13;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zegen-footer .legal-links a {
    color: #8a96a3;
    margin-left: 20px;
    font-size: 13px;
}

.zegen-footer .legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================================
   Premium Donation Page Styles
   ========================================================================== */
.premium-donate-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.premium-donate-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    z-index: 2;
}

.donate-glow-blue::before { background: linear-gradient(90deg, #0ba4db, #06729a); }
.donate-glow-purple::before { background: linear-gradient(90deg, #635bff, #3a31d8); }

.premium-donate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.donate-glow-blue:hover {
    box-shadow: 0 20px 40px rgba(11, 164, 219, 0.15);
}

.donate-glow-purple:hover {
    box-shadow: 0 20px 40px rgba(99, 91, 255, 0.15);
}

.donate-icon-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 140px;
    line-height: 1;
    z-index: 0;
    transition: all 0.5s ease;
}

.premium-donate-card:hover .donate-icon-bg {
    transform: scale(1.1) rotate(-10deg);
}

.donate-glow-blue .donate-icon-bg { color: rgba(11, 164, 219, 0.05); }
.donate-glow-purple .donate-icon-bg { color: rgba(99, 91, 255, 0.03); }

.donate-content {
    position: relative;
    z-index: 5;
    text-align: left;
}

.donate-content h3 {
    font-size: 26px;
    margin-bottom: 10px;
    font-weight: 800;
}

.donate-content p {
    color: #666;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.donate-features {
    list-style: none;
    margin-bottom: 30px;
    padding: 0;
}

.donate-features li {
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.donate-glow-blue .donate-features i { color: #0ba4db; margin-right: 12px; font-size: 18px; }
.donate-glow-purple .donate-features i { color: #635bff; margin-right: 12px; font-size: 18px; }

/* Paystack Form Styles */
.paystack-form-group {
    margin-bottom: 15px;
}

.paystack-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.paystack-input:focus {
    border-color: #0ba4db;
}

.btn-paystack {
    background: linear-gradient(90deg, #0ba4db, #06729a);
    color: #fff;
    width: 100%;
    border-radius: 8px !important;
    padding: 14px;
    font-size: 15px;
    letter-spacing: 1px;
    border: none;
}

.btn-paystack:hover {
    background: linear-gradient(90deg, #06729a, #0ba4db);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(11, 164, 219, 0.3);
}

.btn-stripe {
    background: linear-gradient(90deg, #635bff, #3a31d8);
    color: #fff;
    width: 100%;
    border-radius: 8px !important;
    padding: 14px;
    font-size: 15px;
    letter-spacing: 1px;
}

.btn-stripe:hover {
    background: linear-gradient(90deg, #3a31d8, #635bff);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 91, 255, 0.3);
}

/* ==========================================================================
   Mobile Navigation & Menu Toggle Button
   ========================================================================== */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: 1px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

.mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 23, 40, 0.7);
    backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Guest House & Accommodation Enhanced Styles
   ========================================================================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 35px;
}

.room-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(11, 75, 187, 0.12);
    border-color: var(--brand-blue-border);
}

.room-thumb-wrap {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.room-price-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--brand-blue);
    color: #ffffff;
    padding: 6px 14px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(11, 75, 187, 0.35);
    letter-spacing: 0.5px;
}

.room-price-badge small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.9;
}

.room-gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(10, 23, 40, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}

.room-gallery-btn:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.room-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.room-card-title {
    font-size: 20px;
    color: var(--zegen-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.room-card-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
    flex-grow: 1;
}

.room-amenities-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.room-amenity-tag {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid #dbeafe;
}

.room-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

/* ==========================================================================
   Checkout Page Styles
   ========================================================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ==========================================================================
   Leadership Cards (Modern Profile Cards)
   ========================================================================== */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1080px;
    margin: 0 auto;
}

.leader-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 75, 187, 0.08);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(11, 75, 187, 0.16);
    border-color: var(--brand-blue-border);
}

.leader-img-wrap {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: #0b1521;
    overflow: hidden;
}

.leader-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.leader-card:hover .leader-img-wrap img {
    transform: scale(1.05);
}

.leader-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to top, rgba(10, 23, 40, 0.85) 0%, rgba(10, 23, 40, 0.25) 50%, transparent 100%);
    pointer-events: none;
}

.leader-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(11, 75, 187, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    z-index: 2;
}

.leader-action-float {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
    display: flex;
    gap: 8px;
}

.leader-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.25s ease;
}

.leader-action-btn:hover {
    background: var(--brand-blue);
    color: #ffffff;
    transform: scale(1.1);
}

.leader-action-btn.youtube-btn {
    color: #ef4444;
}

.leader-action-btn.youtube-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.leader-body {
    padding: 32px 30px 28px 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.leader-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--zegen-dark);
    margin-bottom: 6px;
    line-height: 1.25;
}

.leader-role {
    color: var(--brand-blue);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.leader-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue) 0%, rgba(11, 75, 187, 0.2) 100%);
    border-radius: 2px;
    margin-bottom: 18px;
}

.leader-brief {
    font-size: 14.5px;
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 20px;
}

.leader-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.leader-tag {
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 11px;
    border-radius: 6px;
    border: 1px solid var(--brand-blue-border);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.leader-bio-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 11px 16px;
    border-radius: 8px;
    color: var(--zegen-dark);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-bottom: 15px;
}

.leader-bio-toggle:hover {
    background: var(--brand-blue-light);
    border-color: var(--brand-blue-border);
    color: var(--brand-blue);
}

.leader-bio-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
    color: var(--brand-blue);
}

.leader-bio-toggle.active i {
    transform: rotate(180deg);
}

.leader-full-bio {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease, margin 0.3s ease;
    margin-bottom: 0;
}

.leader-full-bio.open {
    max-height: 1200px;
    opacity: 1;
    margin-bottom: 20px;
    padding-top: 10px;
}

.leader-full-bio p {
    font-size: 13.5px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.leader-footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.leader-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-blue);
    transition: all 0.2s;
}

.leader-footer-link:hover {
    color: var(--brand-blue-hover);
    transform: translateX(4px);
}

/* ==========================================================================
   Global Responsive System (Mobile Perfection)
   ========================================================================== */

/* Tablet & Mobile Screens (<= 991px) */
@media (max-width: 991px) {
    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background-color: #0a1728;
        box-shadow: -10px 0 30px rgba(0,0,0,0.4);
        padding: 85px 25px 40px 25px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1000;
        display: block;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0;
    }

    .main-nav li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .main-nav a:not(.btn) {
        display: block;
        padding: 13px 0;
        font-size: 14px;
        font-weight: 600;
        color: #f1f5f9;
    }

    .main-nav a:not(.btn):hover,
    .main-nav a.active {
        color: #60a5fa !important;
    }

    .main-nav .btn-donate {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        padding: 13px;
        border-radius: 4px !important;
    }

    .sub-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(255,255,255,0.04) !important;
        padding: 5px 0 10px 15px !important;
        border-top: none !important;
        border-left: 2px solid var(--brand-blue) !important;
        display: none !important;
        width: 100% !important;
    }

    .has-submenu.open .sub-menu {
        display: block !important;
    }

    .has-submenu > a {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .has-submenu > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        font-size: 12px;
        color: #94a3b8;
        transition: transform 0.3s ease;
    }

    .has-submenu.open > a::after {
        transform: rotate(180deg);
        color: #60a5fa;
    }

    .sub-menu a:not(.btn) {
        color: #cbd5e1 !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
    }

    .sub-menu a:not(.btn):hover {
        background: transparent !important;
        color: #60a5fa !important;
        padding-left: 15px !important;
    }

    /* Checkout & 2-Column Sections */
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Leadership Cards on Tablets */
    .leader-grid {
        grid-template-columns: 1fr;
        max-width: 580px;
        gap: 32px;
    }

    .leader-img-wrap {
        height: 380px;
    }

    /* Footer on Tablets */
    .zegen-footer .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
}

/* Smartphones & Small Tablets (<= 768px) */
@media (max-width: 768px) {
    /* Top Bar */
    .top-bar {
        padding: 8px 0;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }

    .top-bar-left {
        font-size: 11px;
    }

    .top-bar-right a {
        margin: 0 8px;
        font-size: 12px;
    }

    /* Site Header */
    .header-inner {
        height: 70px;
    }

    .logo a {
        gap: 8px !important;
    }

    .logo img {
        height: 38px !important;
    }

    .logo-text {
        font-size: 14.5px !important;
        letter-spacing: -0.3px !important;
    }

    .logo-text small {
        font-size: 8px !important;
        letter-spacing: 1.2px !important;
    }

    /* Hero Sections */
    .zegen-hero {
        padding: 135px 0 60px 0 !important;
    }

    .hero-title {
        font-size: clamp(24px, 6vw, 34px) !important;
        line-height: 1.2 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: 15px !important;
    }

    .hero-subtitle {
        font-size: 12px !important;
        letter-spacing: 1.5px !important;
        margin-bottom: 10px !important;
    }

    .hero-desc {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-bottom: 25px !important;
        padding: 0 10px;
    }

    .slider-arrow {
        width: 36px !important;
        height: 36px !important;
        font-size: 18px !important;
    }

    .prev-arrow { left: 8px !important; }
    .next-arrow { right: 8px !important; }

    /* Overlapping Section & Feature Cards */
    .overlap-section {
        margin-top: 0 !important;
        padding-top: 25px !important;
        padding-bottom: 40px !important;
    }

    .grid-2, .grid-3, .grid-4, .zegen-cards {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .zegen-card {
        padding: 30px 20px !important;
        border-right: none !important;
        border-bottom: 1px solid #f1f5f9;
    }

    /* General Sections & Cards */
    .section {
        padding: 45px 0 !important;
    }

    .section-title {
        margin-bottom: 30px !important;
    }

    .section-title h2 {
        font-size: 24px !important;
    }

    .basic-card {
        padding: 22px 18px !important;
    }

    /* Room Cards & Grid */
    .room-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .room-thumb-wrap {
        height: 200px;
    }

    .room-card-body {
        padding: 18px !important;
    }

    /* Footer */
    .zegen-footer {
        padding-top: 50px !important;
    }

    .zegen-footer .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 35px !important;
    }

    .footer-bottom-inner {
        flex-direction: column !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .zegen-footer .legal-links a {
        margin: 0 8px !important;
        font-size: 12px;
    }

    /* Buttons */
    .hero-actions {
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-actions .btn {
        width: 100% !important;
        max-width: 280px !important;
        text-align: center;
    }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
    }

    .header-inner {
        height: 65px;
    }

    .logo img:nth-child(2) {
        display: none; /* Hide secondary logo on ultra-narrow screens to keep header uncluttered */
    }

    .logo-text {
        font-size: 13.5px !important;
    }

    .logo-text small {
        font-size: 7.5px !important;
        letter-spacing: 1px !important;
    }

    .slider-arrow {
        display: none !important; /* Touch swipe / auto-carousel suffices on tiny screens */
    }

    .zegen-hero {
        padding: 120px 0 50px 0 !important;
    }

    .receipt-card {
        padding: 20px 15px !important;
    }

    /* Leadership Cards on Phones */
    .leader-img-wrap {
        height: 310px;
    }

    .leader-body {
        padding: 22px 18px 20px 18px !important;
    }

    .leader-name {
        font-size: 20px !important;
    }
}

