/* 
  TSDP Molomgonj Branch - Modern Design System & CSS Stylesheet
  Primary Palette: #3a86ff (Vibrant Blue), #0f172a (Deep Navy), Glassmorphism, Micro-animations
*/

:root {
  --primary: #3a86ff;
  --primary-hover: #2563eb;
  --primary-light: #eff6ff;
  --primary-gradient: linear-gradient(135deg, #3a86ff 0%, #4361ee 50%, #6366f1 100%);
  --accent-cyan: #06b6d4;
  --accent-magenta: #f43f5e;
  --secondary: #8338ec;
  --dark: #090d16;
  --dark-surface: #111827;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 35px rgba(58, 134, 255, 0.35);
  --glass-bg: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.6);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --font-main: 'Hind Siliguri', 'Outfit', sans-serif;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Section Common Styles */
.section {
  padding: 80px 0;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(58, 134, 255, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Sticky Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  padding: 0 !important;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

.nav-container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  height: 72px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 12px;
  position: relative;
}

/* Mobile drawer backdrop overlay */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.65);
  z-index: 9998;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mobile-nav-backdrop.show {
  display: block;
}

/* Hide mobile drawer & backdrop completely on desktop screens (>=993px) */
@media (min-width: 993px) {
  .nav-links-mobile,
  .mobile-nav-backdrop {
    display: none !important;
  }
}

/* Mobile drawer full-screen panel (sibling of header, not inside it) */
.nav-links-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 88vw);
  height: 100vh;
  background: #ffffff;
  flex-direction: column;
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: -8px 0 40px rgba(15,23,42,0.2);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links-mobile.open {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--light-bg);
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}

.mobile-nav-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--dark);
}

.mobile-nav-close {
  background: #ffffff;
  border: 1px solid var(--border-color);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.mobile-nav-close:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.nav-links-mobile .nav-link {
  font-size: 0.98rem;
  font-weight: 700;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  width: 100%;
  color: var(--text-main);
}

.nav-links-mobile .nav-link:hover,
.nav-links-mobile .nav-link.active {
  background: rgba(58, 134, 255, 0.05);
  color: var(--primary);
  padding-left: 24px;
}

.nav-links-mobile .btn-primary {
  margin: 20px;
  width: calc(100% - 40px);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}


.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(58, 134, 255, 0.2);
}

.brand-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  padding: 6px 4px;
  white-space: nowrap;
  letter-spacing: -0.2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 4px;
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 80%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Language Switcher Button */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  padding: 3px;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.lang-btn {
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  white-space: nowrap;
}

