* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #FFFFFF;
    color: #000000;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.homepage {
    width: 100%;
    overflow-x: hidden;
}

/* =========================
   HERO SECTION
========================= */
.hero {
    position: relative;
    min-height: 920px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 180px 63px 100px;
}

.hero-content h1 {
    max-width: 734px;
    font-weight: 600;
    font-size: 55px;
    line-height: 1.49;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.hero-content p {
    max-width: 964px;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.5;
    color: #FFFFFF;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    transition: 0.25s ease;
    white-space: nowrap;
}

.btn-light {
    min-width: 299px;
    min-height: 53px;
    padding: 13px 28px;
    background: #FFFFFF;
    color: #145071;
}

.btn-dark {
    min-width: 232px;
    min-height: 53px;
    padding: 13px 28px;
    background: #162447;
    color: #FFFFFF;
}

.btn-primary {
    min-width: 185px;
    min-height: 53px;
    padding: 13px 28px;
    background: rgba(46, 177, 247, 0.4);
    color: #000000;
}

.btn-secondary {
    min-width: 216px;
    min-height: 53px;
    padding: 13px 28px;
    background: #E2E2E2;
    border: 1px solid #162447;
    color: #000000;
}

.btn-view-all {
    min-width: 224px;
    min-height: 53px;
    padding: 13px 28px;
    background: #1C1C1C;
    color: #FFFFFF;
}

.btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* =========================
   SHARED SECTION HEADINGS
========================= */
.section-heading {
    max-width: 965px;
    margin: 0 auto 48px;
    text-align: center;
}

.section-heading span {
    display: inline-block;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #145071;
    margin-bottom: 12px;
}

.section-heading h2 {
    font-weight: 600;
    font-size: 35px;
    line-height: 52px;
    color: #000000;
    margin-bottom: 12px;
}

.section-heading p {
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
}

.section-heading.dark span {
    color: #2EB1F7;
}

.section-heading.dark h2,
.section-heading.dark p {
    color: #FFFFFF;
}

/* =========================
   SERVICES SECTION
========================= */
.services-section {
    background: #F6F6F6;
    padding: 80px 40px 70px;
}

.services-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: #FFFFFF;
    border: 1px solid #8D8D8D;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    border-radius: 7px;
    padding: 32px 34px 28px;
    min-height: 252px;
}

.service-icon {
    width: 43px;
    height: 43px;
    background: rgba(46, 177, 247, 0.2);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #000000;
    font-size: 20px;
}

.service-card h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 6px;
}

.service-card p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #5C5C5C;
    margin-bottom: 16px;
}

.service-card a {
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    color: #145071;
}

.services-action {
    text-align: center;
    margin-top: 42px;
}

/* =========================
   BOOKING SECTION
========================= */
.booking-section {
    max-width: 1440px;
    margin: 0 auto;
    padding: 95px 40px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
}

.booking-content > span {
    display: inline-block;
    font-weight: 500;
    font-size: 18px;
    line-height: 27px;
    color: #145071;
    margin-bottom: 10px;
}

.booking-content h2 {
    font-weight: 600;
    font-size: 35px;
    line-height: 52px;
    color: #000000;
    margin-bottom: 10px;
}

.booking-description {
    max-width: 685px;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 34px;
}

.booking-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 26px 30px;
    margin-bottom: 34px;
}

.booking-feature {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.feature-icon {
    width: 43px;
    height: 43px;
    background: rgba(20, 80, 113, 0.3);
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #162447;
    font-size: 18px;
    flex-shrink: 0;
}

.booking-feature h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #000000;
    margin-bottom: 4px;
}

.booking-feature p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #4D4D4D;
}

.booking-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.booking-image img {
    width: 100%;
    max-width: 496px;
    margin-left: auto;
    border-radius: 10px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    object-fit: cover;
}

/* =========================
   STEPS SECTION
========================= */
.steps-section {
    background: #162447;
    padding: 95px 40px 110px;
}

.steps-grid {
    max-width: 1440px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 42px;
}

.step-card {
    color: #FFFFFF;
}

.step-number {
    font-weight: 600;
    font-size: 70px;
    line-height: 105px;
    color: #838383;
    margin-bottom: 6px;
}

.step-icon {
    width: 43px;
    height: 43px;
    background: #2EB1F7;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 16px;
}

