/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3, h4, h5, h6 {
    color: #24adfd; /* Primary blue color */
    margin-bottom: 20px;
}

p {
    line-height: 1.6;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: #4cd821;
    transition: color 0.3s;
}

a:hover {
    color: #1d8b33; /* Slightly darker green for hover */
}

/* Header Area */
.header-area {
    background-color: #7fd2f1; /* Light blue color */
    color: #333;
    padding: 15px 0;
}

#header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #7fd2f1;
}

#logo img {
    max-width: 150px;
}

/* Navigation Menu */
#nav-menu-container {
    display: flex;
}

.nav-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu li a:hover {
    color: #15e4fd;
}

/* Preloader */
.preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #7fd2f1;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Banner Area */
.banner-area {
    background-size: cover;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    color: #1c1a1a;
}

.banner-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.banner-subtitle {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.banner-description {
    font-size: 1.2rem;
}

/* Service Area */
.service-area {
    padding: 60px 0;
    text-align: left;
}

.service-area h4,
.service-area h1 {
    color: #333;
}

.service-area p {
    color: #333;
    font-size: 1.2rem;
}

.service-area .btn-primary {
    background-color: #244cfd;
    border: none;
    color: #fff;
    transition: background-color 0.3s;
}

.service-area .btn-primary:hover {
    background-color: #003ba3;
}

/* Departments Area */
.departments-area {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.card {
    border: none;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 10px;
    border-bottom: none;
    text-align: center;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #244cfd;
}

.card-text {
    color: #666;
    font-size: 1rem;
}

/* Icons inside department cards */
.card-header i {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.text-primary {
    color: #244cfd !important; /* Cardiology color */
}

.text-info {
    color: #17a2b8 !important; /* Neurology color */
}

.text-warning {
    color: #ffc107 !important; /* Orthopedics color */
}

.text-danger {
    color: #dc3545 !important; /* Oncology color */
}

.text-success {
    color: #28a745 !important; /* Pediatrics color */
}

.text-pink {
    color: #e83e8c !important; /* Gynecology color */
}

/* Contact Area */
.contact-area {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.single-contact-info {
    flex: 1;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.single-contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.single-contact-info h4 {
    margin-top: 15px;
    color: #333;
}

.single-contact-info p {
    color: #666;
}

.single-contact-info i {
    color: #24adfd;
    margin-bottom: 10px;
}

/* Map Section */
#map {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Team Member Section */
.member-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.member-details {
    color: #333;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #244cfd;
}

.member-role {
    font-size: 1.2rem;
    color: #555;
}

.member-region {
    font-size: 1rem;
    color: #666;
    margin-top: 5px;
}

.member-ratings {
    font-size: 1rem;
    color: #f39c12;
    margin-top: 5px;
}

.social-media-icons {
    margin-top: 10px;
}

.social-media-icons a {
    color: #333;
    margin: 0 5px;
    font-size: 1.2rem;
}

.social-media-icons a:hover {
    color: #24adfd;
}

/* Call to Action Area */
.cta-area {
    background: #244cfd;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.cta-buttons .btn {
    margin: 5px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s;
}

.cta-buttons .btn-primary {
    background-color: #15e4fd;
    color: #000;
}

.cta-buttons .btn-secondary {
    background-color: #333;
    color: #fff;
}

.cta-buttons .btn:hover {
    opacity: 0.8;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin: 20px 0;
}

blockquote .blockquote-footer {
    color: #333;
}

/* Search Bar */
.search-bar {
    padding: 20px 0;
    background-color: #f1f1f1;
    text-align: center;
}

.search-bar .form-control {
    width: 70%;
    max-width: 500px;
    display: inline-block;
}

.search-bar .btn-outline-success {
    margin-left: 10px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #15e4fd;
}

/* Responsive Styling */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.5rem;
    }

    .banner-description {
        font-size: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .reputation-area p,
    .appointment-area p {
        font-size: 1rem;
    }

    .appointment-area h2 {
        font-size: 1.5rem;
    }
}
