﻿/* =============================================
   MyHospitalNow — Shared Template Styles
   Used by: medicaltourism, products, services,
   testimonial, contact, terms, privacy, about
   ============================================= */

/* ---- RESET / BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #444;
  margin: 0;
}

a { text-decoration: none; }

/* ---- SPINNER ---- */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  z-index: 99999;
}
#spinner.show {
  visibility: visible;
  opacity: 1;
  transition: opacity .5s ease-out, visibility 0s linear 0s;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar-mhn {
  background: #06a3da;
  box-shadow: 0 2px 12px rgba(0,0,0,.18);
  padding: 10px 20px;
}
.navbar-mhn .navbar-brand img {
  max-height: 50px;
  width: auto;
}
.navbar-mhn .navbar-toggler {
  border: 1.5px solid rgba(255,255,255,.55);
  border-radius: 6px;
  padding: 5px 10px;
  background: transparent;
  cursor: pointer;
}
.navbar-mhn .navbar-toggler:focus { outline: none; box-shadow: none; }

.navbar-mhn .nav-link {
  color: #fff !important;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px !important;
  white-space: nowrap;
  border-radius: 4px;
  transition: background .2s;
}
.navbar-mhn .nav-link:hover,
.navbar-mhn .nav-link.active {
  background: rgba(255,255,255,.15);
}

/* Social icon buttons in navbar */
.navbar-mhn .social-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  transition: background .2s, transform .2s;
  flex-shrink: 0;
}
.navbar-mhn .social-btn:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
  transform: translateY(-1px);
}

/* Auth button */
.navbar-mhn .btn-auth {
  border: 1.5px solid rgba(255,255,255,.7);
  color: #fff !important;
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-family: 'Jost', sans-serif;
  background: transparent;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.navbar-mhn .btn-auth:hover {
  background: rgba(255,255,255,.18);
}
.navbar-mhn .dropdown-menu {
  border-radius: 10px;
  border: none;
  box-shadow: 0 6px 24px rgba(0,0,0,.13);
  min-width: 170px;
  padding: 6px 0;
}
.navbar-mhn .dropdown-item {
  font-size: 14px;
  padding: 9px 18px;
  color: #333;
  transition: background .15s;
}
.navbar-mhn .dropdown-item:hover { background: #eaf6fd; }

/* Mobile collapse */
@media (max-width: 991.98px) {
  .navbar-mhn {
    padding: 10px 16px;
  }
  .navbar-mhn .navbar-collapse {
    background: #0592c3;
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 8px;
  }
  .navbar-mhn .nav-link {
    padding: 10px 8px !important;
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-radius: 0;
  }
  .navbar-mhn ul.navbar-nav li:last-child .nav-link {
    border-bottom: none;
  }
  .navbar-mhn .nav-right {
    margin-top: 14px;
    flex-wrap: wrap;
    gap: 8px !important;
  }
}

/* =============================================
   PAGE HERO
   ============================================= */
.page-hero {
  background: linear-gradient(rgba(9,30,62,.82), rgba(9,30,62,.82)),
              url('../images/carousel-1.jpg') center center / cover no-repeat;
  padding: 80px 20px 70px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.page-hero .breadcrumb {
  background: transparent;
  justify-content: center;
  margin: 0;
  padding: 0;
}
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,.85);
}
.page-hero .breadcrumb-item.active {
  color: rgba(255,255,255,.6);
}
.page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,.45);
}
@media (max-width: 576px) {
  .page-hero { padding: 60px 16px 50px; }
  .page-hero h1 { font-size: 2rem; }
}

/* =============================================
   SECTION HEADING
   ============================================= */
.section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.section-heading h2 {
  font-family: 'Jost', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 8px;
}
.section-heading .line {
  width: 60px;
  height: 4px;
  background: #06a3da;
  margin: 10px auto 14px;
  border-radius: 2px;
}
.section-heading p {
  color: #666;
  font-size: 15px;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =============================================
   MHN CARD
   ============================================= */
.mhn-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.mhn-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,.14);
  color: inherit;
  text-decoration: none;
}
.mhn-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.mhn-card .card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mhn-card .card-title {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 10px;
  line-height: 1.45;
}
.mhn-card .card-text {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
  flex: 1;
}
.mhn-card .card-link {
  font-size: 13px;
  font-weight: 600;
  color: #06a3da;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mhn-card .card-link:hover {
  text-decoration: underline;
}

/* Icon card variant */
.mhn-icon-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  text-align: center;
  height: 100%;
}
.mhn-icon-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.13);
}
.mhn-icon-card .icon-wrap {
  width: 64px;
  height: 64px;
  background: #eaf6fd;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: #06a3da;
}
.mhn-icon-card h5 {
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 10px;
}
.mhn-icon-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 14px;
}
.mhn-icon-card a {
  font-size: 13px;
  font-weight: 600;
  color: #06a3da;
  text-decoration: none;
}
.mhn-icon-card a:hover { text-decoration: underline; }

