/* LiveWell Hospital - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');
@import url('./variables.css');

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* SECTION A - TOP INFORMATION BAR */
.top-info-bar {
  background-color: var(--off-white);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
}

.top-info-item i {
  color: var(--primary);
  font-size: 1.1rem;
}

.top-info-item strong {
  color: var(--heading);
}

/* SECTION B - SEARCH & SOCIAL BAR */
.header-mid-bar {
  padding: 15px 0;
  background: var(--white);
}

.header-logo img {
  max-height: 70px;
  width: auto;
}

.search-box-wrap {
  position: relative;
  max-width: 380px;
  width: 100%;
}

.search-box-wrap .form-control {
  border-radius: 25px;
  padding-left: 20px;
  padding-right: 45px;
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.search-box-wrap .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 124, 155, 0.15);
}

.search-box-wrap .btn-search {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--primary);
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-box-wrap .btn-search:hover {
  background: var(--primary-dark);
}

.header-social {
  display: flex;
  gap: 10px;
}

.header-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-gray);
  color: var(--heading);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.header-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* SECTION C - MAIN STICKY NAVIGATION & MEGA MENU */
.main-navbar {
  background: var(--primary-deep);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition);
}

.main-navbar.scrolled {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.main-navbar .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.main-navbar .navbar-nav .nav-item {
  white-space: nowrap;
}

.main-navbar .navbar-nav .nav-link {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 16px 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.main-navbar .navbar-nav .nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  margin-left: 3px;
  opacity: 0.85;
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-item.active .nav-link {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--accent);
}

/* Remove Bootstrap default caret arrow to prevent double arrows */
.main-navbar .dropdown-toggle::after {
  display: none !important;
}

/* MEGA MENU STYLING (WHAT WE TREAT) */
.main-navbar .container {
  position: relative;
}

.nav-item.has-mega-menu {
  position: static;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  padding: 25px 30px;
  border: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  background: var(--white);
  margin-top: 0;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1100;
}

.nav-item.has-mega-menu:hover .mega-dropdown-menu,
.nav-item.has-mega-menu.show .mega-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-title {
  color: var(--primary-deep);
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.mega-treatment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-treatment-list li {
  margin-bottom: 4px;
}

.mega-treatment-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.mega-treatment-list li a i {
  color: var(--primary);
  font-size: 0.95rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(22, 124, 155, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.mega-treatment-list li a:hover {
  background: #f0f7f9;
  color: var(--primary-dark);
  border-color: rgba(22, 124, 155, 0.2);
  transform: translateX(4px);
}

.mega-treatment-list li a:hover i {
  background: var(--primary);
  color: var(--white);
}

/* STANDARD DROPDOWNS */
.dropdown-menu {
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 10px 0;
}

.dropdown-item {
  padding: 10px 20px;
  font-weight: 500;
  color: var(--heading);
  font-size: 0.92rem;
}

.dropdown-item:hover {
  background: var(--off-white);
  color: var(--primary);
}

/* SECTION D - HERO SECTION */
.hero-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-subtitle-accent {
  display: inline-block;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  position: relative;
}

.hero-subtitle-accent::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--secondary);
  margin-top: 5px;
  border-radius: 2px;
}

.hero-title {
  color: var(--white);
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-custom-secondary {
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 15px rgba(140, 168, 61, 0.4);
  transition: var(--transition);
}

.btn-custom-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(140, 168, 61, 0.5);
}

.btn-custom-outline {
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 30px;
  border: 2px solid var(--white);
  transition: var(--transition);
}

.btn-custom-outline:hover {
  background-color: var(--white);
  color: var(--primary-deep);
  transform: translateY(-3px);
}

/* HERO TREATMENT CARDS SLIDER/GRID */
.hero-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.hero-mini-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 20px;
  color: var(--white);
  transition: var(--transition);
}

.hero-mini-card:hover {
  background: var(--white);
  color: var(--heading);
  transform: translateY(-5px);
}

.hero-mini-card:hover h5, .hero-mini-card:hover i {
  color: var(--primary);
}

.hero-mini-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero-mini-card h5 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--white);
}

