/* ==========================================================
   BERRYS PRE SCHOOL - OFFICIAL STYLESHEET
   Playful, Vibrant, Child-Friendly & Ultra-Modern
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&display=swap');

:root {
  --berry-primary: #e91e63;
  --berry-primary-dark: #c2185b;
  --berry-primary-light: #fce4ec;
  --berry-purple: #8e24aa;
  --berry-yellow: #ffb300;
  --berry-yellow-light: #fff8e1;
  --berry-blue: #0288d1;
  --berry-blue-light: #e1f5fe;
  --berry-green: #43a047;
  --berry-green-light: #e8f5e9;
  --berry-orange: #ff7043;
  --berry-orange-light: #fbe9e7;
  --berry-bg: #fffbf5;
  --berry-white: #ffffff;
  --berry-dark: #2d3748;
  --berry-muted: #718096;
  --berry-border: #f0e6dc;
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(233, 30, 99, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

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

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

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

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--berry-dark);
  line-height: 1.25;
}

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

/* --------------------------------------------------------
   Top Information Bar
   -------------------------------------------------------- */
.top-bar {
  background: linear-gradient(135deg, var(--berry-purple), var(--berry-primary));
  color: #ffffff;
  font-size: 0.88rem;
  padding: 8px 0;
}

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

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.top-bar a:hover {
  opacity: 0.85;
}

.top-highlight-badge {
  background: var(--berry-yellow);
  color: #333333;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.78rem;
  animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* --------------------------------------------------------
   Main Header & Navigation
   -------------------------------------------------------- */
.main-header {
  background-color: var(--berry-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

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

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

.logo-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--berry-primary), #ff4081);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
  color: #fff;
  font-size: 1.6rem;
  transform: rotate(-6deg);
  transition: var(--transition);
}

.brand-logo:hover .logo-badge {
  transform: rotate(6deg) scale(1.08);
}

.brand-text h1 {
  font-size: 1.45rem;
  color: var(--berry-primary);
  margin-bottom: -2px;
  letter-spacing: -0.5px;
}

.brand-text h1 span {
  color: var(--berry-yellow);
}

.brand-text p {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--berry-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--berry-dark);
  position: relative;
  padding: 6px 0;
}

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

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

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

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

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--berry-primary);
  padding: 6px;
}

/* --------------------------------------------------------
   Buttons & UI Elements
   -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--berry-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(233, 30, 99, 0.35);
}

.btn-primary:hover {
  background-color: var(--berry-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(233, 30, 99, 0.45);
}

.btn-yellow {
  background-color: var(--berry-yellow);
  color: #333333;
  box-shadow: 0 6px 18px rgba(255, 179, 0, 0.35);
}

.btn-yellow:hover {
  background-color: #ffa000;
  transform: translateY(-2px);
}

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

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

.btn-white {
  background-color: #ffffff;
  color: var(--berry-primary);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
  background-color: #fff1f5;
  transform: translateY(-2px);
}

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

.btn-lg {
  padding: 16px 34px;
  font-size: 1.15rem;
}

/* --------------------------------------------------------
   Hero Section
   -------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 70px 0 90px;
  background: radial-gradient(circle at top right, #fff0f5 0%, #fffbf5 60%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.hero-shape-1 {
  top: 10%;
  left: 3%;
  width: 70px;
  height: 70px;
  background: var(--berry-yellow-light);
  border: 4px dashed var(--berry-yellow);
  border-radius: 50%;
  animation: floatSlow 6s ease-in-out infinite;
}

.hero-shape-2 {
  bottom: 8%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: var(--berry-blue-light);
  border-radius: 20px;
  transform: rotate(25deg);
  animation: floatSlow 8s ease-in-out infinite reverse;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(8deg); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 2px solid #ffd6e4;
  color: var(--berry-primary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--berry-primary);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: #ffd54f;
  z-index: -1;
  border-radius: 4px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--berry-muted);
  margin-bottom: 35px;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 2px dashed #f0e0d5;
}

.stat-item h3 {
  font-size: 1.8rem;
  color: var(--berry-primary);
  margin-bottom: 2px;
}

.stat-item p {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--berry-muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 4px solid #ffffff;
}

.hero-main-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 8px);
}

.hero-floating-tag {
  position: absolute;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: tagBounce 4s ease-in-out infinite;
}

.tag-top-right {
  top: -20px;
  right: -20px;
}

.tag-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

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

.tag-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.tag-icon.yellow { background: var(--berry-yellow-light); color: #d97706; }
.tag-icon.green { background: var(--berry-green-light); color: var(--berry-green); }

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

.tag-text small {
  font-size: 0.78rem;
  color: var(--berry-muted);
}

/* --------------------------------------------------------
   Section Common Headers
   -------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-alt {
  background-color: #ffffff;
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.badge-berry { background: var(--berry-primary-light); color: var(--berry-primary); }
.badge-sunshine { background: var(--berry-yellow-light); color: #b45309; }
.badge-sky { background: var(--berry-blue-light); color: var(--berry-blue); }
.badge-leaf { background: var(--berry-green-light); color: var(--berry-green); }

.section-title {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--berry-muted);
}

/* --------------------------------------------------------
   Features & Pillars Cards
   -------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--berry-white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--card-accent, var(--berry-primary));
  box-shadow: var(--shadow-md);
}

.feature-icon-wrapper {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--berry-muted);
  font-size: 0.95rem;
}

/* Card Theme Variations */
.card-theme-pink { --card-accent: var(--berry-primary); }
.card-theme-pink .feature-icon-wrapper { background: var(--berry-primary-light); color: var(--berry-primary); }

