/* ==========================================================
   Maybhumi Vikas Charitable Trust — Theme Stylesheet
   Palette derived from the trust logo: green / orange / brown
   ========================================================== */

:root {
    --green-dark: #1f4d2e;
    --green: #2e7d32;
    --green-light: #66bb6a;
    --orange: #f57c00;
    --orange-light: #ffb74d;
    --brown: #5d4037;
    --brown-dark: #3e2723;
    --cream: #fdf8f0;
    --text-dark: #2b2b2b;
    --text-muted: #6b6b6b;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.65;
}

h1, h2, h3, h4, .display-font {
    font-family: 'Merriweather', serif;
    color: var(--green-dark);
}

a {
    text-decoration: none;
    color: var(--green);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--orange);
}

/* ---------- Buttons ---------- */
.btn-donate {
    background: linear-gradient(135deg, var(--orange), #ff9800);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 16px rgba(245, 124, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-donate:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(245, 124, 0, 0.45);
}

.btn-outline-trust {
    border: 2px solid var(--green);
    color: var(--green);
    background: transparent;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-outline-trust:hover {
    background: var(--green);
    color: #fff;
}

/* ---------- Top Utility Bar ---------- */
.topbar {
    background: var(--green-dark);
    color: #fff;
    padding: 8px 0;
    font-size: 0.85rem;
}
.topbar-social a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    margin-right: 6px;
}
.topbar-social a:hover {
    background: var(--orange);
    color: #fff;
}
.ticker-wrap {
    display: flex;
    align-items: center;
    margin: 0 18px;
    min-width: 0;
    overflow: hidden;
}
.ticker-label {
    background: var(--orange);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 12px;
    font-size: 0.78rem;
    flex-shrink: 0;
}
.ticker-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 25s linear infinite;
    width: max-content;
}
.ticker-item {
    padding-right: 60px;
    color: #e8f0e9;
}
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.topbar-phone {
    color: #fff;
    white-space: nowrap;
    font-weight: 500;
}
.topbar-phone:hover { color: var(--orange-light); }

/* Google Translate widget — restyle to match theme, keep it clickable */
.topbar-translate { line-height: 1; }
.goog-te-gadget { font-family: 'Poppins', sans-serif !important; font-size: 0.85rem !important; color: #fff !important; }
.goog-te-gadget-simple {
    background: rgba(255,255,255,0.12) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    display: inline-flex !important;
    align-items: center;
}
.goog-te-gadget-icon { display: none !important; }
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed span,
.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
    color: #fff !important;
    font-size: 0.8rem !important;
}
.goog-te-gadget .goog-te-combo {
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.goog-te-gadget .goog-te-combo option { color: #222; }
body { top: 0 !important; }
.goog-te-banner-frame { display: none !important; }

@media (max-width: 767px) {
    .topbar-social { display: none; }
    .ticker-label { display: none; }
    .ticker-wrap { margin: 0 10px; }
}

/* ---------- Navbar ---------- */
.navbar-trust {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}
.navbar-trust .navbar-brand img {
    height: 56px;
    width: auto;
}
.navbar-trust .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    margin: 0 8px;
    position: relative;
}
.navbar-trust .nav-link.active,
.navbar-trust .nav-link:hover {
    color: var(--green);
}
.navbar-trust .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -4px;
    width: 0; height: 2px;
    background: var(--orange);
    transition: width 0.2s ease;
}
.navbar-trust .nav-link:hover::after,
.navbar-trust .nav-link.active::after {
    width: 100%;
}
.nav-donate-btn {
    background: var(--orange);
    color: #fff !important;
    padding: 8px 22px !important;
    border-radius: 50px;
    margin-left: 10px;
}
.nav-donate-btn:hover {
    background: var(--green) !important;
}

/* ---------- Hero ---------- */
.hero {
    background: linear-gradient(135deg, rgba(31,77,46,0.92), rgba(93,64,55,0.85)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 110px 0 90px;
    position: relative;
}
.hero h1 {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
}
.hero p.lead {
    color: #f1f1f1;
    font-size: 1.2rem;
    max-width: 640px;
}
.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}

/* ---------- Sections ---------- */
.section {
    padding: 80px 0;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .eyebrow {
    text-transform: uppercase;
    color: var(--orange);
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.85rem;
}
.section-title h2 {
    font-size: 2.2rem;
    margin-top: 8px;
}
.section-alt {
    background: #fff;
}

/* ---------- Cards ---------- */
.cause-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cause-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}
.cause-card img {
    height: 230px;
    width: 100%;
    object-fit: cover;
}
.cause-card .card-body {
    padding: 26px;
}
.cause-card .card-body h3 {
    font-size: 1.3rem;
}

/* ---------- Impact Counters ---------- */
.impact-strip {
    background: var(--green-dark);
    color: #fff;
    padding: 50px 0;
}
.impact-item {
    text-align: center;
}
.impact-item .num {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--orange-light);
    font-family: 'Merriweather', serif;
}
.impact-item .label {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Donate Page ---------- */
.donate-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px;
}
.amount-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}
.amount-option.active,
.amount-option:hover {
    border-color: var(--orange);
    background: #fff3e0;
    color: var(--orange);
}
.qr-box {
    border: 2px dashed var(--green);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
    background: #f6fbf6;
}
.qr-box img {
    max-width: 220px;
}

/* ---------- Gallery ---------- */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}

/* ---------- Events ---------- */
.event-card {
    background: #fff;
    border-left: 4px solid var(--orange);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 22px;
    margin-bottom: 20px;
}
.event-date-badge {
    background: var(--green-dark);
    color: #fff;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* ---------- Footer ---------- */
footer.site-footer {
    background: var(--brown-dark);
    color: #d7cfc9;
    padding: 60px 0 20px;
}
footer.site-footer h5 {
    color: #fff;
    margin-bottom: 18px;
    font-family: 'Merriweather', serif;
}
footer.site-footer a {
    color: #d7cfc9;
}
footer.site-footer a:hover {
    color: var(--orange-light);
}
footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 34px;
    padding-top: 18px;
    text-align: center;
    font-size: 0.85rem;
    color: #a89f99;
}
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    margin-right: 8px;
}
.social-icons a:hover {
    background: var(--orange);
    color: #fff;
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25d366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 999;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}

/* ---------- Contact ---------- */
.contact-info-box {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    height: 100%;
}
.contact-info-box .icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e8f5e9;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
}

/* ---------- Forms ---------- */
.form-control:focus {
    border-color: var(--green);
    box-shadow: 0 0 0 0.2rem rgba(46,125,50,0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero { padding: 80px 0 60px; }
    .hero h1 { font-size: 2.1rem; }
    .section { padding: 55px 0; }
}
