/* Styles extracted from public/templates/features/home/home.mustache */

/* Ensure carousel and inner items fill the height set via JS */
.home-carousel-viewport { overflow: hidden; }
.home-carousel-viewport .carousel-inner,
.home-carousel-viewport .carousel-item,
.home-carousel-viewport .carousel-item > div {
  height: 100% !important;
  min-height: 0 !important;
}
/* Make the carousel full-bleed (edge-to-edge) despite being inside a centered container */
.home-carousel-viewport {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  /* Counter the main.py-4 top padding (1.5rem) so the carousel touches the header */
  margin-top: -1.5rem;
}
.home-carousel-viewport .text-center { max-width: 980px; margin-left: auto; margin-right: auto; }

/* Slide text panel moved from inline styles to a class for easier control and
   to avoid use of !important. Parent .d-flex container still sets the
   background-image per-slide. */
.slide-text-panel {
  background: rgba(0, 0, 0, 0.55);
  padding: 1rem;
  border-radius: 0.25rem;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* About Us section styles */
.about-us-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow: hidden;
  background-image: url('/assets/images/Gemini_Generated_Image_ql80rfql80rfql80.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-us-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 55, 160, 0.70);
  pointer-events: none;
}
.about-us-content { padding: 4rem 0; position: relative; z-index: 1; }
.about-us-title { font-size: 3rem; font-weight: 700; color: #ffffff; margin-bottom: 1.5rem; position: relative; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.about-us-title.animate { opacity: 1; transform: translateY(0); }
.about-us-text { font-size: 1.15rem; line-height: 1.8; color: rgba(255,255,255,0.95); margin-bottom: 1.8rem; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s; }
.about-us-text.animate { opacity: 1; transform: translateY(0); }
.about-badges .badge { background-color: rgba(255,255,255,0.25); color: #fff; padding: 0.6em 1em; font-size: 0.95em; margin-right: 0.75rem; margin-bottom: 0.75rem; border-radius: 0.35rem; border: 1px solid rgba(255,255,255,0.15); transition: transform 0.3s ease-in-out, background-color 0.3s ease; opacity: 0; transform: translateY(20px); }
.about-badges .badge.animate { opacity: 1; transform: translateY(0); }
.about-badges .badge:hover { transform: translateY(-3px) scale(1.02); background-color: #007bff; border-color: #007bff; }
.about-stats .stat { border: none; border-radius: 0.75rem; padding: 1.5rem; margin-bottom: 1.5rem; background-color: rgba(255,255,255,0.08); box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1); transition: transform 0.3s ease-in-out, box-shadow 0.3s ease, background-color 0.3s ease; backdrop-filter: blur(5px); }
.about-stats .stat:hover { transform: translateY(-8px); box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2); background-color: rgba(255,255,255,0.15); }
.about-stats .num { font-size: 2.8rem; font-weight: 700; color: #00e676; display: block; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.about-stats .label { font-size: 1rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; }
.btn-appointment { background-color: #00e676; border-color: #00e676; font-size: 1.2rem; padding: 1rem 2.5rem; border-radius: 50px; transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 0.35rem 0.75rem rgba(0, 230, 118, 0.3); }
.btn-appointment:hover { background-color: #00c853; border-color: #00c853; transform: translateY(-5px) scale(1.02); box-shadow: 0 0.6rem 1.2rem rgba(0, 230, 118, 0.45); }
.img-fluid.about-image { border-radius: 0.75rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); }
.about-image-bg { border-radius: 0.75rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); background-size: cover; background-position: center; background-repeat: no-repeat; min-height: 260px; position: relative; overflow: hidden; }
.about-image-bg .about-image-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); border-radius: inherit; pointer-events: none; }
.about-text-panel { background: rgba(13, 110, 253, 0.85); color: #fff; padding: 2.5rem; border-radius: 0.75rem; box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.2); max-width: 720px; margin-left: 0; backdrop-filter: blur(8px); }
@media (max-width: 767px) { .about-text-panel { padding: 1.5rem; max-width: 100%; } }
.about-text-panel .about-stats .stat { background-color: rgba(255,255,255,0.15); color: #fff; }
.about-text-panel .about-stats .num { color: #00e676; }
.about-image-container { padding: 1rem; background-color: rgba(255,255,255,0.05); border-radius: 1rem; box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.15); height: 100%; display: flex; align-items: center; justify-content: center; }
.about-image-container img { border-radius: 0.75rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2); max-height: 100%; object-fit: cover; }

/* Team section styles */
.team-section { overflow-x: hidden; }
.team-card { background-color: #fff; border-radius: 0.75rem; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1); transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; overflow: hidden; opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.team-card.animate { opacity: 1; transform: translateY(0); }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15); }
.team-card-img-container { position: relative; }
.team-card-img-container img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.team-card-overlay { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(13, 110, 253, 0.75); opacity: 0; transition: opacity 0.4s ease; display: flex; align-items: center; justify-content: center; }
.team-card:hover .team-card-overlay { opacity: 1; }
.team-card-socials a { color: #fff; font-size: 1.75rem; margin: 0 0.75rem; transition: transform 0.3s ease; }
.team-card-socials a:hover { transform: scale(1.2); }
.team-card-body { padding: 1.25rem; text-align: center; }
.team-card-title { font-weight: 600; margin-bottom: 0.25rem; }
.team-card-text { color: #6c757d; font-size: 0.9rem; }
.team-contact-info { font-size: 0.85rem; text-align: left; word-break: break-all; }
.team-contact-info p { display: flex; align-items: center; }
.team-contact-info a { color: #6c757d; transition: color 0.3s ease; }
.team-contact-info a:hover { color: #0d6efd; }

/* Testimonials styles */
.testimonials-section { position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; overflow: hidden; background-image: url('/assets/images/pexels-kawserhamid-176342.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; color: #fff; }
.testimonials-section::before { content: ''; position: absolute; inset: 0; background: rgba(5, 55, 160, 0.70); z-index: 1; }
.testimonials-section .container { position: relative; z-index: 2; }
.testimonial-card { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 0.75rem; padding: 2rem; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: space-between; color: rgba(255,255,255,0.95); }
.testimonial-quote-icon { font-size: 3rem; color: rgba(255, 255, 255, 0.5); position: absolute; top: 1rem; left: 1.5rem; }
.testimonial-card .card-body { padding: 0; padding-top: 2rem; }
.testimonial-card .card-title { color: #fff; margin-bottom: 1rem; }
.testimonial-card .card-text { color: rgba(255, 255, 255, 0.9); font-size: 0.95rem; line-height: 1.7; }
.testimonial-author { margin-top: 1.5rem; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-right: 1rem; }
.testimonial-author h6 { color: #fff; font-weight: 600; }
.testimonial-author small { color: rgba(255, 255, 255, 0.8) !important; }
.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next { width: 3.5rem; height: 3.5rem; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.15); border-radius: 50%; opacity: 0.7; transition: opacity 0.3s ease, background-color 0.3s ease; }
.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover { opacity: 1; background-color: rgba(255, 255, 255, 0.25); }
@media (min-width: 992px) { .testimonials-section .carousel-control-prev { left: -1.75rem; } .testimonials-section .carousel-control-next { right: -1.75rem; } }

/* CTA styles */
.cta-section { position: relative; padding: 6rem 0; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; width: 100vw; overflow: hidden; background-image: url('/assets/images/pexels-kawserhamid-176342.jpg'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 { font-size: 2.5rem; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.cta-content .btn-appointment { margin-top: 2rem; }
.cta-content .animate-target { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.cta-content .animate-target.animate { opacity: 1; transform: translateY(0); }
