/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

:root {
  --primary-color: #007bff;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --text-color: #333;
  --border-radius: 5px;
  --box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
  background-color: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(rgba(0,123,255,0.1), rgba(0,123,255,0.05)), url('https://via.placeholder.com/1200x400') center/cover;
  padding: 100px 0;
  text-align: center;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
}

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

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-success {
  background-color: var(--success-color);
  color: #fff;
}

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

.form-group label {
  display: block;
  margin-bottom: 5px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius);
}

footer {
  background: var(--dark-color);
  color: #fff;
  padding: 40px 0;
  margin-top: 60px;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

/* Sidebar and Admin Layout */
.admin-wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  min-height: 100vh;
}

#sidebar {
  min-width: 250px;
  max-width: 250px;
  background: #1e1b4b; /* Deep Indigo */
  color: #fff;
  transition: all 0.3s;
  z-index: 1000;
}

#sidebar.active {
  margin-left: -250px;
}

#sidebar .sidebar-header {
  padding: 20px;
  background: #16143a; /* Slightly darker indigo */
}

#sidebar ul.components {
  padding: 20px 0;
}

/* Fix for horizontal links conflict */
#sidebar > ul {
  display: block !important;
  list-style: none;
  padding: 0;
  margin: 0;
}

#sidebar ul li {
  margin-left: 0 !important;
  display: block;
}

#sidebar ul li a {
  padding: 12px 20px;
  font-size: 1.1em;
  display: block;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: 0.3s;
}

#sidebar ul li a:hover {
  color: #fff;
  background: #312e81; /* Indigo primary */
}

#sidebar ul li.active > a {
  color: #fff;
  background: #4338ca; /* Indigo light */
}

#content {
  width: 100%;
  min-height: 100vh;
  transition: all 0.3s;
  background: #f8f9fa;
  flex: 1;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  #sidebar {
    margin-left: -250px;
    position: fixed;
    height: 100%;
  }
  #sidebar.active {
    margin-left: 0;
  }
  #sidebarCollapse span {
    display: none;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Clinic Locations (mc-services-grid) */
.mc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.mc-service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border-top: 4px solid var(--indigo-deep);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.mc-service-card:hover {
  transform: translateY(-5px);
}
.mc-service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--indigo-deep);
}
.mc-service-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--indigo-deep);
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.mc-card-hours {
  background: rgba(49, 46, 129, 0.05);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}
.mc-card-hours-label {
  display: block;
  font-weight: 600;
  color: var(--indigo-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}
.mc-card-hours-line, .mc-card-address span {
  display: block;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}
.mc-card-address {
  margin-bottom: 1.5rem;
}
.mc-card-tagline {
  color: var(--indigo-light);
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  flex-grow: 1;
}
.mc-btn-primary {
  background-color: var(--indigo-deep);
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: bold;
  transition: 0.3s;
  display: inline-block;
  width: 100%;
}
.mc-btn-primary:hover {
  background-color: var(--indigo-primary);
  color: white;
}

/* Sidebar submenu dropdown styles */
#sidebar ul li ul.submenu {
  background: #16143a; /* Darker background for nested list */
  padding-left: 15px !important;
  list-style: none;
}

/* Apply during BOTH the animating state (.collapsing) and the fully-open
   state (.show) — otherwise there's a brief flash of the inherited
   `nav ul { display:flex }` (row) layout during the transition, before
   Bootstrap settles into .show. */
#sidebar ul li ul.submenu.show,
#sidebar ul li ul.submenu.collapsing {
  display: flex !important;
  flex-direction: column !important;
}

#sidebar ul li ul.submenu li {
  width: 100%;
}

#sidebar ul li ul.submenu li a {
  font-size: 0.9em !important;
  padding: 8px 20px !important;
}

#sidebar ul li a.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  float: right;
  margin-top: 10px;
}

#sidebar ul li a.dropdown-toggle[aria-expanded="true"]::after {
  border-top: 0;
  border-bottom: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
}

/* Indigo Brand Theme Overrides */
.bg-indigo-light {
  background-color: #4338ca !important;
  color: #fff !important;
}

.btn-primary {
  background-color: #312e81 !important;
  border-color: #312e81 !important;
  color: #fff !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: #4338ca !important;
  border-color: #4338ca !important;
  color: #fff !important;
}

.btn-outline-indigo {
  color: #312e81 !important;
  border-color: #312e81 !important;
  background-color: transparent !important;
  transition: all 0.2s ease;
}
.btn-outline-indigo:hover, .btn-outline-indigo:focus, .btn-outline-indigo:active {
  color: #fff !important;
  background-color: #312e81 !important;
  border-color: #312e81 !important;
}

.form-control:focus, .form-select:focus {
  border-color: #4338ca !important;
  box-shadow: 0 0 0 0.25rem rgba(67, 56, 202, 0.25) !important;
}

