/* Main custom styles for Blocksy Child theme */
@import url('https://fonts.googleapis.com/css2?family=Sacramento&display=swap');

:root {
    --primary: #102e57;
    --primary-rgb: 90, 53, 27;
    --accent: #D59B1F;
    --bg: #fef2f2;
    --border: #E7D8BF;
    --text: #2D2D2D;
    --title-line: #102e57;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    margin-bottom: 90px;
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary);
    position: relative;
    background-color: var(--bg);
}

.section-title span {
    padding: 0 15px;
    background: var(--bg);
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: var(--title-line);
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 0;
}

/* =========================
HERO
========================= */
.hero {
    position: relative;
    overflow: hidden;
    height: 520px;
}

.hero-slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    background: #1e3d68;
    background: linear-gradient(90deg, rgb(30 61 104) 25%, rgba(237, 221, 83, 0) 50%);
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.hero-content {
    color: #fff;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 2;
}

/* Fade In Up Animation for Content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide .hero-content p,
.hero-slide .hero-content h1,
.hero-slide .hero-content span,
.hero-slide .hero-content a {
    opacity: 0;
}

.hero-slide.active .hero-content p,
.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content span,
.hero-slide.active .hero-content a {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-slide.active .hero-content p {
    animation-delay: 0.1s;
}

.hero-slide.active .hero-content h1 {
    animation-delay: 0.3s;
}

.hero-slide.active .hero-content span {
    animation-delay: 0.5s;
}

.hero-slide.active .hero-content a {
    animation-delay: 0.7s;
}

.hero-content h1 {
    font-size: 46px;
    line-height: 1.1;
    margin: 5px 0 15px;
    color: #fff;
}

.hero-content p {
    font-size: 24px;
    font-weight: 400;
    line-height: 34px;
    margin-bottom: 0px;
}

.hero-content span {
    color: #ffffff;
    font-size: 18px;
    display: block;
}

.hero-content a {
    display: inline-block;
    margin-top: 30px;
    padding: 8px 30px;
    background: #c6624d;
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    position: relative;
    z-index: 3;
    text-transform: capitalize;
}

.hero-content a:hover {
    background: var(--primary);
    color: #fff;
}

/* Slider Controls */
.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(16, 46, 87, 0.4);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(16, 46, 87, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.hero-prev {
    left: 30px;
}

.hero-next {
    right: 30px;
}

/* Pagination Dots */
.hero-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-dot.active {
    background-color: var(--accent);
    width: 28px;
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 767px) {

    .hero-prev,
    .hero-next {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .hero-prev {
        left: 15px;
    }

    .hero-next {
        right: 15px;
    }

    .hero-pagination {
        bottom: 20px;
    }
}

ul#menu-footer-menu {
    display: flex;
    flex-direction: column;
}

/* =========================
VISION
========================= */
.vision-section {
    margin-bottom: 90px;
}

.vision {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.vision img {
    width: 100%;
}

.vision h2 {
    font-size: 44px;
    margin-bottom: 20px;
    color: var(--primary);
    text-align: left;
    background: transparent;
}

.vision h2::after {
    display: none;
}

/* =========================
PILLARS + SPACES
========================= */
.pillars,
.community {
    background: var(--bg);
    padding: 60px 0;
}

.spaces {
    padding: 10px 0;
}

.spaces .section-title {
    background: transparent;
}

.spaces .section-title span {
    background: #fff;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.spaces .cards {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 18px 18px 30px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.card a {
    color: #fff;
    background: #c6624d;
    text-decoration: none;
    font-weight: 300;
    text-align: center;
    width: fit-content;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 12px;
}

.card a:hover {
    background: var(--primary);
    color: #fff;
}

.spaces h3 {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    margin-bottom: 15px;
}

.spaces h3 span {
    color: #945906;
}

.card ul {
    list-style: none;
    padding-inline: 0px;
    margin-top: 0px;
}

.card li {
    position: relative;
    padding-left: 34px;
    margin-bottom: 8px;
    font-size: 18px;
    color: #666;
}

.card li::before {
    content: "\f105";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border: 1px solid #C48A18;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #C48A18;
    line-height: 1.1;
    font-family: 'FontAwesome';
}

/* =========================
COMMUNITY
========================= */
.community-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
}

.community-left {
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 18px;
}

.community-left img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 20px;
}

