/*
Theme Name: Master Baking Classes
Theme URI: https://masterbakingclasses.com/
Author: Custom Theme
Description: Custom WordPress theme for Master Baking Classes. Fully responsive, custom logo, Unsplash media, and smooth scrolling marquee.
Version: 2.0.0
Text Domain: master-baking-classes
*/

:root {
  --brown: #30190d;
  --dark: #231107;
  --dark-header: #1c0e06;
  --orange: #c85223;
  --orange-hover: #b33f10;
  --orange-light: #fbeee8;
  --gold: #d4a359;
  --cream: #f6efe3;
  --cream-light: #fcf8f2;
  --cream-card: #f9f4ea;
  --text: #2c1c14;
  --muted: #6e5e54;
  --white: #ffffff;
  --border: #e8dccb;
  --green: #25D366;
  --shadow-sm: 0 4px 15px rgba(48, 25, 13, 0.06);
  --shadow-md: 0 10px 30px rgba(48, 25, 13, 0.1);
  --shadow-lg: 0 20px 50px rgba(48, 25, 13, 0.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 50px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream-light);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--brown);
  margin-top: 0;
  font-weight: 700;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

/* Containers & Utilities */
.mbc-container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.mbc-section {
  padding: 90px 0;
}

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

.mbc-eyebrow {
  color: var(--orange);
  font: 700 13px/1.2 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mbc-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--brown);
}

.mbc-accent {
  color: var(--orange);
  font-style: italic;
}

.mbc-description {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 1.7;
}

/* Buttons */
.mbc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--orange);
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(200, 82, 35, 0.3);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mbc-btn:hover {
  transform: translateY(-3px);
  background: var(--orange-hover);
  box-shadow: 0 10px 25px rgba(200, 82, 35, 0.4);
}

.mbc-btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.mbc-btn-full {
  width: 100%;
}

.mbc-btn-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange) !important;
  box-shadow: none;
}

.mbc-btn-outline:hover {
  background: var(--orange);
  color: #ffffff !important;
}

.mbc-btn-whatsapp {
  background: var(--green) !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.mbc-btn-whatsapp:hover {
  background: #1eb954 !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Topbar */
.mbc-topbar {
  background: var(--dark-header);
  color: #e5d5ca;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mbc-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mbc-topbar-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mbc-topbar-info a {
  color: #ffffff;
  font-weight: 600;
}

.mbc-topbar-divider {
  opacity: 0.3;
}

.mbc-topbar-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s;
}

.mbc-topbar-btn:hover {
  background: var(--orange);
}

/* Site Header */
.mbc-site-header {
  background: var(--cream-light);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.mbc-site-header .mbc-container {
  width: min(1360px, 95%);
}

.mbc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.mbc-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--gold);
  display: grid;
  place-items: center;
}

.mbc-logo-text {
  display: flex;
  flex-direction: column;
}

.mbc-logo-title {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--brown);
  line-height: 1.1;
}

.mbc-logo-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--orange);
}

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

.mbc-nav-list a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mbc-nav-list a:hover {
  color: var(--orange);
}

/* Hero Section */
.mbc-hero {
  background: radial-gradient(circle at 90% 10%, rgba(200, 82, 35, 0.08), transparent 45%), var(--cream);
  padding: 60px 0 80px;
}

.mbc-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.mbc-pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.mbc-hero h1 {
  font-size: clamp(38px, 4.5vw, 62px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.mbc-hero-text {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 580px;
}

.mbc-check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 28px;
}

.mbc-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
}

.mbc-check-item span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.15);
  color: #1e8744;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.mbc-rating-badge {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  width: fit-content;
  margin-bottom: 30px;
  border: 1px solid var(--border);
}

.mbc-avatar-group {
  display: flex;
  align-items: center;
}

.mbc-mini-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
  margin-left: -8px;
}

.mbc-mini-avatar:first-child {
  margin-left: 0;
}

.mbc-rating-info {
  line-height: 1.3;
}

.mbc-stars {
  color: var(--orange);
  font-size: 13px;
  letter-spacing: 1px;
}

.mbc-rating-sub {
  font-size: 12px;
  color: var(--muted);
}

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

