/* backend/public/css/style.css */

:root {
  --color-primary: #102e7a;
  --color-secondary: #1bbde4;
  --color-text: #707779;
  --color-accent: #ffffff;
  --color-light: #eef9ff;
  --color-dark: #040404;

  --font-primary: "Poppins", sans-serif;
  --font-size-h1: 60px;
  --font-size-h2: 45px;
  --font-size-text: 16px;
  --font-size-accent: 28px;

  --font-weight-medium: 500;
  --font-weight-regular: 400;

  --line-height-h1: 1.2;
  --line-height-text: 1.5;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
}


/* Helper Container to keep everything aligned */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}



.top-bar {
  background: var(--color-secondary);
  color: white;
  /* Increased padding from 8px to 15px for a "bigger" feel */
  padding: 15px 0; 
  font-size: 15px; /* Slightly larger text */
  font-family: var(--font-primary);
  /* Optional: Add a subtle bottom border if needed */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Ensuring the content stays vertically centered */
  min-height: 40px; 
}


/* Contact Info and Social Icons */
.contact-info i {
  margin-right: 8px;
  font-size: 16px;
}


.top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 10px; /* Space between the circles */
}

.social-icons a {
  /* Create the circle */
  background-color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  
  /* Center the icon inside the circle */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Icon Color (match your blue background) */
  color: #00bcd4; /* Replace with your specific blue hex code */
  
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  background-color: #f0f0f0; /* Slight grey on hover */
}

.btn-appointment {
  background: var(--color-primary);
  color: white;
  border: none;
  padding: 12px 30px; /* Slightly larger button padding */
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase; /* Common in medical sites */
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-appointment:hover {
  background: #0a1f52;
  /* Slightly darker on hover */
}



/* Modal Overlay for appointment*/
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
  backdrop-filter: blur(4px);
}

/* Modal Box */
.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Close Button */
.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
  color: #aaa;
}

.close-btn:hover { color: #333; }

/* Form Styling */
#appointmentForm { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
#appointmentForm input, #appointmentForm textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}
.btn-submit {
  background-color: #0d47a1; /* Matching your button color */
  color: white;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

/* Styling the new form group and label */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.form-group label {
  font-size: 0.9rem;
  color: #555;
  font-weight: 600;
  margin-left: 2px;
}

#appointmentForm input[type="date"] {
  width: 100%; /* Ensures it aligns with other inputs */
  cursor: pointer;
}



/* Ensure the login modal is visible and centered */
#loginModal.modal {
    display: none; 
    position: fixed;
    z-index: 9999; /* Higher than header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.admin-modal {
    background: #fff;
    margin: 15vh auto;
    padding: 30px;
    width: 350px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close-login {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}





/* --- LOGO --- */
.logo {
  color: var(--color-primary);
  font-size: 28px;
  margin: 0;
}

.logo span {
  color: var(--color-secondary);
}




/* --- NAVBAR --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.nav-links li {
  position: relative;
  padding: 10px 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.navbar ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

li {
  list-style-type: none;
  /* Remove bullet points */
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}


/* Common style for both Top and Bottom lines on links */
.nav-links a::before,
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  width: 0;
  /* Starts at 0 width */
  height: 2px;
  background-color: var(--color-primary);
  /* Line color matches your text */
  transition: width 0.3s ease;
  /* Smooth sliding effect */
}

/* Top Line Position */
.nav-links a::before {
  top: -5px;
}

/* Bottom Line Position */
.nav-links a::after {
  bottom: -5px;
}

/* Hover State: Expand lines to 100% width */
.nav-links a:hover::before,
.nav-links a:hover::after,
.nav-links a.active::before,
/* Also apply to active page */
.nav-links a.active::after {
  width: 100%;
}

/* Optional: change text color on hover */
.nav-links a:hover {
  color: var(--color-primary);
}




/* hero section  */
.hero {
  background: linear-gradient(rgba(16, 46, 122, 0.5), rgba(16, 46, 122, 0.5)),
    url('../assets/images/hero.jpg');
  padding: 150px 40px;
  color: white;
  background-size: cover;
  background-position: center;
}

.hero span {
  color: #1bb7e0;
}

