/* Base */

html {
    scroll-behavior: smooth;
}

/* About Hero Section */

.abt-hero-section {
    position: relative;
    background-image: url(../images/Backgrounds/Akin\ Wellness\ About\ us\ bg.JPEG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 220px 100px 200px;
    min-height: 580px;
    text-align: left;
    /* overflow: hidden; */

    /* THIS creates the diagonal bottom */
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%); */
}

/* Overlay for readability */

.abt-hero-section::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 122px;
    background-color: #ffffff;
    clip-path: polygon(0 100%, 100% 0%, 100% 100%);
    z-index: 2;
}

/* Overlay for readability */

.abt-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.55)
    );
    z-index: 1;
}

/* Keep text above overlay AND above the ::after skew shape */

.abt-hero-content {
    position: relative;
    z-index: 3;
}

/* Shared reveal animation for about hero */

@keyframes abtHeroReveal {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Title */

.abt-hero-title h1 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;

    /* Appears first */
    opacity: 0;
    animation: abtHeroReveal 0.9s ease forwards;
    animation-delay: 0.2s;
}

/* Paragraph */

.abt-hero-text p {
    max-width: 650px;
    color: #e5e5e5;
    line-height: 1.6;
    margin-bottom: 32px;

    /* Appears second */
    opacity: 0;
    animation: abtHeroReveal 0.9s ease forwards;
    animation-delay: 0.5s;
}

/* CTA button */

.abt-hero-content > .cta {
    opacity: 0;
    animation: abtHeroReveal 0.9s ease forwards;
    animation-delay: 0.8s;
}


.section-heading {
    margin-bottom: 40px;
}

.section-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #e58b2a;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-size: 26px;
    line-height: 1.2;
    color: #5a3a22;
    margin-bottom: 12px;
}

.section-text {
    font-size: 14px;
    max-width: auto;
    color: #393c46;
    line-height: 1.7;
}

/* Philosophy Section */

.philosophy-section {
    padding: 100px 100px 80px;
    background-color: #ffffff;
}

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


}

.philosophy-left {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.philosophy-block {
    border-left: 3px solid #2fb7a5;
    padding-left: 20px;
}

.philosophy-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #11122b;
}

.philosophy-block p {
    color: #5f6675;
    line-height: 1.8;
}

.philosophy-img-wrp img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.philosophy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.stat-card {
    background-color: #e7e7e7;
    border-radius: 16px;
    padding: 20px 14px;
    text-align: center;

    /* Stagger slide-up */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-card.show {
    opacity: 1;
    transform: translateY(0);
}

.stat-card:nth-child(1) { transition-delay: 0s; }
.stat-card:nth-child(2) { transition-delay: 0.15s; }
.stat-card:nth-child(3) { transition-delay: 0.30s; }

@media (hover: hover) {
    .stat-card:hover {
        transform: translateY(-2px);
        border: 1px solid #2fb7a5;
    }
}


.stat-card h4 {
    font-size: 20px;
    color: #e58b2a;
    margin-bottom: 6px;
}

.stat-card p {
    font-size: 12px;
    color: #11122b;
    line-height: 1.5;
}

/* Tagline Strip */

.tagline-strip {
    padding: 40px 100px;
    background-color: #eef7f5;
    text-align: center;
}

.tagline-strip h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #11122b;
}

.tagline-strip p {
    font-size: 14px;
    color: #2fb7a5;
    line-height: 1.4;
}

/* Values Section */

.values-section {
    padding: 80px 100px;
    background-color: #11122b;
}

.values-section .section-heading h2,
.values-section .section-text {
    color: #ffffff;
}