/* Hero Form Column */
.mbc-hero-form-col {
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.mbc-form-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.mbc-form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.mbc-form-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-light);
  display: grid;
  place-items: center;
  font-size: 20px;
}

.mbc-form-header h3 {
  font-size: 16px;
  margin: 0;
  line-height: 1.2;
}

.mbc-form-header p {
  font-size: 12px;
  color: var(--muted);
  margin: 3px 0 0;
}

.mbc-input-group {
  margin-bottom: 12px;
}

.mbc-input-group input,
.mbc-input-group select,
.mbc-input-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 14px;
  background: #faf7f2;
  transition: all 0.2s;
}

.mbc-input-group input:focus,
.mbc-input-group select:focus,
.mbc-input-group textarea:focus {
  border-color: var(--orange);
  background: #ffffff;
}

.mbc-phone-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.mbc-country-code {
  padding: 12px 12px;
  background: #eee4d5;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--brown);
}

.mbc-phone-group input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Stats Counter Bar */
.mbc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
  background: #ffffff;
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.mbc-stat-card {
  text-align: center;
}

.mbc-stat-card strong {
  display: block;
  font-size: 38px;
  font-family: 'Playfair Display', serif;
  color: var(--orange);
  line-height: 1;
}

.mbc-stat-card span {
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

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

.mbc-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.mbc-feature {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.mbc-feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.mbc-feature-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--orange);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;
}

.mbc-feature h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.mbc-feature p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* Certifications / Accreditations Bar */
.mbc-certifications {
  background: #ebdcc9;
  padding: 60px 0;
}

.mbc-cert-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.mbc-cert-badge {
  background: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid #dfcfb8;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 170px;
}

.mbc-cert-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--brown);
}

.mbc-cert-sub {
  font-size: 11px;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Featured Courses Section */
.mbc-courses {
  background: var(--cream);
}

.mbc-course-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.mbc-course-card {
  flex: 1 1 360px;
  max-width: 430px;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mbc-course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.mbc-course-featured {
  border: 2px solid var(--orange);
}

.mbc-course-badge-top {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--orange);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

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

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

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

.mbc-course-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(48, 25, 13, 0.85);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}

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

.mbc-course-body h3 {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.mbc-course-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

.mbc-course-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.mbc-course-bullets li {
  font-size: 13px;
  color: var(--brown);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mbc-course-bullets li::before {
  content: "✔";
  color: var(--orange);
  font-weight: bold;
}

.mbc-course-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #f2e7d8;
}

.mbc-course-duration {
  font-size: 16px;
  font-weight: 800;
  color: var(--brown);
}

.mbc-course-note {
  margin-top: 40px;
  text-align: center;
  font-size: 15px;
  color: var(--muted);
  background: #ffffff;
  padding: 16px 25px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  display: inline-block;
}

.mbc-course-note a {
  color: var(--orange);
  font-weight: 700;
}

/* Dark CTA Strip */
.mbc-dark-cta {
  background: var(--dark);
  color: #ffffff;
  padding: 45px 0;
}

.mbc-dark-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.mbc-dark-cta-text h3 {
  color: #ffffff;
  font-size: 26px;
  margin: 0 0 6px;
}

.mbc-dark-cta-text p {
  margin: 0;
  color: #d1c0b5;
  font-size: 15px;
}

.mbc-dark-cta-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
}

/* Alumni Placement & Infinite Left-Scrolling Marquee Section */
.mbc-alumni {
  background: var(--cream-light);
  overflow: hidden;
}

.mbc-marquee-wrap {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 25px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 50px;
  display: flex;
}

.mbc-marquee-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  animation: mbc-scroll-left 28s linear infinite;
}

.mbc-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes mbc-scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.mbc-marquee-item {
  flex-shrink: 0;
}

.mbc-brand-card {
  background: var(--cream-card);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 15px;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.mbc-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.mbc-result-card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.mbc-result-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 800;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}

.mbc-result-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.mbc-result-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* Meet Instructor Section */
.mbc-instructor {
  background: #ffffff;
}

.mbc-instructor-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 60px;
}

.mbc-instructor-media {
  position: relative;
}

.mbc-instructor-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.mbc-instructor-experience {
  position: absolute;
  bottom: 25px;
  right: -20px;
  background: var(--brown);
  color: #ffffff;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gold);
}

