/* =========================================
   SCHOOL & EDUCATION PROJECT PAGE
   AGAPE TRUST
   ========================================= */

:root {
    --maroon: #741b2a;
    --dark-maroon: #5b1420;

    --cream: #f8f5ed;

    --white: #ffffff;

    --text: #68615c;

    --dark-text: #302b28;

    --gold: #c7a96b;

    --border: #e5ded3;
}


/* =========================================
   RESET
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Poppins", sans-serif;

    background: var(--white);

    color: var(--text);

    line-height: 1.8;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
}


/* =========================================
   CONTAINER
   ========================================= */

.container {
    width: min(1180px, 90%);

    margin: 0 auto;
}


/* =========================================
   HERO
   ========================================= */

.project-hero {
    min-height: 620px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(70, 25, 31, 0.92),
            rgba(70, 25, 31, 0.92)
        ),

        url("../images/school-project.png");

    background-size: cover;

    background-position: center;

    color: var(--white);
}


.project-label {
    display: block;

    margin-bottom: 22px;

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;

    color: var(--gold);
}


.project-hero h1 {
    max-width: 950px;

    margin-bottom: 25px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        55px,
        7vw,
        92px
    );

    line-height: 1.05;

    font-weight: 500;

    color: var(--white);
}


.hero-description {
    max-width: 750px;

    font-size: 17px;

    line-height: 1.8;

    color: rgba(
        255,
        255,
        255,
        0.85
    );
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.project-section {
    padding: 110px 0;
}


.light-section {
    background: var(--cream);
}


.section-label {
    display: block;

    margin-bottom: 15px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    color: var(--maroon);
}


.section-label.light {
    color: var(--gold);
}


.project-section > .container > h2 {
    max-width: 950px;

    margin-bottom: 25px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        40px,
        5vw,
        64px
    );

    line-height: 1.15;

    font-weight: 500;

    color: var(--maroon);
}


.section-description {
    max-width: 1050px;

    font-size: 15px;

    line-height: 1.95;

    color: var(--text);
}


/* =========================================
   ABOUT THE PROGRAMME
   ========================================= */

.intro-content {
    width: 100%;
}


.intro-content h2 {
    max-width: 850px;

    margin-bottom: 28px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        42px,
        5vw,
        66px
    );

    line-height: 1.1;

    font-weight: 500;

    color: var(--maroon);
}


.intro-content p {
    width: 100%;

    max-width: none;

    margin-bottom: 24px;

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    line-height: 1.95;

    color: var(--text);
}


/* =========================================
   APPROACH CARDS
   ========================================= */

.approach-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 25px;

    margin-top: 55px;
}


.approach-item {
    position: relative;

    min-height: 280px;

    padding: 38px 40px 45px;

    border: 1px solid var(--border);

    background: var(--white);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


.approach-item:hover {
    transform: translateY(-5px);

    border-color: var(--gold);

    box-shadow:
        0 15px 35px
        rgba(48, 43, 40, 0.08);
}


/* CARD NUMBER */

.approach-number {
    display: block;

    margin-bottom: 28px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2.5px;

    color: var(--gold);
}


/* CARD ICON */

.approach-icon {
    position: absolute;

    top: 32px;

    right: 35px;

    width: 46px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid var(--border);

    border-radius: 50%;

    background: var(--cream);

    font-size: 18px;

    color: var(--maroon);
}


/* CARD TITLE */

.approach-item h3 {
    max-width: 75%;

    margin-bottom: 15px;

    font-family: "Playfair Display", serif;

    font-size: 31px;

    line-height: 1.2;

    font-weight: 500;

    color: var(--maroon);
}


/* CARD TEXT */

.approach-item p {
    max-width: 92%;

    font-size: 14px;

    line-height: 1.85;

    color: var(--text);
}


/* GOLD ACCENT */

.approach-item::after {
    content: "";

    position: absolute;

    left: 40px;

    bottom: 28px;

    width: 35px;

    height: 1px;

    background: var(--gold);

    transition: width 0.3s ease;
}


.approach-item:hover::after {
    width: 65px;
}


/* =========================================
   KEY AREAS
   ========================================= */

.services-list {
    margin-top: 50px;

    border-top: 1px solid var(--border);
}


.service-item {
    display: grid;

    grid-template-columns:
        80px 1fr;

    gap: 25px;

    padding: 32px 0;

    border-bottom: 1px solid var(--border);

    transition:
        padding-left 0.3s ease;
}


.service-item:hover {
    padding-left: 12px;
}


.service-item > span {
    padding-top: 4px;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2.5px;

    color: var(--gold);
}


.service-item h3 {
    margin-bottom: 7px;

    font-family: "Playfair Display", serif;

    font-size: 30px;

    line-height: 1.25;

    font-weight: 500;

    color: var(--maroon);
}


.service-item p {
    max-width: 850px;

    font-size: 14px;

    line-height: 1.85;

    color: var(--text);
}


/* =========================================
   OUR IMPACT
   ========================================= */

.impact-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

    margin-top: 55px;
}