.step-card h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.step-card p {
    max-width: 266px;
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
    color: #DEDEDE;
}

/* =========================
   CTA SECTION
========================= */
.cta-section {
    background: #2EB1F7;
    padding: 75px 40px 85px;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    font-weight: 600;
    font-size: 35px;
    line-height: 52px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.cta-content p {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cta-section .btn-light {
    min-width: 299px;
    color: #145071;
    background: #FFFFFF;
}

.cta-section .btn-dark {
    min-width: 189px;
    background: #162447;
    color: #FFFFFF;
}

/* =========================
   FOOTER
========================= */
.footer {
    width: 100%;
    background: #162447;
    color: #FFFFFF;
    padding: 50px 40px 20px;
}

.footer-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
}

.footer-logo-section {
    flex: 1.3;
    min-width: 220px;
}

.footer-logo-section img {
    width: 230px;
    max-width: 100%;
    height: auto;
}

.social-icons {
    display: flex;
    gap: 14px;
    margin-top: 18px;
}

.social-icons a {
    color: #FFFFFF;
    font-size: 24px;
}

.footer-links,
.footer-contact,
.footer-visit {
    padding-top: 8px;
}

.footer-links {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #FFFFFF;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
}

.footer-contact,
.footer-visit {
    flex: 1;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact h3,
.footer-visit h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.footer-contact p,
.footer-visit p {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
}

.footer-copy {
    text-align: center;
    margin-top: 32px;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
    color: #FFFFFF;
}

/* =========================
   LARGE TABLET
========================= */
@media (max-width: 1200px) {
    .hero-content {
        padding: 170px 40px 90px;
    }

    .hero-content h1 {
        font-size: 46px;
        line-height: 1.35;
    }

    .hero-content p {
        font-size: 20px;
        line-height: 1.5;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .footer-container {
        flex-wrap: wrap;
        gap: 32px;
    }

    .footer-logo-section,
    .footer-links,
    .footer-contact,
    .footer-visit {
        flex: 1 1 45%;
    }
}

/* =========================
   TABLET
========================= */
@media (max-width: 992px) {
    .booking-section {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .booking-image img {
        margin: 0 auto;
    }

    .booking-features {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .booking-content h2,
    .cta-content h2 {
        font-size: 30px;
        line-height: 1.35;
    }

    .section-heading p,
    .booking-description,
    .cta-content p {
        font-size: 17px;
        line-height: 1.6;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .hero {
        min-height: 760px;
    }

    .hero-content {
        padding: 140px 20px 70px;
    }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 17px;
        line-height: 1.6;
    }

    .hero-buttons,
    .booking-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn,
    .btn-light,
    .btn-dark,
    .btn-primary,
    .btn-secondary,
    .btn-view-all,
    .cta-section .btn-light,
    .cta-section .btn-dark {
        width: 100%;
        min-width: unset;
    }

    .services-section,
    .booking-section,
    .steps-section,
    .cta-section,
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: unset;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading span,
    .booking-content > span {
        font-size: 16px;
        line-height: 24px;
    }

    .section-heading h2,
    .booking-content h2,
    .cta-content h2 {
        font-size: 26px;
        line-height: 1.3;
    }

    .section-heading p,
    .booking-description,
    .cta-content p {
        font-size: 16px;
        line-height: 1.6;
    }

    .booking-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .steps-section {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .step-number {
        font-size: 48px;
        line-height: 1.2;
    }

    .step-card p {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
        gap: 28px;
    }

    .footer-logo-section,
    .footer-links,
    .footer-contact,
    .footer-visit {
        width: 100%;
        min-width: unset;
    }

    .footer-logo-section img {
        width: 180px;
    }

    .footer-links a,
    .footer-contact h3,
    .footer-visit h3,
    .footer-contact p,
    .footer-visit p {
        font-size: 16px;
        line-height: 24px;
    }

    .footer-copy {
        margin-top: 24px;
        font-size: 10px;
        line-height: 15px;
    }
}
/* Add to index.css, services.css, about.css, appointment.css */

/* Fade-in animation on page load */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade-out animation on page exit */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

main, .homepage, .services-page, .about-page, .appointment-page {
    animation: fadeIn 0.5s ease-in-out;
}

body.fade-out main {
    animation: fadeOut 0.3s ease-in-out forwards;
}