.community-left h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #4b300a;
    font-weight: 500;
}

.community-left li {
    margin-bottom: 15px;
}

.community-right {
    padding: 0px;
    border-radius: 20px;
    background-size: contain;
    background-position: center;
    background-position-y: bottom;
    background-repeat: no-repeat;
    min-height: 320px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}

.community-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    padding: 30px 35px;
    background: #ffffff;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%);
}

.box {
    text-align: left;
}

.box img {
    width: 70px;
    height: 70px;
    margin-bottom: 10px;
    background: #102e57;
    object-fit: contain;
    padding: 13px;
    border-radius: 100px;
}

.box h4 {
    font-size: 20px;
    margin-bottom: 0px;
    color: #472a01;
    font-weight: 500;
}

/* =========================
CTA
========================= */
.cta {
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0px;
}

.cta h2 {
    font-size: 48px;
    margin-bottom: 25px;
}

.cta a {
    display: inline-block;
    padding: 14px 40px;
    background: #1e3a6f;
    color: #fff;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none;
}

.cta a:hover {
    background: #1d4e89;
    color: #fff;
    transform: translateY(-2px);
}

.cta-heading {
    background: #d1fae5;
    padding: 22px;
    font-size: clamp(18px, 2.5vw, 18px);
    color: #065f46;
    font-weight: 600;
    border-radius: 20px;
    margin: 0 auto 30px;
    border: 1px solid #a7f3d0;
}

.cta_content {
    font-size: 18px;
    color: #4b5563;
}

.cta_content p {
    margin-bottom: 20px;
    line-height: 1.5;
}

/* =========================
FOOTER GALLERY FIX
========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}

/* =========================
TABLET
========================= */
@media(max-width:991px) {
    .hero {
        height: 420px;
    }

    .hero-content {
        left: 40px;
    }

    .hero-content h1 {
        font-size: 46px;
    }

    .section-title {
        font-size: 32px;
    }

    .vision {
        grid-template-columns: 1fr;
    }

    .vision h2 {
        text-align: center;
        font-size: 30px;
    }

    .vision p {
        text-align: center;
    }

    .cards,
    .spaces .cards {
        grid-template-columns: 1fr 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
    }

    .vision img {
        width: 50%;
        margin: 0 auto;
        display: none;
    }

    .community-left img {
        height: auto;
    }

    .community-right {
        min-height: 400px;
    }
}

