/* ============================================================
   AimSpot International Skill Development Academy — Stylesheet
   Design: Clean, minimal, purple-themed
   ============================================================ */

/* ---------- CSS Custom Properties (Theme Tokens) ---------- */
:root {
  --color-primary: #6A0DAD;
  --color-secondary: #9B59B6;
  --color-bg-light: #F3E9F9;
  --color-white: #FFFFFF;
  --color-text: #2C1338;
  --color-cta: #7D3C98;
  --color-border: #E8D5F0;
  --color-shadow: rgba(106, 13, 173, 0.1);
  --color-shadow-md: rgba(106, 13, 173, 0.15);
  --color-overlay: rgba(44, 19, 56, 0.85);

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 50px;

  --shadow-card: 0 4px 12px var(--color-shadow);
  --shadow-card-hover: 0 8px 24px var(--color-shadow-md);

  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  --section-padding: 80px;
  --container-max: 1200px;
  --header-height: 80px;
  --header-height-shrunk: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: 2.75rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

/* ---------- Utility ---------- */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-header p {
  color: var(--color-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-cta);
  border-color: var(--color-cta);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--color-shadow-md);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1EBE5A;
  border-color: #1EBE5A;
  transform: translateY(-2px);
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  height: var(--header-height-shrunk);
  box-shadow: var(--shadow-card);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  overflow: hidden;
  min-width: 0;
}

.header-brand .logo {
  max-height: 50px;
  transition: max-height var(--transition-base);
  border-radius: 50%;
}

.header.scrolled .header-brand .logo {
  max-height: 40px;
}

.header-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  white-space: nowrap;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  color: var(--color-text);
  transition: all var(--transition-base);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
  background: var(--color-bg-light);
}


/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  min-width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1100;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 40px;
  background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(106, 13, 173, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 580px;
}

.hero-content h1 {
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-cta);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.hero-supporting {
  font-size: 1.05rem;
  color: #5A3D6E;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-card-hover);
  max-width: 480px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

.hero-image-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

/* Hero image placeholder styling */
.hero-image-placeholder {
  width: 100%;
  height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  gap: 12px;
  padding: 24px;
  text-align: center;
}

.hero-image-placeholder svg {
  opacity: 0.7;
}

.hero-image-placeholder span {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Stat Strip */
.stat-strip {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  padding: 28px 36px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: var(--color-border);
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary);
  display: block;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-top: 4px;
  display: block;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.about-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-text {
  flex: 1.2;
}

.about-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #4A2D5A;
}

.founder-card {
  flex: 0.8;
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.founder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.founder-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}

/* Founder photo placeholder */
.founder-photo-placeholder {
  width: 100%;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  gap: 8px;
}

.founder-photo-placeholder svg {
  opacity: 0.7;
}

.founder-photo-placeholder span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.founder-info {
  padding: 24px 20px;
}

.founder-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.founder-title {
  font-size: 0.9rem;
  color: var(--color-secondary);
  margin-bottom: 16px;
  font-weight: 500;
}

.founder-quote {
  font-style: italic;
  font-size: 0.92rem;
  color: var(--color-text);
  line-height: 1.6;
  padding: 0 8px;
  position: relative;
}

.founder-quote::before {
  content: '\201C';
  font-size: 2.5rem;
  color: var(--color-primary);
  opacity: 0.3;
  position: absolute;
  top: -16px;
  left: -4px;
  font-family: Georgia, serif;
}

.established-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 18px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* ============================================================
   COURSES SECTION
   ============================================================ */
.courses {
  padding: var(--section-padding) 0;
  background: var(--color-bg-light);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.course-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(106, 13, 173, 0.3);
}

.course-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1 1 58%;
  min-width: 0;
}