.card-theme-yellow { --card-accent: var(--berry-yellow); }
.card-theme-yellow .feature-icon-wrapper { background: var(--berry-yellow-light); color: #d97706; }

.card-theme-blue { --card-accent: var(--berry-blue); }
.card-theme-blue .feature-icon-wrapper { background: var(--berry-blue-light); color: var(--berry-blue); }

.card-theme-green { --card-accent: var(--berry-green); }
.card-theme-green .feature-icon-wrapper { background: var(--berry-green-light); color: var(--berry-green); }

/* --------------------------------------------------------
   Programs Section
   -------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.program-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--berry-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-img-wrapper {
  position: relative;
  height: 210px;
  overflow: hidden;
}

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

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

.program-age-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  color: var(--berry-dark);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.program-content {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-content h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.program-content p {
  color: var(--berry-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex: 1;
}

.program-highlights {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid #f2ece7;
  padding-top: 14px;
}

.program-highlights li {
  font-size: 0.88rem;
  color: var(--berry-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-highlights li span {
  color: var(--berry-green);
  font-weight: 700;
}

/* --------------------------------------------------------
   Curriculum / Methodology Tabs
   -------------------------------------------------------- */
.methodology-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.pill-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.tab-btn {
  background: var(--berry-bg);
  border: 2px solid transparent;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--berry-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --------------------------------------------------------
   Notice Board & Announcements Ticker
   -------------------------------------------------------- */
.notices-strip {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  border-left: 6px solid var(--berry-primary);
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.notices-strip-label {
  background: var(--berry-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.notices-slider-content {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--berry-dark);
}

/* --------------------------------------------------------
   Photo & Video Gallery Lightbox
   -------------------------------------------------------- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #ffffff;
  border: 2px solid var(--berry-border);
  padding: 8px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--berry-primary);
  border-color: var(--berry-primary);
  color: #ffffff;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4/3;
  background: #f3f4f6;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  color: #ffffff;
  opacity: 0;
  transition: var(--transition);
}

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

.gallery-overlay h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.gallery-overlay p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.lightbox-content {
  max-width: 800px;
  width: 100%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: #ffffff;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 10;
}

.lightbox-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.lightbox-caption {
  padding: 20px 24px;
}

.lightbox-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

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

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid #f5ede6;
}

.testimonial-stars {
  color: var(--berry-yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--berry-primary-light);
  color: var(--berry-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.author-info h4 {
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--berry-muted);
}

/* --------------------------------------------------------
   Admission Form & Contact Forms
   -------------------------------------------------------- */
.form-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--berry-border);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--berry-primary);
}

.form-subtitle {
  color: var(--berry-muted);
  margin-bottom: 28px;
  font-size: 0.98rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--berry-dark);
}

.form-group label .required {
  color: var(--berry-primary);
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 18px;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  background-color: #fafbfc;
  color: var(--berry-dark);
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--berry-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(233, 30, 99, 0.12);
}

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

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-feedback.success {
  display: block;
  background-color: var(--berry-green-light);
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.form-feedback.error {
  display: block;
  background-color: #ffebee;
  color: #b71c1c;
  border: 1px solid #ffcdd2;
}

/* --------------------------------------------------------
   Call to Action (CTA) Banner
   -------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, var(--berry-primary) 0%, var(--berry-purple) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: #ffffff;
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

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

/* --------------------------------------------------------
   Footer
   -------------------------------------------------------- */
.main-footer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 70px 0 25px;
  margin-top: 60px;
}

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

.footer-brand h2 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.footer-brand h2 span {
  color: var(--berry-yellow);
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #94a3b8;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #334155;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 1.1rem;
}

.social-btn:hover {
  background: var(--berry-primary);
  transform: translateY(-3px);
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--berry-primary);
  border-radius: 2px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

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

.footer-contact-icon {
  color: var(--berry-yellow);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.88rem;
  color: #64748b;
}

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

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

/* --------------------------------------------------------
   WhatsApp Floating Quick Button
   -------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: #ffffff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  color: #ffffff;
}

/* --------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin: 0 auto 35px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats {
    max-width: 480px;
    margin: 0 auto;
  }
  .tab-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .hamburger-btn {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 72px);
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    transition: left 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-actions .btn-primary {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
