/* ==========================================================================
   Maruti Home Tuition - SEO Keyword Cloud & Footer Hover Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* --- SEO Cloud Section --- */
.mht-seo-cloud-section {
  font-family: 'Poppins', sans-serif;
  background: #f8fafc;
  /* Subtle light gray */
  padding: 60px 20px;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.mht-seo-container {
  max-width: 1200px;
  margin: 0 auto;
}

.mht-seo-header {
  text-align: center;
  margin-bottom: 24px;
}

.mht-seo-title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mht-seo-icon {
  color: #ff6b00;
  /* Brand Orange Accent */
  font-size: 1.6rem;
}

.mht-seo-title {
  color: #0a2540;
  /* Brand Deep Navy Blue */
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
}

.mht-seo-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

.mht-seo-column {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: 1000px;
  margin: 0 auto;
}

.mht-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Modern Pill-shaped Chip Tags */
.mht-tag-link {
  display: inline-block;
  background: #ffffff;
  color: #475569;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 30px;
  line-height: 1.3;
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.mht-tag-link:hover {
  background: #0a2540;
  /* Navy Blue on Hover */
  color: #ffffff;
  border-color: #0a2540;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(10, 37, 64, 0.1);
}

/* Accent highlight tag for core high volume keywords */
.mht-tag-accent {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.mht-tag-accent:hover {
  background: #ff6b00;
  /* Orange on Hover */
  color: #ffffff;
  border-color: #ff6b00;
}

/* --- Footer Links Hover Effects --- */
footer a,
.footer-links a,
.footer-contact a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover,
.footer-links a:hover,
.footer-contact a:hover {
  color: #ff6b00 !important;
  /* Brand Orange */
}

/* Specifically target the 'Webmantra' credit link */
.footer-credit a,
.developed-by a {
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-credit a:hover,
.developed-by a:hover {
  color: #ff6b00 !important;
}

:root {
  --brand-navy: #0f3258;
  --brand-navy-deep: #0b2743;
  --brand-orange: #f76711;
  --brand-orange-soft: #ff8a3d;
  --brand-cream: #f7f8fb;
  --text-dark: #15253a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
nav,
button,
.cta-font {
  font-family: "Montserrat", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-pad {
  padding: 5rem 1rem;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 6.5rem 1rem;
  }
}

.brand-gradient {
  background: radial-gradient(circle at 20% 20%, rgba(247, 103, 17, 0.2), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(15, 50, 88, 0.32), transparent 42%),
    linear-gradient(135deg, #0b2743 0%, #0f3258 45%, #1b4f7f 100%);
}

.surface-pattern {
  background-color: #ffffff;
  background-image: linear-gradient(rgba(11, 39, 67, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 39, 67, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

#siteHeader {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

#siteHeader .header-logo {
  width: 130px;
  transition: width 0.35s ease;
}

#siteHeader.header-compact .header-logo {
  width: 150px;
}

#siteHeader .nav-link {
  position: relative;
  font-weight: 600;
  letter-spacing: 0.01em;
}

#siteHeader .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

#siteHeader .nav-link:hover::after,
#siteHeader .nav-link.active::after {
  transform: scaleX(1);
}

#siteHeader.header-transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#siteHeader.header-transparent .nav-link,
#siteHeader.header-transparent .brand-text,
#siteHeader.header-transparent .menu-btn {
  color: #ffffff;
}

#siteHeader.header-solid {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 28px rgba(16, 33, 55, 0.12);
  border-bottom: 1px solid rgba(15, 50, 88, 0.08);
}

#siteHeader.header-solid .nav-link,
#siteHeader.header-solid .brand-text,
#siteHeader.header-solid .menu-btn {
  color: #15253a;
}

.inner-page #siteHeader {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(16, 33, 55, 0.1);
  border-bottom: 1px solid rgba(15, 50, 88, 0.08);
}

.inner-page #siteHeader .nav-link,
.inner-page #siteHeader .brand-text,
.inner-page #siteHeader .menu-btn {
  color: #15253a;
}

.hero-shell {
  min-height: 100vh;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(8, 26, 45, 0.84), rgba(8, 26, 45, 0.34) 55%, rgba(8, 26, 45, 0.66));
}

.trust-strip {
  border: 1px solid rgba(15, 50, 88, 0.1);
  box-shadow: 0 20px 45px rgba(15, 50, 88, 0.14);
}

.elevated-card {
  border: 1px solid rgba(15, 50, 88, 0.08);
  box-shadow: 0 10px 28px rgba(15, 50, 88, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.elevated-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(15, 50, 88, 0.16);
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.95rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(15, 50, 88, 0.25);
}

.premium-btn:focus {
  outline: 3px solid rgba(247, 103, 17, 0.3);
  outline-offset: 2px;
}

.btn-brand {
  background: linear-gradient(120deg, var(--brand-orange), var(--brand-orange-soft));
  color: #ffffff;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.section-eyebrow {
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.stat-card {
  border-radius: 1.2rem;
  padding: 1.8rem 1.2rem;
  color: #ffffff;
  background: linear-gradient(140deg, #0f3258, #114878);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.counter-value {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.1;
}

.accordion-item {
  border: 1px solid rgba(15, 50, 88, 0.12);
  border-radius: 1rem;
  background: #ffffff;
}

.accordion-btn {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 700;
  color: #132743;
  padding: 1.1rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 1rem;
}

.accordion-item.open .accordion-content {
  max-height: 220px;
  padding-bottom: 1rem;
}

.faq-icon {
  transition: transform 0.2s ease;
}

.accordion-item.open .faq-icon {
  transform: rotate(45deg);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(130deg, #0f3258, #1a5a8e);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-wrap {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0.9rem;
  padding: 0.0rem 0.0rem;
  display: inline-flex;
}

.footer-logo {
  width: 160px;
  height: auto;
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 6.4rem;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  z-index: 60;
  display: grid;
  place-items: center;
  background: #22c55e;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.34);
  animation: pulseWhatsApp 1.8s infinite;
}

@keyframes pulseWhatsApp {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.58);
  }

  70% {
    transform: scale(1.02);
    box-shadow: 0 0 0 16px rgba(34, 197, 94, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -10px 20px rgba(13, 30, 49, 0.2);
}

.mobile-action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.95rem 0.6rem;
  color: #ffffff;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.map-shell {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 50, 88, 0.1);
  box-shadow: 0 12px 34px rgba(15, 50, 88, 0.14);
}

@media (max-width: 767px) {
  #siteHeader .header-logo {
    width: 165px;
  }

  #siteHeader.header-compact .header-logo {
    width: 145px;
  }

  .footer-logo {
    width: 170px;
  }
}

@media (min-width: 768px) {
  .whatsapp-float {
    bottom: 1.4rem;
  }

  .mobile-action-bar {
    display: none;
  }
}