/*
Theme Name: Mayboli - Residential School for Hearing Impaired
Theme URI: https://mayboli.org
Author: Samata Pratishthan
Author URI: https://samatapratishthan.org
Description: A warm, vibrant WordPress theme for Mayboli Niwasi Karn Badhir Vidyalaya - empowering deaf children through education and skills.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: mayboli
Tags: education, nonprofit, accessibility, responsive
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --primary: #D4560A;
    --primary-dark: #A83D06;
    --primary-light: #F5821F;
    --secondary: #1A6B3C;
    --secondary-light: #2D9B5A;
    --accent: #F5A623;
    --accent-warm: #FBCE8A;
    --dark: #1C1C1E;
    --text: #2D2D2D;
    --text-muted: #6B6B6B;
    --bg-warm: #FDF6EE;
    --bg-cream: #FFF9F2;
    --white: #FFFFFF;
    --border: #E8D5C0;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;
    --font-accent: 'Tiro Devanagari Marathi', 'Lohit Devanagari', serif;

    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);

    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 80px 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    line-height: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 86, 10, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-green {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-green:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--dark);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 56px;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

#masthead.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.site-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}

.site-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.site-name {
    display: flex;
    flex-direction: column;
}

.site-name-primary {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.site-name-secondary {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-menu li a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--primary);
    background: rgba(212, 86, 10, 0.06);
}

.nav-donate-btn {
    background: var(--primary) !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
}

.nav-donate-btn:hover {
    background: var(--primary-dark) !important;
    color: var(--white) !important;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 84px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1C1C1E 0%, #3D1A02 40%, #6B2D08 70%, #D4560A 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.25;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(245, 166, 35, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 86, 10, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 80px 24px 80px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    animation: heroFadeUp 1s ease-out;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.4);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.82);
    margin-bottom: 44px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounce 2s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   IMPACT STATS
   ============================================ */
.impact-strip {
    background: var(--primary);
    padding: 0;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.impact-item {
    padding: 40px 24px;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: background var(--transition);
}

.impact-item:last-child {
    border-right: none;
}

.impact-item:hover {
    background: rgba(255,255,255,0.08);
}

.impact-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.impact-number span {
    color: var(--accent);
}

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

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-warm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img,
.about-image-placeholder {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.about-image-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--dark);
    padding: 20px 24px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 700;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-badge .years {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
}

.about-badge .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text .section-tag {
    display: block;
}

.about-body {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.highlight-chip {
    background: rgba(212, 86, 10, 0.08);
    color: var(--primary);
    border: 1px solid rgba(212, 86, 10, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */
.programs-section {
    background: var(--white);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.program-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: var(--white);
}

.program-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: all var(--transition);
}

.program-card:hover .program-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(212, 86, 10, 0.3);
}

.program-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.program-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   VOCATIONAL TRAINING
   ============================================ */
.vocational-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #0D4A28 100%);
    position: relative;
    overflow: hidden;
}

.vocational-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.vocational-section .section-tag,
.vocational-section .section-title,
.vocational-section .section-subtitle {
    color: rgba(255,255,255,0.9);
}

.vocational-section .section-title {
    color: var(--white);
}

.vocational-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
}

.voc-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all var(--transition);
    backdrop-filter: blur(4px);
}

.voc-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    transform: translateX(6px);
}

