/* ===================================================================
   Akshara Ari Fashion Classes - Main Stylesheet
   Designed with Royal Indian Maroon & Gold Boutique Aesthetic
   =================================================================== */

:root {
  --primary: #781026;            /* Royal Crimson/Maroon */
  --primary-dark: #4d0a18;       /* Deep Burgundy */
  --primary-light: #9e1a35;      /* Vibrant Ruby */
  --gold: #d4af37;               /* Regal Metallic Gold */
  --gold-light: #f3e5ab;         /* Champagne Gold */
  --gold-dark: #a67c1e;          /* Antique Bronze Gold */
  --gold-glow: rgba(212, 175, 55, 0.35);
  
  --bg-cream: #faf7f2;           /* Soft Ivory/Cream Background */
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --text-main: #2b1f23;          /* Deep Espresso / Charcoal */
  --text-muted: #6b5c61;
  --text-light: #fbf7f4;
  --border-light: rgba(212, 175, 55, 0.25);
  
  --shadow-sm: 0 4px 12px rgba(77, 10, 24, 0.06);
  --shadow-md: 0 8px 24px rgba(77, 10, 24, 0.12);
  --shadow-lg: 0 16px 40px rgba(77, 10, 24, 0.18);
  --shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.3);

  --font-heading: 'Playfair Display', 'Cinzel', serif;
  --font-marathi-heading: 'Rozha One', 'Yatra One', serif;
  --font-body: 'Poppins', 'Noto Sans Devanagari', sans-serif;
  
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Subtle Indian Embroidery Background Motif */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(120, 16, 38, 0.03) 0%, transparent 20%);
  pointer-events: none;
  z-index: -1;
}

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

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

ul {
  list-style: none;
}

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

/* Typography Helpers */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

.lang-mr h1, .lang-mr h2, .lang-mr h3, .lang-mr h4 {
  font-family: var(--font-body);
  font-weight: 700;
}

.text-gold {
  color: var(--gold-dark);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(120, 16, 38, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(120, 16, 38, 0.5);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  color: #fff;
  box-shadow: var(--shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e5c358 0%, #bd8824 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
  color: #fff;
}

.btn-outline-gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--primary-dark);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}

/* ===================================================================
   Top Announcement Bar
   =================================================================== */