/* =========================
MOBILE
========================= */
@media(max-width:767px) {
    section {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: 34px;
    }

    .hero {
        height: 360px;
    }

    .hero-content {
        left: 25px;
        right: 25px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .hero-content span {
        font-size: 16px;
        width: 70%;
        display: block;
    }

    .cards,
    .spaces .cards {
        grid-template-columns: 1fr;
    }

    .community-right {
        background: #fff !important;
    }

    .community-boxes {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 330px;
        margin: 30px auto;
        padding: 0;
    }

    .community-boxes .box {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .community-boxes .box img,
    .community-boxes .box p {
        margin: 0;
    }

    .community-right {
        min-height: auto;
    }

    .pillars,
    .community,
    .cta {
        padding: 40px 0;
    }

    .spaces {
        padding: 10px 0;
    }

    .cta h2 {
        font-size: 28px;
    }

    .card img {
        height: auto;
    }

    .cta_content p br {
        display: none;
    }

    .card a {
        font-size: 14px;
        padding: 8px 15px;
    }

    .card h3 {
        font-size: 22px;
    }
}

@media (max-width:560px) {
    .section-title::after {
        display: none;
    }

    .section-title span {
        display: block;
    }

    .section-title,
    .who-content h2,
    .purpose-content h2,
    .philosophy-content h2,
    .about-cta .cta-content h2,
    .visit-corner-title,
    .follow-story-title {
        font-size: 28px !important;
    }
}

@media(max-width:479px) {
    .community-boxes {
        grid-template-columns: 1fr;
        background: transparent;
        max-width: 100%;
    }

    .box {
        text-align: center;
    }

    .visit-corner-grid {
        max-width: 100% !important;
    }

    .community-right {
        background: transparent !important;
    }
}



/* ========================= GLOBAL ========================= */
.about-page {
    background: #fff;
    color: #333;
    font-family: Poppins, sans-serif;
    line-height: 1.8;
}


/* ========================= HERO ========================= */
.about-hero {
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    color: #fff;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
}

.about-hero p {
    max-width: 700px;
    margin: auto;
    margin-bottom: 30px;
}

.about-hero a {
    padding: 16px 30px;
    background: #D59B1F;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
}

/* ========================= INTRO ========================= */
.intro-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.intro-grid img {
    width: 100%;
    border-radius: 20px;
}

.intro-grid h2 {
    font-size: 46px;
    margin-bottom: 20px;
    color: #5A351B;
}

/* ========================= MISSION ========================= */
.mission {
    background: #FFF8F0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* .card {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #E8D7B5;
    text-align: center;
} */

/* .card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
} */

.card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ========================= TEAM ========================= */
.team {
    background: #FFF8F0;
}

.team h2 {
    text-align: center;
    font-size: 52px;
    margin-bottom: 50px;
    color: #5A351B;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.member {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #E8D7B5;
    text-align: center;
}

.member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

.member h3 {
    font-size: 24px;
}

.member span {
    display: block;
    margin: 10px 0;
    color: #D59B1F;
    font-weight: 600;
}

/* ========================= STATS ========================= */
.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat {
    text-align: center;
}

.stat h2 {
    font-size: 56px;
    color: #5A351B;
}

/* ========================= TIMELINE ========================= */
.timeline-item {
    padding: 30px;
    border-left: 3px solid #D59B1F;
    margin-bottom: 30px;
    background: #FFF8F0;
    border-radius: 10px;
}

.timeline-item h4 {
    color: #D59B1F;
}

/* ========================= TESTIMONIALS ========================= */
.testimonials .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.review {
    background: #FFF8F0;
    padding: 30px;
    border-radius: 20px;
}

.review span {
    display: block;
    margin-top: 15px;
}

/* ========================= GALLERY ========================= */
.gallery .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

/* ========================= CTA ========================= */
.about-cta {
    background: #FFF8F0;
    text-align: center;
}

.about-cta h2 {
    font-size: 52px;
    margin-bottom: 20px;
    color: #5A351B;
}

.about-cta a {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 30px;
    background: #5A351B;
    color: #fff;
    text-decoration: none;
    border-radius: 999px;
}

/* ========================= TABLET ========================= */
@media(max-width:991px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats .container {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials .container {
        grid-template-columns: 1fr;
    }

    .gallery .container {
        grid-template-columns: 1fr 1fr;
    }
}

/* ========================= MOBILE ========================= */
@media(max-width:767px) {
    .about-hero {
        height: 400px;
    }

    .about-hero h1 {
        font-size: 40px;
    }

    .cards,
    .team-grid,
    .gallery .container {
        grid-template-columns: 1fr;
    }

    .stats .container {
        grid-template-columns: 1fr;
    }

    .about-cta h2 {
        font-size: 34px;
    }
}

/* =================================================
   NEW ABOUT PAGE LAYOUTS
   ================================================= */

/* --- Who We Are Section --- */
.who-we-are {
    background: #fff;
    padding: 90px 0;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: center;
}

.who-content h2 {
    font-size: 46px;
    color: #5A351B;
    margin-bottom: 20px;
    font-weight: 700;
}

.who-content h3.encourages-heading {
    font-size: 22px;
    color: #5A351B;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.encouragement-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 20px 0 30px;
    padding: 0;
}

.encouragement-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 16px;
    color: var(--text);
}

.encouragement-list li img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 0;
}

.footer-quote {
    border-left: 4px solid var(--accent);
    padding-left: 20px;
    font-style: italic;
    font-size: 18px;
    color: #555;
    margin-top: 30px;
}

.who-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(90, 53, 27, 0.1);
    object-fit: cover;
}

