/* =========================================================
   AG AGAPE TRUST
   ADVOCACY PROJECT PAGE
========================================================= */

/* =========================================================
   VARIABLES
========================================================= */

:root {
    --maroon: #741b2a;
    --maroon-dark: #54131e;
    --maroon-light: #8d3040;

    --cream: #f8f5ed;
    --cream-dark: #eee8dc;

    --white: #ffffff;

    --gold: #c7a96b;
    --gold-light: #e5cfa6;

    --text: #68615c;
    --text-dark: #302c2a;
    --text-light: #817972;

    --border: rgba(116, 27, 42, 0.12);

    --heading-font: "Playfair Display", Georgia, serif;
    --body-font: "Poppins", Arial, sans-serif;

    --container-width: 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;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(100% - 80px, var(--container-width));
    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;

    }

}

/* =========================================================
   BREADCRUMBS
========================================================= */

.breadcrumb-section {
    background: var(--cream);

    border-bottom: 1px solid rgba(116, 27, 42, 0.08);
}

.breadcrumbs {
    min-height: 54px;

    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 11px;
    letter-spacing: 0.02em;
}

.breadcrumbs a {
    color: var(--maroon);

    transition:
        opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 0.65;
}

.breadcrumbs span:not(:last-child) {
    color: var(--gold);
}

.breadcrumbs span:last-child {
    color: var(--text-light);
}


/* =========================================================
   HERO
========================================================= */

.project-hero {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(69, 20, 29, 0.90),
            rgba(69, 20, 29, 0.90)
        ),
        url("../images/advocacy-project.png");

    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(52, 13, 20, 0.45),
            transparent 70%
        );
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
    padding: 80px 0;
}

.hero-label {
    display: inline-block;

    margin-bottom: 22px;

    color: var(--gold-light);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-content h1 {
    margin-bottom: 26px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 600;

    line-height: 1.08;
}

.hero-content p {
    max-width: 720px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 16px;
    font-weight: 300;

    line-height: 1.9;
}


/* =========================================================
   SECTION COMMON
========================================================= */

.section-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--maroon);

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.section-label.light {
    color: var(--gold-light);
}

.section-heading h2 {
    color: var(--text-dark);

    font-family: var(--heading-font);
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 600;

    line-height: 1.18;
}

.section-heading.centered {
    max-width: 800px;
    margin: 0 auto 70px;

    text-align: center;
}