.hero h1 {
  font-size: 55px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.btn-contact-link {
  display: inline-block;
  text-decoration: none;
  
  padding: 10px 30px;
  border: 2px solid #000000;
  border-radius: 50px;
  
  color: var(--color-accent); 
  font-family: var(--font-primary);
  font-size: 16px;
  font-weight: 500;
  
  background-color: transparent;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.btn-contact-link:hover {
  background-color: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


/* home page features section 
Floating cards */
/* 1. The Wrapper: This is the background white section */
.features-wrapper {
  padding: 0 40px;
  background-color: var(--color-accent);
  /* Pure white */
  position: relative;
  z-index: 20;
  /* Ensures it sits ABOVE the hero */
}

/* 2. The Container: The "Floating" magic */
.features-container {
  max-width: 1200px;
  margin: 0 auto;
  transform: translateY(-50%);
  display: flex;
  gap: 20px;
  position: relative;
  z-index: 30;
}

/* 3. The Feature Cards: The "Zoom" Logic */
.feature-card {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 50px 30px;
  color: var(--color-accent);
  min-height: 180px;
  border-radius: 15px;

  /* REMOVED translateY from here to prevent conflicts */
  transform: scale(1);

  /* This makes it zoom in and out smoothly in all directions */
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;

  /* Crucial: ensures growth starts from the absolute center */
  transform-origin: center center;
}

/* Specific Card Colors */
.feature-card.blue {
  background-color: var(--color-secondary);
}

.feature-card.orange {
  background-color: #f28b54;
}

.feature-card.dark {
  background-color: #0c1c3a;
}


/* Hover effect for better UX */
.feature-card:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 100;
}

/* Icon Styling */
.feature-icon {
  font-size: 45px;
  margin-right: 20px;
  opacity: 0.9;
}

.feature-info h3 {
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: var(--font-weight-medium);
}

.feature-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

@media (max-width: 992px) {
  .features-container {
    flex-direction: column;
    margin-top: -50px;
  }

  .feature-card.blue,
  .feature-card.orange,
  .feature-card.dark {
    border-radius: 15px;
    margin-bottom: 15px;
  }
}





/* section  (About Us) for Home */
.about-section {
  padding-top: 50px;
  padding-bottom: 100px;
  background-color: var(--color-accent);
}


.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-content {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 5px 20px;
  border: 2px solid var(--color-dark);
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
}

.about-content h2 {
  font-size: var(--font-size-h2);
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--color-text);
  margin-bottom: 30px;
}

/* Checklist Styling */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

.feature-item {
  font-weight: 500;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  color: var(--color-secondary);
  font-size: 18px;
}

.btn-dark-large {
  display: inline-block;
  /* Makes the <a> tag behave like a button */
  background-color: var(--color-primary);
  color: white !important;
  padding: 15px 40px;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  border: none;
}

.btn-dark-large:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

/* Moving Doctor Image Logic */

/* Container for the tracking area */
.about-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  /* Gives a slight 3D depth to the movement */
}

.circle-image-container {
  width: 450px;
  height: 450px;
  border-radius: 500px;
  overflow: hidden;
  position: relative;

  border-left: 8px solid var(--color-primary);
  border-bottom: 8px solid var(--color-primary);

  transition: transform 0.25s ease-out;
  will-change: transform;
}


.moving-doctor {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- CSS ONLY MOVEMENT LOGIC --- */
/* When you hover the wrapper, the whole circle moves */
.about-image-wrapper:hover .circle-image-container {
  /* You can adjust these values to match the "pull" you want */
  --transX: 15px;
  --transY: -15px;
}

/* Optional: Slight rotation for more realism (as seen in your --rotX vars) */
/* .about-image-wrapper:hover .circle-image-container {
  transform: translateX(var(--transX)) translateY(var(--transY)) rotate(1deg);
} */


/* Responsive Logic */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-features {
    justify-items: center;
  }

  .circle-image-container {
    width: 300px;
    height: 300px;
  }
}




/* Services Section Background of home*/
.services-section {
  padding: 80px 0;
  background-color: #eef9ff;
  /* The light blue/white background from Salubrity */
}

/* Header Logic: Split into Left and Right */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 40px;
}

.services-header .header-left {
  flex: 1;
}

