* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
:root { 
--primary: #2c09c9;
--primary-dark: #223b7e;
--secondary: #64748b;
--success: #8ff50bf5;
--warning: #e5f50cfb;
--danger: #e00e0e;
--info: #0677d4;
--light: #f8fafc;
--dark: #1e293b;
--bg-sidebar: #ffffff;
--bg-header: #ffffff;
--border-color: #173c6b;}
   

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Navbar */
.navbar {
   /*  background: rgb(255, 255, 255) !important; */
   
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    font-weight: bold;
    font-size: large;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    padding: 0.2rem 0;
    transition: all 0.3s ease; 
    font-weight:bolder;
    -webkit-text-fill-color: rgb(0, 0, 0) ;
    }

    .nav-link { font-weight: bold; color: #080808 !important; position: relative; }
    .nav-link:hover { color: var(--primary) !important; }
    .navbar-brand img { height: 50px; width: auto;  }

    
    .dropdown-menu {
    border:none;
    box-shadow: 10 10px 40px rgba(143, 7, 7, 0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    }
    
.dropdown-item { padding: 0.75rem 1.5rem; font-weight: bold; }


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 2rem;
    }

 .carousel-caption {
  bottom: 3rem;
  z-index: 10;
    }

 .carousel-item {
  height: 32rem;
 }

 /* Center align the text within the three columns below the carousel */
 .marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
 }

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}

/* Stats */
.stat-card {
    background: rgb(16, 2, 77);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stat-card:hover { transform: translateY(-10px); box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.stat-number { font-size: 3rem; font-weight: 700; line-height: 1;  }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #052c53;
}

.section-padding { padding: 50px 0; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
       
/* Services */

.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}


.services-grid1 {     /*  for line adjustment      */
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.service-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-top-color: var(--primary);
}
        
.service-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-info {
    margin-top: 5rem;
    padding: 4rem;
}
 
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}
   
