
/* =========================================
   GLOBAL STYLES
========================================= */

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

:root {
    --primary: #1d76b9;
    --primary-dark: #155b91;
    --secondary: #b91d49;
    --text: #263445;
    --muted: #64748b;
    --light-bg: #f6f9fc;
    --white: #ffffff;
    --border: #e5eaf0;
    --shadow: 0 8px 28px rgba(20, 45, 75, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    display: block;
    max-width: 100%;
}

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


/* =========================================
   HEADER
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}


/* CONTACT BAR */

.top-contact-details {
    background: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
}

.top-contact-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.top-contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    transition: opacity 0.2s ease;
}

.top-contact-details a:hover {
    opacity: 0.75;
}

.top-contact-details img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.top-contact-details span {
    color: var(--white);
}


/* NAVIGATION */

.main-nav {
    background: var(--white);
    padding: 17px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    position: relative;
}

.heading {
    font-family: 'Lora', serif;
    font-size: 29px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    line-height: 1.3;
}

.home-pages {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 23px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}


/* NAVIGATION BUTTONS */

.btn-call-now,
.btn-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 90px;
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
    white-space: nowrap;
}

.btn-call-now {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-call-now:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-donate {
    background: transparent;
    color: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-donate:hover {
    background: var(--secondary);
    color: var(--white);
}


/* HAMBURGER */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 7px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 5px;
    background: var(--primary);
}


/* =========================================
   HERO SECTION
========================================= */

.home-page-section {
    position: relative;
    min-height: 620px;
    min-height: 84vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image:
        linear-gradient(
            rgba(10, 29, 48, 0.58),
            rgba(10, 29, 48, 0.58)
        ),
        url('../assets/national-cancer-institute-BxXgTQEw1M4-unsplash.jpg');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    padding: 80px 25px;
    text-align: center;
}

.hero-tagline {
    color: #d6eaff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.home-page-section-heading {
    font-family: 'Lora', serif;
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.15;
    font-weight: 700;
    color: var(--white);
}

.home-page-section-text {
    color: var(--white);
    font-size: clamp(17px, 2.5vw, 25px);
    font-weight: 400;
    margin-top: 18px;
}


/* HERO BUTTONS */

.btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 35px;
}

.btn-schedule-tour,
.btn-Donate {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 175px;
    min-height: 50px;
    padding: 13px 25px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.25s ease;
}

.btn-schedule-tour {
    color: var(--white);
    background: var(--primary);
    border: 1px solid var(--primary);
}

.btn-schedule-tour:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-Donate {
    color: var(--white);
    background: var(--secondary);
    border: 1px solid var(--secondary);
}

.btn-Donate:hover {
    background: #991b3f;
    transform: translateY(-3px);
}


/* =========================================
   WHY CHOOSE US
========================================= */

.why-choose-section {
    padding: 85px 0 75px;
    background: var(--white);
}

.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.card-title-s2 {
    font-size: clamp(26px, 3.5vw, 38px);
    line-height: 1.3;
    font-weight: 700;
    color: #23364a;
}

.card-subtitle-s2 {
    color: var(--muted);
    font-size: 16px;
    margin-top: 13px;
}


/* FEATURE GRID */

.card-groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 27px 25px;
    min-height: 225px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.035);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    border-color: #b8d6ee;
    box-shadow: var(--shadow);
}

.card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 19px;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    color: #243b53;
    margin-bottom: 10px;
}

.card p {
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}


/* =========================================
   FOUNDER / ABOUT SECTION
========================================= */

.home-sec-3 {
    width: 100%;
    padding: 85px 0;
    margin-top: 25px;
    background: #f5f8fb;
}

.home-sec-3-aboutus-page {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 65px;
}

.home-sec-3-content {
    flex: 1 1 60%;
    max-width: 750px;
}

.home-sec-3-about {
    display: inline-block;
    color: var(--secondary);
    background: rgba(185, 29, 73, 0.08);
    padding: 8px 17px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.home-sec-3-content h2 {
    font-size: clamp(27px, 3.5vw, 39px);
    line-height: 1.3;
    font-weight: 700;
    color: #243b53;
    margin-bottom: 24px;
}

.home-sec-3-content h2 span {
    color: var(--primary);
}

.home-sec-3-content p:not(.home-sec-3-about) {
    font-size: 14px;
    line-height: 1.9;
    color: #526174;
    margin-bottom: 18px;
}

.founder-image-wrapper {
    flex: 0 0 34%;
    display: flex;
    justify-content: center;
}

.founder-img {
    width: 100%;
    max-width: 370px;
    height: 450px;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.14);
}


