/* =========================================================
   AG AGAPE TRUST — DONATE PAGE
========================================================= */

:root {
    --maroon: #741b2a;
    --dark-maroon: #56131f;
    --gold: #c99a3b;
    --cream: #f7f3ed;
    --light-cream: #fbf9f6;
    --white: #ffffff;
    --text: #333333;
    --muted: #777777;
    --border: #e6dfd7;

    --heading-font: "Playfair Display", serif;
    --body-font: "Poppins", sans-serif;

    --container: 1200px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

/* ==========================
   Header
========================== */

.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    padding: 15px 0;
}

.container {
    width: 92%;
    max-width: 1400px;
    margin: auto;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo Section */

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.logo-text {
    margin-left: 18px;
}

.logo-text h2 {
    margin: 0;
    font-size: 32px;
    color: #741b2a;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 15px;
}

/* Navigation */

.nav-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #741b2a;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}
/*========================================
            MEGA MENU
========================================*/

.has-mega{
    position:relative;
}

/* Hide by default */

.mega-menu{

    position:absolute;

    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(20px);

    width: 1000px;
    max-width:92vw;

    background:#ffffff;

    display:grid;
    grid-template-columns:260px 1fr;

    gap:45px;

    padding:35px;

    border-radius:0 0 22px 22px;

    box-shadow:0 30px 70px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;

    transition:all .35s ease;

    z-index:999;
}
/*========================================
        RIGHT ALIGNED MEGA MENUS
========================================*/

.mega-right .mega-menu{

    left:auto;

    right:0;

    transform:translateY(20px);

}

.mega-right:hover .mega-menu{

    transform:translateY(0);

}

/* Show on hover */

.has-mega:hover .mega-menu{

    opacity:1;
    visibility:visible;

    transform:translateX(-50%) translateY(0);

}

/*========================================
            LEFT COLUMN
========================================*/

.mega-links{

    display:flex;
    flex-direction:column;
    gap:15px;

}

.mega-links a{

    text-decoration:none;

    color:#555;

    font-size:15px;

    font-weight:600;

    transition:.3s;

    position:relative;

    padding-left:0;

}

.mega-links a::before{

    content:"";

    position:absolute;

    left:-14px;

    top:50%;

    width:6px;
    height:6px;

    background:#741B2A;

    border-radius:50%;

    transform:translateY(-50%) scale(0);

    transition:.3s;

}

.mega-links a:hover{

    color:#741B2A;

    padding-left:14px;

}

.mega-links a:hover::before{

    transform:translateY(-50%) scale(1);

}

/*========================================
            RIGHT CARD
========================================*/

.mega-card{

    display:flex;

    align-items:center;

    gap:30px;

}

.mega-card img{

    width:270px;

    height:270px;

    object-fit:cover;

    border-radius:18px;

}

.mega-text{

    flex:1;

}

.mega-text h3{

    font-family:"Playfair Display", serif;

    color:#741B2A;

    font-size:2.2rem;

    margin-bottom:15px;

}

.mega-text p{

    color:#555;

    line-height:1.8;

    margin-bottom:25px;

}
.mega-btn{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 34px;

    background:#741B2A;
    color:#ffffff !important;

    text-decoration:none;

    border:none;
    border-radius:40px;

    font-size:15px;
    font-weight:700;

    letter-spacing:.4px;

    box-shadow:0 8px 20px rgba(116,27,42,.25);

    transition:.35s ease;

}

.mega-btn:hover{

    background:#5d1622;

    color:#ffffff !important;

    transform:translateY(-4px);

    box-shadow:0 12px 30px rgba(116,27,42,.35);

}

.mega-btn:visited,
.mega-btn:active{

    color:#ffffff !important;

}

/*========================================
            RESPONSIVE
========================================*/

@media(max-width:1100px){

    .mega-menu{

        width:95vw;

        grid-template-columns:1fr;

    }

    .mega-card{

        flex-direction:column;

        align-items:flex-start;

    }

    .mega-card img{

        width:100%;

        height:240px;

    }

}

/* =========================================================
   HERO
========================================================= */

.donate-hero {
    position: relative;
    min-height: 560px;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.donate-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(78, 3, 19, 0.88) 0%,
            rgba(109, 2, 21, 0.72) 45%,
            rgba(86, 19, 31, 0.25) 100%
        );
}

