/* Base */

html {
    scroll-behavior: smooth;
}


.section-label,
.section-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #e58b2a;
    font-weight: 600;
}

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

.center-heading {
    text-align: center;
}

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

.section-text {
    color: #5f6675;
    line-height: 1.8;
    max-width: 640px;
}

/* Buttons */

.cta > .btn {
    display: inline-block;
    text-decoration: none;
    background-color: #1f6fd6;
    color: #ffffff;
    padding: 13px 26px;
    border-radius: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

@media (hover: hover) {
    .btn:hover {
        transform: translateY(-2px);
        background-color: #2fb7a5;
        box-shadow: 0 10px 20px rgba(47, 183, 165, 0.16);
    }
}

/* Hero */

/* Contact Hero Section */

.contact-hero-section {
    position: relative;
    background-image: url(../images/Backgrounds/Akin\ Wellness\ contact-hero-bg.JPEG);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 580px;
    padding: 220px 100px 180px 100px;
    overflow: hidden;
    text-align: left;
    background-color: #11122b;
}

/* Dark overlay */
.contact-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;
}

/* Large white skew at the bottom */
.contact-hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 180px;
    background-color: #ffffff;
    clip-path: polygon(0 45%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* Keep hero text above overlay and skew */
.contact-hero-title,
.contact-hero-text,
.cta {
    position: relative;
    z-index: 3;
}

.contact-hero-content {
    padding-top: 60px;
}


/* Shared reveal animation for contact hero */

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

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

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

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

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


/* Main Contact Section */

.contact-main-section {
    position: relative;
    background-color: #ffffff;
    padding: 100px;
    z-index: 3;
    margin-top: -100px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

.contact-form-column,
.contact-info-column {
    min-width: 0;
}

/* Form */

.contact-form {
    background: #f5f7f6;
    border: 1px solid rgba(17, 18, 43, 0.06);
    border-radius: 22px;
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.full-width {
    margin-bottom: 24px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #11122b;
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(17, 18, 43, 0.10);
    background-color: #ffffff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 15px;
    color: #11122b;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2fb7a5;
    box-shadow: 0 0 0 3px rgba(47, 183, 165, 0.10);
    transform: translateY(-1px); /* subtle lift */
    transition: transform 0.2s ease, border-color 0.3s ease, box-shadow 0.3s ease;

}

/* Contact Info */

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.btn:disabled {
    animation: pulse 1.2s ease infinite;
    cursor: not-allowed;
    transform: none;
}

.contact-info-card {
    background: #11122b;
    border-radius: 22px;
    padding: 32px 28px;
}

.contact-info-card h3 {
    font-size: 30px;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
}

.contact-info-item i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #e58b2a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-info-item h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 4px;
}

.contact-info-item p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
}

.contact-socials {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.contact-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(229, 139, 42, 0.28);
    background: rgba(255, 255, 255, 0.03);
    color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.35s ease, background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

@media (hover: hover) {
    .contact-socials a:hover {
        transform: translateY(-2px);
        background-color: rgba(229, 139, 42, 0.12);
        border-color: rgba(229, 139, 42, 0.55);
        color: #ffffff;
    }
}



/* FAQ */

.contact-faq-section {
    padding: 100px;
    background-color: #f5f7f6;
}

/* FAQ Accordion */

.contact-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 780px;
    margin: 0 auto;
}

.faq-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    background-color: #ffffff;

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

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

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: #11122b;
    text-align: left;
    transition: background-color 0.2s ease;
}

@media (hover: hover) {
    .faq-question:hover {
        background-color: #f5f7f6;
    }
}

.faq-icon {
    font-size: 13px;
    color: #2fb7a5;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-answer p {
    font-size: 15px;
    color: #5f6675;
    line-height: 1.7;
    padding-bottom: 20px;
}

/* Open state */

.faq-card.open .faq-answer {
    max-height: 200px;
    padding-top: 0;
}

.faq-card.open .faq-icon {
    transform: rotate(180deg);
}

.faq-card.open .faq-question {
    color: #2fb7a5;
}

/* Reassurance */

.contact-reassurance-section {
    padding: 60px 100px;
    background-color: #11122b;
    text-align: center;
}

.contact-reassurance-section p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.8;
    font-size: 17px;
}

/* =================================
   CONTACT PAGE RESPONSIVE STYLES
================================= */

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

    .contact-main-section,
    .contact-faq-section,
    .contact-reassurance-section {
        padding-left: 50px;
        padding-right: 50px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

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

    /* .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    } */
}

@media (max-width: 768px) {
    .contact-hero-section {
        min-height: 580px;
        padding: 100px 24px 140px;
        text-align: center;
    }

    .contact-hero-title h1 {
        font-size: 2.2rem;
    }

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

    .contact-main-section,
    .contact-faq-section,
    .contact-reassurance-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-card {
        padding: 24px 20px;
    }

    .contact-info-card h3 {
        font-size: 2rem;
    }

    .contact-faq-grid {
        grid-template-columns: 1fr;
    }

    .faq-card {
        padding: 22px 18px;
    }

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

    .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) {
    .contact-hero-section {
        padding: 90px 24px 120px;
        min-height: 580px;
    }

    .contact-hero-title h1 {
        font-size: 1.9rem;
    }

    .contact-form,
    .contact-info-card,
    .faq-card {
        border-radius: 16px;
    }

    .contact-info-item {
        gap: 10px;
    }

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

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

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

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

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