/* ===================================================
   Triumph Hero Slider
   =================================================== */

.triumph-hero {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  height: 620px;
}

@media (max-width: 991px) {
  .hero-slider { height: 520px; }
}

@media (max-width: 575px) {
  .hero-slider { height: 480px; }
}

.swiper-slide {
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  transition: transform 6s ease;
}

.swiper-slide-active .hero-bg-img {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65) 0%, rgba(0,0,0,.25) 100%);
  z-index: 1;
}

.hero-caption {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 160px;
  padding-bottom: 40px;
  color: #fff;
  animation: heroFadeUp .8s ease both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(1,173,239,.18);
  border: 1px solid rgba(1,173,239,.45);
  color: #7dd6f8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-caption h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
  color: #fff;
}

.hero-caption h1 span {
  color: #01ADEF;
}

.hero-caption p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,.85);
  margin-bottom: 30px;
  max-width: 520px;
}

@media (max-width: 767px) {
  .hero-caption { padding-top: 120px; }
  .hero-caption h1 { font-size: 34px; }
  .hero-caption p { font-size: 14px; }
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #01ADEF;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .25s, transform .2s;
}

.hero-btn-primary:hover {
  background: #0090cc;
  color: #fff;
  transform: translateY(-2px);
}

.hero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.6);
  text-decoration: none;
  transition: border-color .25s, background .25s, transform .2s;
}

.hero-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  color: #fff;
  transform: translateY(-2px);
}

/* Pagination dots */
.hero-slider-pagination {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero-slider-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background .25s, transform .25s;
  opacity: 1;
}

.hero-slider-pagination .swiper-pagination-bullet-active {
  background: #01ADEF;
  transform: scale(1.3);
}

/* Prev / Next arrows */
.hero-slider-nav {
  position: absolute;
  bottom: 14px;
  right: 30px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.hero-prev,
.hero-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  background: rgba(0,0,0,.25);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}

.hero-prev:hover,
.hero-next:hover {
  background: #01ADEF;
  border-color: #01ADEF;
}

/* Quickbar strip */
.hero-quickbar {
  background: #002570;
  padding: 0;
}

.hero-quickbar-inner {
  display: flex;
  align-items: stretch;
}

.quick-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.quick-item:last-child {
  border-right: none;
}

.quick-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(1,173,239,.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #01ADEF;
}

.quick-text span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.quick-text strong {
  display: block;
  font-size: 15px;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 767px) {
  .hero-quickbar-inner {
    flex-direction: column;
  }
  .quick-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 14px 18px;
  }
}

/* ===================================================
   Trust Stats
   =================================================== */
