/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Body Styling */
body {
    background-color: #f4f7f6;
    color: #333; /* Default text color */
}

/* Header Styling */
header {
    background-color: #003366;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .auth-links a {
    margin-right: 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header .auth-links a:hover {
    color: #ff9900;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    color: #ff9900;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

header .logo i {
    margin-right: 10px;
}

/* Hero Section */
#home.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    color: #ff9900; /* Changed text color */
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    color: #ff9900;
    margin-bottom: 30px;
}

.hero-content .btn {
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}

.hero-content .btn:hover {
    background-color: #e68a00;
}

/* About Section */
#about.section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

#about h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

#about p {
    font-size: 18px;
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
}

/* Services Section */
#services.section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#services h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #003366; /* Change title color */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.service-item i {
    font-size: 40px;
    color: #003366;
    margin-bottom: 10px;
}

.service-item:hover {
    background-color: #003366;
    color: white;
    transform: translateY(-5px); /* Hover effect change */
}

/* Doctors Section */
#doctors.section {
    padding: 50px 20px;
    background-color: #fff;
    text-align: center;
    overflow: hidden; /* Hide anything that goes beyond the container */
}

/* Add animation to the doctors grid */
.doctors-grid {
    display: flex;
    gap: 30px;
    animation: scrollLeftToRight 20s linear infinite; /* Continuous scrolling animation */
}

/* Keyframes for the continuous scrolling effect */
@keyframes scrollLeftToRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%); /* Move all items out to the left */
    }
}

.doctor-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px; /* Ensure a consistent width for each card */
}

.doctor-card img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.doctor-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.doctor-card p {
    font-size: 18px;
}



/* Contact Section */
#contact.section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

#contact h2 {
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
    color: #003366; /* Change title color */
}

.contact-info {
    text-align: center;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 10px;
}

.contact-info i {
    margin-right: 10px;
}

.contact-form {
    text-align: center;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 column layout for form */
    gap: 20px;
    justify-items: center;
}

.contact-form input,
.contact-form textarea {
    
    width: 100%;
    padding: 10px;
    margin: 10px 0
}

.contact-form button {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    border: none;
}

.contact-form button:hover {
    background-color: #ff9900;
}

/* Footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    font-size: 16px;
}
