/* ============================================================
   Tejomay NGO - Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary:    #e05a1e;
    --primary-dark: #c04e18;
    --secondary:  #1b3a5c;
    --accent:     #f7a830;
    --text:       #444444;
    --text-light: #777777;
    --white:      #ffffff;
    --light-bg:   #f8f8f8;
    --border:     #e0e0e0;
    --shadow:     0 4px 20px rgba(0,0,0,0.08);
    --radius:     6px;
    --font-main:  'Open Sans', sans-serif;
    --font-head:  'Playfair Display', serif;
    --transition: 0.3s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); font-size: 15px; line-height: 1.7; background: var(--white); }
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; }
button { cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top Bar ---------- */
.top-bar {
    background: var(--secondary);
    color: rgba(255,255,255,0.85);
    padding: 8px 0;
    font-size: 13px;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { color: rgba(255,255,255,0.85); }
.top-bar a:hover { color: var(--white); }
.top-bar i { margin-right: 6px; }
.top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: var(--white);
    margin-left: 6px;
    font-size: 12px;
    transition: background var(--transition);
}
.top-social a:hover { background: var(--primary); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--transition);
}
.site-header.sticky { box-shadow: 0 4px 20px rgba(0,0,0,0.13); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 20px;
}

.logo img { height: 60px; width: auto; }
.logo-text { font-family: var(--font-head); font-size: 26px; color: var(--primary); font-weight: 700; }