.mbc-instructor-experience strong {
  display: block;
  font-size: 26px;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.mbc-instructor-experience span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mbc-instructor-content h2 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 20px;
}

.mbc-instructor-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.mbc-instructor-box {
  background: var(--cream-card);
  padding: 24px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--orange);
  margin: 25px 0 35px;
}

.mbc-instructor-box strong {
  color: var(--brown);
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.mbc-instructor-box p {
  font-size: 14px;
  margin: 0;
}

/* Testimonials Section */
.mbc-testimonials {
  background: var(--cream);
}

.mbc-testimonial-slider-wrap {
  position: relative;
  margin-top: 35px;
}

.mbc-testimonial-slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 10px 0;
}

.mbc-testimonial-track {
  display: flex;
  gap: 25px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.mbc-testimonial-track .mbc-testimonial-card {
  flex: 0 0 calc((100% - 50px) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: #ffffff;
  padding: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  height: 480px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mbc-testimonial-track .mbc-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mbc-testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.mbc-testimonial-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 20px;
  flex-grow: 1;
}

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

.mbc-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.mbc-avatar img, img.mbc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.mbc-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brown);
  border: 1px solid var(--border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  user-select: none;
}

.mbc-slider-nav:hover {
  background: var(--orange);
  color: #ffffff;
  border-color: var(--orange);
  box-shadow: 0 6px 20px rgba(200, 82, 35, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.mbc-slider-prev {
  left: -20px;
}

.mbc-slider-next {
  right: -20px;
}

.mbc-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}

.mbc-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.mbc-slider-dot.active {
  width: 26px;
  border-radius: 10px;
  background: var(--orange);
}

.mbc-student strong {
  display: block;
  color: var(--brown);
  font-size: 15px;
}

.mbc-student span {
  font-size: 12px;
  color: var(--muted);
}

/* Instagram Feed Section */
.instagram-section {
  padding: 80px 0;
  background: var(--cream-light);
  text-align: center;
}

.instagram-section .container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.instagram-section h2 {
  font-size: clamp(32px, 4vw, 44px);
  color: var(--brown);
  margin-bottom: 30px;
}

.mbc-testimonial-track .mbc-video-card-slide {
  flex: 0 0 calc((100% - 50px) / 3);
  min-width: 0;
  box-sizing: border-box;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 420px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mbc-testimonial-track .mbc-video-card-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mbc-video-card-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

/* Video Showcase Section */
.mbc-video-section {
  background: #ffffff;
}

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

.mbc-feature-list {
  list-style: none;
  padding: 0;
  margin: 25px 0 35px;
}

.mbc-feature-list li {
  font-size: 15px;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 12px;
}

.mbc-video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 380px;
}

.mbc-video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbc-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.mbc-play-button {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 24px;
  padding-left: 4px;
  box-shadow: 0 0 0 10px rgba(200, 82, 35, 0.3);
  transition: transform 0.3s;
}

.mbc-play-overlay:hover .mbc-play-button {
  transform: scale(1.1);
}

.mbc-play-overlay span {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.mbc-video-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Student Gallery Section */
.mbc-gallery {
  background: var(--cream-light);
}

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

.mbc-gallery-item {
  height: 340px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

/* FAQ Accordion Section */
.mbc-faq {
  background: var(--cream);
}

.mbc-faq-list {
  max-width: 860px;
  margin: 0 auto 40px;
}

.mbc-faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.mbc-faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--brown);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.mbc-plus {
  font-size: 22px;
  color: var(--orange);
  transition: transform 0.3s;
}

.mbc-faq-item.active .mbc-plus {
  transform: rotate(45deg);
}

.mbc-faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.mbc-faq-item.active .mbc-faq-answer {
  display: block;
}

.mbc-faq-footer {
  text-align: center;
}

/* Contact & Form Section */
.mbc-contact {
  background: var(--dark);
  color: #ffffff;
}

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

.mbc-contact-info h2 {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  margin-bottom: 18px;
}

.mbc-contact-info p {
  color: #d1c0b5;
  font-size: 16px;
  line-height: 1.7;
}

.mbc-contact-details {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.mbc-contact-icon {
  font-size: 22px;
}

.mbc-contact-item strong {
  color: #ffffff;
  display: block;
  font-size: 15px;
}

.mbc-contact-item p {
  margin: 2px 0 0;
  font-size: 14px;
}

.mbc-contact-item a {
  color: var(--orange-light);
}

.mbc-contact-form-wrap {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.mbc-contact-form h3 {
  font-size: 24px;
  margin-bottom: 6px;
}

.mbc-contact-form p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.mbc-contact-form textarea {
  height: 110px;
  resize: vertical;
}

/* Footer Section */
.mbc-footer {
  background: var(--dark-header);
  color: #bfaea3;
  padding: 60px 0 25px;
  font-size: 14px;
}

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

.mbc-logo-light .mbc-logo-title {
  color: #ffffff;
}

.mbc-footer h4 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
}

.mbc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.mbc-footer-links a:hover {
  color: var(--orange);
}

.mbc-footer a {
  color: #ffffff;
}

.mbc-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  text-align: center;
  font-size: 13px;
  color: #8c7b70;
}

/* Floating Sticky Buttons */
.mbc-floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.mbc-float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.mbc-float-btn:hover {
  transform: scale(1.1);
}

.mbc-float-whatsapp {
  background: var(--green);
}

.mbc-float-call {
  background: var(--orange);
}

/* Social Proof Toast Popup (Bottom Left) */
.mbc-social-proof {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 12px 18px 12px 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  max-width: 320px;
}

.mbc-social-proof.show {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.mbc-proof-close {
  position: absolute;
  top: 4px;
  right: 8px;
  background: none;
  border: none;
  font-size: 16px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.mbc-proof-dot {
  font-size: 12px;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.mbc-proof-content {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.mbc-proof-content strong {
  font-size: 13px;
  color: var(--brown);
  font-weight: 700;
}

.mbc-proof-content span {
  font-size: 11px;
  color: var(--muted);
}

/* Mobile Hamburger Toggle */
.mbc-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.mbc-menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--brown);
  border-radius: 2px;
  transition: all 0.3s;
}

.mbc-menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mbc-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mbc-menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .mbc-hero-grid,
  .mbc-instructor-grid,
  .mbc-video-grid,
  .mbc-contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mbc-form-card {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 25px;
  }
  .mbc-feature-grid,
  .mbc-course-grid,
  .mbc-results-grid {
    grid-template-columns: 1fr 1fr;
  }
  .mbc-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mbc-video-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mbc-testimonial-track .mbc-testimonial-card,
  .mbc-testimonial-track .mbc-video-card-slide {
    flex: 0 0 calc((100% - 25px) / 2);
  }
}

@media (max-width: 640px) {
  .mbc-testimonial-track .mbc-testimonial-card,
  .mbc-testimonial-track .mbc-video-card-slide {
    flex: 0 0 100%;
  }
  .mbc-slider-prev {
    left: -10px;
  }
  .mbc-slider-next {
    right: -10px;
  }
}

@media (max-width: 860px) {
  .mbc-menu-toggle {
    display: flex;
  }
  .mbc-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-bottom: 1px solid var(--border);
    padding: 25px 0;
    display: none;
  }
  .mbc-nav.active {
    display: block !important;
  }
  .mbc-nav-list {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
  .mbc-header-cta {
    display: none;
  }
}

@media (max-width: 600px) {
  .mbc-section {
    padding: 55px 0;
  }
  .mbc-hero {
    padding: 30px 0 50px;
  }
  .mbc-hero h1 {
    font-size: 34px;
  }
  .mbc-stats {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px 15px;
  }
  .mbc-stat-card strong {
    font-size: 28px;
  }
  .mbc-feature-grid,
  .mbc-course-grid,
  .mbc-results-grid,
  .mbc-testimonial-grid,
  .mbc-footer-grid {
    grid-template-columns: 1fr;
  }
  .mbc-dark-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .mbc-hero-img-box {
    height: 320px;
  }
  .mbc-topbar-info span:nth-child(3) {
    display: none;
  }
  .mbc-social-proof {
    left: 15px;
    right: 15px;
    bottom: 85px;
    max-width: none;
  }
  .mbc-floating-actions {
    bottom: 15px;
    right: 15px;
  }
}

/* Modal Lead Popup Overlay - HIDDEN BY DEFAULT */
.mbc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 8, 4, 0.8);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mbc-modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
}

.mbc-modal-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 840px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.mbc-modal-overlay.active .mbc-modal-container {
  transform: scale(1);
}

.mbc-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #000000;
  color: #ffffff;
  border: none;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 10;
  line-height: 1;
  transition: transform 0.2s;
}

.mbc-modal-close:hover {
  transform: scale(1.1);
}

.mbc-modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}