.donate-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 40px;
    padding-bottom: 40px;

    color: var(--white);
}

.hero-label {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;

    color: #e4c67f;
}

.donate-hero h1 {
    max-width: 700px;

    margin-bottom: 24px;

    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.08;
    color: #f7eee8;
}

.donate-hero p {
    max-width: 620px;

    font-family: var(--heading-font);
    font-size: clamp(21px, 2.5vw, 30px);
    line-height: 1.45;

    color: #f7eee8;
}


/* =========================================================
   MAIN DONATE AREA
========================================================= */

.donate-page {
    padding: 100px 0 110px;
    background: var(--light-cream);
}


/* =========================================================
   INTRO
========================================================= */

.donate-intro {
    max-width: 850px;
    margin-bottom: 65px;
}

.section-label,
.message-label {
    display: block;

    margin-bottom: 14px;

    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;

    color: var(--gold);
}

.donate-intro h2 {
    margin-bottom: 22px;

    font-family: var(--heading-font);
    font-size: clamp(38px, 4vw, 52px);
    font-weight: 600;
    line-height: 1.2;

    color: var(--dark-maroon);
}

.donate-intro p {
    max-width: 820px;

    margin-bottom: 16px;

    font-size: 15px;
    color: #666;
}


/* =========================================================
   TWO COLUMN AREA
========================================================= */

.donate-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
    gap: 70px;

    align-items: start;
}


/* =========================================================
   LEFT INFORMATION
========================================================= */