/* SECTION E - STATISTICS COUNTER */
.stats-section {
  background: var(--off-white);
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.stat-card {
  text-align: center;
  padding: 25px 15px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--secondary);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(22, 124, 155, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 15px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 5px;
}

.stat-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

/* SECTION F - DOCTOR INTRODUCTION */
.doctor-intro-section {
  padding: 90px 0;
}

.doctor-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.doctor-img-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.doctor-exp-badge {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: var(--secondary);
  color: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.doctor-exp-badge h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin: 0;
  font-weight: 800;
}

.doctor-exp-badge p {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* SECTION G - WHAT WE TREAT SECTION */
.treatments-section {
  background: linear-gradient(180deg, #f0f7f9 0%, #ffffff 100%);
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-subtitle {
  color: var(--secondary-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  color: var(--primary-deep);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 25px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: var(--transition);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.treatment-card:hover::before {
  background: var(--secondary);
  width: 6px;
}

.treatment-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(22, 124, 155, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.treatment-card:hover .treatment-icon {
  background: var(--primary);
  color: var(--white);
}

.treatment-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--heading);
}

.treatment-card p {
  color: var(--text);
  font-size: 0.93rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.treatment-link {
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.treatment-link i {
  transition: var(--transition);
}

.treatment-card:hover .treatment-link i {
  transform: translateX(5px);
  color: var(--secondary);
}

/* SECTION H - PATIENT SUCCESS STORIES */
.stories-section {
  background: var(--primary-deep);
  color: var(--white);
  padding: 90px 0;
}

.stories-section .section-title {
  color: var(--white);
}

.stories-section .section-subtitle {
  color: var(--accent);
}

.video-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.video-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.video-thumb-box {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #000;
}

.video-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: var(--transition);
}

.video-card:hover .video-thumb-box img {
  transform: scale(1.05);
  opacity: 0.7;
}

.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 0 0 8px rgba(140, 168, 61, 0.4);
  transition: var(--transition);
}

.video-card:hover .play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent);
  color: var(--heading);
}

.video-info {
  padding: 20px;
}

.video-info h5 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.video-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
  margin: 0;
}

/* SECTION I - RECENT NEWS / BLOG */
.news-section {
  padding: 90px 0;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.news-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.news-card:hover .news-img img {
  transform: scale(1.05);
}

.news-date-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
}

.news-body {
  padding: 22px;
}

.news-body h5 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.news-body p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 15px;
}

/* SECTION J - FAQ ACCORDION */
.faq-section {
  background: var(--off-white);
  padding: 90px 0;
}

.custom-accordion .accordion-item {
  border: none;
  border-radius: var(--radius-md) !important;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.custom-accordion .accordion-button {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--heading);
  background: var(--white);
  padding: 20px 25px;
  box-shadow: none;
}

.custom-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: rgba(22, 124, 155, 0.05);
}

.custom-accordion .accordion-body {
  padding: 20px 25px;
  color: var(--text);
  font-size: 0.98rem;
  background: var(--white);
}

/* SECTION K - TEAM / DOCTORS */
.team-section {
  padding: 90px 0;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.team-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info {
  padding: 25px 20px;
}

.team-info h4 {
  font-size: 1.25rem;
  margin-bottom: 5px;
}

.team-info .specialty {
  color: var(--secondary-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

/* SECTION L - FOOTER */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 80px;
  font-size: 0.92rem;
}

.footer-widget-title {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links li a {
  color: var(--footer-text);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* BUTTON UTILITIES */
.btn-primary-custom {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 25px;
  border: none;
  transition: var(--transition);
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  color: var(--white);
}

/* BREADCRUMB BANNER */
.page-banner {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 60px 0;
  margin-bottom: 60px;
}

.page-banner h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.breadcrumb-custom {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-custom .breadcrumb-item a {
  color: var(--accent-light);
}

.breadcrumb-custom .breadcrumb-item.active {
  color: var(--white);
}
