/* Expert Hain Institute - Master Design System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --secondary: #0f172a;
  --secondary-light: #1e293b;
  
  --accent: #10b981;
  --accent-light: #ecfdf5;
  --accent-gold: #f59e0b;
  
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-dark: #0a192f;
  
  --border: #e2e8f0;
  --border-focus: #93c5fd;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-white: #ffffff;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 25px 50px -12px rgba(37, 99, 235, 0.2);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  width: min(1280px, 92%);
  margin: 0 auto;
}

/* Topbar Announcement Bar */
.topbar {
  background: linear-gradient(90deg, #0b192e 0%, #1e293b 50%, #0b192e 100%);
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}
.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}
.topbar-item strong {
  color: #ffffff;
}
.topbar-badge {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(37, 99, 235, 0.25));
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 8px #34d399;
}

/* FIXED / STICKY NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(37, 99, 235, 0.15);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* BRAND LOGO */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.08));
  transition: var(--transition);
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

/* NAVIGATION MENU & DROPDOWNS */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--secondary);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  cursor: pointer;
}
.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-link .arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}
.nav-item:hover > .nav-link .arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* DROPDOWN MENU PANEL */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}
.dropdown-menu.mega-menu {
  min-width: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.nav-item:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--secondary);
  transition: var(--transition);
}
.dropdown-item:hover {
  background: var(--primary-light);
  transform: translateX(4px);
}
.dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--bg-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.dropdown-item:hover .dropdown-icon {
  background: var(--primary);
  color: #ffffff;
}
.dropdown-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--secondary);
  display: block;
}
.dropdown-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.header-phone-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* BUTTON STYLES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 8px 20px var(--primary-glow);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: rotate(30deg);
  transition: 0.6s ease;
}
.btn-primary:hover::after {
  left: 100%;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px var(--primary-glow);
}
.btn-secondary {
  background: #ffffff;
  color: var(--secondary) !important;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background: var(--primary-light);
  transform: translateY(-2px);
}
.btn-accent {
  background: linear-gradient(135deg, var(--accent), #059669);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.35);
}
.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

/* MOBILE TOGGLE & DRAWER */
.nav-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  font-size: 1.4rem;
  color: var(--secondary);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.nav-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Typography & Section Headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.eyebrow.accent-eyebrow {
  color: var(--accent);
  background: var(--accent-light);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-head.text-left {
  text-align: left;
  margin-left: 0;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.section {
  padding: 90px 0;
}
.bg-light {
  background-color: var(--bg-light);
}
.bg-dark {
  background-color: var(--bg-dark);
  color: #ffffff;
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: #ffffff;
}
.bg-dark .section-desc {
  color: #94a3b8;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 80px 0 90px;
  background: radial-gradient(circle at 90% 10%, #dbeafe 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, #f0fdf4 0%, transparent 35%),
              linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 20px;
  color: var(--secondary);
}
.hero-title span {
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .location-highlight {
  color: var(--accent);
  background: linear-gradient(135deg, #059669, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.trust-avatars {
  display: flex;
  align-items: center;
}
.trust-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px;
  background: #cbd5e1;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--secondary);
}
.trust-avatar:first-child {
  margin-left: 0;
}
.trust-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.trust-text strong {
  color: var(--secondary);
  display: block;
}

.hero-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--primary-light);
  border-radius: 50%;
  z-index: -1;
}
.hero-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.stat-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.stat-box:hover {
  border-color: var(--primary-hover);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary);
  display: block;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Feature Cards & Services */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #bfdbfe;
  box-shadow: var(--shadow-hover);
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}
.card-icon.accent-icon {
  background: var(--accent-light);
  color: var(--accent);
}
.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.tab-btn {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover, .tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Course Specific Card */
.course-card {
  position: relative;
  overflow: hidden;
}
.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #fef3c7;
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.course-price {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  margin: 14px 0;
}
.course-price span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}
.course-list {
  list-style: none;
  margin-bottom: 24px;
}
.course-list li {
  font-size: 0.9rem;
  color: var(--secondary-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 900;
}

/* Fee Estimator Calculator */
.calculator-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--secondary);
  background-color: #ffffff;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.calc-result-box {
  background: linear-gradient(135deg, var(--secondary), #1e293b);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-result-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.calc-amount {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin: 10px 0;
}
.calc-breakdown {
  list-style: none;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
}
.calc-breakdown li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}
.calc-breakdown li strong {
  color: #ffffff;
}

/* Timetable Table */
.timetable-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.timetable {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}
.timetable th {
  background: var(--secondary);
  color: #ffffff;
  padding: 16px 20px;
  font-weight: 700;
}
.timetable td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary-light);
}
.timetable tr:last-child td {
  border-bottom: none;
}
.timetable tr:hover td {
  background: var(--primary-light);
}
.badge-mode {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-block;
}
.badge-offline { background: #dbeafe; color: #1e40af; }
.badge-online { background: #dcfce7; color: #166534; }
.badge-hybrid { background: #fef3c7; color: #92400e; }

/* Faculty & Results Cards */
.faculty-card {
  text-align: center;
  padding: 24px;
}
.faculty-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
}
.faculty-name {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.faculty-role {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}
.faculty-exp {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.result-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
}
.result-score {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin: 10px 0 4px;
}
.result-exam {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  background: var(--secondary);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.faq-toggle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--primary);
  transition: var(--transition);
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  padding: 0 24px 22px;
  max-height: 300px;
}

/* Contact & Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--secondary);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-list {
  display: grid;
  gap: 24px;
  margin: 30px 0;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-text strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}
.contact-text p {
  font-size: 0.9rem;
  color: #94a3b8;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.full-width {
  grid-column: 1 / -1;
}

/* SEO Location Banner Section */
.seo-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.seo-city-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  color: var(--secondary);
  transition: var(--transition);
}
.seo-city-card:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
  background: #06142e;
  color: #94a3b8;
  padding: 80px 0 30px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 60px;
}
.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}
.float-btn:hover {
  transform: scale(1.1);
}
.float-whatsapp {
  background: #25d366;
}
.float-call {
  background: var(--primary);
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}
.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  padding: 36px;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.modal-backdrop.active .modal-content {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .header-phone-link { display: none; }
  .dropdown-menu.mega-menu { min-width: 480px; }
}

