/* General Styles */

/* General Section Margins */
.hero, .main-service, .why-choose-us, .about-us, .contact-us {
    margin-bottom: 10px; /* Space below each section */
}

/* Headings */
h2 {
    margin-bottom: 20px; /* Space below headings */
}

/* Lists */
.benefits-list li {
    margin-bottom: 15px; /* Space between list items */
}

/* Buttons */
.cta-button {
    margin-top: 20px; /* Space above buttons */
}

/* Responsive Margins */
@media (max-width: 768px) {
    .hero, .main-service, .why-choose-us, .about-us, .contact-us {
        margin-bottom: 15px; /* Reduced margin for mobile */
    }

    h2 {
        margin-bottom: 15px; /* Reduced margin for mobile */
    }

    .cta-button {
        margin-top: 15px; /* Reduced margin for mobile */
    }
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

h1, h2, h3 {
    color: #2c3e50;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
}

/* Header */
header {
    background: #3498db;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header .tagline {
    font-size: 1.2rem;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .header {
      margin-top: 10px;
      padding: 10px 0;
      flex-direction: column;
      text-align: center;
    }
  }
  
/* Hero Section */
.hero {
    background: #ecf0f1; /* Light gray background */
    padding: 50px 0;
    text-align: center;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow elements to wrap in small screens */
    gap: 20px; /* Add space between elements */
}

.hero-text {
    flex: 1;
    min-width: 250px; /* Ensure minimum space for text */
    text-align: left; /* Align text to the left */
}

.hero-text h2 {
    font-size: 2.5rem;
    color: #2c3e50; /* Dark blue for heading */
    margin-bottom: 20px;
}

.hero-text .highlight {
    color: #e74c3c; /* Red color for highlight */
    font-weight: bold;
}

/* Benefits Title */
.benefits-title {
    font-size: 1.8rem; /* Slightly larger than the list items */
    font-weight: 700; /* Bold */
    color: goldenrod; /* Yellow color for contrast */
    margin-bottom: 15px; /* Space below the title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for depth */
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
}

.benefits-list li i {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #3498db; /* Icon color */
}

.benefits-list li span {
    flex: 1;
}

/* Call to Action Button */
.cta-button {
    display: inline-block;
    margin-top: 20px; /* Add space between text and button */
    padding: 10px 20px;
    background: #2ecc71; /* Green color for button */
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #27ae60; /* Darker green on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .hero {
        padding: 30px 0; /* Reduced padding for mobile */
    }

    .hero-text {
        text-align: center; /* Center text on mobile */
    }

    .hero-text h2 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .benefits-title {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }
    .benefits-list li {
        font-size: 0.9rem; /* Smaller font size for mobile */
    }

    .benefits-list li i {
        font-size: 1rem; /* Smaller icon size for mobile */
    }

    .cta-button {
        width: 100%; /* Full width button on mobile */
        max-width: 250px; /* Limit button width */
        margin-top: 10px; /* Reduced margin for mobile */
        font-size: 1rem; /* Smaller font size for mobile */
    }
}

/* Our Main Service Section */
.main-service {
    background: linear-gradient(135deg, #6dd5ed, #a18cd1); /* Soft gradient background */
    padding: 60px 0;
    color: #333; /* Default text color */
    text-align: center;
    position: relative;
    overflow: hidden;
    
}

.main-service h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50; /* Dark blue for heading */
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3); /* Light shadow for depth */
}

.service-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px; /* Space between image and description */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.service-image {
    flex: 1;
    max-width: 400px; /* Limit image width */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    animation: float 3s ease-in-out infinite; /* Floating animation */
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-description {
    flex: 1;
    max-width: 500px; /* Limit description width */
    text-align: left;
}

.service-description h3 {
    font-size: 2rem;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #009688; /* Teal for subheading */
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.3); /* Light shadow for depth */
}

.service-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #333; /* Dark gray for paragraph text */
}

.service-description .cta-button {
    background: #ff6f61; /* Orange for button */
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    transition: background 0.3s, transform 0.3s;
}

