/* ==========================================================================
   GURUKUL DESIGN SYSTEM & CORE STYLES
   Primary Brand Blue: #0E4A9C | Logo: #003069 (Subtext: #000000)
   Front Page Design: #004aad | Main Text: #103f7f | Sub Text: #222222
   ========================================================================== */

:root {
  /* Brand Color Palette Requested */
  --primary-blue: #0E4A9C;
  --primary-blue-dark: #003069;
  --primary-blue-light: #004aad;
  --primary-blue-glow: rgba(14, 74, 156, 0.25);
  
  --primary-teal: #0E4A9C;
  --primary-teal-light: #004aad;
  --primary-teal-dark: #003069;
  --primary-teal-glow: rgba(14, 74, 156, 0.25);
  
  --brand-navy: #103f7f;
  --brand-navy-light: #0E4A9C;
  --brand-navy-card: #003069;
  --brand-blue: #004aad;
  --brand-blue-accent: #004aad;
  
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.25);
  --accent-coral: #f43f5e;
  
  /* Neutrals & Backgrounds */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-gradient-soft: linear-gradient(180deg, #f8fafc 0%, #edf2f9 100%);
  
  /* Text Color Hierarchy */
  --text-main: #103f7f;
  --text-dark: #103f7f;
  --text-body: #222222;
  --text-sub: #222222;
  --text-muted: #555555;
  --text-light: #777777;
  --text-white: #ffffff;

  /* Logo Specifics */
  --logo-title-color: #003069;
  --logo-subtext-color: #000000;
  
  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(16, 63, 127, 0.05);
  --shadow-md: 0 6px 16px rgba(16, 63, 127, 0.08);
  --shadow-lg: 0 12px 32px rgba(16, 63, 127, 0.12);
  --shadow-xl: 0 20px 48px rgba(16, 63, 127, 0.16);
  --shadow-teal: 0 8px 24px rgba(14, 74, 156, 0.28);
  --shadow-blue: 0 8px 24px rgba(14, 74, 156, 0.28);
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= CSS RESET & BASE STYLES ================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

p {
  color: var(--text-body);
  line-height: 1.65;
}

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* ================= CONTAINER & UTILITIES ================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-teal, .text-blue { color: #004aad; }
.text-gold { color: var(--accent-gold); }
.text-navy { color: var(--text-main); }
.text-sub { color: #222222; }
.w-full { width: 100%; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }

.relative { position: relative; }
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Section Header Typography */
.section-header-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-body);
  line-height: 1.6;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(14, 74, 156, 0.08);
  color: #0E4A9C;
  border: 1px solid rgba(14, 74, 156, 0.2);
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 2px 10px rgba(14, 74, 156, 0.08);
}

.badge-pill.gold-pill {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.35);
  color: var(--accent-gold);
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0E4A9C 0%, #003069 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(14, 74, 156, 0.3);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #004aad 0%, #0E4A9C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 74, 173, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: var(--brand-navy);
  color: var(--text-white);
  border: none;
}

.btn-secondary:hover {
  background: #003069;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: #0E4A9C;
  border: 1.5px solid #0E4A9C;
}

.btn-outline:hover {
  background: #0E4A9C;
  color: var(--text-white);
  border-color: #0E4A9C;
  transform: translateY(-2px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #d97706 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px var(--accent-gold-glow);
  border: none;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-gold-light) 0%, var(--accent-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* ================= TOP ANNOUNCEMENT BAR ================= */
.top-announcement {
  background: linear-gradient(90deg, #003069 0%, #0E4A9C 50%, #004aad 100%);
  color: var(--text-white);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 100;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.76rem;
}

.badge-pulse {
  width: 7px;
  height: 7px;
  background: #fbbf24;
  border-radius: 50%;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); }
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.announcement-link {
  color: var(--accent-gold-light);
  font-weight: 600;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.announcement-link:hover {
  color: #fef08a;
}

.announcement-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.announcement-contact a {
  color: #fff;
  font-weight: 600;
}

/* ================= SITE HEADER & NAVBAR ================= */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  z-index: 99;
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.99);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  height: auto;
  padding: 10px 0;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #003069; /* Requested Gurukul Brand Logo Color */
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-title.white {
  color: #ffffff;
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: #000000; /* Requested Subtext Color #000000 */
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Navigation Menu */
.desktop-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #004aad;
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: #004aad;
  border-radius: var(--radius-full);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
}

.has-dropdown .chevron {
  transition: transform var(--transition-fast);
}

.has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 50;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.dropdown-item:hover {
  background-color: var(--bg-card-alt);
}

.dropdown-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(14, 74, 156, 0.1);
  color: #0E4A9C;
}

.dropdown-info strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
}

