html,
body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif;
    margin: 0;
}

header {
    background-color: #f28c28;
    color: white;
    padding: 10px 40px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);

    position: sticky;
top: 0;
z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.clinic-name h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.clinic-name p {
    margin: 2px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: #fff8e7;
    letter-spacing: 0.5px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 35px;
    font-weight: 600;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

nav a:hover {
    border-bottom: 2px solid white;
}

button {
    background-color: #f28c28;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

header img {
    width: 75px;
    height: 75px;
    object-fit: contain;
}

.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.45),
                                rgba(0, 0, 0, 0.45)),
                url("../images/hero.jpeg");

    background-size: cover;
    background-position: top center;

    color: white;

    min-height: 500px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px;
}

.hero h2 {
    font-size: 52px;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.7;
    margin: 0;
}

button:hover {
    background-color: #d97706;
    transform: translateY(-3px);
}

.about {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 80px 10%;
    background-color: #fff8f2;
    flex-wrap: wrap;
}

.about-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 15px;
    display: block;
}

.about-text h2 {
    color: #f28c28;
    font-size: 36px;
}

.about-text p {
    line-height: 1.8;
    font-size: 18px;
}

.services {
    padding: 80px 10%;
    background-color: white;
}

.services h2 {
    text-align: center;
    color: #f28c28;
    font-size: 36px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: white;
    width: 320px;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-card h3 {
    color: #f28c28;
    margin-bottom: 15px;
    text-align: center;
    font-size: 22px;
}

.service-card i {
    color: #f28c28;
    font-size: 38px;
    display: block;
    margin-bottom: 20px;
}

.service-card p {
    line-height: 1.7;
    color: #555;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nav-button {
    background-color: white;
    color: #f28c28 !important;
    padding: 10px 18px;
    border-radius: 25px;
    margin-left: 35px;
}

.nav-button:hover {
    background-color: #fff2cc;
    color: #d97706 !important;
}

.service-card {
    text-align: center;
}

.about-features {
    margin: 25px 0;
}

.about-features p {
    font-size: 18px;
    margin: 12px 0;
    color: #444;
    font-weight: 500;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 100px;
}

.why-choose {
    padding: 80px 10%;
    background-color: #fff8f2;
}

.why-choose h2 {
    text-align: center;
    color: #f28c28;
    font-size: 36px;
    margin-bottom: 50px;
}

.why-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.why-card {
    background-color: white;
    padding: 35px 30px;
    border-radius: 15px;
    border: 1px solid #f3e2d2;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.why-card i {
    font-size: 42px;
    color: #f28c28;
    margin-bottom: 20px;
}

.why-card h3 {
    margin: 0 0 12px;
    color: #333;
    font-size: 21px;
}

.why-card p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.vision-mission {
    padding: 80px 10%;
    background-color: white;
}

.vision-mission h2 {
    text-align: center;
    color: #f28c28;
    font-size: 36px;
    margin-bottom: 50px;
}

.vision-container {
    display: flex;
    gap: 30px;
}

.vision-card {
    flex: 1;
    background-color: #fff8f2;
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #f3e2d2;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vision-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.vision-card i {
    font-size: 42px;
    color: #f28c28;
    margin-bottom: 20px;
}

.vision-card h3 {
    color: #333;
    margin: 0 0 15px;
    font-size: 24px;
}

.vision-card p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.contact {
    padding: 80px 10%;
    background-color: #fff8f2;
}

.contact h2 {
    text-align: center;
    color: #f28c28;
    font-size: 36px;
    margin-bottom: 50px;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.contact-card {
    background-color: white;
    width: 300px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card i {
    font-size: 40px;
    color: #f28c28;
    margin-bottom: 20px;
}

.contact-card h3 {
    color: #333;
    margin-bottom: 15px;
}

.contact-card p,
.contact-card a {
    color: #666;
    text-decoration: none;
    line-height: 1.7;
}

.contact-card a:hover {
    color: #f28c28;
}

.learn-more-btn {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid #f28c28;
    border-radius: 30px;
    color: #f28c28;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background-color: #f28c28;
    color: white;
    transform: translateY(-3px);
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.primary-btn {
    background-color: #f28c28;
    color: white;
    padding: 16px 35px;
    font-size: 16px;
    font-weight: 600;
}

.primary-btn:hover {
    background-color: #d97706;
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: #25D366;
    color: white;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
}

.secondary-btn:hover {
    background-color: #1EBE5D;
    transform: translateY(-3px);
}

.secondary-btn i {
    margin-right: 6px;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.footer-content h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.footer-content p {
    color: #ccc;
}

.footer-icons {
    margin: 25px 0;
}

.footer-icons a {
    color: white;
    font-size: 28px;
    margin: 0 15px;
    transition: 0.3s ease;
}

.footer-icons a:hover {
    color: #f28c28;
}

.copyright {
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

.contact-map {
    margin-top: 50px;
}

.contact-map iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ==========================
   Call To Action
========================== */

.cta {
    background-color: #f28c28;
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    font-size: 38px;
    margin: 0 0 15px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    line-height: 1.7;
}

.cta-btn {
    display: inline-block;
    background-color: white;
    color: #f28c28;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #fff2cc;
    transform: translateY(-3px);
}

/* ==========================
   Responsive Design
========================== */

@media (max-width: 900px) {

    /* ==========================
       Header
    ========================== */

    header {
        flex-direction: column;
        padding: 12px 15px;
        gap: 10px;
    }

    .logo-area {
        gap: 10px;
    }

    header img {
        width: 55px;
    }

    .clinic-name h1 {
        font-size: 22px;
    }

    .clinic-name p {
        font-size: 13px;
    }

    /* Navigation */

nav {
    margin-top: 5px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 14px;
}

nav a {
    margin-left: 0;
}

.nav-button {
    margin-left: 0;
}

    /* ==========================
       Hero Section
    ========================== */

    .hero {
        min-height: 450px;
        padding: 30px 20px;
        background-position: top center;
    }

    .hero h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

    .hero p {
    font-size: 16px;
    line-height: 1.6;
}

.services h2,
.why-choose h2,
.vision-mission h2,
.contact h2 {
    font-size: 30px;
}

    
.button-group {
        flex-direction: column;
        align-items: center;
    }

    
    /* ==========================
       About Section
    ========================== */

    .about {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

.about-text {
    width: 100%;
    max-width: 600px;
}

.about-text h2 {
    font-size: 28px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.6;
}

.about-features p {
    font-size: 15px;
    margin: 9px 0;
}

.learn-more-btn {
    font-size: 14px;
    padding: 11px 22px;
}

    .about-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* ==========================
       Services Section
    ========================== */

    .service-card {
    width: 100%; 
    max-width: 320px;
    box-sizing: border-box;
}

    /* ==========================
       Why Choose Us
    ========================== */

    .why-container {
    grid-template-columns: 1fr;
    gap: 20px;
}

    /* ==========================
       Vision & Mission
    ========================== */

    .vision-container {
        flex-direction: column;
    }

    /* ==========================
       Contact Section
    ========================== */

    .contact-card {
    width: 300px;
    box-sizing: border-box;
}

.contact-container {
    gap: 20px;
}

    /* ==========================
       Footer
    ========================== */

    .footer-content h3 {
        font-size: 24px;
    }

.cta {
    padding: 60px 20px;
}

.cta h2 {
    font-size: 30px;
}

.cta p {
    font-size: 16px;
}

.cta-btn {
    padding: 14px 28px;
    font-size: 15px;
}

}

/* ==========================
   Floating WhatsApp Button
========================== */

.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}