.service-description .cta-button:hover {
    background: #ff3b2f; /* Darker orange on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Floating animation for the image */
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .main-service {
        padding: 30px 0; /* Reduced padding for mobile */
    }

    .main-service h2 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .service-content {
        flex-direction: column; /* Stack image and description vertically */
        gap: 20px; /* Reduced gap for mobile */
    }

    .service-description {
        text-align: center; /* Center text on mobile */
    }

    .service-description h3 {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .service-description p {
        font-size: 1rem; /* Smaller font size for mobile */
    }

    .service-description .cta-button {
        margin: 0 auto;
        padding: 10px 20px; /* Smaller padding for mobile */
        font-size: 1rem; /* Smaller font size for mobile */
    }
}

/* Our Other Services Section */
.other-services {
    background: #f9f9f9; /* Light gray background */
    padding: 10px 0;
    text-align: center;
}

.other-services h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50; /* Dark blue for heading */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.services-reel {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping of items */
    scroll-snap-type: x mandatory; /* Snap scrolling to items */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
    padding-bottom: 20px; /* Add padding to avoid cutting off shadows */
}

.reel {
    display: inline-flex; /* Use inline-flex for horizontal layout */
    gap: 20px; /* Space between items */
    padding: 0 20px; /* Add padding to the sides */
}

.service-item {
    flex: 0 0 auto;
    width: 150px; /* Fixed width for each service item */
    text-align: center;
    scroll-snap-align: start; /* Snap each item to the start */
}

.service-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
    transition: transform 0.3s ease;
}

.service-item img:hover {
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.service-item p {
    margin-top: 10px;
    font-size: 1rem; /* Smaller font size for mobile */
    font-weight: bold;
    color: #333; /* Dark text for service names */
}

.service-description {
    margin-top: 30px;
    font-size: 1.1rem;
    color: #555; /* Dark gray for text */
    font-style: italic;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .other-services h2 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .service-item {
        width: 120px; /* Further reduced width for mobile */
    }

    .service-item p {
        font-size: 0.9rem; /* Smaller font size for mobile */
    }

    .service-description {
        font-size: 1rem; /* Smaller font size for mobile */
    }
}

/* Why Choose Us Section */
.why-choose-us {
    background: #fff;
    padding: 0px 0;
    text-align: center;
    margin-top: 0px;
}

.why-choose-us h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #2c3e50;
}

.why-choose-us ul {
    list-style: none;
    padding: 0;
}

.why-choose-us ul li {
    background: #f1c40f; /* Yellow background */
    color: #fff; /* White text */
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 1.1rem;
    display: flex;
    align-content: start;
    gap: 10px; /* Space between checkmark and text */
}

.why-choose-us ul li::before {
    content: "✔"; /* Unicode checkmark */
    margin-right: 10px; /* Space between checkmark and text */
    margin-left: 10px; /* Space between checkmark and left side */
    color: green; /* Customize the color */
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .why-choose-us ul li {
        font-size: 1rem; /* Smaller font size for mobile */
    }
}

/* About Us Section */
.about-us {
    background: #ffffff; /* White background */
    padding: 0px 0; /* Further reduced padding */
    text-align: center;
    margin-top: 0px;
}

.about-us h2 {
    font-size: 1.8rem; /* Smaller heading size */
    margin-bottom: 20px; /* Reduced margin */
    color: #2c3e50; /* Dark blue for heading */
    text-transform: uppercase;
    letter-spacing: 1px; /* Reduced letter spacing */
}

.profiles-container {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    gap: 20px; /* Space between profiles */
    padding-bottom: 20px; /* Add padding to avoid cutting off shadows */
    scroll-snap-type: x mandatory; /* Snap scrolling to profiles */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
}

.profiles-container::-webkit-scrollbar {
    height: 8px; /* Scrollbar height */
}

.profiles-container::-webkit-scrollbar-thumb {
    background: #3498db; /* Blue scrollbar thumb */
    border-radius: 4px; /* Rounded corners */
}

.profiles-container::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light gray scrollbar track */
}

.doctor-profile {
    flex: 0 0 auto; /* Prevent flex items from shrinking */
    scroll-snap-align: start; /* Snap each profile to the start */
    background: #f9f9f9; /* Light gray background for profile */
    border-radius: 10px; /* Smaller border radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden;
    width: 250px; /* Fixed width for each profile */
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-profile:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-details {
    padding: 15px; /* Reduced padding */
    text-align: center;
}

.profile-details h3 {
    font-size: 1.3rem; /* Smaller font size for name */
    margin-bottom: 10px;
    color: #2c3e50; /* Dark blue for name */
}

.profile-details p {
    font-size: 0.9rem; /* Smaller font size for details */
    color: #555; /* Dark gray for details */
    margin-bottom: 10px; /* Reduced margin */
}

.profile-buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Space between buttons */
    margin-top: 15px; /* Reduced margin */
}

