/* Main Header Container */
.clinic-header {
  font-family: 'Arial', sans-serif;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(235, 190, 190, 0.1);
}


.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
 
  color: white;
  text-align: center;

  z-index: 1000;
}
.nav-link {
  text-decoration: none;
}

body {
  margin: 0;
  padding-top: 80px; /* Important: prevent content from hiding under header */
}

/* Top Info Bar Styles */
.top-info-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background-color: #ffffff; 
  color: #2a5c8b;
  font-size: 14px;
}

.clinic-name {
  font-weight: bold;
  font-size: 18px;
  color: #2a5c8b;
}

.clinic-address {
  margin: 0 20px;
}

.clinic-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-separator {
  margin: 0 5px;
}

.phone-number {
  font-weight: bold;
}

/* Main Navigation Styles */
.main-navigation {
  padding: 15px 40px;
  background-color: #2a5c8b;
  border-bottom: 1px solid #e0e0e0;
  justify-content: center;
}


.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  justify-content: center;
  
}

.nav-item {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;

  transition: color 0.2s;
  justify-content: center;
}
/* Responsive Adjustments */
@media (max-width: 1024px) {
  .top-info-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px 20px;
  }

  .clinic-address {
    margin: 5px 0;
  }

  .nav-list {
    gap: 55px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .main-navigation {
    padding: 12px 20px;
  }

  .nav-list {
    gap: 10px;
    font-size: 14px;
  }
}



.button-container {
  margin-left: auto; /* Pushes button to far right */
}


/* banner */
/* Banner Container */
.clinic-banner {
  display: flex;
  height: 500px;
  background-color: #f0f8ff; /* Fallback color */
  position: relative;
  overflow: hidden;
}

/* Content Section */
.banner-content {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, #ffffff 0%, rgba(42, 92, 139, 0.8) 100%);
  color: #2a5c8b ;
  z-index: 2;
}

.banner-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.banner-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Call-to-Action Buttons */
.banner-cta {
  display: flex;
  gap: 15px;
}

.primary-cta {
  background-color: #3a86ff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-cta:hover {
  background-color: #269acc;
  transform: translateY(-2px);
}

.secondary-cta {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Image Section */
.banner-image {
  flex: 1;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  position: relative;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 92, 139, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .clinic-banner {
    flex-direction: column;
    height: auto;
  }
  
  .banner-content {
    padding: 40px;
    text-align: center;
  }
  
  .banner-cta {
    justify-content: center;
  }
  
  .banner-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1rem;
  }
  
  .banner-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .primary-cta, .secondary-cta {
    width: 100%;
    max-width: 250px;
  }
}


/* Advantages Section */
.advantages-section {
  padding: 50px 40px;
  background-color: #f9fbfd;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #2a5c8b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #3a86ff;
  margin: 0 auto;
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.advantage-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-card h3 {
  color: #2a5c8b;
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.advantage-card h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #3a86ff;
}

.advantage-card p {
  color: #555;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .advantages-section {
    padding: 60px 20px;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .advantage-card {
    padding: 20px;
  }
}

/* About */

/* About Clinic Section */
.about-clinic {
  padding: 18px 0;
  background-color: #fff;
}

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

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #2a5c8b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #3a86ff;
  margin: 0 auto;
}

/* About Content */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.3;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.features-list li {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.check-icon {
  color: #3a86ff;
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.features-list li span:last-child {
  color: #555;
  line-height: 1.6;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    max-width: 600px;
    margin: 0 auto 40px;
  }
}

@media (max-width: 768px) {
  .about-clinic {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .about-text h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-list li {
    flex-direction: column;
    gap: 8px;
  }
  
  .check-icon {
    margin-top: 0;
  }
}

/* Expert doctors */

/* Expert Doctors Section */
.expert-doctors {
  padding: 20px 0;
  background-color: #f9fbfd;
}

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

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: #2a5c8b;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .subtitle {
  color: #555;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 20px;
}

.divider {
  width: 80px;
  height: 3px;
  background-color: #3a86ff;
  margin: 0 auto;
}

/* Doctors Grid */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.doctor-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.doctor-image {
  height: 250px;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.05);
}

.doctor-info {
  padding: 25px;
  text-align: center;
}

