/* =========================================================
   AG AGAPE TRUST
   TESTIMONIALS PAGE
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --testimonial-maroon: #741b2a;
    --testimonial-dark-maroon: #5b1420;
    --testimonial-cream: #f8f5ed;
    --testimonial-gold: #c7a96b;
    --testimonial-white: #ffffff;

    --testimonial-text: #333333;
    --testimonial-muted: #707070;
    --testimonial-border: #ddd7ca;

    --testimonial-shadow:
        0 20px 55px rgba(91, 20, 32, 0.09);
}


/* =========================================================
   GENERAL
   ========================================================= */

body {
    margin: 0;
    padding: 0;

    font-family: "Poppins", sans-serif;

    color: var(--testimonial-text);

    background: var(--testimonial-white);
}

.testimonials-container {
    width: min(1120px, calc(100% - 60px));

    margin-left: auto;
    margin-right: auto;
}

.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
   ========================================================= */

.testimonials-hero {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(91, 20, 32, 0.82),
            rgba(116, 27, 42, 0.90)
        ),
        url("../images/partner.png") center / cover no-repeat;

    overflow: hidden;
}


.testimonials-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            transparent 0%,
            rgba(50, 5, 15, 0.18) 100%
        );
}


.testimonials-hero-content {
    position: relative;

    z-index: 2;

    width: min(850px, 90%);

    margin: 0 auto;
}


.hero-label {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--testimonial-gold);

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 3px;

    text-transform: uppercase;
}


.testimonials-hero h1 {
    margin: 0 0 25px;

    color: var(--testimonial-white);

    font-family: "Playfair Display", serif;

    font-size: clamp(48px, 7vw, 78px);

    line-height: 1.05;
}


.testimonials-hero h1 span {
    color: var(--testimonial-gold);
}


.testimonials-hero p {
    max-width: 680px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.88);

    font-size: 17px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   INTRO
   ========================================================= */

.testimonials-intro {
    padding: 105px 0 85px;

    background: var(--testimonial-white);

    text-align: center;
}


.testimonials-intro .testimonials-container {
    max-width: 850px;
}