/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
    background: #f8fafc;
    padding: 85px 0;
}

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

.faq-heading {
    font-size: clamp(26px, 3vw, 34px);
    color: #243b53;
    font-weight: 700;
}

.faq-subheading {
    font-size: 14px;
    color: var(--muted);
    margin-top: 10px;
}

.faq-list {
    list-style: none;
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover,
.faq-item.active {
    border-color: #b8d6ee;
}

.faq-item.active {
    box-shadow: 0 5px 18px rgba(29, 118, 185, 0.06);
}

.faq-question {
    width: 100%;
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 19px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    color: #26384c;
    font-size: 15px;
    font-weight: 500;
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -4px;
}

.arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--primary);
    background: #edf5fb;
    border-radius: 50%;
    font-size: 21px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .arrow {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
    overflow: hidden;
    padding: 0 24px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding-bottom: 20px;
}


/* =========================================
   CALL TO ACTION SECTION
========================================= */

.home-sec-5 {
    background: var(--primary);
    padding: 85px 0;
}

.sec5-join-sub {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.cta-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #d8eaff;
    margin-bottom: 15px;
}

.sec5-join-sub h2 {
    font-size: clamp(27px, 4vw, 38px);
    line-height: 1.3;
    font-weight: 700;
}

.sec5-join-sub > p:not(.cta-label) {
    max-width: 680px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.8;
    color: #eaf4ff;
}

.sec5-btn-group {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
}

.sec5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 175px;
    min-height: 48px;
    padding: 12px 25px;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--white);
    border-radius: 7px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s ease;
}

.sec5-btn:hover {
    background: #eaf3fb;
    transform: translateY(-3px);
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
    background: #f4f7fa;
    padding: 65px 0 0;
}

.footer {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 45px;
}

.footer h3 {
    color: #243b53;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-quote h3 {
    font-family: 'Lora', serif;
    color: var(--primary);
    font-size: 24px;
}

.footer-quote p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    max-width: 280px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer li {
    margin-bottom: 12px;
}

.footer-quickline a,
.footer-contact a {
    font-size: 13px;
    color: #596779;
    transition: color 0.2s ease;
}

.footer-quickline a:hover,
.footer-contact a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-location {
    width: 100%;
}

.footer-location iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.07);
}

.footer-bottom {
    border-top: 1px solid #dfe6ed;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #778497;
    font-size: 12px;
}


/* =========================================
   FOCUS AND INTERACTION
========================================= */

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* =========================================
   LAPTOP RESPONSIVENESS
========================================= */

@media (max-width: 1200px) {

    .container {
        padding: 0 25px;
    }

    .home-pages {
        gap: 14px;
    }

    .nav-link {
        font-size: 13px;
    }

    .heading {
        font-size: 25px;
    }

    .card-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer {
        gap: 25px;
    }

}


/* =========================================
   TABLET RESPONSIVENESS
========================================= */