/* Nav */
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-list > li > a {
    color: var(--secondary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-list > li > a:hover,
.nav-list > li.active > a {
    color: var(--primary);
    background: rgba(224,90,30,0.06);
}
.nav-list > li.active > a { color: var(--primary); }

/* Donate button in nav */
.nav-list a.nav-donate-btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 9px 22px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.nav-list a.nav-donate-btn:hover { background: var(--primary-dark); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    min-width: 210px;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border-top: 3px solid var(--primary);
    padding: 8px 0;
    z-index: 999;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown li a {
    display: block;
    padding: 9px 20px;
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
}
.dropdown li a:hover {
    color: var(--primary);
    background: rgba(224,90,30,0.05);
    padding-left: 26px;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--secondary);
    transition: all var(--transition);
    border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero / Slider ---------- */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.hero-slide {
    width: 100%;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(27,58,92,0.75) 0%, rgba(27,58,92,0.35) 60%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}
.hero-content .tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-content h1 {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}
.hero-content p {
    color: rgba(255,255,255,0.88);
    font-size: 17px;
    margin-bottom: 30px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Slider controls */
.slider-wrapper { position: relative; width: 100%; }
.slides { display: flex; transition: transform 0.6s ease; }
.slide { min-width: 100%; }
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
    width: 44px; height: 44px;
    border-radius: 50%;
    font-size: 16px;
    z-index: 10;
    transition: background var(--transition);
}
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }
.slider-dots {
    position: absolute;
    bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}
.slider-dot.active { background: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid 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(224,90,30,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
}
.btn-secondary:hover {
    background: #15304d;
    border-color: #15304d;
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Section Base ---------- */
.section { padding: 80px 0; }
.section-light { background: var(--light-bg); }
.section-dark { background: var(--secondary); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header { text-align: center; margin-bottom: 55px; }
.section-header .label {
    display: inline-block;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.section-header h2 {
    font-family: var(--font-head);
    font-size: 38px;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.25;
}
.section-header p {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto;
    font-size: 16px;
}
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header p { color: rgba(255,255,255,0.75); }
.section-dark .section-header .label { color: var(--accent); }

.divider {
    width: 55px; height: 3px;
    background: var(--primary);
    margin: 14px auto 0;
    border-radius: 3px;
}

/* ---------- Home Feature Boxes ---------- */
.feature-boxes { padding: 0; margin-top: -50px; position: relative; z-index: 5; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.feature-box {
    padding: 40px 35px;
    background: var(--white);
    border-right: 1px solid var(--border);
    text-align: center;
    transition: all var(--transition);
}
.feature-box:last-child { border-right: none; }
.feature-box:hover { background: var(--primary); }
.feature-box:hover h3 { color: var(--white); }
.feature-box:hover p { color: rgba(255,255,255,0.85); }
.feature-box:hover .feature-link { color: var(--white); }
.feature-box:hover .feature-icon { background: rgba(255,255,255,0.2); color: var(--white); }

.feature-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(224,90,30,0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: all var(--transition);
}
.feature-box h3 {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 10px;
    transition: color var(--transition);
}
.feature-box p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
    transition: color var(--transition);
}
.feature-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    transition: color var(--transition);
}

/* ---------- About Section ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
}
.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    width: 120px; height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(224,90,30,0.4);
}
.about-badge .num {
    font-size: 30px;
    line-height: 1;
    font-family: var(--font-head);
}
.about-badge .lbl { font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.about-content h2 {
    font-family: var(--font-head);
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 20px;
    line-height: 1.3;
}
.about-content .intro {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}
.about-content p { color: var(--text-light); margin-bottom: 15px; }
.about-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.about-feature i {
    color: var(--primary);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}
.about-feature span { color: var(--text); font-size: 15px; }

/* ---------- Stats ---------- */
.stats-section { background: var(--secondary); padding: 60px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-item {
    text-align: center;
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-family: var(--font-head);
    font-size: 52px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: block;
}
.stat-label {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Services Cards ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.service-img {
    height: 220px;
    overflow: hidden;
}
.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-body { padding: 28px; }
.service-body h3 {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 12px;
}
.service-body p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 18px;
}
.service-body .btn { font-size: 13px; padding: 9px 22px; }

/* ---------- Mission / Vision ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.mv-card {
    background: var(--white);
    border-radius: 8px;
    padding: 40px 36px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary);
    transition: all var(--transition);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.1); }
.mv-card h3 {
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mv-card h3 i { color: var(--primary); font-size: 22px; }
.mv-card p { color: var(--text-light); font-size: 15px; }

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--light-bg); }
.tes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.tes-card {
    background: var(--white);
    border-radius: 8px;
    padding: 34px 32px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all var(--transition);
}
.tes-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.1); }
.quote-icon {
    color: var(--primary);
    font-size: 40px;
    line-height: 1;
    margin-bottom: 14px;
    opacity: 0.3;
    font-family: Georgia, serif;
}
.tes-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 24px;
}
.tes-author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.tes-author img {
    width: 56px; height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
}
.tes-author-name { font-weight: 700; color: var(--secondary); font-size: 15px; }
.tes-author-role { font-size: 12px; color: var(--text-light); }

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #c04e18 100%);
    padding: 70px 0;
    text-align: center;
    color: var(--white);
}
.cta-banner h2 {
    font-family: var(--font-head);
    font-size: 40px;
    margin-bottom: 16px;
}
.cta-banner p { font-size: 17px; margin-bottom: 30px; opacity: 0.9; }
.cta-banner .btn-outline-white {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    margin: 0 8px;
    transition: all var(--transition);
}
.cta-banner .btn-outline-white:hover { background: var(--white); color: var(--primary); }
.cta-banner .btn-filled-white {
    display: inline-block;
    padding: 13px 36px;
    background: var(--white);
    color: var(--primary);
    border-radius: 30px;
    font-weight: 700;
    font-size: 15px;
    margin: 0 8px;
    transition: all var(--transition);
}
.cta-banner .btn-filled-white:hover { background: var(--secondary); color: var(--white); }

/* ---------- Contact Form ---------- */
.contact-section { background: var(--secondary); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.contact-info h2 {
    font-family: var(--font-head);
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
}
.contact-info p { color: rgba(255,255,255,0.8); margin-bottom: 24px; }
.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}
.contact-info .info-item i { color: var(--primary); font-size: 18px; margin-top: 3px; }
.contact-info .info-item a { color: rgba(255,255,255,0.9); }
.contact-info .info-item a:hover { color: var(--accent); }
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
}
.contact-form h3 {
    font-family: var(--font-head);
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 6px;
}
.form-group label .req { color: var(--primary); margin-left: 2px; }
.form-control {
    width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-main);
    color: var(--text);
    transition: border-color var(--transition);
    outline: none;
}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(224,90,30,0.1); }
textarea.form-control { min-height: 110px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.success-msg {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}
.error-msg {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

/* ---------- Page Banner ---------- */
.page-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, #2a5580 100%);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('wp-content/uploads/2025/02/Tejomay-25.jpg') center/cover;
    opacity: 0.12;
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner h1 {
    font-family: var(--font-head);
    font-size: 46px;
    color: var(--white);
    margin-bottom: 12px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }

/* ---------- Page Content ---------- */
.page-content { padding: 70px 0; }
.content-block { max-width: 850px; margin: 0 auto; }
.content-block h2 {
    font-family: var(--font-head);
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
}
.content-block p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 15px;
}
.program-list { margin: 24px 0; }
.program-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}
.program-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--primary);
}
.program-list li:last-child { border-bottom: none; }

/* ---------- Gallery Grid ---------- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 9px 24px;
    border-radius: 30px;
    border: 2px solid var(--border);
    color: var(--text-light);
    font-weight: 600;
    font-size: 13px;
    transition: all var(--transition);
    cursor: pointer;
    background: var(--white);
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27,58,92,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 30px; }

/* ---------- FAQ Accordion ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 14px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: var(--white);
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary);
    transition: all var(--transition);
    cursor: pointer;
}
.faq-question:hover { background: rgba(224,90,30,0.04); color: var(--primary); }
.faq-question.open { background: var(--primary); color: var(--white); }
.faq-question i { transition: transform var(--transition); flex-shrink: 0; margin-left: 12px; font-size: 13px; }
.faq-question.open i { transform: rotate(180deg); }
.faq-answer {
    display: none;
    padding: 18px 24px;
    background: var(--white);
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.75;
    border-top: 1px solid var(--border);
}
.faq-answer.open { display: block; }

/* ---------- Donate Page ---------- */
.donate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.donate-info h2 {
    font-family: var(--font-head);
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 18px;
}
.donate-info p { color: var(--text-light); margin-bottom: 12px; }
.donate-tiers { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.donate-tier {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    transition: all var(--transition);
}
.donate-tier:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(224,90,30,0.12); }
.tier-amt { font-weight: 700; color: var(--primary); font-size: 18px; min-width: 90px; }
.tier-desc { color: var(--text-light); font-size: 14px; }
.bank-box {
    background: var(--light-bg);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid var(--border);
    margin-top: 24px;
}
.bank-box h3 {
    font-family: var(--font-head);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}
.bank-detail {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}
.bank-detail:last-child { border-bottom: none; }
.bank-detail .key { color: var(--text-light); }
.bank-detail .val { font-weight: 600; color: var(--secondary); }

/* ---------- History Page ---------- */
.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.history-images { display: flex; flex-direction: column; gap: 20px; }
.history-images img { border-radius: 8px; box-shadow: var(--shadow); }
.history-text h2 {
    font-family: var(--font-head);
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 16px;
}
.history-text blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 18px;
    color: var(--text-light);
    font-style: italic;
    font-size: 16px;
    margin: 20px 0;
}
.history-text p { color: var(--text-light); margin-bottom: 14px; font-size: 15px; }
.founder-info {
    background: var(--secondary);
    color: var(--white);
    border-radius: 8px;
    padding: 24px;
    margin-top: 24px;
}
.founder-info .name { font-family: var(--font-head); font-size: 20px; margin-bottom: 4px; }
.founder-info .role { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: #0f243a; color: rgba(255,255,255,0.75); }
.footer-top { padding: 70px 0 50px; }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr 1.5fr;
    gap: 36px;
}
.footer-heading {
    color: var(--white);
    font-size: 16px;
    font-family: var(--font-head);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-brand .logo-text-footer {
    font-family: var(--font-head);
    font-size: 26px;
    color: var(--white);
    font-weight: 700;
}
.footer-logo { height: 55px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-links a i { font-size: 10px; color: var(--primary); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact-info { margin-top: 18px; }
.footer-contact-info p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-contact-info i { color: var(--primary); }
.footer-contact-info a { color: rgba(255,255,255,0.75); }
.footer-contact-info a:hover { color: var(--accent); }
.footer-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.footer-gallery a {
    display: block;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 1;
}
.footer-gallery img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.footer-gallery a:hover img { transform: scale(1.1); }

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 18px 0;
    text-align: center;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .footer-gallery-col { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 40px; }
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .tes-grid { grid-template-columns: 1fr; }
    .mv-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 38px; }
}

@media (max-width: 768px) {
    .section { padding: 55px 0; }
    .nav-toggle { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-list > li > a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
    .has-dropdown:hover .dropdown { display: none; }
    .has-dropdown.open .dropdown { display: block; position: static; box-shadow: none; border-top: none; padding: 0; }
    .dropdown li a { padding-left: 20px; }
    .about-grid,
    .contact-grid,
    .donate-grid,
    .history-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 30px; }
    .page-banner h1 { font-size: 32px; }
    .section-header h2 { font-size: 28px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .about-badge { width: 90px; height: 90px; right: -10px; bottom: -10px; }
    .about-badge .num { font-size: 22px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 26px; }
    .top-bar-inner { flex-direction: column; gap: 6px; }
}

/* ===== BLOGS ===== */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
}
.blog-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,0,0,0.12); }
.blog-img { position: relative; overflow: hidden; height: 220px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-img img { transform: scale(1.05); }
.blog-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 4px;
}
.blog-body { padding: 24px; }
.blog-meta { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-body h3 { font-family: var(--font-head); font-size: 18px; color: var(--secondary); margin-bottom: 12px; line-height: 1.4; }
.blog-body h3 a { color: inherit; text-decoration: none; }
.blog-body h3 a:hover { color: var(--primary); }
.blog-body p { color: var(--text-light); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.blog-read-more { color: var(--primary); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.blog-read-more:hover { gap: 10px; }

/* ===== MENTORS ===== */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.mentor-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
}
.mentor-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1.12;
}
.mentor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.mentor-card:hover .mentor-img-wrap img {
    transform: scale(1.05);
}
/* Hover overlay — fade in + slide up */
.mentor-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 58, 92, 0.88);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
    overflow-y: auto;
}
.mentor-card:hover .mentor-overlay {
    opacity: 1;
    transform: translateY(0);
}
.mentor-overlay-inner h3 {
    font-family: var(--font-head);
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}
.mentor-overlay-inner p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
}
.mentor-name-bar {
    padding: 14px 16px;
    background: #fff;
}
.mentor-name-bar h3 {
    font-family: var(--font-head);
    font-size: 16px;
    color: var(--secondary);
    margin: 0;
    text-align: center;
}
@media (max-width: 900px) {
    .mentors-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .mentors-grid { grid-template-columns: 1fr; }
}