/* --- Our Purpose Section --- */
.our-purpose {
    background: #FFF8F0;
    padding: 90px 0;
}

.purpose-grid {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 60px;
    align-items: center;
}

.purpose-content h2 {
    font-size: 46px;
    color: #5A351B;
    margin-bottom: 20px;
    font-weight: 700;
}

.purpose-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.purpose-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    object-fit: cover;
}

/* --- What We Offer Section --- */
.what-we-offer {
    background: #fff;
    padding: 90px 0;
}

.offer-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.offer-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid #E8D7B5;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(90, 53, 27, 0.06);
}

.offer-card h3 {
    font-size: 22px;
    color: #5A351B;
    margin-bottom: 15px;
    font-weight: 600;
}

.offer-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* --- Our Philosophy Section --- */
.our-philosophy {
    background: #FFF8F0;
    padding: 90px 0;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
}

.philosophy-content h2 {
    font-size: 46px;
    color: #5A351B;
    margin-bottom: 20px;
    font-weight: 700;
}

.philosophy-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.philosophy-values {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.value-badge {
    background: #fff;
    border: 1px solid #E8D7B5;
    color: #5A351B;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.02);
}

.philosophy-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    object-fit: cover;
}

/* --- CTA Section --- */
.about-cta .cta-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: center;
    background: #FFF8F0;
    padding: 60px;
    border-radius: 20px;
    border: 1px solid #E8D7B5;
    text-align: left;
}