.services-header .header-right {
  flex: 1;
  max-width: 500px;
}

.services-header h2 {
  font-size: 45px;
  color: var(--color-primary);
  margin-top: 15px;
}

.services-header p {
  color: var(--color-text);
  line-height: 1.6;
}

/* Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Individual Card Styling */
.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  /* Soft Salubrity shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  /* Hover "Pop" effect */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
  height: 250px;
  width: 100%;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  font-size: 24px;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.card-content p {
  color: var(--color-text);
  font-size: 15px;
  line-height: 1.6;
}

/* Responsive Fix for Tablets/Phones */
@media (max-width: 992px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}




/* Emergency Section Styling */
.emergency-section {
  position: relative;
  padding: 100px 0;
  background-image: linear-gradient(rgba(16, 46, 122, 0.5), rgba(16, 46, 122, 0.5)),
    url('../assets/images/homebg01-1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;

  /* padding: 150px 40px; */
  color: white;

}

.emergency-content {
  max-width: 800px;
  margin: 0 auto;
}

.emergency-content span {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 14px;
  display: block;
  margin-bottom: 15px;
}

.emergency-content h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

/* The Bordered Phone Number Box */
.phone-box {
  display: inline-block;
  border: 3px solid #ffffff;
  padding: 15px 40px;
  font-size: 42px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #ffffff;
}

.phone-box:hover {
  background-color: #ffffff;
  color: var(--color-primary);
  /* Uses your primary blue from the first section */
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .emergency-content h2 {
    font-size: 32px;
  }

  .phone-box {
    font-size: 28px;
    padding: 10px 20px;
  }
}


/* Doctors Section Background */
.doctors-section {
  padding: 80px 0;
  background-color: #ffffff;
  /* Slightly lighter than the services section to create subtle separation */
}

/* Header Logic: Consistent with Services Section */
.doctors-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 40px;
}

.doctors-header .header-left {
  flex: 1;
}

.doctors-header .header-right {
  flex: 1;
  max-width: 500px;
}

.doctors-header h2 {
  font-size: 45px;
  color: var(--color-primary);
  margin-top: 15px;
}

/* Doctor Card Specifics */
.doctor-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
  border-bottom: 3px solid #6dd5ed;
  /* Subtle blue accent border seen in the image */
}

.doctor-card:hover {
  transform: translateY(-10px);
}

.doctor-image {
  height: 350px;
  /* Taller images for doctor portraits */
  width: 100%;
  overflow: hidden;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-info {
  padding: 25px;
}

.doctor-info h3 {
  font-size: 22px;
  color: #1a365d;
  /* Darker blue for names */
  margin-bottom: 5px;
}

.doctor-info p {
  color: #718096;
  /* Muted gray for specialty */
  font-size: 15px;
  margin-bottom: 15px;
}

/* Social Icons Styling */
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-links a {
  color: #4299e1;
  font-size: 18px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #2b6cb0;
}

/* Responsive Fix */
@media (max-width: 992px) {
  .doctors-header {
    flex-direction: column;
    align-items: flex-start;
  }
}



/* Footer Styles */
.main-footer {
  background-color: var(--color-primary);
  /* Dark Blue from your variables */
  color: var(--color-accent);
  /* White */
  padding: 60px 0 20px;
  font-family: var(--font-primary);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  /* Allows wrapping on smaller screens */
  justify-content: space-between;
  padding: 0 20px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
  /* Forces wrap on mobile */
  margin-bottom: 30px;
}

.footer-col h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.footer-col h3 span {
  color: var(--color-secondary);
}

/* Light blue '+' */
.footer-col h4 {
  font-size: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-secondary);
  display: inline-block;
}

.footer-col p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
  padding-left: 5px;
}


.footer-bottom {
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 30px 0;
  /* Increased padding to give the button room */
  font-size: 14px;
}

/* Target the icons inside your footer or any section */
.footer-col i {
  color: var(--color-secondary);
  /* Using your light blue variable */
  font-size: 20px;
  /* The size you wanted */
  margin-right: 10px;
  /* Adds space between icon and text */
  width: 25px;
  /* Keeps icons aligned in a straight line */
  text-align: center;
}

/* Profile Wrapper */
.footer-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