.dropdown-info span {
  font-size: 0.76rem;
  color: #222222;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 20px;
}

.btn-search-toggle {
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-fast);
}

.btn-search-toggle:hover {
  background-color: var(--bg-card-alt);
  color: #004aad;
}

.btn-callback-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 74, 156, 0.08);
  border: 1px solid rgba(14, 74, 156, 0.2);
  color: #0E4A9C;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.btn-callback-trigger:hover {
  background: rgba(14, 74, 156, 0.15);
  color: #003069;
}

.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle-btn .bar {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.btn-close-drawer {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #222222;
  cursor: pointer;
}

.mobile-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-list li {
  margin-bottom: 1.25rem;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.mobile-link:hover {
  color: #004aad;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ================= FOOTER ================= */
.site-footer {
  background: linear-gradient(160deg, #002a5e 0%, #003069 60%, #00224a 100%);
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Top Bar */
.footer-top-bar {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 0;
}

.footer-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-top-tagline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 500;
}

.footer-cta-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  letter-spacing: 0.02em;
}

.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  color: #ffffff;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding: 4rem 0 3.5rem;
}

.brand-col {
  padding-left: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-about {
  color: #e2e8f0;
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Footer Trust Badges */
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-trust-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.6rem;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: #004aad;
  border-color: #004aad;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 74, 173, 0.4);
}

.social-yt-btn:hover {
  background: #ff0000;
  border-color: #ff0000;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.35);
}

/* Footer Column Headings */
.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, #f59e0b, #004aad);
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-links a::before {
  content: '›';
  font-size: 1rem;
  color: #f59e0b;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-links a:hover::before {
  opacity: 1;
}

/* Footer Contact List */
.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f59e0b;
  margin-top: 2px;
}

.footer-contact-list strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  margin-bottom: 0.15rem;
}

.footer-contact-list a,
.footer-contact-list span {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.25);
  padding: 1.25rem 0;
  font-size: 0.82rem;
  color: #64748b;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #64748b;
  font-size: 0.82rem;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ================= FLOATING ACTION BUTTONS ================= */
.floating-action-bar {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 95;
}

@media (min-width: 993px) {
  .floating-action-bar .float-whatsapp,
  .floating-action-bar .float-call {
    display: none !important;
  }
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  transition: all var(--transition-fast);
  position: relative;
  border: none;
}

.float-whatsapp {
  background: #25d366;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.float-call {
  background: #0E4A9C;
}

.float-call:hover {
  background: #004aad;
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(0, 74, 173, 0.45);
}

.float-top {
  background: #103f7f;
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.float-top:hover {
  background: #0E4A9C;
  transform: translateY(-3px);
}

.float-tooltip {
  position: absolute;
  right: 64px;
  background: #003069;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ================= BRAND LOGO STYLES ================= */
.site-logo-img {
  height: 100px;
  max-height: 102px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
  margin-left: 60px;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.04);
}

.footer-logo-badge {
  background: #ffffff;
  padding: 16px 32px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-fast);
}

.footer-logo-badge:hover {
  transform: translateY(-3px);
}

.footer-logo-img {
  height: 115px;
  max-height: 130px;
  width: auto;
  object-fit: contain;
  display: block;
}

.mobile-drawer-logo-img {
  height: 95px;
  max-height: 105px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ================= SEARCH MODAL STYLES ================= */
.search-modal-dialog {
  max-width: 620px;
  width: 90%;
  padding: 2rem;
  border-radius: 18px;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}

.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  color: #0E4A9C;
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.8rem !important;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px !important;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.search-field:focus {
  border-color: #0E4A9C;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(14, 74, 156, 0.15);
  outline: none;
}

.search-quick-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.quick-tag-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
}

.search-tag-btn {
  background: #eef2ff;
  color: #0E4A9C;
  border: 1px solid #c7d2fe;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-tag-btn:hover {
  background: #0E4A9C;
  color: #ffffff;
  border-color: #0E4A9C;
}

.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 4px;
}

