 /* Medical Section Grid */
 .medical-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s;
    border: 1px solid #ddd;
}

.card:hover {
    transform: translateY(-5px);
}

/* Icon Styling */
.icon img {
    width: 80px;
    height: auto;
    margin-bottom: 15px;
}

/* Title Styling */
h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

/* Button Section */
.buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn {
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-doctors {
    background-color: #1abc9c;
    color: white;
}

.btn-hospitals {
    background-color: #34495e;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

/* Custom styles for hero_section */
.hero_section {
    background-image: url('img/Hero.jpg');
    /* Replace with your image path */
    background-size: cover;
    background-position: center;
    height: 100vh;
    /* Full-screen height */
    padding: 0 20px;
    /* Adds padding for smaller screens */
}

.hero_content {
    color: black;
}

/* Adjust font size for responsive text */
.hero_content h1 {
    font-size: 5vw;
    /* Responsive font size based on viewport width */
    margin-bottom: 20px;
    line-height: 1.2;
    /* Ensures better spacing */
}

.hero_content .btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    /* Adjust size to be more responsive */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero_content h1 {
        font-size: 4vw;
        /* Adjust font size for larger tablets */
    }
}

@media (max-width: 992px) {
    .hero_content h1 {
        font-size: 4.5vw;
        /* Adjust font size for smaller tablets */
    }
}

@media (max-width: 768px) {
    .hero_section {
        height: auto;
        /* Adjust height for small screens */
        padding: 40px 20px;
    }

    .hero_content h1 {
        font-size: 5vw;
        /* Ensure font size scales for small screens */
    }
}

@media (max-width: 355px) {
    .hero_section {
        padding: 20px 10px;
        /* Adjust padding for very small screens */
    }

    .hero_content h1 {
        font-size: 6vw;
        /* Increase font size for very small screens */
    }
}

/* Dr. Area */
.doctors-section {
    text-align: center;
    padding: 30px;
    background-color: #e0f7f9;
}

.doctors-section h1 {
    color: #20b5a2;
    font-size: 2rem;
}

.doctors-section p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.doctor-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.doctor-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 0px;
    width: 250px;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
}

.doctor-card img {
    width: 100%;
    margin-bottom: 15px;
}

.doctor-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.doctor-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}

.doctor-card button {
    background-color: #20b5a2;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.doctor-card button:hover {
    background-color: #1a9584;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .doctor-cards {
        flex-direction: column;
        align-items: center;
    }

    .doctor-card {
        width: 90%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .doctors-section h1 {
        font-size: 2rem;
    }

    .doctors-section p {
        font-size: 1rem;
    }

    .doctor-card {
        width: 100%;
    }
}

@media (max-width: 300px) {
    .doctor-info ul li {
        font-size: 10px;
    }

    .doctor-info h2 {
        font-size: 14px;
    }

    .doctor-info p {
        font-size: 12px;
    }

}

/* Custom styles for hero_section */

.hero_content {
    color: black;
}

/* Adjust font size for responsive text */
.hero_content h1 {
    font-size: 3vw;
    /* Responsive font size based on viewport width */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    /* Ensures better spacing */
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .hero_content h1 {
        font-size: 4vw;
        /* Adjust font size for larger tablets */
    }
}

@media (max-width: 992px) {
    .hero_content h1 {
        font-size: 4.5vw;
        /* Adjust font size for smaller tablets */
    }
}

@media (max-width: 768px) {
    .hero_section {
        height: auto;
        /* Adjust height for small screens */
        padding: 40px 20px;
    }

    .hero_content h1 {
        font-size: 5vw;
        /* Ensure font size scales for small screens */
    }
}

@media (max-width: 355px) {
    .hero_section {
        padding: 20px 10px;
        /* Adjust padding for very small screens */
    }

    .hero_content h1 {
        font-size: 6vw;
        /* Increase font size for very small screens */
    }
}

#navigation {
    display: flex;
    justify-content: space-between;
    /* Adjust spacing as needed */
    list-style: none;
    padding: 0;
    margin: 0;
}

#navigation li {
    margin: 0 10px;
    /* Adjust spacing between items */
}

#navigation a {
    text-decoration: none;
    color: #333;
    /* Adjust text color */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Search Bar */
.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.search-bar input {
    width: 400px;
    padding: 10px;
    border-radius: 50px;
    border: 1px solid #ccc;
    outline: none;
    font-size: 16px;
}

.search-bar button {
    background-color: white;
    border: none;
    margin-left: -40px;
    cursor: pointer;
    font-size: 16px;
    padding: 0 10px;
}

/* Doctor Profile Card */
.doctor-profile {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    border: 1px solid #ddd;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.doctor-image img {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 20px;
}

.doctor-info h2 {
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.doctor-info p {
    margin-bottom: 5px;
    font-size: 1rem;
}

.doctor-info ul {
    margin: 10px 0;
    padding-left: 20px;
}

.doctor-info ul li {
    margin-bottom: 5px;
    list-style-type: disc;
    color: #979797;
}

.doctor-info a {
    color: #28a745;
    text-decoration: none;
}

.doctor-info a:hover {
    text-decoration: underline;
}

.contact-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 10px;
}

.contact-button:hover {
    background-color: #218838;
}

@media (max-width: 768px) {
    .doctor-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .doctor-image {
        margin-bottom: 20px;
    }

    .doctor-info ul {
        padding-left: 0;
    }
}
.treatments-section {
    background-color: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
}
.treatments-heading {
    font-weight: 600;
    color: #0277bd;
}
.treatment-list {
    list-style-type: none;
    padding: 0;
}
.treatment-list li {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.contact-button{
    background-color: #03118b !important;
}