.section-label {
    display: inline-block;

    margin-bottom: 15px;

    color: var(--testimonial-maroon);

    font-size: 12px;

    font-weight: 600;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.testimonials-intro h2 {
    margin: 0 0 25px;

    color: var(--testimonial-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 56px);

    line-height: 1.15;
}


.testimonials-intro h2 span {
    color: var(--testimonial-maroon);
}


.testimonials-intro p {
    max-width: 760px;

    margin: 0 auto;

    color: var(--testimonial-muted);

    font-size: 16px;

    font-weight: 300;

    line-height: 1.9;
}


/* =========================================================
   FEATURED TESTIMONIAL
   ========================================================= */

.featured-testimonial {
    padding: 100px 0;

    background: var(--testimonial-cream);
}


.featured-card {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    max-width: 1000px;

    min-height: 500px;

    margin: 0 auto;

    background: var(--testimonial-white);

    box-shadow: var(--testimonial-shadow);
}


/* Featured image */

.featured-image {
    min-height: 500px;

    background: #eee9df;
}


.image-placeholder {
    width: 100%;
    height: 100%;

    min-height: 260px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    background:
        linear-gradient(
            135deg,
            #eee9df,
            #e3ddd1
        );

    color: #999;
}


.placeholder-icon {
    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #bbb3a6;

    border-radius: 50%;

    font-size: 26px;

    font-weight: 300;

    color: #999;
}


.image-placeholder p {
    margin: 0;

    font-size: 12px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* Featured content */

.featured-content {
    position: relative;

    padding: 65px 60px;
}


.featured-label {
    color: var(--testimonial-maroon);

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.quote-mark {
    margin-top: 20px;

    color: var(--testimonial-gold);

    font-family: "Playfair Display", serif;

    font-size: 80px;

    line-height: 0.8;
}


.featured-quote {
    margin: 25px 0 30px;

    color: var(--testimonial-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: clamp(24px, 3vw, 34px);

    line-height: 1.45;
}


.testimonial-author {
    display: flex;

    flex-direction: column;

    gap: 3px;

    padding-left: 18px;

    border-left: 3px solid var(--testimonial-gold);
}


.testimonial-author strong {
    color: var(--testimonial-dark-maroon);

    font-size: 14px;

    font-weight: 600;
}


.testimonial-author span {
    color: var(--testimonial-muted);

    font-size: 12px;
}


/* =========================================================
   TESTIMONIAL CONTROLS
   ========================================================= */

.testimonial-controls {
    position: absolute;

    bottom: 50px;
    left: 60px;

    display: flex;

    align-items: center;

    gap: 20px;
}


.testimonial-arrow {
    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--testimonial-border);

    background: var(--testimonial-white);

    color: var(--testimonial-maroon);

    font-size: 18px;

    cursor: pointer;

    transition: all 0.25s ease;
}


.testimonial-arrow:hover {
    background: var(--testimonial-maroon);

    color: var(--testimonial-white);

    border-color: var(--testimonial-maroon);
}


.testimonial-counter {
    color: var(--testimonial-muted);

    font-size: 12px;

    letter-spacing: 1px;
}


.testimonial-counter strong {
    color: var(--testimonial-maroon);
}


/* =========================================================
   ALL TESTIMONIALS
   ========================================================= */

.all-testimonials {
    padding: 110px 0;

    background: var(--testimonial-white);
}


/* Heading */

.stories-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;
}


.stories-heading h2 {
    margin: 0;

    color: var(--testimonial-dark-maroon);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 55px);

    line-height: 1.1;
}


.stories-heading h2 span {
    color: var(--testimonial-maroon);
}


/* =========================================================
   FILTER
   ========================================================= */

.testimonial-filter {
    min-width: 220px;
}


.testimonial-filter label {
    display: block;

    margin-bottom: 8px;

    color: var(--testimonial-muted);

    font-size: 11px;

    font-weight: 500;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.testimonial-filter select {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid var(--testimonial-border);

    background: var(--testimonial-white);

    color: var(--testimonial-text);

    font-family: "Poppins", sans-serif;

    font-size: 13px;

    outline: none;

    cursor: pointer;
}


.testimonial-filter select:focus {
    border-color: var(--testimonial-maroon);
}


/* =========================================================
   TESTIMONIAL GRID
   ========================================================= */

.testimonials-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   TESTIMONIAL CARD
   ========================================================= */

.testimonial-card {
    background: var(--testimonial-white);

    border: 1px solid var(--testimonial-border);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}


.testimonial-card:hover {
    transform: translateY(-7px);

    border-color: transparent;

    box-shadow: var(--testimonial-shadow);
}


/* Card image */

.testimonial-card-image {
    height: 230px;

    overflow: hidden;
}


.testimonial-card-image .image-placeholder {
    min-height: 230px;

    transition: transform 0.4s ease;
}


.testimonial-card:hover
.testimonial-card-image
.image-placeholder {
    transform: scale(1.03);
}


/* Card content */

.testimonial-card-content {
    padding: 30px;
}


.testimonial-program {
    display: inline-block;

    color: var(--testimonial-maroon);

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.8px;

    text-transform: uppercase;
}


.small-quote {
    margin-top: 15px;

    color: var(--testimonial-gold);

    font-family: "Playfair Display", serif;

    font-size: 48px;

    line-height: 0.8;
}


.testimonial-text {
    min-height: 95px;

    margin: 18px 0 25px;

    color: var(--testimonial-text);

    font-family: "Playfair Display", serif;

    font-size: 19px;

    line-height: 1.55;
}


/* =========================================================
   CARD FOOTER
   ========================================================= */

.testimonial-card-footer {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 15px;

    padding-top: 20px;

    border-top: 1px solid var(--testimonial-border);
}


.testimonial-card-footer div {
    display: flex;

    flex-direction: column;

    gap: 3px;
}


.testimonial-card-footer strong {
    color: var(--testimonial-dark-maroon);

    font-size: 12px;

    font-weight: 600;
}


.testimonial-card-footer div span {
    color: var(--testimonial-muted);

    font-size: 10px;
}


/* Read story */

.read-story {
    padding: 0;

    border: none;

    background: none;

    color: var(--testimonial-maroon);

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 600;

    white-space: nowrap;

    cursor: pointer;
}


.read-story span {
    display: inline-block;

    margin-left: 5px;

    font-size: 15px;

    transition: transform 0.2s ease;
}


.read-story:hover span {
    transform: translateX(4px);
}


/* =========================================================
   LOAD MORE
   ========================================================= */

.load-more-wrapper {
    display: flex;

    justify-content: center;

    margin-top: 55px;
}


.load-more-btn {
    display: inline-flex;

    align-items: center;

    gap: 14px;

    min-height: 52px;

    padding: 0 25px;

    border: 1px solid var(--testimonial-maroon);

    background: transparent;

    color: var(--testimonial-maroon);

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition: all 0.25s ease;
}


.load-more-btn span {
    font-size: 17px;

    transition: transform 0.25s ease;
}


.load-more-btn:hover {
    background: var(--testimonial-maroon);

    color: var(--testimonial-white);
}


.load-more-btn:hover span {
    transform: translateY(3px);
}


/* =========================================================
   CLOSING
   ========================================================= */

.testimonials-closing {
    padding: 110px 0;

    background: var(--testimonial-maroon);

    text-align: center;
}


.testimonials-closing .testimonials-container {
    max-width: 850px;
}


.testimonials-closing .section-label {
    color: var(--testimonial-gold);
}


.testimonials-closing h2 {
    margin: 0 auto 25px;

    color: var(--testimonial-white);

    font-family: "Playfair Display", serif;

    font-size: clamp(38px, 5vw, 58px);

    line-height: 1.15;
}


.testimonials-closing h2 span {
    color: var(--testimonial-gold);
}


.testimonials-closing p {
    max-width: 650px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.83);

    font-size: 16px;

    font-weight: 300;

    line-height: 1.8;
}


/* =========================================================
   CLOSING BUTTONS
   ========================================================= */

.closing-buttons {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-top: 35px;
}


.primary-btn,
.secondary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 52px;

    padding: 0 25px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 600;

    transition: all 0.25s ease;
}