/* Specialties Grid / Service Item Custom Styles */
.page-service {
  background-color: #f8fafc;
  padding: 60px 0;
}

.page-service .section-title {
  text-align: center;
  margin-bottom: 50px;
}

.page-service .section-title h3 {
  color: #4338ca;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.page-service .section-title h2 {
  color: #1e1b4b;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0;
}

.service-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: calc(100% - 30px);
}

.service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(30, 27, 75, 0.1), 0 10px 10px -5px rgba(30, 27, 75, 0.04);
  border-color: #cbd5e1;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-item-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
}

.service-item-box .icon-box {
  width: 52px;
  height: 52px;
  background-color: rgba(49, 46, 129, 0.06);
  color: #312e81;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.service-item:hover .icon-box {
  background-color: #312e81;
  color: #ffffff;
  transform: scale(1.05);
}

.service-item-content h3 {
  color: #1e1b4b;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
}

.service-readmore {
  flex-shrink: 0;
}

.service-readmore a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4338ca;
  background-color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-readmore a:hover {
  background-color: #4338ca;
  color: #ffffff;
  border-color: #4338ca;
  transform: scale(1.05);
}

/* Connect card hover to button hover style */
.service-item:hover .service-readmore a {
  background-color: #4338ca;
  color: #ffffff;
  border-color: #4338ca;
}

.service-image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 100%;
}

.service-image .image-anime {
  width: 100%;
  height: 100%;
  margin: 0;
}

.service-image .image-anime img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover .image-anime img {
  transform: scale(1.08);
}

.hover-scale {
  transition: transform 0.2s ease-in-out !important;
}

.hover-scale:hover {
  transform: scale(1.05) !important;
}

/* Tathed Style Footer Customizations */
.main-footer {
  padding: 70px 0 30px;
}

.about-footer .footer-logo p {
  letter-spacing: 0.5px;
}

.footer-contact-item {
  margin-bottom: 20px;
}

.footer-contact-item .icon-box {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #818cf8;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-item:hover .icon-box {
  background-color: #4338ca !important;
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.8), 0 0 5px rgba(129, 140, 248, 0.4);
}

.footer-links h3 {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 25px;
}

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

.footer-links ul li a {
  color: #ffffff !important;
  font-size: 0.875rem !important;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: #818cf8 !important;
}

.footer-social-link ul li a {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-link ul li a:hover {
  background: #4338ca !important;
  border-color: #4338ca !important;
  color: #ffffff !important;
  transform: scale(1.1) !important;
  box-shadow: 0 0 15px rgba(129, 140, 248, 0.8), 0 0 5px rgba(129, 140, 248, 0.4);
}


.footer-terms-condition ul li a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-terms-condition ul li a:hover {
  color: #818cf8 !important;
}

/* FAQ Accordion Styling overrides */
#faqAccordion .accordion-button:not(.collapsed) {
  color: #312e81 !important; /* Indigo Primary */
  background-color: rgba(49, 46, 129, 0.05) !important;
  box-shadow: none !important;
}

#faqAccordion .accordion-button:focus {
  border-color: #4338ca !important;
  box-shadow: 0 0 0 0.2rem rgba(67, 56, 202, 0.15) !important;
}

/* Indigo Brand Theme Globals */
.bg-indigo-deep {
  background-color: #1e1b4b !important;
  color: #ffffff !important;
}

.bg-indigo-light {
  background-color: #4338ca !important;
  color: #ffffff !important;
}

.text-indigo-deep {
  color: #1e1b4b !important;
}

.text-indigo-light {
  color: #4338ca !important;
}

.btn-indigo {
  background-color: #1e1b4b !important;
  color: #ffffff !important;
  border: none !important;
}

.btn-indigo:hover {
  background-color: #312e81 !important;
  color: #ffffff !important;
}

.footer-location-link {
  color: #ffffff !important;
  font-weight: normal !important;
  text-decoration: none !important;
  font-size: 0.875rem !important;
  transition: color 0.2s ease !important;
}

.footer-location-link:hover {
  color: #818cf8 !important;
}

/* Floating Appointment Button */
.appointment_btn {
  background-color: #312e81 !important; /* Deep Indigo */
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(49, 46, 129, 0.25);
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.appointment_btn:hover {
  background-color: #4338ca !important; /* Light Indigo */
  color: #ffffff !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(67, 56, 202, 0.4);
}

.appointment_btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gentle floating animation for appointment button */
.appointment_btn.animated.bounce {
  animation: bounce-float 2.5s infinite ease-in-out;
}

@keyframes bounce-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Scroll to Top (Up Arrow) Floating Button */
.scroll-top-btn {
  position: fixed;
  bottom: 120px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #312e81 !important; /* Deep Indigo */
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: #4338ca !important; /* Light Indigo */
  color: #ffffff !important;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(67, 56, 202, 0.3);
}