.course-icon {
  width: 48px;
  height: 48px;
  background: var(--color-bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.course-card:hover .course-icon {
  background: var(--color-primary);
}

.course-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.course-card:hover .course-icon svg {
  stroke: var(--color-white);
}

.course-card h3 {
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 1.18rem;
  line-height: 1.35;
}

.course-card .course-desc {
  font-size: 0.9rem;
  color: #5A3D6E;
  margin-bottom: 16px;
  line-height: 1.6;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.course-meta span {
  font-size: 0.82rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.course-meta svg {
  width: 15px;
  height: 15px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.course-body .btn-whatsapp {
  align-self: flex-start;
  margin-top: auto;
}

.course-media {
  flex: 0 0 42%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-bg-light), #e8d5f0);
}

.course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
}

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

/* 5th course card spans 2 columns on wide screens */
@media (min-width: 1025px) {
  .course-card:last-child:nth-child(odd) {
    grid-column: span 2;
  }
  .course-card:last-child:nth-child(odd) .course-body {
    flex: 1 1 64%;
    padding: 32px 30px;
  }
  .course-card:last-child:nth-child(odd) .course-media {
    flex: 0 0 36%;
  }
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.why-card {
  background: var(--color-bg-light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  background: var(--color-white);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.why-card:hover .why-icon {
  background: var(--color-primary);
}

.why-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-base);
}

.why-card:hover .why-icon svg {
  stroke: var(--color-white);
}

.why-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.why-card p {
  font-size: 0.9rem;
  color: #5A3D6E;
  margin-bottom: 0;
}

/* ============================================================
   STAFF SECTION
   ============================================================ */
.staff {
  padding: var(--section-padding) 0;
  background: var(--color-bg-light);
}

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

.staff-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.staff-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* Staff photo placeholder */
.staff-photo-placeholder {
  width: 100%;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  gap: 8px;
}

.staff-photo-placeholder svg {
  opacity: 0.6;
}

.staff-photo-placeholder span {
  font-size: 0.8rem;
  opacity: 0.6;
}

.staff-info {
  padding: 20px 16px;
}

.staff-info h3 {
  font-size: 1.05rem;
  color: var(--color-text);
  margin-bottom: 4px;
}

.staff-info p {
  font-size: 0.88rem;
  color: var(--color-secondary);
  margin-bottom: 0;
  font-weight: 500;
}

/* ============================================================
   GALLERY SECTION
   ============================================================ */
.gallery {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

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

.gallery-item {
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-card-hover);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(106, 13, 173, 0);
  transition: background var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover::after {
  background: rgba(106, 13, 173, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Gallery placeholder */
.gallery-placeholder {
  width: 100%;
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-light), var(--color-border));
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  gap: 8px;
  text-align: center;
  padding: 12px;
}

.gallery-placeholder svg {
  opacity: 0.5;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--color-overlay);
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-card);
}

/* Lightbox placeholder img */
.lightbox-content .gallery-placeholder {
  width: 60vw;
  height: 60vh;
  max-width: 800px;
  max-height: 600px;
  border-radius: var(--radius-card);
  font-size: 1rem;
  background: var(--color-bg-light);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-base);
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--color-white);
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(4px);
}

.lightbox-arrow:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.5);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* ============================================================
   TESTIMONIALS / REVIEWS SECTION (Google Reviews)
   ============================================================ */
.reviews {
  padding: var(--section-padding) 0;
  background: var(--color-bg-light);
}

/* Google Rating Summary Bar */
.google-rating-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px 32px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.google-rating-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.google-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 24px;
  border-right: 2px solid var(--color-border);
}

.google-logo-badge span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text);
}

.google-rating-score {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.google-rating-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--color-text);
  line-height: 1;
}

.google-rating-stars {
  display: flex;
  gap: 2px;
}

.google-rating-stars .star {
  font-size: 1.4rem;
  color: var(--color-border);
  line-height: 1;
}

.google-rating-stars .star.filled {
  color: #F5A623;
}

.google-rating-stars .star.half {
  background: linear-gradient(90deg, #F5A623 50%, var(--color-border) 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.google-review-count {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.google-review-btn {
  flex-shrink: 0;
}

/* Carousel */
.carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px 48px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  text-align: center;
  box-sizing: border-box;
  position: relative;
}

/* Google badge on each card */
.testimonial-card .review-source {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.testimonial-card .review-source svg {
  flex-shrink: 0;
}

.testimonial-stars {
  color: #F5A623;
  font-size: 1.3rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-stars .star-empty {
  opacity: 0.3;
}

.testimonial-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
  display: block;
  margin-bottom: -8px;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1rem;
  margin-bottom: 4px;
}

.testimonial-course {
  font-size: 0.85rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.testimonial-time {
  font-size: 0.78rem;
  color: #999;
  margin-top: 4px;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1.1rem;
}

.carousel-arrow:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.carousel-dot.active {
  background: var(--color-primary);
  width: 28px;
  border-radius: 5px;
}

/* View All Link */
.google-view-all {
  text-align: center;
  margin-top: 32px;
}

.google-all-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-primary);
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.google-all-link:hover {
  color: var(--color-cta);
  text-decoration: underline;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-white);
}

.contact-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.contact-details {
  flex: 1;
}

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

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.92rem;
  color: #5A3D6E;
  margin-bottom: 0;
}

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

