/* volunteer.css */


/* =========================================================
   AG AGAPE TRUST — VOLUNTEER 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 {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   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;

}

/* =========================================================
   HERO
========================================================= */

.volunteer-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    background-image: url("../images/volunteer-hero.jpg");
    background-size: cover;
    background-position: center;

    overflow: hidden;
}

.volunteer-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(48, 8, 17, 0.90) 0%,
            rgba(86, 19, 31, 0.72) 45%,
            rgba(86, 19, 31, 0.22) 100%
        );
}

.volunteer-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;
}

.volunteer-hero h1 {
    max-width: 750px;

    margin-bottom: 24px;

    font-family: var(--heading-font);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 600;
    line-height: 1.08;
}

.volunteer-hero p {
    max-width: 650px;

    font-family: var(--heading-font);
    font-size: clamp(21px, 2.5vw, 30px);
    line-height: 1.45;

    color: #f7eee8;
}


/* =========================================================
   MAIN
========================================================= */

.volunteer-page {
    padding: 100px 0 110px;

    background: var(--light-cream);
}


/* =========================================================
   INTRO
========================================================= */

.volunteer-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);
}

.volunteer-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);
}

.volunteer-intro p {
    max-width: 820px;

    margin-bottom: 16px;

    font-size: 15px;

    color: #666666;
}


/* =========================================================
   MAIN GRID
========================================================= */

.volunteer-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, 0.95fr);

    gap: 70px;

    align-items: start;
}


/* =========================================================
   OPPORTUNITIES
========================================================= */

.volunteer-opportunities {
    display: flex;
    flex-direction: column;

    background: var(--white);

    border-top: 3px solid var(--maroon);

    box-shadow: 0 12px 35px rgba(70, 30, 30, 0.05);
}

.opportunity {
    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 20px;

    padding: 30px 34px;

    border-bottom: 1px solid var(--border);
}

.opportunity:last-child {
    border-bottom: none;
}

.opportunity-number {
    font-family: var(--heading-font);

    font-size: 18px;
    font-weight: 600;

    color: var(--gold);
}

.opportunity h3 {
    margin-bottom: 8px;

    font-family: var(--heading-font);
    font-size: 25px;
    font-weight: 600;

    color: var(--dark-maroon);
}

.opportunity p {
    font-size: 14px;

    line-height: 1.8;

    color: var(--muted);
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.volunteer-side {
    position: sticky;
    top: 30px;
}

.volunteer-image {
    position: relative;

    height: 390px;

    overflow: hidden;
}

.volunteer-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(50, 10, 20, 0.35),
            transparent 55%
        );
}

.volunteer-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}

.volunteer-image:hover img {
    transform: scale(1.04);
}


/* =========================================================
   MESSAGE
========================================================= */

.volunteer-message {
    padding: 36px 35px 40px;

    background: var(--maroon);

    color: var(--white);
}

.volunteer-message .message-label {
    color: #e4c67f;
}

.volunteer-message h3 {
    margin-bottom: 16px;

    font-family: var(--heading-font);
    font-size: 29px;
    font-weight: 500;

    line-height: 1.3;
}

.volunteer-message p {
    font-size: 14px;

    line-height: 1.8;

    color: #f0e4e0;
}


/* =========================================================
   CTA
========================================================= */

.volunteer-cta {
    margin-top: 90px;

    padding: 70px 30px;

    text-align: center;

    background: var(--white);

    border-top: 3px solid var(--gold);

    box-shadow: 0 12px 35px rgba(70, 30, 30, 0.05);
}

.cta-content {
    max-width: 700px;

    margin: 0 auto;
}

.volunteer-cta h2 {
    margin-bottom: 16px;

    font-family: var(--heading-font);
    font-size: clamp(35px, 4vw, 48px);

    line-height: 1.2;

    color: var(--dark-maroon);
}

.volunteer-cta p {
    margin-bottom: 30px;

    font-size: 15px;

    color: var(--muted);
}

.cta-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    background: var(--maroon);

    color: var(--white);

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 0.5px;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.cta-button:hover {
    background: var(--dark-maroon);

    transform: translateY(-2px);
}
/* =========================================================
   VOLUNTEER FORM
========================================================= */

.volunteer-form-section {
    padding: 100px 0;

    background: var(--cream);
}

.volunteer-form-wrapper {
    max-width: 900px;

    margin: 0 auto;

    padding: 55px;

    background: var(--white);

    border-top: 3px solid var(--maroon);

    box-shadow: 0 15px 45px rgba(70, 30, 30, 0.06);
}

.form-heading {
    max-width: 700px;

    margin-bottom: 40px;
}

.form-heading h2 {
    margin-bottom: 15px;

    font-family: var(--heading-font);

    font-size: clamp(36px, 4vw, 50px);

    line-height: 1.2;

    color: var(--dark-maroon);
}

.form-heading p {
    font-size: 14px;

    color: var(--muted);
}


/* FORM ROW */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 22px;
}


/* FORM GROUP */

.form-group {
    display: flex;

    flex-direction: column;

    margin-bottom: 22px;
}

.form-group label {
    margin-bottom: 8px;

    font-size: 12px;

    font-weight: 600;

    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 16px;

    font-family: var(--body-font);

    font-size: 13px;

    color: var(--text);

    background: #fcfbf9;

    border: 1px solid var(--border);

    outline: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.form-group input,
.form-group select {
    height: 52px;
}

.form-group textarea {
    resize: vertical;

    min-height: 140px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--maroon);

    background: var(--white);
}


/* SUBMIT BUTTON */

.form-submit {
    min-height: 52px;

    padding: 0 32px;

    border: none;

    background: var(--maroon);

    color: var(--white);

    font-family: var(--body-font);

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.form-submit:hover {
    background: var(--dark-maroon);

    transform: translateY(-2px);
}


/* =========================================================
   FORM MOBILE
========================================================= */

@media (max-width: 600px) {

    .volunteer-form-section {
        padding: 70px 0;
    }

    .volunteer-form-wrapper {
        padding: 35px 22px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .form-heading {
        margin-bottom: 30px;
    }

    .form-heading h2 {
        font-size: 36px;
    }

    .form-submit {
        width: 100%;
    }
}

.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;
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .volunteer-hero {
        min-height: 500px;
    }

    .volunteer-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .volunteer-side {
        position: relative;

        top: auto;
    }

    .volunteer-image {
        height: 420px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(100% - 32px, 1200px);
    }

    .volunteer-hero {
        min-height: 480px;
    }

    .volunteer-hero h1 {
        font-size: 46px;
    }

    .volunteer-hero p {
        font-size: 20px;
    }

    .volunteer-page {
        padding: 70px 0 80px;
    }

    .volunteer-intro {
        margin-bottom: 45px;
    }

    .volunteer-intro h2 {
        font-size: 38px;
    }

    .opportunity {
        grid-template-columns: 40px 1fr;

        gap: 12px;

        padding: 25px 22px;
    }

    .opportunity h3 {
        font-size: 23px;
    }

    .volunteer-image {
        height: 320px;
    }

    .volunteer-message {
        padding: 30px 25px 34px;
    }

    .volunteer-message h3 {
        font-size: 26px;
    }

    .volunteer-cta {
        margin-top: 65px;

        padding: 55px 22px;
    }

    .volunteer-footer-message p {
        font-size: 18px;

        gap: 8px;
    }

    .volunteer-footer-message span:not(:last-child)::after {
        margin-left: 8px;
    }
}