/* =============================================
   TESTIMONIAL CARD
   ============================================= */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
  position: relative;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0,0,0,.13);
}
.testimonial-card .quote-icon {
  font-size: 40px;
  color: #06a3da;
  line-height: 1;
  margin-bottom: 12px;
  opacity: .4;
}
.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card .stars {
  color: #f5a623;
  font-size: 14px;
  margin-bottom: 14px;
}
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-card .author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #06a3da;
}
.testimonial-card .author-info strong {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #1a3a5c;
}
.testimonial-card .author-info span {
  font-size: 12px;
  color: #888;
}

/* =============================================
   CONTACT FORM
   ============================================= */
.contact-form-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
}
.contact-form-wrap .form-control,
.contact-form-wrap .form-select {
  border-radius: 8px;
  border: 1.5px solid #dde;
  padding: 12px 14px;
  font-size: 14px;
  transition: border-color .2s;
}
.contact-form-wrap .form-control:focus,
.contact-form-wrap .form-select:focus {
  border-color: #06a3da;
  box-shadow: 0 0 0 3px rgba(6,163,218,.12);
}
.contact-info-card {
  background: #06a3da;
  border-radius: 14px;
  padding: 32px;
  color: #fff;
  height: 100%;
}
.contact-info-card h4 {
  font-family: 'Jost', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-info-card .info-item i {
  font-size: 20px;
  margin-top: 2px;
  opacity: .85;
}
.contact-info-card .info-item p { margin: 0; font-size: 14px; line-height: 1.6; }

/* =============================================
   LEGAL PAGES (Terms / Privacy)
   ============================================= */
.legal-wrap {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
}
.legal-wrap h3 {
  font-family: 'Jost', sans-serif;
  color: #1a3a5c;
  font-size: 1.25rem;
  margin-top: 28px;
  margin-bottom: 10px;
}
.legal-wrap p, .legal-wrap li {
  font-size: 14.5px;
  line-height: 1.8;
  color: #555;
}
.legal-wrap ul { padding-left: 22px; }
.legal-wrap .last-updated {
  font-size: 13px;
  color: #888;
  margin-bottom: 24px;
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.14);
}
.about-hero-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}
.stat-card {
  background: #06a3da;
  border-radius: 12px;
  padding: 24px 18px;
  text-align: center;
  color: #fff;
}
.stat-card h3 {
  font-family: 'Jost', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff;
}
.stat-card p { margin: 0; font-size: 14px; opacity: .9; }
.value-card {
  border-left: 4px solid #06a3da;
  background: #f8fcff;
  border-radius: 0 10px 10px 0;
  padding: 18px 20px;
}
.value-card h5 {
  font-family: 'Jost', sans-serif;
  color: #1a3a5c;
  margin-bottom: 6px;
}
.value-card p { font-size: 14px; color: #666; margin: 0; line-height: 1.65; }

/* =============================================
   FOOTER
   ============================================= */
footer.mhn-footer {
  background: linear-gradient(150deg, #2871A2 0%, #78B4F0 100%);
  color: #fff;
  padding: 36px 0 0;
  margin-top: 60px;
}
footer.mhn-footer h5 {
  font-family: 'Jost', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
footer.mhn-footer .social-network {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
}
footer.mhn-footer .social-network li a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2871A2;
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
footer.mhn-footer .social-network li a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  color: #06a3da;
}
footer.mhn-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
footer.mhn-footer .footer-links li a {
  color: rgba(255,255,255,.9);
  text-decoration: none;
  padding: 5px 10px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  display: inline-block;
  transition: color .2s;
}
footer.mhn-footer .footer-links li:not(:last-child) a::after {
  content: '|';
  margin-left: 10px;
  color: rgba(255,255,255,.35);
  font-weight: 300;
}
footer.mhn-footer .footer-links li a:hover {
  color: #fff;
  text-decoration: underline;
}
footer.mhn-footer .footer-copy {
  font-size: 13px;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.22);
  text-align: center;
  color: rgba(255,255,255,.82);
  margin-top: 22px;
}

@media (max-width: 576px) {
  footer.mhn-footer .footer-links {
    flex-direction: column;
    align-items: center;
  }
  footer.mhn-footer .footer-links li a::after {
    display: none;
  }
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #06a3da;
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  z-index: 9000;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: background .2s, transform .2s;
}
.back-to-top:hover {
  background: #0582b5;
  color: #fff;
  transform: translateY(-2px);
}

