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

@font-face {
    font-family: 'adorn'; 
    src: url('../Public/fonts/adorn_2.woff2') format('woff2'); /* Path to the font */
}


body {
    font-family: adorn, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
}

/* Navbar styling */
nav {
    background-color: white;
    text-align: center;
    padding: 20px 0;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline-block;
    margin: 0 10px;
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;

}

nav ul li a:hover{
    text-decoration: none;
    color: #f28a8a;

}

nav ul li a.active {
    color: #f28a8a;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 40px;
}

.heading{
    margin-top: 30px;
    text-align: center;
}

.heading_hero{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    padding: 40px;
    text-align: center;
}

.heading_hero p{
    font-size: 15px;
}
.hero-content {
    display: flex;
    max-width: 1200px;
    width: 100%;
    justify-content: space-around;
}

.hero-image img {
    width: 400px;
    height: auto;
    border-radius: 8px;
}

.hero-text {
    max-width: 600px;
    margin-left: 30px;
}

.hero-text h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.hero-text p {
    font-size: 18px;
    margin: 10px 0;
}

.hero-text h3 {
    font-size: 28px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #333;
}

.section-title {
    font-size: 24px;
    text-align: center;
    margin: 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    color: #333;
}

/* Services Container */
.services-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 0 50px;
    margin-top: 20px;
}

/* Service Item Styles */
.service-item {
    background-color: #fff;
    border-radius: 10px;
    width: 22%;
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}

.service-item h3 {
    font-size: 1rem;
    margin-top: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    padding: 0 10px;
}


#services-section{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px !important;
}


.footer{
    background-color: #f9f9f9;
}





.footer_navbar {
    padding: 20px;
    text-align: center;
    border-bottom: #f28a8a 1px dotted;
}

.contact-info{
    display: flex;
    justify-content: space-around;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
}

.contact-info i {
    margin-right: 8px;
    color: #f39c12;
}


.social-media a {
    margin: 0 15px;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #f39c12;
}

.media_color{
    color: #f39c12;
}



.end{
    text-align: center;
    padding: 14px;
}

.end p{
    font-size: 12px;
}



/* Responsive styling */
@media (max-width: 768px) {
    .hero{
        margin-top: 0;
    }
    .heading_hero{
        padding: 0;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-image img {
        width: 300px;
        margin-bottom: 20px;
    }

    .hero-text {
        margin-left: 0;
    }
}


@media screen and (max-width: 900px) {
    .service-item {
        width: 45%;
    }
    #services-section{
        height: auto;
        gap: 0px !important;
    }
    .contact-info  {
        flex-direction: column;
        gap: 10px;
    }
}

@media screen and (max-width: 600px) {
.heading_hero{
    padding: 0;
}
    .hero{
        margin-top: 0;
    }

    #services-section{
        height: auto;
        gap: 0px !important;
    }
    .section-title{
        font-size: 26px;
        padding: 0 20px;
    }
    .services-container {
        padding: 0 20px;
    }

    .service-item {
        width: 90%;
    }
}


/* Responsive Design */
@media screen and (max-width: 600px) {

    .contact-info  {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-media{
        margin-top: 5px;
        width: 100%;
    }
    .contact-info p {
        font-size: 0.9rem;
    }

    .social-media a {
        font-size: 1.3rem;
    }
}








.doctor-intro {
    background-color: white;
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
}

.doctor-intro h1 {
    font-size: 2rem;
    color: #4b4b4b;
    margin-bottom: 10px;
}

.doctor-intro h2 {
    font-size: 2.5rem;
    color: #2b2b2b;
    margin-bottom: 15px;
    font-weight: bold;
}

.doctor-intro h3 {
    font-size: 1.8rem;
    color: #5b5b5b;
    margin-bottom: 20px;
}

.doctor-intro p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}


@media (max-width: 600px) {
    .doctor-intro {
        padding: 20px;
    }

    .doctor-intro h1, .doctor-intro h2, .doctor-intro h3 {
        font-size: 1.5rem;
    }

    .doctor-intro p {
        font-size: 1rem;
    }
}