/* Rounded Profile Image */
.profile-img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  /* Slightly rounded corners like the screenshot */
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Profile Name and Title */
.profile-text h5 {
  margin: 0;
  font-size: 18px;
  color: #ffffff;
  font-weight: 600;
}

.profile-text span {
  font-size: 13px;
  color: var(--color-secondary);
  /* Light blue for the title */
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 4px;
}

/* Scroll to Top Button (Optional - seen in screenshot) */
/* Scroll to Top Button */
/* 1. Make the parent container a reference point */
.footer-bottom {
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 30px 0;
  /* Increased padding to give the button room */
  font-size: 14px;
}

/* 2. Change position to absolute */
.scroll-top {
  position: absolute;
  right: 20px;
  /* Distance from the right edge of the footer */
  top: 50%;
  /* Center it vertically in the bar */
  transform: translateY(-50%);
  /* Perfect vertical alignment */

  width: 45px;
  height: 45px;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 3. Hover effect stays the same */
.scroll-top:hover {
  background-color: var(--color-accent);
  /* Or your primary color */
  color: var(--color-primary);
  transform: translateY(-60%);
  /* Slight lift on hover */
}

/* 4. Keep smooth scroll enabled */
html {
  scroll-behavior: smooth;
}










/* service nav/page */

/* Medical Analysis Specific Styling */
.medical-analysis {
  background-color: #ffffff;
  /* Contrast against the light blue section if they are adjacent */
}

.medical-analysis .service-card {
  /* Matching the screenshot's specific rounded corners and cyan accent */
  border-radius: 20px;
  border-bottom: 4px solid #1bbde4;
  /* Cyan accent from your --color-secondary */
}

.medical-analysis .card-image {
  height: 280px;
  /* Slightly taller images for analysis section */
}

.medical-analysis .card-content h3 {
  font-size: 26px;
  margin-bottom: 20px;
}

.medical-analysis .card-content p {
  color: #707779;
  font-size: 15px;
  line-height: 1.7;
}

/* Optional: Slight color shift on the badge to match screenshot */
.medical-analysis .badge {
  border-color: #000;
  color: #000;
}





/* Service Intro Styling */
.service-intro-section {
  padding: 80px 0 150px 0;
  /* Extra bottom padding to account for the overlapping cards below */
  background-color: #eef9ff;
  /* Light blue background from screenshot */
}

.service-intro-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  /* Aligns the text to the bottom of the container */
  gap: 60px;
}

.intro-left {
  flex: 1.2;
}

.intro-right {
  flex: 1;
  padding-bottom: 10px;
  /* Slight adjustment to align with the heading baseline */
}

.main-title {
  font-size: 55px;
  /* Large heading size as per screenshot */
  color: var(--color-primary);
  line-height: 1.1;
  margin-top: 20px;
}

.intro-text {
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 992px) {
  .service-intro-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .main-title {
    font-size: 38px;
  }

  .service-intro-section {
    padding: 60px 0 100px 0;
  }
}






/* Speciality Overlap Section */
.speciality-cards-section {
  position: relative;
  z-index: 10;
  /* Ensures cards stay above background sections */
  padding-bottom: 50px;
}

.speciality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  /* Pulls the grid up to sit in the middle of two sections */
  margin-top: -150px;
}

