html, body {
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%; /* Ensure no extra width */
    margin: 0;
    padding: 0;
} 
body { font-family: 'Poppins', sans-serif; background-color: #f8f9fa; color: #333; }
.navbar { background-color: #004085; padding: 15px; }
.navbar-brand, .nav-link { color: white !important; font-weight: 600; }
.banner { background:  url('../images/providing_quality.jpg'); background-size: cover; height: 500px; display: flex; align-items: center; justify-content: center; text-align: center; color: white; }
.banner h1 { font-size: 3rem; font-weight: 700; }
.btn-custom { background-color: #ff7f50; color: white; padding: 12px 24px; font-size: 1.2rem; border-radius: 5px; transition: 0.3s; }
.btn-custom:hover { background-color: #fcece6; }
.section-title { text-align: center; font-weight: 700; margin-bottom: 40px; color: #004085; font-size: 2rem; }
.feature-card { text-align: center; padding: 25px; background: white; border-radius: 15px; box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease-in-out; }
.feature-card:hover { transform: scale(1.05); }
.feature-card img { width: 70px; height: 70px; margin-bottom: 15px; }
.footer { background-color: #004085; color: white; text-align: center; padding: 20px 0; margin-top: 50px; }
.doctor-section { text-align: justify; padding: 50px 0; background: #e3f2fd; }
.doctor-section img { max-width: 100%; border-radius: 50%; margin-bottom: 15px; }
.top-bar {
background-color: #ff7f50; /* Different color for top bar */
color: white;
padding: 10px 0;
font-size: 14px;
}
@media (max-width: 768px) {
.doctor-section {
text-align: left; /* Change to left-aligned on small screens */
}
}
/* Top Bar */


.top-bar .container {
display: flex;
justify-content: space-between;
align-items: center;
}

/* Contact Info */
.contact-info {
display: flex;
justify-content: space-between;
width: 100%;
}

.contact-info span {
display: flex;
align-items: center;
gap: 10px;
}

/* Social Icons */
.contact-info div a {
color: #fff;
margin-left: 10px;
font-size: 16px;
transition: 0.3s;
}

.contact-info div a:hover {
color: #f8d210;
}

/* Responsive Styling */
@media (max-width: 768px) {
.top-bar .container {
flex-direction: column;
text-align: center;
}

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

.contact-info span {
display: block;
margin-bottom: 5px;
}

.contact-info div {
margin-top: 5px;
}

.appointment-btn-container .btn {
width: 90%;
}
}
/* Appointment Button Section */
.appointment-btn-container {

padding: 15px 0;
}
.appointment-btn-container .btn {
color: #333;
font-weight: bold;
padding: 12px 30px;
border-radius: 30px;
transition: background 0.3s ease;
}
.appointment-btn-container .btn:hover {
background: #0056b3;
}

/* Mobile Optimization */
@media (max-width: 768px) {
.appointment-btn-container {
padding: 10px 0;
}
.appointment-btn-container .btn {
width: 80%; /* Full-width button on mobile */
}
}

/* Treatments Section */
.treatment-card {
background: linear-gradient(135deg, #ffffff, #f8f9fa);
border: 1px solid #ddd;
border-radius: 12px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
text-align: center;
}

.treatment-card:hover {
transform: translateY(-8px);
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.treatment-icon {
background: #007bff;
color: #fff;
padding: 20px;
display: inline-block;
border-radius: 50%;
transition: background 0.3s ease;
}

.treatment-card:hover .treatment-icon {
background: #0056b3;
}

/* Responsive Styling */
@media (max-width: 768px) {
.treatment-card {
text-align: center;
padding: 20px;
margin-bottom: 20px;
}
}

.feature-box {
    background: white;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border-radius: 10px;
}
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}
 /* Full-Screen Breadcrumb */
.breadcrumb {
    background: url('../images/breadcrumb-bg.jpg') no-repeat center center/cover;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}

/* Dark Overlay */
.breadcrumb::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

/* Content Overlay */
.breadcrumb-overlay {
    position: relative;
    z-index: 2;
    padding: 20px;
}

/* Breadcrumb Title */
.breadcrumb h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Breadcrumb Navigation */
.breadcrumb ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding: 0;
}

.breadcrumb li {
    font-size: 18px;
    color: #fff;
}

.breadcrumb li a {
    text-decoration: none;
    color: #f8d210;
    font-weight: bold;
    transition: color 0.3s ease;
}

.breadcrumb li a:hover {
    color: #ffcc00;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 10px;
    color: white;
}

.breadcrumb .active {
    font-weight: bold;
    color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        height: 60vh;
    }

    .breadcrumb h1 {
        font-size: 32px;
    }

    .breadcrumb ul {
        flex-direction: column;
    }

    .breadcrumb li {
        margin-bottom: 5px;
    }

    .breadcrumb li:not(:last-child)::after {
        display: none;
    }
}
/* Hero Section */
.hero {
    background: url('https://source.unsplash.com/1600x900/?hospital,doctor') no-repeat center center/cover;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}
.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

 /* Treatment Box */
.treatment-box {
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
    border-radius: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    opacity: 0;
    animation: fadeInUp 1s forwards ease-in-out;
}
.treatment-box i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 10px;
}
.treatment-box:hover {
    background: #007bff;
    color: white;
    transform: scale(1.05);
    box-shadow: 0px 10px 25px rgba(0, 123, 255, 0.3);
}
.treatment-box:hover i {
    color: white;
}


/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    color: #007bff;
    position: relative;
}
.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: #007bff;
    display: block;
    margin: 10px auto;
    border-radius: 2px;
}



/* IOL Box */
.iol-box {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border-left: 5px solid #007bff;
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    margin-bottom: 10px;
}
.iol-box:hover {
    transform: scale(1.05);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border-radius: 10px;
    animation: fadeInUp 1s forwards ease-in-out;
}
.cta-section a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: #ffcc00;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}
.cta-section a:hover {
    background: #ffaa00;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Scoped Cataract Section Styles */
.cataract-info {
    background: linear-gradient(to right, #f8f9fa, #e3f2fd);
    padding: 60px 0;
    text-align: center;
}

.cataract-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 30px;
    color: #007bff;
}

/* Layout */
.cataract-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

/* Image Styling */
.cataract-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Text and List */
.cataract-text {
    max-width: 500px;
    text-align: left;
}

.cataract-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.cataract-list li {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.cataract-list i {
    color: #007bff;
    margin-right: 10px;
}

/* Button */
.cataract-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    background: #007bff;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    transition: 0.3s;
    text-decoration: none;
}

.cataract-btn:hover {
    background: #0056b3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cataract-content {
        flex-direction: column;
        text-align: center;
    }

    .cataract-text {
        text-align: center;
    }

    .cataract-image img {
        margin-bottom: 20px;
    }
}
/* Cataract Heading Styles */
.cataract-heading {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(to right, #007bff, #0056b3);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

/* Heading Text */
.cataract-heading h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.3;
}

.cataract-heading h2 span {
    color: #ffc107;
    font-style: italic;
}

/* Subtitle */
.cataract-heading p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
}

/* Animated Overlay */
.cataract-heading::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(rgba(255, 255, 255, 0.2), transparent);
    animation: shineEffect 4s infinite linear;
}

/* Shine Animation */
@keyframes shineEffect {
    0% { transform: rotate(0deg); opacity: 0.4; }
    50% { transform: rotate(180deg); opacity: 0.6; }
    100% { transform: rotate(360deg); opacity: 0.4; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cataract-heading h2 {
        font-size: 2rem;
    }

    .cataract-heading p {
        font-size: 1rem;
    }
}
/* Preloader Styling */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #3498db;
    border-top: 5px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    .banner {
        background-size: contain; /* Show full image without cropping */
        background-repeat: no-repeat;
        background-position: center center;
        height: auto; /* Auto height to maintain aspect ratio */
        min-height: 150px; /* Ensure it's not too small */
    }
}
.gallery-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.3s ease;
}
.gallery-img:hover {
    transform: scale(1.05);
}
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}
 
a{
text-decoration: none;
padding: 0%;
}    
 
.contact-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
 /* Styling only for doctor section */
.doctor-section .doctor-card {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.doctor-section .doctor-info {
    padding: 15px;
}

.doctor-section .doctor-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #007bff; /* Primary Blue */
}

.doctor-section .doctor-info p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.doctor-section .doctor-info .btn {
    margin-top: 5px;
    font-size: 14px;
    padding: 5px 12px;
}
.optical-shop-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.optical-shop-section h2 {
    font-size: 2rem;
    text-transform: uppercase;
}

.optical-shop-section ul {
    font-size: 1.1rem;
    line-height: 1.6;
}

.optical-shop-section h4 {
    margin-top: 20px;
    font-size: 1.3rem;
    color: #333;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebc57;
}

.whatsapp-float i {
    font-size: 28px;
}
/* Footer Styling */
.footer {
    background: #0d1b2a;
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-col {
    width: 22%;
    min-width: 200px;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: #f8b400;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin: 8px 0;
}

.footer-col ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #f8b400;
}

/* Social Media Links */
.social-links a {
    display: inline-block;
    color: white;
    font-size: 18px;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #f8b400;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #ffffff;
    margin-top: 20px;
    font-size: 14px;
}