.primary-btn {
    background: var(--testimonial-white);

    color: var(--testimonial-maroon);
}


.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);

    color: var(--testimonial-white);
}


.primary-btn span,
.secondary-btn span {
    font-size: 18px;

    transition: transform 0.25s ease;
}


.primary-btn:hover {
    background: var(--testimonial-gold);

    color: var(--testimonial-dark-maroon);
}


.secondary-btn:hover {
    border-color: var(--testimonial-gold);

    color: var(--testimonial-gold);
}


.primary-btn:hover span,
.secondary-btn:hover span {
    transform: translateX(4px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .testimonials-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .featured-card {
        grid-template-columns: 1fr;
    }


    .featured-image {
        min-height: 350px;
    }


    .featured-content {
        min-height: 450px;
    }


    .stories-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .testimonial-filter {
        width: 280px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .testimonials-container {
        width: calc(100% - 40px);
    }


    /* Hero */

    .testimonials-hero {
        min-height: 440px;
    }


    .testimonials-hero h1 {
        font-size: 45px;
    }


    .testimonials-hero p {
        font-size: 15px;
    }


    /* Intro */

    .testimonials-intro {
        padding: 75px 0;
    }


    /* Featured */

    .featured-testimonial {
        padding: 70px 0;
    }


    .featured-image {
        min-height: 300px;
    }


    .featured-content {
        min-height: auto;

        padding: 40px 28px 120px;
    }


    .featured-quote {
        font-size: 25px;
    }


    .testimonial-controls {
        left: 28px;

        bottom: 35px;
    }


    /* Stories */

    .all-testimonials {
        padding: 75px 0;
    }


    .testimonials-grid {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .testimonial-filter {
        width: 100%;
    }


    .testimonial-text {
        min-height: auto;
    }


    /* Closing */

    .testimonials-closing {
        padding: 75px 0;
    }


    .closing-buttons {
        flex-direction: column;
    }


    .primary-btn,
    .secondary-btn {
        width: 100%;

        max-width: 300px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .testimonials-hero h1 {
        font-size: 39px;
    }


    .featured-content {
        padding-left: 22px;
        padding-right: 22px;
    }


    .testimonial-card-content {
        padding: 25px;
    }


    .testimonial-card-footer {
        align-items: flex-start;

        flex-direction: column;
    }


    .read-story {
        margin-top: 5px;
    }
}
.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;
  }
}