.doctor-info h3 {
  color: #2a5c8b;
  margin-bottom: 5px;
  font-size: 1.3rem;
}

.specialty {
  color: #3a86ff;
  font-weight: 500;
  margin-bottom: 0px;
  font-size: 0.95rem;
}

.rating {
  margin-bottom: 10px;
}

.stars {
  color: #ffc107;
  font-size: 1rem;
  display: block;
  margin-bottom: 0px;
}

.review-count {
  color: #777;
  font-size: 0.9rem;
}

.appointment-btn {
  background-color: #3a86ff;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.appointment-btn:hover {
  background-color: #2667cc;
}

/* View All Button */
.view-all {
  text-align: center;
  margin-top: -20px;
}

.view-all-btn {
  background-color: transparent;
  color: #2a5c8b;
  border: 2px solid #2a5c8b;
  border-radius: 30px;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-btn:hover {
  background-color: #2a5c8b;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .expert-doctors {
    padding: 60px 0;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .doctors-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .doctor-image {
    height: 200px;
  }
  
  .doctor-info {
    padding: 20px;
  }
}

/* Footer */

/* Footer Styles */
.clinic-footer {
  background-color: #2a5c8b;
  color: white;
  padding: 50px 0 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section {
  margin-bottom: 30px;
}

.clinic-namee {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white;
}

.clinic-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;

}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.contact-info {
  font-style: normal;
  color: #ffffff;
  line-height: 1.6;
}

.contact-info p {
  margin-bottom: 12px;
}

.hours {
  color: #a8d1ff;
  font-weight: 500;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .clinic-name {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.1rem;
  }
}

/* About */

/* About Page Styles */
.about-page {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

/* Hero Section */
.about-hero {
  height: 400px;
  background: url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 92, 139, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
}

/* Main Content */
.about-content {
  padding: 20px 0;
  background-color: #f9fbfd;
}

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

.mission-section, .history-section {
  margin-bottom: 60px;
  text-align: center;
}

.mission-section h3, .history-section h3 {
  font-size: 2rem;
  color: #2a5c8b;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.mission-section h3::after, .history-section h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #3a86ff;
}

.mission-section p, .history-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 60px 0;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h4 {
  color: #2a5c8b;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .about-content {
    padding: 50px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .mission-section h3, .history-section h3 {
    font-size: 1.5rem;
  }
  
  .feature-card {
    padding: 20px;
  }
}

/* Services */

/* Services Page Styles */
.services-page {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

/* Hero Section */
.services-hero {
  height: 400px;
  background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 92, 139, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content h2 {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1.4;
}

/* Main Content */
.services-content {
  padding: 25px 0;
  background-color: #f9fbfd;
}

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

.intro-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.intro-text p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #555;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #2a5c8b;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.learn-more-btn {
  background-color: transparent;
  color: #3a86ff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.learn-more-btn span {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover {
  color: #2667cc;
}

.learn-more-btn:hover span {
  transform: translateX(5px);
}



/* Responsive Design */
@media (max-width: 768px) {
  .services-hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .services-content {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .additional-services ul {
    grid-template-columns: 1fr;
  }
}
/* Treatment */

/* Treatments Page Styling */
.treatments-page {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

/* Hero Section */
.treatments-hero {
  height: 350px;
  background: url('https://images.unsplash.com/photo-1505751172876-fa1923c5c528?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 92, 139, 0.8); /* Dark blue overlay */
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 300;
}

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

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding-bottom: 80px;
}

.treatment-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.treatment-image {
  height: 220px;
  overflow: hidden;
}

.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-image img {
  transform: scale(1.05);
}

.treatment-info {
  padding: 25px;
}

.treatment-info h3 {
  color: #2a5c8b;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.treatment-info p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.learn-more-btn {
  background: transparent;
  color: #3a86ff;
  border: none;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.learn-more-btn:hover {
  color: #2667cc;
}

.learn-more-btn::after {
  content: '→';
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.learn-more-btn:hover::after {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .treatments-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .treatments-hero {
    height: 300px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .treatments-grid {
    grid-template-columns: 1fr;
  }
  
  .treatment-image {
    height: 180px;
  }
}
/* Contact */

/* Contact Page Styling */
.contact-page {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
}

/* Hero Section */
.contact-hero {
  height: 300px;
  background: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 60px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 92, 139, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 300;
}
a{
  text-decoration: none !important;
}
/* Contact Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

/* Contact Information */


.contact-method {
  margin-bottom: 30px;
}

.contact-method h3 {
  color: #2a5c8b;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.contact-method p {
  color: #555;
  font-size: 1.1rem;
}

.hours-location {
  display: grid;
  gap: 30px;
}

.hours h3, .location h3 {
  color: #2a5c8b;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours li {
  margin-bottom: 10px;
  color: #555;
}

.location p {
  color: #555;
  line-height: 1.6;
}

/* Appointment Form */
.appointment-form {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.appointment-form h2 {
  color: #2a5c8b;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.form-subtitle {
  color: #555;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  color: #2a5c8b;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3a86ff;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  background-color: #3a86ff;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #2667cc;
}


/* Responsive Design */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    height: 250px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

/* Doctor-all */

/* doctor */
.doctor-section {
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f7faff;
}

.doctor-heading {
  text-align: center;
  color: #004080;
  margin-bottom: 2rem;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Doctor card styles (reuse from before) */
.doctor-section {
  padding: 2rem;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4f9ff;
}

.doctor-heading {
  text-align: center;
  color: #004080;
  margin-bottom: 2rem;
}

/* Use Bootstrap’s row/col-md-4 for 3-column layout */
.doctor-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.doctor-card {
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 300px;
  flex: 1 1 calc(33.333% - 1.5rem);
}

.card-top {
  background-color: #a68df5;
  height: 60px;
  position: relative;
}

.status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #000000;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
}

.star-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 1.2rem;
  color: #ffcc00;
}

.profile-image {
  position: relative;
  margin-top: -30px;
}

.profile-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid white;
}

.doctor-info {
  padding: 1rem;
}

.doctor-name {
  font-size: 1.1rem;
  color: #0070f3;
  margin-bottom: 0.4rem;
}

.rating {
  font-size: 0.95rem;
  color: #f5b50a;
  margin-left: 0.4rem;
}

.doctor-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0.5rem 0 1rem;
}

.view-btn {
  padding: 0.6rem 1.2rem;
  border: 1.5px solid #333;
  border-radius: 24px;
  background-color: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background-color: #0070f3;
  color: white;
  border-color: #0070f3;
}

/* Responsive fix: stack cards on small screens */
@media (max-width: 768px) {
  .doctor-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Confirm appointment */

  /* Book Appointment Page Styling */
:root {
  --appointment-primary: #1b5a90;
  --appointment-secondary: #f8f9fa;
  --appointment-accent: #4fc3f7;
  --appointment-light: #f5f7fa;
  --appointment-dark: #6c757d;
  --appointment-star: #ffc107;
}

/* Base Styles */
.book-appointment-container {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--appointment-light);
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* Navigation Styles */
.appointment-nav {
  background-color: var(--appointment-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 0.8rem 0;
}

.appointment-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.appointment-brand {
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.appointment-icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.appointment-nav-toggler {
  border: none;
  background: transparent;
  color: white;
  font-size: 1.25rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.appointment-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.appointment-nav-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  display: none;
}

.appointment-nav-collapse.show {
  display: flex;
}

.appointment-nav-list {
  display: flex;
  flex-direction: row;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  margin-left: auto;
}

.appointment-nav-item {
  margin-left: 1rem;
}

.appointment-nav-link {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
}

.appointment-nav-link:hover {
  opacity: 0.8;
}

/* Main Content Container */
.appointment-booking-container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  flex: 1;
  width: 100%;
}

/* Header Section */
.appointment-header {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.appointment-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: -15px;
}

.appointment-header-img-col {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
  padding: 15px;
  text-align: center;
}

.appointment-header-info-col {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 15px;
}

.appointment-header-btn-col {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
  padding: 15px;
  text-align: right;
}

.appointment-doctor-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.appointment-doctor-img:hover {
  transform: scale(1.05);
}

.appointment-clinic-name {
  color: var(--appointment-primary);
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.appointment-clinic-info {
  color: var(--appointment-dark);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.appointment-info-icon {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.appointment-clinic-rating {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.appointment-star {
  color: var(--appointment-star);
  font-size: 1rem;
  margin-right: 0.25rem;
}

.appointment-rating-text {
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.appointment-back-btn {
  border: 1px solid var(--appointment-primary);
  color: var(--appointment-primary);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: transparent;
  cursor: pointer;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.appointment-back-btn:hover {
  background-color: var(--appointment-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.appointment-back-icon {
  margin-right: 0.5rem;
  font-size: 0.8rem;
}

/* Step Indicator */
.appointment-steps {
  display: flex;
  justify-content: space-between;
  margin: 40px 0 30px;
  position: relative;
}

.appointment-step {
  text-align: center;
  position: relative;
  flex: 1;
  z-index: 2;
}

.appointment-step-line {
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.appointment-step-progress {
  position: absolute;
  top: 20px;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: var(--appointment-accent);
  z-index: 1;
  transition: width 0.3s ease;
}

.appointment-step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.appointment-step-active .appointment-step-number {
  background-color: var(--appointment-primary);
  color: white;
}

.appointment-step-completed .appointment-step-number {
  background-color: var(--appointment-accent);
  color: white;
}

.appointment-step-title {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
  transition: all 0.3s ease;
}

.appointment-step-active .appointment-step-title {
  color: var(--appointment-primary);
  font-weight: 600;
}

/* Content Row */
.appointment-content-row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.appointment-doctor-col {
  flex: 0 0 41.666667%;
  max-width: 41.666667%;
  padding: 15px;
}

.appointment-form-col {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
  padding: 15px;
}

/* Cards */
.appointment-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.appointment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.appointment-card-title {
  color: var(--appointment-primary);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.appointment-card-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: var(--appointment-accent);
  transition: width 0.3s ease;
}

.appointment-card:hover .appointment-card-title:after {
  width: 70px;
}

/* Doctor Profile */
.appointment-doctor-profile {
  text-align: center;
  margin-bottom: 2rem;
}

.appointment-doctor-name {
  color: var(--appointment-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.appointment-doctor-specialty {
  color: var(--appointment-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.appointment-doctor-meta {
  color: #6c757d;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.appointment-meta-icon {
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.appointment-doctor-details {
  margin-bottom: 2rem;
}

.appointment-detail-icon {
  margin-right: 0.5rem;
  color: var(--appointment-primary);
  font-size: 0.9rem;
}

.appointment-specializations {
  padding-left: 1.5rem;
  margin-bottom: 0;
}

.appointment-specializations li {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.appointment-doctor-availability {
  margin-bottom: 1rem;
}

.appointment-availability-item {
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

/* Form Styles */
.appointment-form-group {
  margin-bottom: 1.5rem;
}

.appointment-form-label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--appointment-primary);
  font-size: 0.95rem;
}

.appointment-form-control {
  display: block;
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.appointment-form-control:focus {
  border-color: var(--appointment-accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(79, 195, 247, 0.25);
}

.appointment-form-row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.appointment-form-col-half {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 15px;
}



/* Divider */
.appointment-divider {
  margin: 0rem 0;
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.1);
}

/* Textarea */
textarea.appointment-form-control {
  min-height: 120px;
  resize: vertical;
}

/* Submit Button */
.appointment-form-submit {
  margin-top: 2rem;
}

.appointment-submit-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: white;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  background-color: var(--appointment-primary);
  border: 1px solid var(--appointment-primary);
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.appointment-submit-btn:hover {
  background-color: #144a75;
  border-color: #144a75;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.appointment-submit-icon {
  margin-right: 0.75rem;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .appointment-booking-container {
    padding: 0 15px;
  }
}

@media (max-width: 992px) {
  .appointment-doctor-col,
  .appointment-form-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .appointment-time-slot {
    flex: 0 0 calc(50% - 16px);
    max-width: calc(50% - 16px);
  }
  
  .appointment-nav-collapse {
    display: none;
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
  }
  
  .appointment-nav-list {
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }
  
  .appointment-nav-item {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 768px) {
  .appointment-header-img-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  
  .appointment-header-info-col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .appointment-header-btn-col {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }
  
  .appointment-doctor-img {
    width: 100px;
    height: 100px;
  }
  
  .appointment-step-title {
    font-size: 0.8rem;
  }
  
  .appointment-card {
    padding: 25px;
  }
  
  .appointment-form-col-half {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .appointment-time-slot {
    flex: 0 0 calc(100% - 16px);
    max-width: calc(100% - 16px);
  }
  
  .appointment-clinic-name {
    font-size: 1.5rem;
  }
  
  .appointment-card-title {
    font-size: 1.3rem;
  }
  
  .appointment-doctor-name {
    font-size: 1.3rem;
  }
  
  .appointment-form-control {
    padding: 10px 12px;
  }
  
  .appointment-submit-btn {
    padding: 12px 15px;
    font-size: 0.95rem;
  }
}

@media (max-width: 400px) {
  .appointment-step-title {
    font-size: 0.7rem;
  }
  
  .appointment-step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .appointment-step-line,
  .appointment-step-progress {
    top: 15px;
  }
  
  .appointment-card {
    padding: 20px;
  }
}

/* Add to the end of your existing CSS file */

/* Patient Type Radio Buttons */
.appointment-patient-type {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.appointment-radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--appointment-dark);
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  user-select: none;
}

.appointment-radio-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.appointment-radio-custom {
  position: absolute;
  left: 0;
  top: 0;
  height: 18px;
  width: 18px;
  background-color: white;
  border: 2px solid var(--appointment-primary);
  border-radius: 50%;
  transition: all 0.2s ease;
}

.appointment-radio-label:hover .appointment-radio-custom {
  background-color: #f0f7ff;
  transform: scale(1.05);
}

.appointment-radio-input:checked ~ .appointment-radio-custom {
  background-color: var(--appointment-primary);
  border-color: var(--appointment-primary);
  box-shadow: inset 0 0 0 3px white;
}

.appointment-radio-input:focus ~ .appointment-radio-custom {
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.3);
}

.appointment-radio-label:hover .appointment-radio-input:not(:checked) ~ .appointment-radio-custom {
  border-color: var(--appointment-accent);
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .appointment-patient-type {
    flex-direction: column;
    gap: 10px;
  }
}

/* Final*/

.success-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f2f6ff;
  padding: 20px;
}

.success-card {
  background: #ffffff;
  padding: 30px 40px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.success-card h2 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.token-number {
  font-size: 22px;
  margin: 15px 0;
  font-weight: bold;
}

.token-number span {
  color: #1e40af;
}

.main-message {
  font-size: 16px;
  margin-bottom: 8px;
  color: #333;
}

.sub-message {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.clinic-info {
  background: #f0f4ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: left;
}

.clinic-info h3 {
  margin-bottom: 10px;
  color: #1d4ed8;
}

.clinic-info p {
  margin: 4px 0;
  font-size: 14px;
}

.profile-button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #1d4ed8;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

.profile-button:hover {
  background-color: #2563eb;
}

/* Doct-dash */

/* Base Styles */
.clinic-db-container {
  --clinic-primary: #3a7bd5;
  --clinic-secondary: #00d2ff;
  --clinic-accent: #ff7e5f;
  --clinic-light: #f8f9fa;
  --clinic-medium: #e9ecef;
  --clinic-dark: #495057;
  --clinic-success: #28a745;
  --clinic-warning: #ffc107;
  --clinic-danger: #dc3545;
  --clinic-text: #212529;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.clinic-db-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--clinic-light);
}

/* Header Styles */
.clinic-db-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem 2rem;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.clinic-db-title {
  color: var(--clinic-primary);
  font-size: 1.8rem;
  margin: 0;
}

.clinic-db-search {
  display: flex;
  align-items: center;
}

.clinic-db-search-input {
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--clinic-medium);
  border-radius: 4px 0 0 4px;
  width: 300px;
  font-size: 0.95rem;
  outline: none;
}

.clinic-db-search-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--clinic-primary);
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s;
}

.clinic-db-search-btn:hover {
  background-color: var(--clinic-secondary);
}

/* Navigation */
.clinic-db-nav {
  display: flex;
  background-color: white;
  padding: 0 2rem;
  border-bottom: 1px solid var(--clinic-medium);
}

.clinic-db-nav-item {
  padding: 1.25rem 1.75rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 500;
  color: var(--clinic-dark);
  transition: all 0.3s;
  font-size: 0.95rem;
}

.clinic-db-nav-item:hover {
  color: var(--clinic-primary);
}

.clinic-db-nav-active {
  color: var(--clinic-primary);
  border-bottom: 3px solid var(--clinic-primary);
  font-weight: 600;
}

/* Dashboard Content */
.clinic-db-content {
  flex: 1;
  padding: 2rem;
  background-color: #f5f7fa;
}

/* Stats Cards */
.clinic-db-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.clinic-db-stat-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.clinic-db-stat-card:hover {
  transform: translateY(-5px);
}

.clinic-db-stat-title {
  color: var(--clinic-dark);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.clinic-db-stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clinic-primary);
  margin-bottom: 0.75rem;
}

.clinic-db-stat-subtext {
  color: var(--clinic-dark);
  font-size: 0.95rem;
  opacity: 0.8;
}

.clinic-db-gender-dist {
  display: flex;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.clinic-db-gender-female {
  color: #ff7e5f;
  font-weight: 600;
}

.clinic-db-gender-male {
  color: var(--clinic-primary);
  font-weight: 600;
}

/* Today's Schedule */
.clinic-db-today {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-db-section-title {
  color: var(--clinic-primary);
  margin-bottom: 1.75rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.clinic-db-schedule {
  display: grid;
  gap: 1rem;
}

.clinic-db-appointment {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: var(--clinic-light);
  transition: all 0.3s;
}

.clinic-db-appointment:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clinic-db-appointment-arrived {
  border-left: 5px solid var(--clinic-success);
}

.clinic-db-appointment-waiting {
  border-left: 5px solid var(--clinic-warning);
}

.clinic-db-appointment-scheduled {
  border-left: 5px solid var(--clinic-primary);
}

.clinic-db-appointment-time {
  min-width: 90px;
  font-weight: 500;
  color: var(--clinic-dark);
  font-size: 1rem;
}

.clinic-db-appointment-info {
  flex: 1;
}

.clinic-db-patient-name {
  color: var(--clinic-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.clinic-db-appointment-type {
  color: var(--clinic-dark);
  font-size: 0.95rem;
  opacity: 0.9;
}

.clinic-db-appointment-status {
  margin-left: 1rem;
}

.clinic-db-status-badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
}

.clinic-db-status-arrived {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--clinic-success);
}

.clinic-db-status-waiting {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--clinic-warning);
}

.clinic-db-status-scheduled {
  background-color: rgba(58, 123, 213, 0.1);
  color: var(--clinic-primary);
}

/* Analytics Chart */
.clinic-db-analytics {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-db-chart {
  height: 300px;
  display: flex;
  flex-direction: column;
}

.clinic-db-chart-bars {
  display: flex;
  align-items: flex-end;
  height: 100%;
  gap: 1.5rem;
  padding: 0 2rem;
}

.clinic-db-chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--clinic-primary), var(--clinic-secondary));
  border-radius: 6px 6px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.5rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 50px;
}

.clinic-db-chart-value {
  font-size: 0.8rem;
}

.clinic-db-chart-labels {
  display: flex;
  justify-content: space-around;
  padding: 1rem;
  color: var(--clinic-dark);
  font-size: 0.95rem;
}

/* Upcoming Appointments */
.clinic-db-upcoming {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-db-appointments-list {
  display: grid;
  gap: 1.25rem;
}

.clinic-db-upcoming-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--clinic-light);
  transition: all 0.3s;
}

.clinic-db-upcoming-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.clinic-db-upcoming-date {
  min-width: 140px;
}

.clinic-db-upcoming-day {
  display: block;
  color: var(--clinic-primary);
  font-size: 1.1rem;
}

.clinic-db-upcoming-time {
  color: var(--clinic-dark);
  font-size: 0.95rem;
  opacity: 0.8;
}

.clinic-db-upcoming-details {
  flex: 1;
  padding: 0 1.5rem;
}

.clinic-db-upcoming-name {
  color: var(--clinic-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.clinic-db-upcoming-type {
  color: var(--clinic-dark);
  font-size: 0.95rem;
  opacity: 0.9;
}

.clinic-db-upcoming-fee {
  font-weight: 700;
  color: var(--clinic-accent);
  margin-right: 1.5rem;
  font-size: 1.1rem;
}

/* Patients Section */
.clinic-db-patients {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-db-patients-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.clinic-db-patients-filter {
  display: flex;
  gap: 1.25rem;
}

.clinic-db-filter-select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--clinic-medium);
  border-radius: 6px;
  background-color: white;
  font-size: 0.95rem;
  color: var(--clinic-dark);
}

.clinic-db-add-btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--clinic-primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
}

.clinic-db-add-btn:hover {
  background-color: var(--clinic-secondary);
}

.clinic-db-patients-list {
  display: grid;
  gap: 1.25rem;
}

.clinic-db-patient-card {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  border-radius: 8px;
  background-color: var(--clinic-light);
  transition: all 0.3s;
}

.clinic-db-patient-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.clinic-db-patient-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-weight: bold;
  font-size: 1.1rem;
  color: white;
}

.clinic-db-patient-female {
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
}

.clinic-db-patient-male {
  background: linear-gradient(135deg, var(--clinic-primary), var(--clinic-secondary));
}

.clinic-db-patient-info {
  flex: 1;
}

.clinic-db-patient-diagnosis {
  color: var(--clinic-dark);
  font-size: 0.95rem;
  opacity: 0.9;
}

.clinic-db-patient-actions {
  display: flex;
  gap: 0.75rem;
}

/* Reports Section */
.clinic-db-reports {
  background-color: white;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.clinic-db-reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 1.75rem;
}

.clinic-db-report-card {
  background-color: var(--clinic-light);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s;
}

.clinic-db-report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.clinic-db-report-title {
  color: var(--clinic-primary);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.clinic-db-demographic-chart {
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clinic-db-pie-chart {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  background: conic-gradient(
    #ff7e5f 0% calc(var(--percentage) * 1),
    var(--clinic-primary) calc(var(--percentage) * 1) 100%
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clinic-db-pie-center {
  position: absolute;
  width: 140px;
  height: 140px;
  background-color: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) inset;
}

.clinic-db-pie-label {
  font-size: 0.9rem;
  color: var(--clinic-dark);
  opacity: 0.8;
}

.clinic-db-pie-value {
  font-weight: 700;
  color: var(--clinic-primary);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.clinic-db-trend-chart {
  height: 280px;
}

.clinic-db-trend-bars {
  display: flex;
  align-items: flex-end;
  height: 100%;
  gap: 1.75rem;
  padding: 0 2.5rem;
}

.clinic-db-trend-bar {
  flex: 1;
  background: linear-gradient(to top, var(--clinic-primary), var(--clinic-secondary));
  border-radius: 6px 6px 0 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.75rem;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 50px;
}

.clinic-db-trend-labels {
  display: flex;
  justify-content: space-around;
  padding: 1rem 1.5rem;
  color: var(--clinic-dark);
  font-size: 0.95rem;
}

/* Action Buttons */
.clinic-db-action-btn {
  padding: 0.75rem 1.25rem;
  background-color: white;
  border: 1px solid var(--clinic-medium);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  font-size: 0.95rem;
}

.clinic-db-action-btn:hover {
  background-color: var(--clinic-primary);
  color: white;
  border-color: var(--clinic-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .clinic-db-reports-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .clinic-db-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .clinic-db-search {
    width: 100%;
  }

  .clinic-db-search-input {
    width: 100%;
  }

  .clinic-db-nav {
    overflow-x: auto;
    padding: 0 1rem;
  }

  .clinic-db-nav-item {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
  }

  .clinic-db-stats {
    grid-template-columns: 1fr;
  }

  .clinic-db-patients-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .clinic-db-patients-filter {
    width: 100%;
    flex-direction: column;
    gap: 1rem;
  }

  .clinic-db-add-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .clinic-db-content {
    padding: 1.5rem 1rem;
  }

  .clinic-db-upcoming-card, .clinic-db-patient-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .clinic-db-upcoming-details, .clinic-db-patient-info {
    padding: 0;
  }

  .clinic-db-upcoming-fee {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .clinic-db-patient-actions {
    width: 100%;
    justify-content: space-between;
  }
}