.speciality-card {
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 20px;
  text-align: left;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.speciality-card:hover {
  transform: translateY(-10px);
}

/* Icon Styling matching the figure circles */
.spec-icon {
  width: 80px;
  height: 80px;
  border: 4px solid var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}

.spec-icon i {
  font-size: 32px;
  color: var(--color-secondary);
}

.speciality-card h3 {
  font-size: 28px;
  color: var(--color-dark);
  margin-bottom: 15px;
}

.speciality-card p {
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

/* Responsive Fix */
@media (max-width: 992px) {
  .speciality-grid {
    grid-template-columns: 1fr;
    margin-top: -80px;
    /* Reduced overlap for mobile */
  }

  .speciality-cards-section {
    padding: 0 20px;
  }
}





/* Pricing Section Specifics */
.pricing-section {
  padding: 80px 0;
  background-color: #eef9ff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: #fff;
  border: 1px solid #102e7a;
  /* Using var(--color-primary) */
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.plan-name {
  font-weight: bold;
  font-size: 18px;
  color: var(--color-dark);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #102e7a;
}

.price-box {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #102e7a;
  color: var(--color-primary);
}

.price-box .currency {
  font-size: 32px;
  vertical-align: top;
  font-weight: bold;
}

.price-box .amount {
  font-size: 60px;
  font-weight: bold;
}

.price-box .period {
  font-size: 14px;
  display: inline-block;
  margin-left: 5px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  text-align: left;
  display: inline-block;
}

.plan-features li {
  margin-bottom: 15px;
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-features li i {
  font-size: 18px;
}

.plan-features li.disabled {
  color: #707779;
  opacity: 0.7;
}

/* Featured / Popular Ribbon */
.pricing-card.featured {
  border-color: var(--color-secondary);
}

.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  right: -10px;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 10px 0;
  background-color: var(--color-secondary);
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  text-align: center;
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
}

/* Ensure Button matches screenshot (smaller version of your btn-dark-large) */
.pricing-card .btn-dark-large {
  padding: 10px 30px;
  font-size: 14px;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}







/* Contact Cards Section */
.contact-info-cards {
  padding: 80px 0;
  background-color: #ffffff;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background-color: #f0faff;
  /* Very light cyan tint */
  padding: 50px 30px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(27, 189, 228, 0.1);
}

/* Icon Container & Style */
.info-icon {
  font-size: 60px;
  /* Large icons as seen in screenshot */
  color: var(--color-secondary);
  /* Cyan color */
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 28px;
  color: var(--color-dark);
  margin-bottom: 15px;
  font-weight: 600;
}

.info-card p,
.info-card a {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.6;
  text-decoration: none;
}

.info-card a:hover {
  color: var(--color-secondary);
}

/* Responsive Fix */
@media (max-width: 992px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}




/* Get In Touch Section */
.get-in-touch-section {
  padding: 80px 0;
  background-color: #fff;
}

.contact-form-wrapper {
  display: flex;
  background: white;
  border-radius: 30px;
  /* Large rounded corners for the whole block */
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  min-height: 600px;
}

/* Image Side */
.contact-image {
  flex: 1;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Form Side (Dark Blue) */
.contact-form-container {
  flex: 1;
  background-color: var(--color-primary);
  /* Your dark blue variable */
  padding: 60px;
  color: white;
}

.contact-form-container h2 {
  font-size: 40px;
  margin: 15px 0 30px 0;
  color: white;
}

/* White Badge for Dark Background */
.badge.light {
  border-color: white;
  color: white;
}

/* Form Inputs */
.form-group {
  margin-bottom: 20px;
}

.main-contact-form input,
.main-contact-form textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.main-contact-form input::placeholder,
.main-contact-form textarea::placeholder {
  color: #777;
}

/* Submit Button (Cyan) */
.btn-submit {
  background-color: var(--color-secondary);
  /* Your cyan/light blue variable */
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  width: auto;
}

.btn-submit:hover {
  background-color: #15a1c2;
  transform: translateY(-2px);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .contact-form-wrapper {
    flex-direction: column;
  }

  .contact-image {
    height: 300px;
  }

  .contact-form-container {
    padding: 40px 20px;
  }
}




/* Full Width Map Styling */
.map-section-full {
    width: 100%;
    line-height: 0; /* Removes tiny white space at bottom of iframe */
    margin: 0;
    padding: 0;
    border-top: 1px solid #eee; /* Optional: subtle separation from section above */
    border-bottom: 1px solid #eee;
}

.map-section-full iframe {
    width: 100%;
    filter: grayscale(10%) contrast(1.1); /* Optional: makes it look more professional */
    display: block;
}

/* ========================================================
   TOAST NOTIFICATION SYSTEM
   ======================================================== */
.toast-container {
  position: fixed;
  top: 25px;
  right: 25px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.custom-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-width: 320px;
  max-width: 450px;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: var(--font-primary, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 1.4;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: toastSlideIn 0.35s ease forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-toast.toast-hiding {
  opacity: 0;
  transform: translateX(30px);
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-message {
  font-weight: 500;
}

.toast-close {
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding-left: 10px;
}

.toast-close:hover {
  opacity: 1;
}

.toast-success {
  background: #10b981;
  color: #ffffff;
}

.toast-error {
  background: #ef4444;
  color: #ffffff;
}

.toast-info {
  background: #0284c7;
  color: #ffffff;
}

/* ========================================================
   MODERN AUTH MODAL (LOGIN & REGISTER)
   ======================================================== */
.auth-modal-box {
  background: #ffffff;
  margin: 8vh auto;
  padding: 35px 30px;
  width: 90%;
  max-width: 440px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  font-family: var(--font-primary, "Poppins", sans-serif);
}

.auth-header {
  text-align: center;
  margin-bottom: 25px;
}

.auth-icon-badge {
  width: 55px;
  height: 55px;
  margin: 0 auto 12px auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d47a1, #1bbde4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.auth-header h2 {
  font-size: 22px;
  color: #102e7a;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.auth-subtitle {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 22px;
}

.auth-tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  transition: all 0.25s ease;
  margin-bottom: -2px;
}

.auth-tab.active {
  color: #0d47a1;
  border-bottom-color: #0d47a1;
}

.auth-form-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.auth-field label {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.auth-field label i {
  color: #1bbde4;
}

.auth-field input {
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: #0d47a1;
  box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.12);
}

.auth-btn {
  background: linear-gradient(135deg, #0d47a1, #1565c0);
  color: white;
  padding: 13px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 5px;
}

.auth-btn:hover {
  opacity: 0.95;
}

.auth-btn:active {
  transform: translateY(1px);
}

.auth-toggle-note {
  text-align: center;
  font-size: 13px;
  color: #64748b;
  margin-top: 10px;
}

.auth-toggle-note a {
  color: #0d47a1;
  font-weight: 600;
  text-decoration: underline;
}

/* ========================================================
   ADMIN DASHBOARD & PATIENT PORTAL
   ======================================================== */
.admin-dashboard-wrapper,
.user-portal-wrapper {
  background: #f1f5f9;
  min-height: calc(100vh - 200px);
  padding: 40px 0;
  font-family: var(--font-primary, "Poppins", sans-serif);
}

.admin-container,
.user-portal-container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 20px;
}

.admin-header-flex,
.portal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.admin-header-flex h2,
.portal-header h2 {
  font-size: 26px;
  color: #102e7a;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.admin-subtitle,
.portal-subtitle {
  color: #64748b;
  font-size: 14px;
  margin: 0;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.admin-tabs .tab-btn {
  padding: 12px 24px;
  border-radius: 8px;
  border: none;
  background: #ffffff;
  color: #475569;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-tabs .tab-btn.active {
  background: #0d47a1;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.3);
}

.dashboard-card,
.portal-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 25px;
  margin-bottom: 30px;
}

.section-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.section-title-bar h3 {
  font-size: 18px;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 10px;
}

.data-table th {
  background: #f8fafc;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 12px;
  border-bottom: 2px solid #e2e8f0;
  text-align: left;
}

.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e2e8f0;
  font-size: 14px;
  color: #1e293b;
  vertical-align: middle;
}

.data-table tr:hover td {
  background-color: #f8fafc;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-warning {
  background-color: #fef3c7;
  color: #b45309;
}

.badge-success {
  background-color: #d1fae5;
  color: #065f46;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background-color: #e0f2fe;
  color: #0369a1;
}

.text-success {
  color: #059669;
}

.text-muted {
  color: #64748b;
  font-size: 12px;
}

/* Inputs inside tables */
.admin-input-date {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
}

.admin-select-status {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  font-weight: 600;
  background-color: #fff;
  cursor: pointer;
}

.admin-input-reply {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  width: 220px;
  font-family: inherit;
}

.inline-reply-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.existing-reply {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  color: #166534;
}

.table-msg-col {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;
}

.btn-save-action {
  background: #0d47a1;
  color: white;
  border: none;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-save-action:hover {
  background: #1565c0;
}

.btn-refresh {
  background: #ffffff;
  color: #0d47a1;
  border: 1px solid #cbd5e1;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.btn-refresh:hover {
  background: #f8fafc;
  border-color: #0d47a1;
}

.btn-primary-action {
  background: linear-gradient(135deg, #0d47a1, #1bbde4);
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-action:hover {
  opacity: 0.95;
}