.about-cta .cta-grid.no-image {
    grid-template-columns: 1fr;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-cta .cta-content h2 {
    font-size: 46px;
    color: #5A351B;
    margin-bottom: 15px;
    font-weight: 700;
}

.about-cta .cta-image img {
    width: 100%;
    border-radius: 15px;
    max-height: 350px;
    object-fit: cover;
}

/* --- Testimonials Section --- */
.testimonials-section {}

.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.testimonials-section .section-title {
    background-color: transparent;
    font-size: 44px;
    font-weight: 700;
    color: #102e57;
    margin-bottom: 55px;
    text-align: center;
    position: relative;
}

.testimonials-section .section-title span {
    background: transparent;
    padding: 0;
    z-index: 1;
}

.testimonials-section .section-title::after {
    display: none;
}

.testimonials-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.testimonials-track-container {
    overflow: hidden;
    width: 100%;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.testimonial-slide {
    flex: 0 0 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
}

.testimonial-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #FFEBE9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(255, 187, 180, 0.04);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 12px 30px rgba(255, 187, 180, 0.1);
    border-color: #ffdcd6;
}

.testimonial-body {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.quote-icon-wrapper {
    flex-shrink: 0;
    margin-top: 4px;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.7;
    color: #4A4A4A;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.author-image-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.author-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 15px;
    color: #102e57;
}

.author-role {
    font-size: 13px;
    color: #777;
    margin-top: 2px;
}

.testimonials-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.testimonials-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffdfdb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonials-pagination .dot.active {
    background-color: #c85a3c;
    width: 24px;
    border-radius: 5px;
}

/* --- Follow the Story Section --- */
.follow-story-section {
    background-color: #FFF5F4;
    padding: 80px 0;
    margin-bottom: 0;
}

.follow-story-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.follow-story-header {
    text-align: center;
    margin: 0 auto 30px;
}

.follow-story-title {
    font-size: 44px;
    font-weight: 700;
    color: #102e57;
    margin-bottom: 20px;
    line-height: 1.2;
}

.follow-story-subtitle {
    font-family: "Sacramento", cursive;
    font-size: 36px;
    color: #c85a3c;
    margin-bottom: 10px;
    line-height: 1.2;
}

.follow-story-desc {
    font-size: 16px;
    color: #555555;
    line-height: 1.6;
}

.social-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.social-card {
    background: #ffffff;
    border: 1px solid #FFEBE9;
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 8px 24px rgba(255, 187, 180, 0.05);
    transition: all 0.3s ease;
}

.social-card:hover {
    box-shadow: 0 12px 30px rgba(255, 187, 180, 0.12);
    border-color: #ffdcd6;
}

.platform-icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.platform-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-card-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform-title {
    font-size: 20px;
    color: #102e57;
    margin-bottom: 8px;
    line-height: 1.2;
}

.platform-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
    margin-bottom: 10px;
}

.platform-btn {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #ffffff;
}

.platform-btn:hover {
    color: #ffffff;
}

.platform-btn.btn-instagram {
    background-color: #D23847;
}

.platform-btn.btn-instagram:hover {
    background-color: #b82c3a;
    box-shadow: 0 4px 12px rgba(210, 56, 71, 0.2);
}

.platform-btn.btn-whatsapp {
    background-color: #14C345;
}

.platform-btn.btn-whatsapp:hover {
    background-color: #10a338;
    box-shadow: 0 4px 12px rgba(20, 195, 69, 0.2);
}

.qr-code-wrapper {
    width: 110px;
    height: 110px;
    padding: 0;
}

.qr-code-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Visit The Corner Section --- */
.visit-corner-section {
    /* padding: 80px 0; */
}


.visit-corner-title {
    font-weight: 700;
    color: #102e57;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.2;
    font-size: 40px;
}

.visit-corner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.visit-corner-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.visit-corner-icon-col {
    flex-shrink: 0;
}

.visit-corner-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visit-corner-icon-wrapper img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.visit-corner-content-col {
    display: flex;
    flex-direction: column;
}

.visit-corner-item-heading {
    font-size: 16px;
    font-weight: 700;
    color: #102e57;
    margin-bottom: 4px;
    line-height: 1.2;
}

.visit-corner-item-line {
    font-size: 14px;
    color: #666666;
    line-height: 1.4;
    margin: 0;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    color: #fff;
    background: #c6624d;
    text-decoration: none;
    font-weight: 300;
    padding: 5px 15px;
    border-radius: 10px;
    cursor: pointer;
}

/* --- New Layouts Media Queries --- */
@media(max-width: 991px) {

    .who-grid,
    .philosophy-grid,
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .purpose-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .purpose-image {
        order: 2;
        /* Image below text on tablets */
    }

    .about-cta .cta-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 30px;
    }

    .about-cta .cta-image {
        margin-top: 20px;
    }

    .offer-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .testimonial-slide {
        flex: 0 0 50%;
    }

    .social-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .visit-corner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 330px;
        margin: 0 auto;
    }
}

@media(max-width: 767px) {

    .who-content h2,
    .purpose-content h2,
    .philosophy-content h2,
    .about-cta .cta-content h2,
    .testimonials-section .section-title {
        font-size: 32px;
    }

    .offer-cards-grid {
        grid-template-columns: 1fr;
    }

    .encouragement-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-slide {
        flex: 0 0 100%;
    }

    .testimonials-section {
        padding: 0;
    }

    .follow-story-section {
        padding: 60px 0;
    }

    .follow-story-title {
        font-size: 32px;
    }

    .follow-story-subtitle {
        font-size: 28px;
    }

    .social-card {
        padding: 25px 30px;
    }

    .visit-corner-section {
        padding: 0;
    }

    .visit-corner-title {
        font-size: 32px;
        margin-bottom: 35px;
    }

    .section-title::after {
        display: none;
    }
}

@media(max-width: 576px) {
    .social-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .social-card-middle {
        align-items: center;
    }

    .qr-code-wrapper {
        margin-top: 5px;
        width: 160px;
        height: 160px;
    }



}