@media (max-width: 992px) {
  .topbar-content { flex-direction: column; text-align: center; gap: 6px; }
  .topbar-left { justify-content: center; }
  .topbar-right { display: none; }
  
  .nav-menu {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(15,23,42,0.15);
    max-height: calc(100vh - 84px);
    overflow-y: auto;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .dropdown-menu, .dropdown-menu.mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border);
    background: var(--bg-light);
    display: none;
    grid-template-columns: 1fr;
    margin-top: 6px;
  }
  .nav-item.open > .dropdown-menu {
    display: grid;
  }
  
  .nav-toggle { display: flex; }
  
  .hero-grid, .contact-grid, .calc-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; }
}
/*** batch timings & schedule **/

/* Batch Timings: responsive DIV/card layout (no table) */
    .batch-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
    }
    .batch-card {
      display: flex;
      flex-direction: column;
      min-width: 0;
      padding: 22px;
      background: var(--surface, #fff);
      border: 1px solid var(--border, #e2e8f0);
      border-radius: var(--radius-md, 16px);
      box-shadow: 0 8px 24px rgba(15,23,42,.06);
      transition: transform .2s ease, box-shadow .2s ease;
    }
    .batch-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 14px 32px rgba(15,23,42,.10);
    }
    .batch-card-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 14px;
      margin-bottom: 18px;
    }
    .batch-program {
      color: var(--secondary, #0f172a);
      font-size: 1.05rem;
      font-weight: 800;
      line-height: 1.35;
    }
    .batch-status {
      flex: 0 0 auto;
      color: var(--accent, #16a34a);
      font-size: .78rem;
      font-weight: 800;
      line-height: 1.3;
      text-align: right;
    }
    .batch-details {
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 10px;
      margin-bottom: 18px;
    }
    .batch-detail {
      min-width: 0;
      padding: 12px;
      background: var(--bg-light, #f8fafc);
      border-radius: var(--radius-sm, 10px);
      color: var(--text, #334155);
      font-size: .86rem;
      line-height: 1.4;
    }
    .batch-detail-label {
      display: block;
      margin-bottom: 5px;
      color: var(--text-muted, #64748b);
      font-size: .72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
    }
    .batch-card-action {
      margin-top: auto;
      display: flex;
      justify-content: flex-end;
    }
    .batch-card-action .btn { min-width: 120px; }

    @media (max-width: 900px) {
      .batch-list { grid-template-columns: 1fr; }
    }

    @media (max-width: 600px) {
      .batch-card { padding: 18px; }
      .batch-card-top { flex-direction: column; gap: 8px; }
      .batch-status { text-align: left; }
      .batch-details { grid-template-columns: 1fr; gap: 8px; }
      .batch-detail {
        display: grid;
        grid-template-columns: 82px 1fr;
        align-items: center;
        gap: 8px;
        padding: 10px 12px;
      }
      .batch-detail-label { margin: 0; }
      .batch-card-action,
      .batch-card-action .btn { width: 100%; }
    }

/*** end batch timings & schedule **/
@media (max-width: 580px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .brand-logo-img { height: 42px; }
}
@media (max-width:499px) {
  .hero-subtitle {
    font-size: 16px;
  }
  .hero-actions .btn {
      width: 92%;
      margin-left: -48px;
  }
  .form-control {
    width: 280px;
    padding: 14px;
    font-size:12px;
  }
  .calc-grid{
    display: contents;
  }
  .calc-result-box button.btn.btn-accent.full-width.btn-lg {
    white-space: normal;
    padding: 8px;
    font-size: 12px;
  }
  .contact-grid {
    display: block;
  }
  .form-card {
    margin-top:20px;
  }
  button.btn.btn-primary.btn-lg.full-width {
    padding: 8px;
    white-space: normal;
  }
  .nav-item.open > .dropdown-menu {
    display: contents;
  }
  
}
@media (max-width:767px) {
  .batch-desktop {
    display: none;
  }
}
@media (min-width:767px) {
  .batch-mobile {
    display: none;
  }
}