.trust-stats {
  padding: 60px 0;
  background: #f3f8ff;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.trust-stat {
  background: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.trust-stat-icon {
  font-size: 32px;
  color: #01ADEF;
  margin-bottom: 10px;
}

.trust-num {
  font-size: 38px;
  font-weight: 800;
  color: #002570;
  line-height: 1;
  margin-bottom: 8px;
}

.trust-stat p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* ===================================================
   About Page Fixes
   =================================================== */
.about-section.style-3.about-professional {
  padding: 80px 0 90px;
}

.about-section.style-3.about-professional .about-thumb {
  min-height: 0;
  height: 100%;
  align-items: center;
  border-radius: 24px;
  overflow: hidden;
}

.about-section.style-3.about-professional .about-thumb img {
  width: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 24px;
}

@media (max-width: 991px) {
  .about-section.style-3.about-professional {
    padding: 60px 0 70px;
  }
}

@media (max-width: 991px) {
  .trust-stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .trust-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-num { font-size: 28px; }
}

/* ===================================================
   Section heading (Why / Testimonials)
   =================================================== */
.why-head {
  max-width: 720px;
  margin: 0 auto 50px;
  text-align: center;
}

.why-head h4 {
  color: #01ADEF;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.why-head h1 {
  font-size: 40px;
  font-weight: 800;
  color: #002570;
  line-height: 1.2;
  margin-bottom: 16px;
}

.why-head h1 span {
  color: #01ADEF;
}

.why-head p {
  color: #666;
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}

/* ===================================================
   Why Choose Us
   =================================================== */
.why-section {
  padding: 90px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.why-card {
  background: #fff;
  border: 1px solid #eef2f9;
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: 0 22px 48px rgba(0,37,112,.12);
}

.why-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #002570;
  color: #fff;
  font-size: 30px;
  margin-bottom: 22px;
  transition: background .3s ease;
}

.why-card:hover .why-icon {
  background: #01ADEF;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #002570;
  margin-bottom: 12px;
}

.why-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 991px) {
  .why-section { padding: 60px 0; }
  .why-head { margin-bottom: 36px; }
  .why-head h1 { font-size: 30px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 575px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   Testimonials
   =================================================== */
.testi-section {
  padding: 90px 0;
  background: #f3f8ff;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.testi-stars {
  color: #ffb400;
  font-size: 15px;
  margin-bottom: 18px;
  display: flex;
  gap: 3px;
}

.testi-card > p {
  color: #3a3f51;
  font-size: 15.5px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #eef2f9;
  padding-top: 20px;
}

.testi-avatar {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(1,173,239,.12);
  color: #01ADEF;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testi-person strong {
  display: block;
  color: #002570;
  font-size: 16px;
}

.testi-person span {
  color: #8b8fa3;
  font-size: 14px;
}

@media (max-width: 991px) {
  .testi-section { padding: 60px 0; }
  .testi-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ===================================================
   Final CTA Banner
   =================================================== */
.cta-banner {
  padding: 80px 0;
}

.cta-banner-inner {
  background: linear-gradient(115deg, #002570 0%, #0142b8 100%);
  border-radius: 22px;
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

.cta-banner-text {
  flex: 1 1 420px;
  position: relative;
  z-index: 2;
}

.cta-banner-text h4 {
  color: #7dd6f8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-banner-text h1 {
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.cta-banner-text p {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  max-width: 560px;
}

.cta-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  justify-content: center;
  text-decoration: none;
}

.cta-call i {
  color: #7dd6f8;
}

@media (max-width: 767px) {
  .cta-banner { padding: 50px 0; }
  .cta-banner-inner { padding: 36px 24px; text-align: center; justify-content: center; }
  .cta-banner-text h1 { font-size: 28px; }
  .cta-banner-actions { width: 100%; align-items: center; }
}

/* ===================================================
   Home Page Alignment Fixes
   =================================================== */
.home-page .about-section,
.home-page .service-section {
  margin-left: 0;
  margin-right: 0;
}

.home-page .services-section {
  padding-bottom: 90px;
}

.home-page .why-section {
  padding-top: 80px;
  padding-bottom: 56px;
}

.home-page .about-section {
  padding-top: 86px;
  padding-bottom: 92px;
}

.home-page .service-section {
  padding-top: 88px;
  margin-top: 0;
  margin-bottom: 0;
}

.home-page .service-section .service-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  min-height: 230px;
  padding-top: 36px;
}

.home-page .service-section .medical-icon {
  position: relative;
  top: auto;
  left: auto;
}

.home-page .service-section .content:hover .medical-icon {
  left: auto;
}

.home-page .service-section h3.service-title {
  margin: 0;
  text-align: center;
  line-height: 1.1;
}

.home-page .row.service-bg {
  padding-left: 18px;
  padding-right: 18px;
}

.home-page .services-section .col-lg-4,
.home-page .services-section .col-md-6 {
  display: flex;
}

.home-page .service-single-box {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.home-page .service-content {
  flex: 1;
}

@media (max-width: 1199px) {
  .home-page .service-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .home-page .service-section h3.service-title {
    writing-mode: initial;
    transform: none;
    font-size: 18px;
  }

  .home-page .row.service-bg {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .home-page .services-section {
    padding-bottom: 70px;
  }

  .home-page .why-section {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .home-page .about-section {
    padding-top: 60px;
    padding-bottom: 70px;
  }

  .home-page .service-section {
    padding-top: 58px;
    padding-bottom: 58px;
    border-radius: 20px;
  }

  .home-page .service-section .service-content {
    min-height: 140px;
    padding-top: 24px;
    gap: 12px;
  }

  .home-page .about-section {
    margin-left: 0;
    margin-right: 0;
    border-radius: 20px;
  }
}
