/**
 * WHITE MEMORIAL HOMOEO MEDICAL COLLEGE & HOSPITAL
 * Modern Hero Banner Styles (Based on Reference Design)
 */

/* Hide old header on homepage to display floating glassmorphism navbar */
body.home-page .main-header-three {
  display: none !important;
}

/* ==============================================================
   1. HERO SECTION WRAPPER & BACKGROUND
   ============================================================== */
.wm-hero-modern-section {
  position: relative;
  width: 100%;
  min-height: clamp(720px, 92vh, 1080px);
  background-image: url('../images/wmhmc_bg_hero.webp');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 0 35px;
  overflow: hidden;
  box-sizing: border-box;
}

/* Subtle gradient overlay on the left to ensure crisp text contrast */
.wm-hero-modern-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 45%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Bottom vignette for the dock */
.wm-hero-modern-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.wm-hero-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 3;
}

/* ==============================================================
   2. HERO MAIN CONTENT AREA
   ============================================================== */
.wm-hero-main-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  margin-bottom: 50px;
  position: relative;
  z-index: 10;
}

/* Left Content Area */
.wm-hero-left-content {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  max-width: 750px;
  animation: wmFadeInLeft 1s ease-out;
}

@keyframes wmFadeInLeft {
  0% { opacity: 0; transform: translateX(-30px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Left Slider Index Indicator (01 / 02 / 03) */
.wm-slider-index-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  flex-shrink: 0;
}

.wm-slide-index {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.wm-slide-index.active {
  color: #dc2626;
  font-size: 14px;
  font-weight: 800;
  position: relative;
}

.wm-slide-index.active::before {
  content: "";
  display: block;
  width: 12px;
  height: 2px;
  background-color: #dc2626;
  margin: 0 auto 4px;
}

.wm-slide-rail-line {
  width: 1px;
  height: 28px;
  background: rgba(148, 163, 184, 0.35);
  margin: 4px 0;
}

/* Headline & Text Block */
.wm-hero-text-block {
  flex: 1;
}

.wm-hero-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.wm-hero-main-title {
  font-family: 'Playfair Display', serif, Georgia;
  font-size: 58px;
  font-weight: 900;
  line-height: 1.08;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -0.5px;
}

.wm-title-row {
  display: block;
}

.wm-text-crimson {
  color: #dc2626;
  font-weight: 900;
}

/* Red accent underline under HOMOEO */
.wm-title-accent-bar {
  width: 68px;
  height: 3.5px;
  background: #dc2626;
  border-radius: 2px;
  margin: 10px 0 18px;
}

.wm-hero-lead-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #475569;
  max-width: 640px;
  margin: 0 0 20px;
  font-weight: 450;
}

/* Hero Social Media Icons */
.wm-hero-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.wm-hero-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wm-hero-social-link:hover {
  transform: translateY(-3px) scale(1.08);
}

/* Facebook hover */
.wm-hero-social-link.wm-social-facebook:hover {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
  box-shadow: 0 8px 18px rgba(24, 119, 242, 0.35);
}

/* YouTube hover */
.wm-hero-social-link.wm-social-youtube:hover {
  background: #ff0000;
  color: #ffffff;
  border-color: #ff0000;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.35);
}

/* Instagram hover */
.wm-hero-social-link.wm-social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(214, 36, 159, 0.35);
}

/* Action Buttons */
.wm-hero-actions-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wm-btn-primary-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(225, 29, 72, 0.35);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wm-btn-primary-red:hover {
  background: linear-gradient(135deg, #be123c 0%, #9f1239 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(225, 29, 72, 0.45);
}

.wm-btn-primary-red i {
  transition: transform 0.2s ease;
}

.wm-btn-primary-red:hover i {
  transform: translateX(4px);
}

.wm-btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #0f172a;
  border: 1.5px solid rgba(203, 213, 225, 0.9);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.wm-btn-secondary-glass:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.wm-btn-secondary-glass i {
  transition: transform 0.2s ease;
}

.wm-btn-secondary-glass:hover i {
  transform: translateX(4px);
}

/* Right Side: Campus Tour Floating Button */
.wm-hero-right-content {
  position: relative;
  padding-right: 40px;
  padding-bottom: 20px;
  animation: wmFadeInRight 1s ease-out;
}

@keyframes wmFadeInRight {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.wm-campus-tour-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  padding: 8px 20px 8px 8px;
  border-radius: 60px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wm-campus-tour-card:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.wm-tour-play-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.wm-campus-tour-card:hover .wm-tour-play-circle {
  transform: scale(1.08);
}

.wm-tour-play-circle i {
  color: #dc2626;
  font-size: 18px;
  margin-left: 3px;
}

/* Pulsing Ripple Aura */
.wm-tour-play-circle::before {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: wmTourPulse 2.2s infinite;
}

@keyframes wmTourPulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

.wm-tour-text-meta {
  display: flex;
  flex-direction: column;
}

.wm-tour-label-main {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.wm-tour-label-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #475569;
}

/* ==============================================================
   4. BOTTOM FLOATING GLASS DOCK (THE 4 FEATURE CARDS)
   ============================================================== */
.wm-hero-bottom-dock {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 26px;
  padding: 16px 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 10;
  animation: wmFadeUp 1s ease-out;
}

@keyframes wmFadeUp {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

.wm-dock-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.wm-dock-card:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

/* Icon Boxes with Distinct Glow */
.wm-dock-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.wm-dock-card:hover .wm-dock-icon-box {
  transform: scale(1.08);
}

.wm-dock-icon-box.wm-icon-blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: #2563eb;
  border: 1px solid #bfdbfe;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.wm-dock-icon-box.wm-icon-pink {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  color: #e11d48;
  border: 1px solid #fecdd3;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.15);
}

.wm-dock-icon-box.wm-icon-green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  color: #059669;
  border: 1px solid #a7f3d0;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.wm-dock-icon-box.wm-icon-purple {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  color: #7c3aed;
  border: 1px solid #ddd6fe;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.wm-dock-info {
  flex: 1;
  min-width: 0;
}

.wm-dock-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wm-dock-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}

.wm-dock-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(226, 232, 240, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 11px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.wm-dock-card:hover .wm-dock-arrow {
  background: #dc2626;
  color: #ffffff;
  transform: translateX(3px);
}

/* ==============================================================
   5. RESPONSIVE BREAKPOINTS
   ============================================================== */
@media (max-width: 1200px) {
  .wm-hero-main-title {
    font-size: 48px;
  }
  .wm-nav-menu-list {
    gap: 12px;
  }
  .wm-hero-bottom-dock {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .wm-hero-modern-section {
    min-height: auto;
    padding-bottom: 50px;
  }
  .wm-hero-modern-section::before {
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
  }
  .wm-nav-menu-list,
  .wm-nav-search-btn {
    display: none;
  }
  .wm-nav-mobile-toggle {
    display: flex;
  }
  .wm-hero-main-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .wm-hero-main-title {
    font-size: 40px;
  }
  .wm-hero-bottom-dock {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .wm-hero-left-content {
    gap: 16px;
  }
  .wm-slider-index-rail {
    display: none;
  }
  .wm-hero-main-title {
    font-size: 32px;
  }
  .wm-brand-name-top {
    font-size: 12px;
  }
  .wm-brand-name-sub {
    font-size: 8px;
  }
  .wm-nav-admissions-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .wm-hero-actions-row {
    flex-direction: column;
    width: 100%;
  }
  .wm-btn-primary-red,
  .wm-btn-secondary-glass {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================================
   6. 27-INCH & ULTRA-WIDE MONITOR MEDIA QUERIES (1600px, 1920px, 2560px+)
   ============================================================== */
@media (min-width: 1600px) {
  .wm-hero-container {
    max-width: 1560px;
  }
  .wm-hero-main-title {
    font-size: 64px;
  }
  .wm-hero-lead-text {
    font-size: 17px;
    max-width: 520px;
  }
  .wm-hero-bottom-dock {
    max-width: 1540px;
    padding: 18px 22px;
  }
}

@media (min-width: 2000px) {
  /* 27-inch 2560x1440 QHD / 4K Monitors */
  .wm-hero-modern-section {
    min-height: clamp(820px, 90vh, 1150px);
    padding: 140px 0 50px;
    background-position: center 25%;
  }
  .wm-hero-modern-section::before {
    width: 56%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 38%, rgba(255, 255, 255, 0.42) 52%, transparent 68%);
  }
  .wm-hero-container {
    max-width: 1740px;
    padding: 0 36px;
  }
  .wm-hero-left-content {
    max-width: 860px;
    gap: 36px;
  }
  .wm-slider-index-rail {
    padding-top: 16px;
    gap: 8px;
  }
  .wm-slide-index {
    font-size: 15px;
  }
  .wm-slide-index.active {
    font-size: 16px;
  }
  .wm-slide-rail-line {
    height: 36px;
  }
  .wm-hero-eyebrow {
    font-size: 13px;
    letter-spacing: 2.8px;
  }
  .wm-hero-main-title {
    font-size: 72px;
  }
  .wm-title-accent-bar {
    width: 82px;
    height: 4px;
    margin: 14px 0 22px;
  }
  .wm-hero-lead-text {
    font-size: 18.5px;
    max-width: 680px;
    line-height: 1.65;
    margin-bottom: 24px;
  }
  .wm-hero-social-row {
    gap: 15px;
    margin-bottom: 30px;
  }
  .wm-hero-social-link {
    width: 46px;
    height: 46px;
    font-size: 17px;
  }
  .wm-btn-primary-red {
    padding: 15px 32px;
    font-size: 15.5px;
  }
  .wm-btn-secondary-glass {
    padding: 15px 30px;
    font-size: 15.5px;
  }
  .wm-campus-tour-card {
    padding: 10px 24px 10px 10px;
  }
  .wm-tour-play-circle {
    width: 62px;
    height: 62px;
  }
  .wm-tour-play-circle i {
    font-size: 21px;
  }
  .wm-tour-label-main {
    font-size: 13.5px;
  }
  .wm-tour-label-sub {
    font-size: 12.5px;
  }
  .wm-hero-bottom-dock {
    max-width: 1720px;
    padding: 22px 28px;
    border-radius: 32px;
    gap: 22px;
  }
  .wm-dock-card {
    padding: 14px 18px;
    border-radius: 20px;
    gap: 16px;
  }
  .wm-dock-icon-box {
    width: 54px;
    height: 54px;
    font-size: 23px;
    border-radius: 16px;
  }
  .wm-dock-title {
    font-size: 16px;
  }
  .wm-dock-desc {
    font-size: 12.5px;
  }
  .wm-dock-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