.donate-info {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.donate-block {
    padding: 38px;

    background: var(--white);

    border: 1px solid var(--border);
    border-top: 3px solid var(--maroon);

    box-shadow: 0 12px 35px rgba(70, 30, 30, 0.05);
}

.donate-block h3 {
    margin-bottom: 10px;

    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: 600;

    color: var(--dark-maroon);
}

.donate-block > p {
    margin-bottom: 28px;

    font-size: 14px;
    color: var(--muted);
}


/* =========================================================
   BANK DETAILS
========================================================= */

.bank-details {
    border-top: 1px solid var(--border);
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;

    padding: 15px 0;

    border-bottom: 1px solid var(--border);
}

.detail-row span {
    font-size: 13px;
    color: #777;
}

.detail-row strong {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0;

    border-top: 1px solid var(--border);
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item span {
    font-size: 13px;
    color: #777;
}

.contact-item a {
    font-size: 14px;
    font-weight: 500;

    color: var(--maroon);

    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.donate-side {
    position: sticky;
    top: 30px;
}

.donate-image {
    position: relative;

    height: 390px;

    overflow: hidden;
}

.donate-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(50, 10, 20, 0.35),
        transparent 55%
    );
}

.donate-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.donate-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   SUPPORT MESSAGE
========================================================= */

.support-message {
    padding: 36px 35px 40px;

    background: var(--maroon);

    color: var(--white);
}

.support-message .message-label {
    color: #e4c67f;
}

.support-message h3 {
    margin-bottom: 16px;

    font-family: var(--heading-font);
    font-size: 29px;
    font-weight: 500;
    line-height: 1.3;
}

.support-message p {
    font-size: 14px;
    line-height: 1.8;

    color: #f0e4e0;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 85px 0 25px;
    background: var(--dark-maroon);
    color: var(--white);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 65px;
}

.footer-brand img {
    width: 145px;
    margin-bottom: 22px;
    filter: brightness(0) invert(1);
}

.footer-brand > p:first-of-type {
    margin-bottom: 12px;
    color: var(--light-gold);
    font-family: var(--heading-font);
    font-size: 18px;
}

.footer-description {
    max-width: 270px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    line-height: 1.8;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 12px;
    color: var(--light-gold);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 9px;
    letter-spacing: 0.04em;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1000px) {

    .main-nav {
        gap: 17px;
    }

    .main-nav a {
        font-size: 9px;
    }

    .header-donate {
        padding: 11px 15px;
    }

    .intro-layout {
        grid-template-columns: 130px 1fr;
        gap: 45px;
    }

    .giving-options {
        grid-template-columns: 1fr;
        gap: 1px;
    }

    .giving-card {
        min-height: 330px;
    }

    .purpose-grid {
        gap: 60px;
    }

    .purpose-flow {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flow-line {
        width: 1px;
        height: 50px;
        margin: 0 auto;
    }

    .flow-line::after {
        right: auto;
        left: 50%;
        top: auto;
        bottom: -8px;
        transform: translateX(-50%) rotate(90deg);
        padding: 0;
    }

    .support-header {
        gap: 45px;
    }

    .other-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-header {
        position: relative;
    }

    .header-inner {
        min-height: 75px;
        flex-wrap: wrap;
        padding: 15px 0;
        gap: 15px;
    }

    .logo {
        width: 120px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 5px;
        gap: 22px;
    }

    .main-nav a {
        white-space: nowrap;
        font-size: 8px;
    }

    .header-donate {
        margin-left: auto;
        font-size: 8px;
    }


    /* HERO */

    .donate-hero,
    .hero-container {
        min-height: 590px;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero-content h1 {
        font-size: clamp(48px, 14vw, 68px);
    }

    .hero-content p {
        font-size: 13px;
    }

    .hero-number {
        font-size: 90px;
        bottom: 25px;
    }


    /* INTRO */

    .giving-intro,
    .give-section,
    .purpose-section,
    .support-section,
    .other-giving {
        padding: 85px 0;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .intro-label {
        max-width: 100px;
    }

    .intro-content h2 {
        font-size: 42px;
    }


    /* GIVE */

    .section-heading.light {
        margin-bottom: 40px;
    }

    .giving-card {
        min-height: 350px;
        padding: 32px;
    }


    /* PURPOSE */

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .purpose-heading h2 {
        font-size: 45px;
    }

    .purpose-flow {
        margin-top: 55px;
    }


    /* SUPPORT */

    .support-header {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 45px;
    }

    .support-header h2 {
        font-size: 45px;
    }

    .support-item {
        min-height: auto;
        grid-template-columns: 45px 1fr 35px;
        gap: 15px;
        padding: 25px 0;
    }

    .support-item p {
        grid-column: 2 / 3;
    }

    .support-arrow {
        grid-column: 3;
        grid-row: 1;
    }

    .support-title h3 {
        font-size: 22px;
    }


    /* OTHER */

    .other-heading {
        margin-bottom: 45px;
    }

    .other-heading h2 {
        font-size: 45px;
    }

    .other-grid {
        grid-template-columns: 1fr;
    }

    .other-card {
        min-height: 300px;
    }


    /* IMPACT */

    .impact-section {
        min-height: 650px;
    }

    .impact-content {
        padding: 80px 0;
    }

    .impact-content h2 {
        font-size: 55px;
        margin-bottom: 40px;
    }

    .impact-lines p {
        font-size: 18px;
    }

    .closing-text {
        font-size: 21px;
    }

.site-footer {
  background: linear-gradient(180deg, #5A0F0F 0%, #3D0808 100%); /* AUR DARK KIYA */
  color: #fff;
  font-family: 'Poppins', sans-serif;
  padding: 50px 0 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== TOP SECTION ========== */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* IMPORTANT: upar se align */
  gap: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* LEFT SIDE */
.footer-brand {
  flex: 2;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.brand-header img {
  width: 110px; /* LOGO BARA */
  height: 110px;
  object-fit: contain;
  flex-shrink: 0; /* logo squeeze na ho */
}

.brand-title h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-title span {
  font-size: 13px;
  color: #FFD700;
  font-weight: 500;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.9;
  text-align: left;
}

/* RIGHT SIDE - YEHI THEEK KARNA THA */
.footer-connect {
  flex: 1;
  display: flex;
  flex-direction: column; /* social upar newsletter neeche */
  gap: 35px;
  text-align: left;
  min-width: 300px; /* taake squeeze na ho */
}

.social-area h3,
.newsletter h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.social-icons {
  display: flex; /* ROW ME RAHE */
  flex-direction: row; /* IMPORTANT */
  justify-content: flex-start;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: #fff;
  color: #5A0F0F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
  flex-shrink: 0;
}

.social-icons a:hover {
  background: #FFD700;
  transform: translateY(-3px);
}

.newsletter p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  margin-bottom: 15px;
}

.newsletter form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.newsletter input {
  width: 100%;
  max-width: 280px;
  padding: 11px 16px;
  border-radius: 25px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.newsletter button {
  padding: 11px 28px;
  border-radius: 25px;
  border: none;
  background: #FFD700;
  color: #5A0F0F;
  font-weight: 700;
  cursor: pointer;
}

/* ========== MIDDLE ========== */
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 0;
  text-align: left;
}

.footer-links h4 {
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 600;
  color: #FFD700;
}

.contact-list li {
  display: flex;
  gap: 10px;
  opacity: 0.9;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* ========== BOTTOM ========== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
  .brand-header {
    justify-content: center;
  }
  .footer-connect {
    text-align: center;
  }
  .social-icons {
    justify-content: center;
  }
  .newsletter form {
    align-items: center;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .container {
        width: 88%;
    }

    .header-donate {
        padding: 9px 12px;
    }

    .hero-content h1 {
        font-size: 47px;
    }

    .hero-content p {
        font-size: 12px;
    }

    .intro-content h2,
    .purpose-heading h2,
    .support-header h2,
    .other-heading h2 {
        font-size: 38px;
    }

    .impact-content h2 {
        font-size: 48px;
    }

    .impact-lines p {
        font-size: 16px;
    }

}
/* =========================================================
   DONATE PAGE — MOBILE RESPONSIVENESS
========================================================= */

@media (max-width: 768px) {

    /* Prevent anything on the donate page from overflowing */
    .donate-page,
    .donate-page * {
        max-width: 100%;
    }

    /* Main donate sections */
    .donate-container,
    .donation-container,
    .donate-content,
    .support-container,
    .support-content {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Any two-column donation layout becomes one column */
    .donate-grid,
    .donation-grid,
    .support-grid,
    .give-grid,
    .donate-columns {
        display: grid;
        grid-template-columns: 1fr !important;
        width: 100%;
        gap: 35px;
    }

    /* Donation cards */
    .donate-card,
    .donation-card,
    .support-card,
    .give-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* IMPORTANT:
       Prevent text from becoming a narrow vertical column */
    .donate-card *,
    .donation-card *,
    .support-card *,
    .give-card * {
        min-width: 0;
        overflow-wrap: break-word;
        word-break: normal;
    }

    /* Headings */
    .donate-content h1,
    .donate-content h2,
    .donation-content h1,
    .donation-content h2 {
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* Paragraphs */
    .donate-content p,
    .donation-content p,
    .support-content p {
        max-width: 100%;
        word-break: normal;
        overflow-wrap: break-word;
    }

    /* Images */
    .donate-page img,
    .donate-section img,
    .donation-section img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Buttons */
    .donate-page .btn-primary,
    .donate-page .btn-outline,
    .donate-page .donate-btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }

}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 480px) {

    .donate-container,
    .donation-container,
    .donate-content,
    .support-container,
    .support-content {
        width: 92%;
        max-width: 92%;
    }

    .donate-grid,
    .donation-grid,
    .support-grid,
    .give-grid,
    .donate-columns {
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .donate-card,
    .donation-card,
    .support-card,
    .give-card {
        width: 100%;
        min-width: 0;
        padding: 22px;
    }

    .donate-content h1,
    .donation-content h1 {
        font-size: 34px;
        line-height: 1.15;
    }

    .donate-content h2,
    .donation-content h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .donate-content p,
    .donation-content p,
    .support-content p {
        font-size: 14px;
        line-height: 1.7;
    }

}
}