.voc-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    background: rgba(245, 166, 35, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.voc-card h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.voc-card p {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.achievements-section {
    background: var(--bg-warm);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.achievement-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.achievement-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    background: linear-gradient(135deg, var(--accent-warm), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.achievement-body {
    padding: 24px;
}

.achievement-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.achievement-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-preview-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 12px;
    margin-bottom: 40px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img,
.gallery-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-placeholder {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
}

.gallery-item:nth-child(2) .gallery-placeholder { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.gallery-item:nth-child(3) .gallery-placeholder { background: linear-gradient(135deg, #8B4513, #D4760A); }
.gallery-item:nth-child(4) .gallery-placeholder { background: linear-gradient(135deg, #4A1942, #8B2E7A); }
.gallery-item:nth-child(5) .gallery-placeholder { background: linear-gradient(135deg, #1A5276, #2E86C1); }

.gallery-item:hover img,
.gallery-item:hover .gallery-placeholder {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-text {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   SUPPORT / DONATION
   ============================================ */
.support-section {
    background: linear-gradient(135deg, var(--bg-warm) 0%, #FEF0DC 100%);
    position: relative;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.support-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.support-card:hover::before {
    transform: scaleX(1);
}

.support-card.featured {
    border-color: var(--primary);
    transform: scale(1.03);
}

.support-card.featured::before {
    transform: scaleX(1);
}

.support-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.support-card.featured:hover {
    transform: scale(1.03) translateY(-6px);
}

.support-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.support-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.support-amount {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.support-cta {
    text-align: center;
}

/* ============================================
   SUPPORTERS LOGOS
   ============================================ */
.supporters-section {
    background: var(--white);
    padding: 60px 0;
}

.supporters-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.supporters-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px 60px;
}

.supporter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.65;
    transition: opacity var(--transition);
}

.supporter-item:hover {
    opacity: 1;
}

.supporter-item .icon {
    font-size: 1.5rem;
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.contact-cta-section {
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 86, 10, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto 60px;
}

.cta-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    color: rgba(255,255,255,0.85);
}

.contact-info h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 28px;
}

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

.contact-icon {
    width: 44px;
    height: 44px;
    background: rgba(212, 86, 10, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: var(--accent);
}

.contact-item-body h4 {
    color: var(--accent);
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item-body p,
.contact-item-body a {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    text-decoration: none;
}

.contact-item-body a:hover {
    color: var(--accent);
}

.map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%);
}

.map-placeholder {
    width: 100%;
    height: 280px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    text-align: center;
    gap: 12px;
    flex-direction: column;
}

/* ============================================
   FOOTER
   ============================================ */
#colophon {
    background: #111;
    color: rgba(255,255,255,0.75);
}

.footer-main {
    padding: 64px 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

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

.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

.footer-bottom a {
    color: rgba(255,255,255,0.55);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--primary-light) 100%);
    padding: 120px 0 72px;
    margin-top: 84px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.04' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-breadcrumb {
    color: rgba(255,255,255,0.65);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.page-hero-breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
}

.page-hero-breadcrumb a:hover {
    color: var(--accent);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--white);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto;
}

/* ============================================
   ABOUT PAGE - TIMELINE
   ============================================ */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 28px;
}

.timeline-dot {
    position: absolute;
    left: -33px;
    top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   DONATION FORM
   ============================================ */
.donation-section {
    background: var(--bg-warm);
}

.donation-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
}

.form-control::placeholder {
    color: #B0B0B0;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.amount-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.amount-btn {
    padding: 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    transition: all var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    border-color: var(--primary);
    background: rgba(212, 86, 10, 0.06);
    color: var(--primary);
}

.bank-details {
    background: rgba(212, 86, 10, 0.05);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 32px;
}

.bank-details h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--primary);
}

.bank-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.88rem;
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-row span:first-child {
    color: var(--text-muted);
    font-weight: 600;
}

.bank-row span:last-child {
    color: var(--dark);
    font-weight: 700;
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(212, 86, 10, 0.06);
}

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.gallery-full-item {
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-full-item .gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: transform 0.4s ease;
}

.gallery-full-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-full-item:hover .gallery-placeholder,
.gallery-full-item:hover img {
    transform: scale(1.06);
}

.gallery-full-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 18px;
}

.gallery-full-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-full-item .gallery-overlay-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-page-section {
    background: var(--bg-warm);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.contact-form-wrap p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-card .ci {
    width: 48px;
    height: 48px;
    background: rgba(212, 86, 10, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: var(--primary);
}

.contact-card h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 4px;
}

.contact-card p, .contact-card a {
    font-size: 0.95rem;
    color: var(--text);
    text-decoration: none;
    line-height: 1.5;
}

.map-full {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 24px;
}

.map-full iframe {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

/* ============================================
   INSPIRATIONS SECTION (About Page)
   ============================================ */
.inspirations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.inspiration-card {
    background: var(--bg-warm);
    border-radius: var(--radius-lg);
    padding: 36px;
    border: 1px solid var(--border);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all var(--transition);
}

.inspiration-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.inspiration-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    border: 3px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.inspiration-body h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.inspiration-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================
   SCHOOLS LIST
   ============================================ */
.schools-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.school-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.school-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.school-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.school-item span {
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

/* ============================================
   QUOTE BLOCK
   ============================================ */
.quote-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 48px 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 28px;
    font-family: var(--font-display);
    font-size: 12rem;
    color: rgba(255,255,255,0.06);
    line-height: 1;
}

.quote-block blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.quote-block cite {
    color: var(--accent);
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================
   ALERTS / NOTICES
   ============================================ */
.notice-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 12px 24px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
}

.notice-bar a {
    color: var(--accent);
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 56px 0; }

    .menu-toggle { display: flex; }
    .main-nav { display: none; }
    .main-nav.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        z-index: 999;
    }
    .main-nav.active .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    .main-nav.active .nav-menu li { width: 100%; }
    .main-nav.active .nav-menu li a { display: block; }

    .hero-content { padding: 60px 24px; }

    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .impact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .impact-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }

    .about-grid { grid-template-columns: 1fr; }
    .about-badge { bottom: -10px; right: 10px; }

    .programs-grid { grid-template-columns: 1fr 1fr; }

    .vocational-grid { grid-template-columns: 1fr; }

    .achievements-grid { grid-template-columns: 1fr; }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item:first-child { grid-column: span 2; }

    .support-grid { grid-template-columns: 1fr; }
    .support-card.featured { transform: none; }

    .contact-grid { grid-template-columns: 1fr; }

    .footer-main { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .inspirations-grid { grid-template-columns: 1fr; }
    .schools-grid { grid-template-columns: 1fr; }

    .contact-page-grid { grid-template-columns: 1fr; }

    .donation-form-wrap { padding: 28px 24px; }
    .contact-form-wrap { padding: 28px 24px; }
    .amount-selector { grid-template-columns: repeat(2, 1fr); }

    .gallery-full-grid { grid-template-columns: repeat(2, 1fr); }

    .quote-block { padding: 32px 28px; }
    .quote-block::before { font-size: 8rem; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; align-items: center; }
    .programs-grid { grid-template-columns: 1fr; }
    .gallery-full-grid { grid-template-columns: 1fr; }
    .impact-grid { grid-template-columns: 1fr; }
    .impact-item { border-right: none; }
}

/* ============================================
   WORDPRESS SPECIFIC
   ============================================ */
.wp-block-image img { border-radius: var(--radius); }
.alignwide { max-width: 1200px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: 100%; }
.aligncenter { text-align: center; margin: auto; }

/* WP default content styles */
.entry-content p { margin-bottom: 1.2em; }
.entry-content h2 { font-size: 1.8rem; margin: 1.5em 0 0.7em; }
.entry-content h3 { font-size: 1.4rem; margin: 1.2em 0 0.6em; }
.entry-content ul { list-style: disc; padding-left: 1.5em; margin-bottom: 1em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1em; }

/* ============================================
   ELEMENTOR COMPATIBILITY
   ============================================ */

/* Remove body margin that breaks Elementor full-width */
.elementor-page body,
body.elementor-page {
    margin: 0 !important;
    padding: 0 !important;
}

/* Elementor full-width sections */
.elementor-section.elementor-section-full_width {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Fix header margin for Elementor pages with our header */
.elementor-full-width-page {
    margin-top: 0 !important;
}

/* Elementor editor — allow theme styles to show */
.elementor-editor-active .elementor-widget-wrap {
    padding: 10px;
}

/* When Elementor renders content, don't add extra spacing */
.elementor-widget-container > *:first-child {
    margin-top: 0;
}
.elementor-widget-container > *:last-child {
    margin-bottom: 0;
}

/* Elementor columns flush with edges in full-width sections */
.elementor-section-boxed > .elementor-container {
    max-width: 1200px;
}

/* Fix sticky header z-index to work above Elementor popups */
#masthead {
    z-index: 9999 !important;
}

/* Elementor Canvas template — no extra padding */
.elementor-canvas-wrap {
    min-height: 100vh;
}

/* Fix Elementor button styles to match theme */
.elementor-button.elementor-size-sm,
.elementor-button.elementor-size-md,
.elementor-button.elementor-size-lg,
.elementor-button.elementor-size-xl {
    border-radius: 50px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0;
    transition: all 0.3s ease;
}

/* Elementor heading font — inherit theme display font */
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-display);
}

/* Elementor image widget */
.elementor-widget-image img {
    border-radius: var(--radius);
}

/* Elementor icon box */
.elementor-icon-box-wrapper {
    text-align: center;
}

/* Global Elementor colors map to theme colors */
:root {
    --e-global-color-primary:   var(--primary);
    --e-global-color-secondary: var(--secondary);
    --e-global-color-accent:    var(--accent);
    --e-global-color-text:      var(--text);
}

/* Admin bar — Elementor edit link style */
#wpadminbar .elementor-adminbar-btn a {
    background: #D4560A !important;
    color: #fff !important;
}

/* Page using Elementor Full Width template — remove top margin */
body.page-template-elementor-header-footer #primary,
body.elementor-page #primary {
    margin-top: 0 !important;
}

/* Page content area for Elementor editing */
.site-main .entry-content {
    padding: 0;
}

/* Elementor section with theme classes */
.elementor-section .mayboli-section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Dark section support in Elementor */
.elementor-section.dark-bg .elementor-heading-title,
.elementor-section.dark-bg .elementor-widget-text-editor {
    color: #fff;
}

/* Elementor forms match theme style */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
    border: 2px solid var(--border) !important;
    border-radius: var(--radius) !important;
    font-family: var(--font-body) !important;
    padding: 14px 18px !important;
    transition: border-color 0.3s ease !important;
}
.elementor-field-group input:focus,
.elementor-field-group textarea:focus {
    border-color: var(--primary) !important;
    outline: none !important;
    box-shadow: none !important;
}
.elementor-button-wrapper .elementor-button {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}
.elementor-button-wrapper .elementor-button:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}