.section-heading.centered p {
    max-width: 650px;

    margin: 20px auto 0;

    color: var(--text);

    font-size: 15px;
    line-height: 1.9;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.project-introduction {
    padding: 120px 0 125px;

    background: var(--white);
}

.project-introduction .section-heading {
    margin-bottom: 48px;
}

.intro-content {
    max-width: none;
}

.intro-content p {
    width: 100%;
    max-width: none;

    margin-bottom: 24px;

    color: var(--text);

    font-size: 15px;
    line-height: 2;
}

.intro-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ADVOCACY PILLARS
========================================================= */

.advocacy-pillars {
    padding: 120px 0;

    background: var(--cream);
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.pillar-card {
    position: relative;

    min-height: 330px;

    padding: 42px 38px;

    background: var(--white);

    border-top: 3px solid transparent;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.pillar-card:hover {
    transform: translateY(-7px);

    border-color: var(--maroon);

    box-shadow:
        0 18px 45px rgba(52, 20, 25, 0.09);
}

.pillar-number {
    position: absolute;

    top: 28px;
    right: 32px;

    color: rgba(116, 27, 42, 0.14);

    font-family: var(--heading-font);
    font-size: 40px;
    font-weight: 600;
}

.pillar-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 30px;

    border: 1px solid var(--gold);

    color: var(--maroon);

    font-size: 18px;
}

.pillar-card h3 {
    margin-bottom: 16px;

    color: var(--text-dark);

    font-family: var(--heading-font);
    font-size: 27px;
    font-weight: 600;
}

.pillar-card p {
    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   THE NEED
========================================================= */

.need-section {
    padding: 120px 0;

    background: var(--white);
}

.need-layout {
    display: grid;

    grid-template-columns: 0.8fr 1.7fr;

    gap: 100px;

    align-items: start;
}

.need-title {
    position: sticky;
    top: 40px;
}

.need-title h2 {
    color: var(--text-dark);

    font-family: var(--heading-font);
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 600;

    line-height: 1.15;
}

.need-content p {
    margin-bottom: 25px;

    font-size: 15px;
    line-height: 2;
}

.need-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   WHAT WE DO
========================================================= */

.what-we-do {
    padding: 120px 0;

    background: #f5f1e8;
}

.activities-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 0;

    border-top: 1px solid rgba(116, 27, 42, 0.16);
    border-left: 1px solid rgba(116, 27, 42, 0.16);
}

.activity-item {
    position: relative;

    min-height: 280px;

    padding: 45px;

    border-right: 1px solid rgba(116, 27, 42, 0.16);
    border-bottom: 1px solid rgba(116, 27, 42, 0.16);

    background: rgba(255, 255, 255, 0.4);
}

.activity-number {
    display: block;

    margin-bottom: 35px;

    color: var(--gold);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.15em;
}

.activity-item h3 {
    margin-bottom: 15px;

    color: var(--text-dark);

    font-family: var(--heading-font);
    font-size: 28px;
}

.activity-item p {
    max-width: 500px;

    font-size: 14px;
    line-height: 1.9;
}


/* =========================================================
   IMPACT
========================================================= */

.impact-section {
    padding: 120px 0;

    background: var(--maroon);

    color: var(--white);
}

.impact-header {
    display: grid;

    grid-template-columns: 1fr 0.8fr;

    gap: 80px;

    align-items: end;

    margin-bottom: 70px;
}

.impact-header h2 {
    color: var(--white);

    font-family: var(--heading-font);
    font-size: clamp(40px, 5vw, 65px);
    font-weight: 600;

    line-height: 1.12;
}

.impact-header > p {
    color: rgba(255, 255, 255, 0.76);

    font-size: 14px;
    line-height: 1.95;
}

.impact-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid rgba(229, 207, 166, 0.35);
    border-left: 1px solid rgba(229, 207, 166, 0.35);
}

.impact-card {
    min-height: 300px;

    padding: 35px 28px;

    border-right: 1px solid rgba(229, 207, 166, 0.35);
    border-bottom: 1px solid rgba(229, 207, 166, 0.35);
}

.impact-card > span {
    display: block;

    margin-bottom: 60px;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.14em;
}

.impact-card h3 {
    margin-bottom: 14px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: 24px;
    font-weight: 600;

    line-height: 1.3;
}

.impact-card p {
    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    line-height: 1.85;
}


/* =========================================================
   QUOTE
========================================================= */

.advocacy-quote {
    padding: 130px 0;

    background: var(--cream);

    text-align: center;
}

.quote-mark {
    color: var(--gold);

    font-family: Georgia, serif;
    font-size: 90px;

    line-height: 0.6;

    margin-bottom: 35px;
}

.advocacy-quote blockquote {
    max-width: 900px;

    margin: 0 auto;

    color: var(--text-dark);

    font-family: var(--heading-font);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;

    line-height: 1.35;
}

.quote-line {
    width: 60px;
    height: 1px;

    margin: 35px auto 25px;

    background: var(--gold);
}

.advocacy-quote p {
    max-width: 650px;

    margin: 0 auto;

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.project-cta {
    padding: 120px 0;

    background:
        linear-gradient(
            rgba(69, 20, 29, 0.95),
            rgba(69, 20, 29, 0.95)
        ),
        url("../images/advocacy-project.png");

    background-size: cover;
    background-position: center;

    color: var(--white);
}

.project-cta h2 {
    margin-bottom: 25px;

    color: var(--white);

    font-family: var(--heading-font);
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 600;

    line-height: 1.12;
}

.project-cta p {
    max-width: 680px;

    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 15px;
    line-height: 1.9;
}

.cta-button {
    display: inline-flex;

    align-items: center;
    gap: 20px;

    padding: 15px 25px;

    background: var(--gold-light);
    color: var(--maroon-dark);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 0.05em;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.cta-button span {
    font-size: 18px;
}

.cta-button:hover {
    background: var(--white);

    transform: translateY(-3px);
}


.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;
  }
}