.top-bar {
  background: linear-gradient(90deg, #3d0713 0%, var(--primary-dark) 50%, #3d0713 100%);
  color: var(--gold-light);
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-announcement {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-badge {
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-links a {
  color: var(--gold-light);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
}

.top-links a:hover {
  color: #fff;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.lang-btn {
  background: none;
  border: none;
  color: #fff;
  padding: 3px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--gold);
  color: var(--primary-dark);
}

/* ===================================================================
   Header & Navigation
   =================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 12px rgba(120, 16, 38, 0.2);
}

.brand-text h2 {
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--primary-dark);
  font-family: var(--font-heading);
}

.brand-text span {
  font-size: 0.74rem;
  letter-spacing: 0.5px;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

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

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
}

/* ===================================================================
   Hero Section
   =================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, rgba(61, 7, 19, 0.93) 0%, rgba(120, 16, 38, 0.85) 50%, rgba(61, 7, 19, 0.95) 100%), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.hero-overlay-decor {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 75% 30%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.msme-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.msme-pill i {
  color: var(--gold);
}

.batch-pill {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3.2rem;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 20px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}

.hero-title .highlight {
  color: var(--gold);
  font-style: italic;
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 620px;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.hero-features-list {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--gold-light);
}

.hero-feature-item i {
  color: var(--gold);
  font-size: 1.1rem;
}

/* Hero Visual Card */
.hero-visual-card {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-frame:hover img {
  transform: scale(1.04);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  animation: float 4s ease-in-out infinite;
  z-index: 5;
}

.floating-badge.badge-top {
  top: -20px;
  left: -20px;
}

.floating-badge.badge-bottom {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

.badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ===================================================================
   Stats Counter Banner
   =================================================================== */
.stats-banner {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  padding: 36px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
  margin-top: -20px;
  border-radius: var(--radius-md);
  margin-left: 20px;
  margin-right: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 10px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--border-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--gold-dark);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===================================================================
   Section Headers
   =================================================================== */
.section {
  padding: 90px 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  position: relative;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.title-ornament::before,
.title-ornament::after {
  content: '';
  height: 1px;
  width: 50px;
  background: var(--gold);
}

.title-ornament i {
  color: var(--gold);
  font-size: 0.9rem;
}

/* ===================================================================
   About Section
   =================================================================== */
.about-section {
  background: #fff;
}

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

.about-image-card {
  position: relative;
}

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

.about-cert-card {
  position: absolute;
  bottom: -25px;
  right: -20px;
  background: #fff;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  max-width: 250px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.about-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.about-cert-card img {
  height: 110px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
}

.about-cert-card .cert-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.about-cert-card .cert-link {
  font-size: 0.72rem;
  color: var(--gold-dark);
  text-decoration: underline;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.founder-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  background: var(--bg-cream);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold);
  margin-bottom: 24px;
}

.founder-highlight .icon {
  font-size: 2rem;
  color: var(--primary);
}

.founder-highlight h4 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.founder-highlight p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 30px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.check-item i {
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-top: 3px;
}

/* ===================================================================
   Courses Section
   =================================================================== */
.courses-section {
  background: var(--bg-cream);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.course-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.course-card.featured {
  border: 2px solid var(--gold);
}

.course-card.featured::before {
  content: 'सर्वोत्कृष्ट / Most Popular';
  position: absolute;
  top: 15px;
  right: -30px;
  transform: rotate(45deg);
  background: var(--gold);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 35px;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.course-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrap img {
  transform: scale(1.08);
}

.course-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(77, 10, 24, 0.88);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  border: 1px solid var(--gold);
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-duration {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.course-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.course-topics {
  margin-bottom: 24px;
  border-top: 1px dashed var(--border-light);
  padding-top: 16px;
  flex-grow: 1;
}

.course-topics li {
  font-size: 0.86rem;
  color: var(--text-main);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-topics li i {
  color: var(--gold-dark);
  font-size: 0.8rem;
}

.course-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.course-footer .btn {
  flex: 1;
  font-size: 0.85rem;
  padding: 10px 14px;
}

/* ===================================================================
   Curriculum / Syllabus Roadmap
   =================================================================== */
.roadmap-section {
  background: #fff;
  padding: 80px 0;
}

.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
  position: relative;
}

.roadmap-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  border-top: 4px solid var(--gold);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.roadmap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.step-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: rgba(120, 16, 38, 0.2);
  position: absolute;
  top: 15px;
  right: 18px;
  font-family: var(--font-heading);
}

.roadmap-card h4 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.roadmap-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================================
   Why Choose Us
   =================================================================== */
.why-section {
  background: linear-gradient(135deg, #3d0713 0%, var(--primary-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.why-section .section-title {
  color: #fff;
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-card h4 {
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

/* ===================================================================
   Gallery Showcase Section
   =================================================================== */
.gallery-section {
  background: var(--bg-cream);
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 40px 0 35px;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 9px 22px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(120, 16, 38, 0.25);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 300px;
  border: 2px solid transparent;
  transition: var(--transition);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(61, 7, 19, 0.9) 0%, rgba(61, 7, 19, 0.2) 60%, transparent 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
}

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

.gallery-overlay h5 {
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.gallery-overlay span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.gallery-zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(212, 175, 55, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1rem;
}

/* ===================================================================
   Testimonials
   =================================================================== */
.testimonials-section {
  background: #fff;
}

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

.testimonial-card {
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border-left: 4px solid var(--gold);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.quote-icon {
  font-size: 2.2rem;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: 0.6;
}

.testimonial-text {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.student-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.student-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold-dark) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.student-meta h5 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.student-meta span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stars {
  color: #f39c12;
  font-size: 0.82rem;
  margin-top: 3px;
}

/* ===================================================================
   Certificate Modal & Preview Showcase
   =================================================================== */
.msme-section {
  background: linear-gradient(135deg, #fefbf7 0%, #f7ede2 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.msme-card-box {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

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

.msme-details-list {
  margin: 20px 0;
}

.msme-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.94rem;
}

.msme-row strong {
  color: var(--primary-dark);
}

.msme-row span {
  color: var(--text-muted);
  font-weight: 600;
}

.cert-thumbnail-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cert-thumb {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.cert-thumb:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.cert-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.cert-thumb .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(61, 7, 19, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: var(--transition);
  gap: 8px;
}

.cert-thumb:hover .overlay {
  opacity: 1;
}

/* ===================================================================
   Contact & Admission Form Section
   =================================================================== */
.contact-section {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  margin-top: 50px;
}

.contact-card {
  background: var(--bg-cream);
  padding: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-card-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

.contact-card .contact-item h5 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.contact-card .contact-item p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e191b;
  line-height: 1.7;
}

.contact-card .contact-item a {
  font-weight: 800;
  color: var(--primary);
}

.contact-card .contact-item span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-item h5 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--primary);
}

/* Admission Form */
.form-box {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.form-box h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.form-box p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: #fafafa;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(120, 16, 38, 0.12);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Map Frame */
.map-frame {
  margin-top: 30px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border-light);
  height: 250px;
}

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

/* ===================================================================
   FAQ Section
   =================================================================== */
.faq-section {
  background: var(--bg-cream);
}

.faq-container {
  max-width: 820px;
  margin: 45px auto 0;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--primary-dark);
}

.faq-question i {
  color: var(--gold-dark);
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--gold);
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding: 0 24px 20px;
  max-height: 300px;
}

/* ===================================================================
   Footer
   =================================================================== */
.main-footer {
  background: linear-gradient(135deg, #2a050d 0%, #170206 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 70px 0 25px;
  border-top: 3px solid var(--gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-msme-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--gold);
}

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

.footer-links a {
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.86rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
}

/* ===================================================================
   Floating Quick Buttons
   =================================================================== */
.floating-actions {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.float-btn.whatsapp {
  background: #25D366;
}

.float-btn.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.float-btn.call {
  background: var(--primary);
}

.float-btn.call:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(120, 16, 38, 0.5);
}

.float-btn.scroll-top {
  background: var(--gold-dark);
  display: none;
}

.float-btn.scroll-top.visible {
  display: flex;
}

/* Pulse Animation for WhatsApp */
.pulse {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ===================================================================
   Lightbox Modal for Certificate & Images
   =================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--gold);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 18px;
  font-size: 1.8rem;
  color: #fff;
  background: var(--primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  border: 1px solid var(--gold);
}

.lightbox-body {
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  padding: 10px;
}

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

.lightbox-caption {
  padding: 14px 20px;
  background: #faf7f2;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
  border-top: 1px solid var(--border-light);
}

/* ===================================================================
   Responsive Media Queries
   =================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-visual-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .roadmap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-links {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 30px;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transition: right 0.35s ease;
    z-index: 999;
  }
  .nav-menu.open {
    right: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .msme-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    position: static;
    margin-top: 15px;
    animation: none;
  }
}

@media (max-width: 480px) {
  .roadmap-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item::after {
    display: none;
  }
  .about-checklist {
    grid-template-columns: 1fr;
  }
  .hero-cta-group .btn {
    width: 100%;
  }
}