.contact-map {
  margin-top: 28px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* Contact Form */
.contact-form-wrap {
  flex: 1;
  background: var(--color-bg-light);
  padding: 36px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group label .required {
  color: #E74C3C;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(106, 13, 173, 0.1);
}

.form-control.error {
  border-color: #E74C3C;
}

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

.form-error {
  font-size: 0.8rem;
  color: #E74C3C;
  margin-top: 4px;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-success {
  display: none;
  padding: 16px 20px;
  background: #E8F8F0;
  border: 1px solid #27AE60;
  border-radius: var(--radius-btn);
  color: #1E8449;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

.form-success.visible {
  display: block;
}

/* ============================================================
   SOCIAL MEDIA STRIP
   ============================================================ */
.social-strip {
  padding: 40px 0;
  background: var(--color-bg-light);
  text-align: center;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.social-icon:hover {
  background: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-primary);
  transition: fill var(--transition-base);
}

.social-icon:hover svg {
  fill: var(--color-white);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-text);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
  max-height: 70px;
  margin-bottom: 16px;
  border-radius: 50%;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}

.footer h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 20px;
  position: relative;
}

.footer h4::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
  margin-top: 8px;
}

.footer-links a {
  display: block;
  padding: 5px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-base);
}

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

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-secondary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.6);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social .social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  box-shadow: none;
}

.footer-social .social-icon svg {
  fill: rgba(255,255,255,0.7);
  width: 18px;
  height: 18px;
}

.footer-social .social-icon:hover {
  background: var(--color-primary);
}

.footer-social .social-icon:hover svg {
  fill: var(--color-white);
}

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom span {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-size: 0.8rem;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-base);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  animation: none;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* Floating Enroll Now Button */
.enroll-float {
  position: fixed;
  bottom: 100px;
  right: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(106, 13, 173, 0.35);
  transition: all var(--transition-base);
  animation: enrollPulse 3s infinite;
  white-space: nowrap;
}

.enroll-float:hover {
  background: var(--color-cta);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 24px rgba(106, 13, 173, 0.45);
  animation: none;
}

.enroll-float svg {
  width: 20px;
  height: 20px;
  stroke: var(--color-white);
  flex-shrink: 0;
}

@keyframes enrollPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(106, 13, 173, 0.35); }
  50% { box-shadow: 0 4px 24px rgba(106, 13, 173, 0.5), 0 0 0 10px rgba(106, 13, 173, 0.08); }
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 160px;
  right: 34px;
  z-index: 900;
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
}

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

.back-to-top:hover {
  background: var(--color-cta);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-white);
  fill: none;
  stroke-width: 2.5;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Mobile-First Adjustments)
   ============================================================ */

/* ----- Max 1024px (Tablet) ----- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .course-card {
    flex-direction: row;
  }

  .course-media {
    flex: 0 0 38%;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .lightbox-prev { left: -56px; }
  .lightbox-next { right: -56px; }
}

/* ----- Max 768px (Mobile Landscape / Small Tablet) ----- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    padding: 100px 32px 40px;
    gap: 4px;
    z-index: 1050;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-menu.open {
    right: 0;
  }

  .mobile-overlay {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 12px;
    text-align: center;
  }

  /* Courses Mobile */
  .course-card {
    flex-direction: column-reverse;
  }

  .course-media {
    flex: none;
    height: 220px;
    width: 100%;
  }

  .course-body {
    padding: 24px 20px;
  }

  /* Hero */
  .hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image-card {
    max-width: 100%;
  }

  .stat-strip {
    flex-wrap: wrap;
    gap: 0;
    padding: 20px 16px;
  }

  .stat-item {
    flex: 0 0 50%;
    padding: 12px 8px;
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  /* About */
  .about-inner {
    flex-direction: column;
  }

  /* Contact */
  .contact-inner {
    flex-direction: column;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Lightbox arrows */
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }

  .lightbox-content {
    max-width: 95vw;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 28px 24px;
  }

  /* Google Rating Summary */
  .google-rating-summary {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }

  .google-rating-left {
    flex-direction: column;
    gap: 16px;
  }

  .google-logo-badge {
    border-right: none;
    padding-right: 0;
    justify-content: center;
  }

  .google-rating-score {
    justify-content: center;
  }
}

/* ----- Max 480px (Small Mobile) ----- */
@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }

  h1 { font-size: 1.55rem; }
  h2 { font-size: 1.3rem; }

  .container {
    padding: 0 16px;
  }

  .courses-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .contact-form-wrap {
    padding: 24px 20px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .enroll-float {
    bottom: 82px;
    right: 16px;
    padding: 10px 18px;
    font-size: 0.82rem;
  }

  .back-to-top {
    width: 42px;
    height: 42px;
    right: 28px;
    bottom: 136px;
  }

  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  .google-rating-number {
    font-size: 1.8rem;
  }

  .google-rating-summary {
    padding: 16px 20px;
  }

  .lightbox-arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-item img,
  .gallery-placeholder {
    height: 180px;
  }
}