/* Departments */
.departments {
    padding: 100px 0;
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.department-card  {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

 .department-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
    border-top-color: var(--primary);
}
        
.deparment-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.department-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.department-info {
    margin-top: 5rem;
    padding: 4rem;
}
 
      
/* Doctors Section */
.doctors {
    padding: 100px 0;
    background: #f8f9fa;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.doctor-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-online,
.doctor-offline {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
}

.doctor-online {
    background: #00b894;
}

.doctor-offline {
    background: #e74c3c;
}

.doctor-info {
    padding: 2rem;
}

.doctor-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.doctor-specialty {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.doctor-experience {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.doctor-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.doctor-rating i {
    color: #ffd700;
    font-size: 0.9rem;
}

.doctor-rating span {
    font-size: 0.9rem;
    color: #7f8c8d;
}



/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2rem;
    color: white;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

 
/* Contact Section */
.contact {
    padding: 100px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 2rem;
    color: #667eea;
    width: 50px;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}



/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: rgb(36, 11, 126);
}

.testimonials-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    
    background: linear-gradient(135deg, #31cf38 0%, #4b39b4 100%);
}

.testimonial {
    display: none;
    text-align: center;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-weight: bold;
    -webkit-text-fill-color: black
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
}

.testimonial-author h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
     -webkit-text-fill-color: rgb(83, 10, 10)
}

.testimonial-author p {
    opacity: 0.9;
    font-size: 0.9rem;
     -webkit-text-fill-color: rgb(33, 4, 85)
}

.testimonial-nav {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.testimonial-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.testimonial-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-indicators .indicator.active {
    background: white;
    transform: scale(1.2);
}


.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}



/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: rgba(255,255,255,0.3);
    color: #2c3e50;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.tab-btn:hover,
.tab-btn.active {
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.pricing-content {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    display: none;
}

.pricing-grid.active {
    display: grid;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.popular-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #ffd700;
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #7f8c8d;
}

.price-features {
    list-style: none;
    margin: 2rem 0;
}

.price-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.price-features i {
    color: #00b894;
    font-size: 1.1rem;
}



/* FAQ Section */
.faq {
    padding: 100px 0;
    background: rgb(97, 56, 245);
    -webkit-text-fill-color: black; 
    font-weight: bold;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #4946fc;
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #82898f;
    transition: all 0.3s;
}

.faq-question:hover {
    background: #6a69a7;
}

.faq-question i {
    transition: transform 0.3s;
    color: #ffffff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgb(250, 255, 251);
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: #555;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 200px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price {
        font-size: 2rem;
    }
}



/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 100px;
    right: 20px;
    background: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    animation: whatsappBounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128C7E;
}

.whatsapp-tooltip {
    visibility: hidden;
    width: 120px;
    background: #333;
    color: white;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1;
    bottom: 70px;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes whatsappBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}


/* Live Chat Widget */
.chat-widget {
    position: fixed;
    top: 80px;
    bottom: 180px;
    right: 20px;
    width: 350px;
    height: 450px;
    background: rgb(101, 74, 165);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 1001;
    transform: scale(0);
    transform-origin: bottom right;
    transition: transform 0.3s;
    overflow: hidden;
    font-weight: bold;
}

.chat-widget.active {
    transform: scale(1);
}

.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.chat-toggle {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    height: 280px;
    overflow-y: auto;
    padding: 1rem;
    background: #f8f9fa;
}

.message {
    margin-bottom: 1rem;
}

.message-content {
    background: white;
    padding: 1rem 1.2rem;
    border-radius: 20px;
    max-width: 80%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message.bot .message-content {
    background: #667eea;
    color: white;
    margin-left: auto;
}

.chat-input-container {
    display: flex;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid #eee;
}

#chatInput {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e9ecef;
    border-radius: 25px;
    outline: none;
}

.chat-input-container button {
    width: 45px;
    height: 45px;
    border: none;
    background: #667eea;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.chat-input-container button:hover {
    background: #5a67d8;
}

/* Responsive */
@media (max-width: 768px) {
    .chat-widget {
        width: 300px;
        right: 10px;
    }
    
    .whatsapp-float {
        bottom: 160px;
        right: 10px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}




/* Appointment */
.appointment {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.appointment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.appointment-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.appointment-form {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255,255,255,0.9);
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #ffd700;
    color: #333;
}

.btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ffd700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

        
        @media (max-width: 768px) {
            .section-padding { padding: 60px 0; }
            .hero-content h1 { font-size: 2.5rem; }
            .navbar-brand img { height: 40px; }
        } 

        
.card-modern 
        {
            background: rgba(255, 255, 255, 0.932);
            border-top: 3px solid var(--success);
            border-right: 3px solid var(--success);
            border-bottom: 3px solid var(--danger);
            border-left: 3px solid var(--danger);
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(3, 1, 73, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
         }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
 



        
/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(102, 126, 234, 0.95);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
    display: none;
}



/* Admin Pages */
.admin-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.admin-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.admin-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-logo i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.admin-logo span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.admin-dashboard {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    color: #667eea;
}

.sidebar-menu {
    list-style: none;
    padding: 1rem 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: #667eea;
    color: white;
}

.admin-content {
    flex: 1;
    padding: 2rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.btn-logout {
    background: #e74c3c;
    color: white;
    padding: 10px 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    display: flex;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-card i {
    font-size: 2.5rem;
    color: #667eea;
    width: 60px;
}

.stat-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.patients-table {
    width: 100%;
    border-collapse: collapse;
}

.patients-table th,
.patients-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.patients-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.status {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}
.sidebar-menu li.active a {
    background: #667eea;
    color: white;
}

.patients-table tbody tr:hover {
    background: #f8f9fa;
}

/* Enhanced Admin Dashboard */
.table-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    background: #f8f9fa url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23667eea" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 15px center;
    min-width: 250px;
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.status-filter {
    padding: 12px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    font-weight: 500;
}

.status-filter:focus {
    outline: none;
    border-color: #667eea;
}

.status-select {
    padding: 8px 15px;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    background: white;
    font-weight: 500;
    min-width: 120px;
    cursor: pointer;
    transition: all 0.3s;
}

.status-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
 
/* Action Buttons - Single Line Alignment */
.action-buttons {
    display: flex;
    flex-direction: row;        /* Force horizontal alignment */
    gap: 0.3rem;               /* Tight spacing */
    align-items: center;       /* Vertical center alignment */
    justify-content: center;   /* Horizontal center alignment */
    min-width: 130px;          /* Fixed width to prevent wrapping */
    flex-wrap: nowrap;         /* Prevent wrapping to new line */
}

.btn-icon {
    width: 32px;               /* Fixed width */
    height: 32px;              /* Fixed height */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.85rem;        /* Slightly smaller icons */
    flex-shrink: 0;            /* Prevent shrinking */
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.btn-icon.edit { 
    background: #28a745; 
    color: white; 
}
.btn-icon.edit:hover { 
    background: #218838; 
}

.btn-icon.view { 
    background: #007bff; 
    color: white; 
}
.btn-icon.view:hover { 
    background: #0056b3; 
}

.btn-icon.delete { 
    background: #dc3545; 
    color: white; 
}
.btn-icon.delete:hover { 
    background: #c82333; 
}

/* Ensure table cell accommodates buttons */
.patients-table td:last-child {
    padding: 1rem 0.5rem;      /* Reduce padding to fit buttons */
    text-align: center;        /* Center the button group */
    white-space: nowrap;       /* Prevent text wrapping */
}

/* Responsive button sizing */
@media (max-width: 768px) {
    .action-buttons {
        gap: 0.2rem;
        min-width: 110px;
    }
    
    .btn-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .patients-table td:last-child {
        padding: 0.8rem 0.3rem;
    }
}

/* Table responsiveness */
@media (max-width: 600px) {
    .patients-table {
        font-size: 0.9rem;
    }
    
    .action-buttons {
        min-width: 100px;
    }
    
    .btn-icon {
        width: 26px;
        height: 26px;
    }
}

.btn-icon.edit { background: #28a745; color: white; }
.btn-icon.edit:hover { background: #218838; transform: translateY(-2px); }
.btn-icon.delete { background: #dc3545; color: white; }
.btn-icon.delete:hover { background: #c82333; transform: translateY(-2px); }
.btn-icon.view { background: #007bff; color: white; }
.btn-icon.view:hover { background: #0056b3; transform: translateY(-2px); }

.section-badge {
    background: #667eea;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 1rem;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateX(400px);
    animation: slideIn 0.3s ease forwards;
}

.notification.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification i {
    font-size: 1.2rem;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .table-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        min-width: auto;
    }
    
    .action-buttons {
        flex-wrap: wrap;
    }
}


/* Status Cards Grid */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.status-card {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.status-card.pending::before {
    background: linear-gradient(90deg, #ffc107, #ff9800);
}

.status-card.confirmed::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.status-card.completed::before {
    background: linear-gradient(90deg, #17a2b8, #00ced1);
}

.status-card.cancelled::before {
    background: linear-gradient(90deg, #dc3545, #e74c3c);
}

.status-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.status-card.clicked {
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(102,126,234,0.3);
    border: 2px solid #667eea;
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.status-card.pending .status-icon {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
}

.status-card.confirmed .status-icon {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
}

.status-card.completed .status-icon {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
}

.status-card.cancelled .status-icon {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
}

.status-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.2rem 0;
    color: #2c3e50;
}

.status-info p {
    margin: 0;
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 500;
}

/* Total Stats (Updated) */
.total-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .status-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .total-stats {
        grid-template-columns: 1fr;
    }
    
    .status-card {
        padding: 1.5rem;
    }
}


 /* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}



/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  overflow: hidden;
}

.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.tabs .nav-link:hover {
  color: var(--accent-color);
}

.tabs .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

  .tabs .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}