.values-section > .section-heading > .section-text {
    margin-left: 0px
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.value-card {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px 20px;

    /* Stagger: cards start invisible and slide up */
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-card.show {
    opacity: 1;
    transform: translateY(0);
}

.value-card:nth-child(1) { transition-delay: 0s; }
.value-card:nth-child(2) { transition-delay: 0.15s; }
.value-card:nth-child(3) { transition-delay: 0.30s; }

.value-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(47, 183, 165, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.value-icon i {
    font-size: 16px;
    color: #2fb7a5;
}

.accent-icon {
    background: rgba(229, 139, 42, 0.16);
}

.accent-icon i {
    color: #e58b2a;
}

.soft-icon {
    background: rgba(255, 255, 255, 0.10);
}

.soft-icon i {
    color: #ffffff;
}

.value-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.7;
}

/* Instructor Section */

.instructor-section {
    padding: 80px 100px;
    background-color: #f5f7f6;
}

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

.instructor-image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.instructor-content p {
    color: #5f6675;
    line-height: 1.9;
    margin-bottom: 20px;
}

.instructor-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.instructor-badges span {
    padding: 8px 16px;
    border-radius: 999px;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    font-size: 14px;
    color: #5a3a22;
}

@media (hover: hover) {
    .instructor-badges span:hover {
        background-color: #2fb7a5;
        color: #ffffff;
}
}


/* =================================
   ABOUT PAGE RESPONSIVE STYLES
================================= */

@media (max-width: 1024px) {
    .abt-hero-section {
        min-height: 560px;
        padding: 120px 50px 200px;
    }

    .abt-hero-section::after {
        height: 102px;
        bottom: -2px;
    }

    .abt-hero-title h1 {
        font-size: 2.6rem;
    }

    .philosophy-section {
        padding: 80px 50px;
    }

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

    .philosophy-img-wrp img {
        height: 380px;
    }

    .values-section {
        padding: 80px 50px;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .abt-hero-section {
        min-height: 460px;
        padding: 80px 24px 180px;
        text-align: center;
        background-attachment: scroll;
    }

    .abt-hero-section::after {
        height: 92px;
        bottom: -2px;
    }

    .abt-hero-title h1 {
        font-size: 2.2rem;
        margin-top: 20px;
    }

    .abt-hero-text p {
        max-width: 100%;
        margin: 0 auto 24px;
    }

    .philosophy-section {
        padding: 80px 24px;
    }

    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .philosophy-img-wrp {
        order: -1; /* Image appears above text on mobile */
    }

    .philosophy-img-wrp img {
        height: 300px;
        border-radius: 16px;
    }

    .philosophy-stats {
        grid-template-rows: repeat(3 1fr);
        gap: 12px;
        margin-top: 16px;
    }

    .tagline-strip {
        padding: 28px 24px;
    }

    .tagline-strip h3 {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .tagline-strip p {
        font-size: 1rem;
    }

    .values-section {
        padding: 70px 24px;
    }

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

    .instructor-section {
        padding: 70px 24px;
    }

    .instructor-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .instructor-image-wrapper img {
        height: 320px;
        border-radius: 16px;
    }

    .instructor-content {
        width: 100%;
    }

    .instructor-content p {
        line-height: 1.8;
        margin-bottom: 16px;
    }

    .instructor-badges {
        gap: 10px;
    }

    .CTA-section {
        padding: 80px 24px;
        background-attachment: scroll;
    }

    .CTA-section > .CTA-intro > h2 {
        font-size: 2rem;
    }

    .footer-section {
        padding: 0 24px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .abt-hero-section {
        margin-top: 70px;
        padding: 60px 24px 160px;
        text-align: center;
    }

    .abt-hero-title h1 {
        font-size: 1.9rem;
        margin-top: 14px;
        line-height: 1.15;
    }

    .abt-hero-text p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 22px;
    }

    .philosophy-section {
        padding: 80px 24px 60px;
    }

    .philosophy-block {
        padding-left: 14px;
    }

    .philosophy-block h3 {
        font-size: 1.3rem;
    }

    .philosophy-block p,
    .value-card p,
    .instructor-content p {
        font-size: 15px;
    }

    .philosophy-img-wrp img {
        height: 240px;
    }

    .stat-card {
        padding: 16px 12px;
    }

    .tagline-strip {
        padding: 24px;
    }

    .tagline-strip h3 {
        font-size: 1.2rem;
    }

    .tagline-strip p {
        font-size: 0.95rem;
    }

    .value-card {
        padding: 20px 16px;
    }

    .value-icon {
        width: 38px;
        height: 38px;
    }

    .value-icon i {
        font-size: 14px;
    }

    .instructor-section {
        padding: 60px 24px;
    }

    .instructor-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .instructor-image-wrapper img {
        height: 250px;
    }

    .instructor-badges span {
        font-size: 13px;
        padding: 7px 12px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-socials {
        flex-wrap: wrap;
    }
}