.search-result-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.search-result-card:hover {
  background: #ffffff;
  border-color: #0E4A9C;
  box-shadow: 0 4px 14px rgba(14, 74, 156, 0.12);
  transform: translateY(-2px);
}

.search-res-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.search-res-content strong {
  display: block;
  font-size: 0.98rem;
  color: #003069;
  margin-bottom: 0.25rem;
}

.search-res-content p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   WHEN YOU JOIN GURUKUL - HORIZONTAL ACCORDION SECTION (WHITE BG + BLUE HOVER)
   ========================================================================== */
.join-gurukul-section {
  position: relative;
  background: #ffffff; /* Clean white section background */
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
  color: #0f172a;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.join-gurukul-header {
  margin-bottom: 3rem;
}

.join-pillars-bar {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.join-pillar-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0b3b80;
  padding: 0.45rem 1.2rem;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.join-pillar-tag:hover {
  background: #0b3b80;
  border-color: #0b3b80;
  color: #ffffff;
}

/* Horizontal Accordion Container */
.tt-horizontal-accordion {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  gap: 0;
  height: 360px;
  overflow: visible;
  position: relative;
}

/* Accordion Item Card - Single Straight Horizontal Line Stack */
.tt-hac-item {
  position: relative;
  flex: 1 1 0%;
  min-width: 0;
  height: 100%;
  top: 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.8s ease, border-color 0.8s ease, box-shadow 0.8s ease;
  cursor: pointer;
  padding: 2rem 1.6rem;
  box-shadow: -8px 0 25px rgba(0, 0, 0, 0.08), 0 4px 15px rgba(0, 0, 0, 0.04);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.tt-hac-item:not(:first-child) {
  margin-left: -28px;
}

.tt-hac-item-inner {
  height: 100%;
  overflow: hidden;
}

.tt-hac-item-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tt-haci-content-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 320px;
}

/* Step Count Badge (01, 02, 03...) */
.tt-hac-item-count {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  font-family: 'Big Shoulders Display', 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #94a3b8;
  transition: color 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.tt-haci-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 16px;
  background: rgba(11, 59, 128, 0.08);
  color: #0b3b80;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.8s ease, color 0.8s ease, transform 0.8s ease;
}

.tt-haci-title {
  font-family: 'Big Shoulders Display', 'Outfit', sans-serif;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  color: #0f172a;
  margin: 0;
  width: 320px;
  transition: color 0.8s ease;
  word-break: break-word;
  hyphens: auto;
}

/* Slide Description Animation (Silky Smooth Fade Reveal) */
.tt-haci-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #64748b;
  opacity: 0;
  width: 320px;
  transition: opacity 0.8s ease 0.15s, color 0.8s ease;
}

/* ================= HOVER / EXPANDED STATE (ULTRA-SMOOTH FLUID OPENING) ================= */
.tt-hac-item.active {
  background: linear-gradient(135deg, #0b3b80 0%, #003069 100%);
  border-color: #0b3b80;
  box-shadow: 0 25px 50px rgba(11, 59, 128, 0.35);
}

.tt-hac-item.active .tt-hac-item-count {
  color: #fbbf24;
  transform: scale(1.15);
}

.tt-hac-item.active .tt-haci-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transform: scale(1.08);
}

.tt-hac-item.active .tt-haci-title {
  color: #ffffff;
}

.tt-hac-item.active .tt-haci-description {
  opacity: 1;
  color: #e2e8f0;
}