/* Left Banner Poster */
.mbc-modal-banner {
  background: linear-gradient(135deg, #0d2850 0%, #153a70 100%);
  color: #ffffff;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.mbc-banner-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mbc-banner-logo {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
}

.mbc-banner-tag {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  width: fit-content;
  color: #ffffff;
}

.mbc-banner-main {
  margin: 15px 0;
}

.mbc-banner-main h2 {
  font-size: 24px;
  color: var(--gold);
  margin: 0;
  letter-spacing: 1px;
  line-height: 1;
}

.mbc-banner-main h1 {
  font-size: 32px;
  color: #ffffff;
  margin: 4px 0 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.mbc-banner-pill {
  background: #ffffff;
  color: #0d2850;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  display: inline-block;
  margin-bottom: 10px;
}

.mbc-banner-cta {
  background: var(--orange);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 800;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(200, 82, 35, 0.4);
}

.mbc-banner-img-box {
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 14px 0;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.mbc-banner-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mbc-banner-footer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 10px;
}

/* Right Form Section */
.mbc-modal-form-wrap {
  padding: 30px 25px;
}

.mbc-modal-header {
  margin-bottom: 18px;
  text-align: center;
}

.mbc-modal-icon {
  font-size: 26px;
  margin-bottom: 4px;
}

.mbc-modal-header h3 {
  font-size: 20px;
  margin: 0 0 4px;
}

.mbc-modal-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

.mbc-modal-form-wrap label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.mbc-wa-svg {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

@media (max-width: 768px) {
  .mbc-modal-grid {
    grid-template-columns: 1fr;
  }
  .mbc-modal-banner {
    display: none;
  }
}

/* Dual Showcase Carousels (Baking & Cooking) */
.mbc-carousel-section {
  padding: 60px 0;
  background: var(--cream-light);
  position: relative;
}

.mbc-carousel-section.mbc-bg-alt {
  background: #f4efe6;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mbc-carousel-scroll-wrap {
  position: relative;
  width: 100%;
  margin-top: 35px;
  padding: 0 60px;
}

.mbc-carousel-scroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 24px;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 5px 25px 5px;
  touch-action: pan-x pan-y;
}

.mbc-carousel-scroll::-webkit-scrollbar {
  display: none;
}

.mbc-carousel-card {
  width: 300px;
  height: 360px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #ffffff;
}

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

.mbc-carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #ffffff;
  transition: transform 0.5s ease;
  display: block;
}

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

.mbc-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #ffffff;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.mbc-carousel-btn:hover {
  background: var(--dark);
  transform: translateY(-50%) scale(1.1);
}

.mbc-carousel-btn.mbc-prev {
  left: 5px;
}

.mbc-carousel-btn.mbc-next {
  right: 5px;
}

@media (max-width: 768px) {
  .mbc-carousel-scroll-wrap {
    padding: 0 45px;
  }
  .mbc-carousel-scroll {
    gap: 16px;
  }
  .mbc-carousel-card {
    width: 250px;
    height: 310px;
  }
  .mbc-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  .mbc-carousel-btn.mbc-prev {
    left: 4px;
  }
  .mbc-carousel-btn.mbc-next {
    right: 4px;
  }
}

@media (max-width: 480px) {
  .mbc-carousel-scroll-wrap {
    padding: 0 40px;
  }
  .mbc-carousel-card {
    width: 220px;
    height: 280px;
  }
}





/* Internship Section */
.mbc-internship-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 800px; margin: 40px auto 0; }
.mbc-internship-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); padding: 36px 28px; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.mbc-internship-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mbc-internship-icon { font-size: 44px; margin-bottom: 12px; }
.mbc-internship-card h3 { color: var(--brown); margin-bottom: 10px; }