.impact-item {
    min-height: 170px;

    padding: 30px;

    border: 1px solid var(--border);

    background: var(--white);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}


.impact-item:hover {
    transform: translateY(-4px);

    border-color: var(--gold);
}


.impact-item strong {
    display: block;

    margin-bottom: 15px;

    font-family: "Playfair Display", serif;

    font-size: 38px;

    font-weight: 500;

    color: var(--gold);
}


.impact-item span {
    font-size: 14px;

    font-weight: 500;

    line-height: 1.7;

    color: var(--dark-text);
}


/* =========================================
   OUR BELIEF
   ========================================= */

.education-statement {
    position: relative;

    padding: 120px 0;

    background: var(--cream);

    overflow: hidden;
}


.education-statement::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 90px;
    height: 3px;

    background: var(--gold);
}


.education-statement .container {
    position: relative;
}


.education-statement h2 {
    max-width: 1000px;

    margin-bottom: 30px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        42px,
        5.5vw,
        72px
    );

    line-height: 1.12;

    font-weight: 500;

    color: var(--maroon);
}


.education-statement p {
    max-width: 850px;

    font-size: 15px;

    line-height: 1.95;

    color: var(--text);
}


/* =========================================
   CTA
   ========================================= */

.project-cta {
    padding: 115px 0;

    background: var(--maroon);

    color: var(--white);
}


.project-cta .section-label {
    color: var(--gold);
}


.project-cta h2 {
    max-width: 850px;

    margin-bottom: 22px;

    font-family: "Playfair Display", serif;

    font-size: clamp(
        42px,
        5vw,
        68px
    );

    line-height: 1.1;

    font-weight: 500;

    color: var(--white);
}


.project-cta p {
    max-width: 750px;

    margin-bottom: 38px;

    font-size: 15px;

    line-height: 1.9;

    color: rgba(
        255,
        255,
        255,
        0.82
    );
}


/* =========================================
   CTA BUTTON
   ========================================= */

.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding: 15px 27px;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.5
    );

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    font-weight: 500;

    color: var(--white);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.cta-button span {
    font-size: 20px;

    line-height: 1;
}


.cta-button:hover {
    background: var(--white);

    border-color: var(--white);

    color: var(--maroon);
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .project-hero {
        min-height: 520px;
    }


    .project-section,
    .education-statement,
    .project-cta {
        padding: 80px 0;
    }


    .approach-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .impact-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .container {
        width: 88%;
    }


    .project-hero {
        min-height: 500px;
    }


    .project-hero h1 {
        font-size: 48px;
    }


    .hero-description {
        font-size: 15px;
    }


    .project-section,
    .education-statement,
    .project-cta {
        padding: 65px 0;
    }


    .intro-content h2 {
        font-size: 40px;
    }


    .intro-content p {
        font-size: 14px;

        line-height: 1.85;
    }


    /* APPROACH CARDS */

    .approach-item {
        min-height: 250px;

        padding: 30px 30px 42px;
    }


    .approach-number {
        margin-bottom: 24px;
    }


    .approach-icon {
        top: 25px;

        right: 25px;

        width: 40px;

        height: 40px;

        font-size: 16px;
    }


    .approach-item h3 {
        max-width: 70%;

        font-size: 27px;
    }


    .approach-item p {
        max-width: 100%;

        font-size: 14px;
    }


    .approach-item::after {
        left: 30px;

        bottom: 25px;
    }


    /* KEY AREAS */

    .service-item {
        grid-template-columns:
            50px 1fr;

        gap: 15px;

        padding: 27px 0;
    }


    .service-item:hover {
        padding-left: 5px;
    }


    .service-item h3 {
        font-size: 25px;
    }


    .service-item p {
        font-size: 14px;

        line-height: 1.8;
    }


    /* IMPACT */

    .impact-grid {
        grid-template-columns: 1fr;
    }


    .impact-item {
        min-height: auto;

        padding: 25px;
    }


    /* BELIEF */

    .education-statement {
        padding: 75px 0;
    }


    .education-statement h2 {
        font-size: 40px;

        line-height: 1.15;
    }


    .education-statement p {
        font-size: 14px;

        line-height: 1.85;
    }


    /* CTA */

    .project-cta h2 {
        font-size: 40px;
    }


    .project-cta p {
        font-size: 14px;
    }


    .cta-button {
        padding: 14px 22px;
    }

}
.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;
  }
}
