/* MARY'S LITTLE LAMBS LEARNING CENTER, LLC - Main Stylesheet */
:root {
  --primary: #1e3a8a;       /* Deep Trust Blue */
  --primary-light: #3b82f6; /* Bright Sky Blue */
  --secondary: #f59e0b;     /* Warm Sunshine Amber / Yellow */
  --secondary-hover: #d97706;
  --accent: #10b981;        /* Fresh Mint Green */
  --dark: #0f172a;          /* Slate Dark */
  --text: #334155;          /* Body Text */
  --light-bg: #f8fafc;      /* Clean off-white */
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 12px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-light);
}

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

/* TOP ANNOUNCEMENT BAR */
.top-bar {
  background: var(--dark);
  color: #e2e8f0;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-contact {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-contact a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact a:hover {
  color: var(--secondary);
}

.top-bar-badge {
  background: var(--secondary);
  color: #0f172a;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.75rem;
}

/* HEADER & NAVBAR */
.header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
  flex-shrink: 0;
}

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

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: #334155;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid #cbd5e1;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1e40af;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #0f172a;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: #0f172a;
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  border-color: #ffffff;
  color: #ffffff;
  background: transparent;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95), rgba(15, 23, 42, 0.92)),
              url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><circle cx="50" cy="50" r="40" fill="%23fff"/></svg>');
  color: #ffffff;
  padding: 80px 0;
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero p {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 30px;
  max-width: 600px;
}

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

.hero-card {
  background: #ffffff;
  color: var(--dark);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 12px;
}

/* SECTION COMMONS */
.section {
  padding: 80px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.section-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.25;
}

.section-subtitle {
  color: #64748b;
  font-size: 1.1rem;
}

/* CARDS & GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.card-img-top {
  border-radius: 8px;
  margin-bottom: 20px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #e2e8f0;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

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

.card-text {
  color: #64748b;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
}

.card-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  margin-right: 4px;
}

/* VIDEO CLASS BADGE */
.video-class-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.video-player-mockup {
  background: #0f172a;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}

.video-overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  background: linear-gradient(rgba(15,23,42,0.4), rgba(15,23,42,0.8));
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--secondary);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  border: none;
}

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

/* NOTICE BOX / CALLOUT */
.notice-box {
  background: #fffbeb;
  border-left: 5px solid var(--secondary);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.notice-box.blue {
  background: #eff6ff;
  border-left-color: var(--primary);
}

.notice-title {
  font-weight: 800;
  color: #92400e;
  font-size: 1.15rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-box.blue .notice-title {
  color: var(--primary);
}

.notice-text {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

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

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

/* ALERTS */
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-weight: 500;
}

.alert-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* POLICY PAGES */
.policy-header {
  background: var(--dark);
  color: white;
  padding: 60px 0 40px;
  text-align: center;
}

.policy-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.policy-meta {
  color: #94a3b8;
  font-size: 0.95rem;
  font-weight: 500;
}

.policy-content {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: -30px auto 60px;
  max-width: 900px;
  border: 1px solid var(--border-color);
}

.policy-content h2 {
  font-size: 1.5rem;
  color: var(--dark);
  margin: 30px 0 15px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 8px;
}

.policy-content p, .policy-content ul {
  margin-bottom: 16px;
  color: #475569;
}

.policy-content ul {
  padding-left: 24px;
}

.policy-content li {
  margin-bottom: 8px;
}

/* FOOTER */
.footer {
  background: #090d16;
  color: #94a3b8;
  padding-top: 60px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.footer-col h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom p {
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* RESPONSIVE DESIGN - ZERO OVERLAPS */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero p {
    margin: 0 auto 30px;
  }
  .hero-actions {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
  .top-bar-contact {
    justify-content: center;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    align-items: flex-start;
    border-top: 1px solid #e2e8f0;
  }
  .nav-links.active {
    display: flex;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .section {
    padding: 50px 0;
  }
}