@media (max-width: 900px) {

    .menu-toggle {
        display: flex;
    }

    .navbar {
        flex-wrap: wrap;
    }

    .home-pages {
        display: none;
        position: absolute;
        top: calc(100% + 17px);
        left: -25px;
        right: -25px;
        width: calc(100% + 50px);
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 25px 20px;
        background: var(--white);
        border-top: 1px solid var(--border);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    }

    .home-pages.open {
        display: flex;
    }

    .home-pages .nav-link {
        display: block;
        width: 100%;
        padding: 13px 5px;
        border-bottom: 1px solid #edf0f3;
        font-size: 14px;
    }

    .home-pages .btn-call-now,
    .home-pages .btn-donate {
        width: 100%;
        margin-top: 12px;
    }

    .card-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-sec-3-aboutus-page {
        gap: 35px;
    }

    .founder-image-wrapper {
        flex-basis: 35%;
    }

    .founder-img {
        height: 380px;
    }

    .footer {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

}


/* =========================================
   MOBILE RESPONSIVENESS
========================================= */

@media (max-width: 600px) {

    .container {
        padding: 0 18px;
    }

    /* Contact bar */

    .top-contact-details {
        padding: 7px 0;
        font-size: 11px;
    }

    .top-contact-inner {
        justify-content: center;
        gap: 5px 14px;
    }

    .top-contact-details a {
        gap: 5px;
    }

    .top-contact-details img {
        width: 12px;
        height: 12px;
    }

    /* Navigation */

    .main-nav {
        padding: 13px 0;
    }

    .heading {
        font-size: 23px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .home-pages {
        left: -18px;
        right: -18px;
        width: calc(100% + 36px);
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Hero */

    .home-page-section {
        min-height: 68vh;
        background-position: center;
    }

    .home {
        padding: 65px 18px;
    }

    .hero-tagline {
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 15px;
    }

    .home-page-section-heading {
        font-size: clamp(35px, 9vw, 48px);
    }

    .home-page-section-text {
        font-size: 17px;
        margin-top: 14px;
    }

    .btn-group {
        flex-direction: column;
        gap: 13px;
        margin-top: 28px;
    }

    .btn-schedule-tour,
    .btn-Donate {
        width: 100%;
        max-width: 260px;
        min-height: 48px;
        margin: 0;
    }

    /* Feature cards */

    .why-choose-section {
        padding: 55px 0;
    }

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

    .card-title-s2 {
        font-size: 26px;
    }

    .card-subtitle-s2 {
        font-size: 13px;
        line-height: 1.8;
        margin-top: 12px;
    }

    .card-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }

    .card {
        padding: 19px 15px;
        min-height: 215px;
        border-radius: 12px;
    }

    .card img {
        width: 40px;
        height: 40px;
        margin-bottom: 13px;
    }

    .card h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .card p {
        font-size: 12px;
        line-height: 1.7;
    }

    /* Founder */

    .home-sec-3 {
        padding: 55px 0;
        margin-top: 0;
    }

    .home-sec-3-aboutus-page {
        flex-direction: column;
        gap: 30px;
    }

    .home-sec-3-content {
        width: 100%;
        text-align: left;
    }

    .home-sec-3-about {
        font-size: 12px;
        padding: 7px 13px;
    }

    .home-sec-3-content h2 {
        font-size: 27px;
        margin-bottom: 18px;
    }

    .home-sec-3-content p:not(.home-sec-3-about) {
        font-size: 13px;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .founder-image-wrapper {
        width: 100%;
        flex: auto;
    }

    .founder-img {
        width: 100%;
        max-width: 330px;
        height: 380px;
    }

    /* FAQ */

    .faq-section {
        padding: 55px 0;
    }

    .faq-heading {
        font-size: 26px;
    }

    .faq-subheading {
        font-size: 12px;
    }

    .faq-question {
        min-height: 62px;
        padding: 15px;
        font-size: 13px;
    }

    .faq-answer p {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 12px;
    }

    .faq-item.active .faq-answer p {
        padding-bottom: 15px;
    }

    /* CTA */

    .home-sec-5 {
        padding: 55px 0;
    }

    .sec5-join-sub h2 {
        font-size: 27px;
    }

    .sec5-join-sub > p:not(.cta-label) {
        font-size: 13px;
        line-height: 1.8;
    }

    .sec5-btn-group {
        flex-direction: column;
        gap: 12px;
    }

    .sec5-btn {
        width: 100%;
        max-width: 260px;
    }

    /* Footer */

    .site-footer {
        padding-top: 45px;
    }

    .footer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-quote p {
        margin: 0 auto;
    }

    .footer h3 {
        margin-bottom: 14px;
    }

    .footer-contact li {
        justify-content: center;
    }

    .footer-location iframe {
        height: 230px;
    }

}


/* =========================================
   SMALL MOBILE DEVICES
========================================= */

@media (max-width: 380px) {

    .container {
        padding: 0 14px;
    }

    .heading {
        font-size: 21px;
    }

    .top-contact-inner {
        gap: 5px 10px;
    }

    .top-contact-details {
        font-size: 10px;
    }

    .home-page-section-heading {
        font-size: 34px;
    }

    .card-groups {
        grid-template-columns: 1fr;
    }

    .card {
        min-height: auto;
        padding: 22px;
    }

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

    .card p {
        font-size: 13px;
    }

    .faq-question {
        font-size: 12px;
    }

}