.profile-buttons button {
    background: #3498db; /* Blue for buttons */
    color: #fff;
    border: none;
    padding: 6px 12px; /* Smaller padding */
    border-radius: 20px; /* Rounded corners */
    cursor: pointer;
    font-size: 0.8rem; /* Smaller font size */
    transition: background 0.3s, transform 0.3s;
}

.profile-buttons button:hover {
    background: #2980b9; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .about-us {
        margin-top: 10px;
        padding: 10px 0; /* Further reduced padding for mobile */
    }

    .about-us h2 {
        font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .doctor-profile {
        width: 200px; /* Smaller width for mobile */
    }

    .profile-details h3 {
        font-size: 1.1rem; /* Smaller font size for mobile */
    }

    .profile-details p {
        font-size: 0.8rem; /* Smaller font size for mobile */
    }

    .profile-buttons button {
        padding: 5px 10px; /* Smaller padding for mobile */
        font-size: 0.7rem; /* Smaller font size for mobile */
    }
}

/* Contact Us Section */
.contact-us {
    background: #2c3e50; /* Dark blue background */
    padding: 10px 0;
    color: #fff; /* White text for contrast */
    text-align: center;
}

.contact-us h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff; /* White text for heading */
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-us p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ecf0f1; /* Light gray for text */
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Space between buttons */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Specific styles for buttons in the Contact Us section */
.contact-us .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
    padding: 10px 20px; /* Padding for desktop */
    background: #3498db; /* Blue for button */
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    transition: background 0.3s, transform 0.3s;
    white-space: nowrap; /* Prevent text from wrapping */
}

.contact-us .cta-button:hover {
    background: #2980b9; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

.contact-us .cta-button.whatsapp {
    background: #25d366; /* Green for WhatsApp button */
}

.contact-us .cta-button.whatsapp:hover {
    background: #128c7e; /* Darker green on hover */
}

.contact-us .cta-button i {
    font-size: 1.2rem; /* Icon size */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .contact-us h2 {
        font-size: 2rem; /* Smaller font size for mobile */
    }

    .contact-us p {
        font-size: 1rem; /* Smaller font size for mobile */
    }

    .contact-us .cta-button {
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 10px 20px; /* Further reduced padding for mobile */
        font-size: 0.9rem; /* Smaller font size for mobile */
        gap: 6px; /* Reduced gap between icon and text */
    }

    .contact-us .cta-button i {
        font-size: 1.1rem; /* Smaller icon size for mobile */
    }
}

/* Social Media Section */
.social-media {
    background: #fff;
    padding: 10px 0;
    text-align: center;
    margin-top: 10px;
}

.social-icons a {
    color: #3498db;
    font-size: 2rem;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    color: #2980b9;
    transform: scale(1.1);
}

/* Footer Section */
footer {
    background: #34495e; /* Dark blue background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px 0;
}

footer .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 10px 0; /* Space between paragraphs */
    font-size: 1rem; /* Default font size */
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
    footer p {
        font-size: 0.9rem; /* Smaller font size for mobile */
        margin: 8px 0; /* Reduced margin for mobile */
    }
}  

/* Sticky Book Appointment Button */
.sticky-button {
    position: fixed; /* Make the button sticky */
    bottom: 20px; /* Distance from the bottom */
    right: 20px; /* Distance from the right */
    z-index: 1000; /* Ensure it stays on top of other elements */
}

.sticky-button .cta-button {
    background: #e74c3c; /* Red color for button */
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    transition: background 0.3s, transform 0.3s;
}

.sticky-button .cta-button:hover {
    background: #c0392b; /* Darker red on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .sticky-button {
        bottom: 70px; /* Closer to the bottom on mobile */
        right: 10px; /* Closer to the right on mobile */
    }

    .sticky-button .cta-button {
        padding: 10px 20px; /* Smaller padding for mobile */
        font-size: 1rem; /* Smaller font size for mobile */
    }
}