.lang-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(58, 134, 255, 0.4);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(58, 134, 255, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 134, 255, 0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  background: #ffffff;
  color: var(--dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--light-bg);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--dark);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 140px 0 90px 0;
  background: radial-gradient(circle at top right, rgba(58, 134, 255, 0.08) 0%, transparent 60%),
              radial-gradient(circle at bottom left, rgba(131, 56, 236, 0.05) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #ffffff;
  border: 1px solid rgba(58, 134, 255, 0.2);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-badge i {
  color: #22c55e;
}

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

.hero-title span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-icon {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Media / Frame */
.hero-media {
  position: relative;
}

.hero-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-floating-tag {
  position: absolute;
  bottom: 28px;
  left: 28px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-floating-tag i {
  font-size: 1.6rem;
  color: #22c55e;
}

.hero-floating-tag p {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
}

/* About Us Section */
.about {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img-box {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-badge-experience {
  position: absolute;
  top: -20px;
  right: -20px;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-badge-experience h3 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge-experience p {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.9;
}

.about-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-desc {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-highlights-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 28px 0 16px 0;
}

.about-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 600;
}

.about-highlight-item i {
  color: #22c55e;
  font-size: 1.1rem;
}

/* Our Courses Section */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.course-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #3a86ff, #6366f1, #06b6d4);
  opacity: 0.8;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(58, 134, 255, 0.25);
  border-color: rgba(58, 134, 255, 0.4);
}

.course-card:hover::before {
  height: 7px;
  opacity: 1;
}

.course-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.course-icon-box {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 14px rgba(58, 134, 255, 0.15);
  transition: var(--transition);
}

.course-official-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.course-official-icon svg {
  transition: var(--transition);
  border-radius: 14px;
}

.course-card:hover .course-official-icon svg {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 8px 16px rgba(58, 134, 255, 0.3));
}

.course-card:hover .course-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.35);
}

.course-badge {
  padding: 6px 14px;
  background: rgba(58, 134, 255, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(58, 134, 255, 0.2);
}

.course-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-short-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.65;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

.course-duration {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-details {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-details:hover {
  color: var(--primary-hover);
  gap: 10px;
}

/* Why Choose Us Section */
.why-us {
  background: var(--light-bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 24px;
}

.why-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border-color: rgba(58, 134, 255, 0.3);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 22px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.35);
  transform: scale(1.06);
}

.why-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Trainer Section */
.trainer {
  background: radial-gradient(circle at center, #1e293b 0%, #090d16 100%);
  color: #ffffff;
  padding: 100px 0;
}

.trainer .section-title {
  color: #ffffff;
}

.trainer .section-subtitle {
  color: #94a3b8;
}

.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .trainers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.trainer-card {
  width: 100%;
  margin: 0 auto;
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.trainer-img-box {
  position: relative;
  overflow: hidden;
}

.trainer-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.trainer-card:hover .trainer-img {
  transform: scale(1.04);
}

.trainer-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trainer-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.trainer-role {
  font-size: 1.05rem;
  color: #38bdf8;
  font-weight: 700;
  margin-bottom: 22px;
}

.trainer-bio {
  color: #cbd5e1;
  font-size: 1.02rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.trainer-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.skill-tag {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: var(--transition);
}

.skill-tag:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  color: #ffffff;
}

/* Gallery Section */
.gallery-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(58, 134, 255, 0.35);
  transform: translateY(-1px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  height: 280px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #ffffff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item.featured-item {
  grid-column: span 2;
  grid-row: span 2;
  height: 584px;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(58, 134, 255, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-zoom-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  color: #ffffff;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.gallery-overlay p {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateY(10px);
  transition: transform 0.4s ease 0.05s;
}

.gallery-item:hover .gallery-overlay h4,
.gallery-item:hover .gallery-overlay p {
  transform: translateY(0);
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item.featured-item {
    grid-column: span 2;
    grid-row: span 1;
    height: 340px;
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-item.featured-item {
    grid-column: span 1;
    height: 260px;
  }
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Student Achievements Section */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.achievement-card {
  background: #ffffff;
  padding: 38px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.achievement-card:hover {
  transform: translateY(-6px);
  border-color: rgba(58, 134, 255, 0.3);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
}

.achievement-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(58, 134, 255, 0.12) 0%, rgba(99, 102, 241, 0.08) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 22px auto;
  transition: var(--transition);
}

.achievement-card:hover .achievement-icon {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(58, 134, 255, 0.35);
  transform: scale(1.08) rotate(4deg);
}

.achievement-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.achievement-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Testimonials Section */
.testimonials {
  background: var(--light-bg);
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
  border-color: rgba(58, 134, 255, 0.3);
}

.rating-stars {
  color: #f59e0b;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

.testimonial-comment {
  font-size: 1.02rem;
  color: var(--text-main);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 28px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.user-info h5 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.user-info span {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

/* Admission CTA Banner */
.cta-section {
  padding: 90px 0;
  background: var(--dark);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-box {
  background: linear-gradient(135deg, #2563eb 0%, #4361ee 50%, #7c3aed 100%);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  box-shadow: 0 25px 60px -10px rgba(37, 99, 235, 0.4);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.cta-box p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Contact & Inquiry Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(58, 134, 255, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

.contact-detail p, .contact-detail a {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.contact-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border: 1.5px solid #cbd5e1;
  outline: none;
  background: #f8fafc;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Google Map Section */
.map-section {
  padding: 0 0 80px 0;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--border-color);
  height: 440px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: #090d16;
  color: #ffffff;
  padding: 80px 0 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-col h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 4px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
  padding-left: 8px;
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--primary-gradient);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(58, 134, 255, 0.4);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Lightbox & Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.lightbox-content {
  max-width: 900px;
  text-align: center;
}

.lightbox-img {
  max-height: 75vh;
  border-radius: var(--radius-md);
  margin: 0 auto;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  background: var(--dark);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s forwards;
}

.toast-success {
  border-left: 4px solid #22c55e;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Responsive Navigation for Laptops */
@media (max-width: 1280px) and (min-width: 993px) {
  .nav-links {
    gap: 8px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 4px 2px;
  }
  .brand-text h1 {
    font-size: 1rem;
  }
  .brand-text span {
    font-size: 0.72rem;
  }
  .btn-primary {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* Comprehensive Mobile & Tablet Responsiveness Fixes */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  .nav-container {
    padding: 0 12px;
    height: 64px;
    gap: 6px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .brand-text h1 {
    font-size: 0.88rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .brand-text span {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .nav-actions {
    gap: 6px;
    display: flex;
    align-items: center;
  }

  /* Force hide navbar top admission button on all mobile/tablet screens */
  .desktop-admission-btn, .navbar .btn-primary.desktop-admission-btn {
    display: none !important;
  }

  .lang-switcher {
    padding: 2px;
    flex-shrink: 0;
  }

  .lang-btn {
    padding: 3px 7px;
    font-size: 0.72rem;
  }

  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 8px;
    border: none;
    font-size: 1.05rem;
    color: var(--dark);
    cursor: pointer;
    flex-shrink: 0;
  }

  /* Experience badge positioning on mobile to prevent right overflow */
  .about-badge-experience {
    top: 14px;
    right: 14px;
    padding: 12px 18px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }

  .about-badge-experience h3 {
    font-size: 1.6rem;
  }

  .about-badge-experience p {
    font-size: 0.75rem;
  }

  /* Gallery Filters: Smooth Touch-Scroll Pill Tabs on Mobile */
  .gallery-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 6px 20px 6px 10px;
    border-radius: 18px;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .gallery-filters::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 18px;
    font-size: 0.84rem;
    border-radius: 50px;
    scroll-snap-align: start;
  }

  .hero-grid, .about-grid, .trainer-card, .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-highlights-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 85px 0 36px 0;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stat-card {
    padding: 14px 10px;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: 1.55rem;
  }

  .container {
    padding: 0 14px;
  }
}

@media (max-width: 480px) {
  .brand-text span {
    display: block !important;
    font-size: 0.62rem;
    line-height: 1.15;
    white-space: nowrap;
    opacity: 0.9;
  }

  .brand-text h1 {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .lang-btn {
    padding: 2px 6px;
    font-size: 0.7rem;
  }

  .toast-container {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .toast {
    font-size: 0.82rem;
    padding: 10px 12px;
  }

  .modal-box {
    padding: 18px 14px;
  }
}


