/* ===== CSS Variables ===== */
:root {
  --primary-red: #d52838;
  --primary-black: #2b2824;
  --text-grey: #898989;
  --text-charcoal: #484c4c;
  --white: #ffffff;
  --light-grey: #f5f5f5;
}

/* ===== Global Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Arial', 'Helvetica', sans-serif;
  color: var(--primary-black);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-charcoal);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

/* ===== Header & Navigation ===== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 70px;
}

.logo-container {
  flex-shrink: 0;
}

.logo {
  height: clamp(50px, 10vw, 70px);
  width: auto;
  max-width: clamp(120px, 30vw, 180px);
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: clamp(0.5rem, 2vw, 2rem);
  align-items: center;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--primary-black);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem clamp(0.5rem, 1.5vw, 1rem);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  white-space: nowrap;
}

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

.nav-link.active {
  color: var(--primary-red);
  border-bottom: 2px solid var(--primary-red);
}

/* ===== Navigation CTA Button ===== */
.nav-cta {
  display: flex;
  align-items: center;
  margin-left: 1rem;
}

.btn-contact {
  background: var(--primary-red);
  color: var(--white);
  padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.5rem);
  border-radius: 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-red);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.btn-contact:hover {
  background: #b91f2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 40, 56, 0.3);
}

.btn-contact i {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-black);
  transition: 0.3s;
}

/* ===== Dropdown Menu ===== */
.dropdown {
  position: relative;
}

.dropdown .nav-link i {
  font-size: 0.7rem;
  margin-left: 0.3rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--primary-black);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.95rem;
}

.dropdown-menu li a:hover {
  background: var(--light-grey);
  color: var(--primary-red);
  padding-left: 2rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: clamp(0.75rem, 1.5vw, 0.875rem) clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #b91f2e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(213, 40, 56, 0.3);
}

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

.btn-secondary:hover {
  background: #1a1715;
  transform: translateY(-2px);
}

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

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

/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: clamp(500px, 100vh, 100vh);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 70px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 40, 36, 0.5);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  width: 100%;
  padding: clamp(1rem, 3vw, 2rem);
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
}

/* ===== Section Styles ===== */
.section {
  padding: clamp(3rem, 8vw, 5rem) 5%;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  color: var(--primary-black);
}

.section-title h2 {
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.section-divider {
  width: clamp(60px, 10vw, 80px);
  height: 4px;
  background: var(--primary-red);
  margin: 1rem auto;
}

/* ===== About Section ===== */
.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== Programs Section ===== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
}

.program-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.program-image {
  width: 100%;
  height: clamp(200px, 30vw, 250px);
  object-fit: cover;
}

.program-content {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.program-content h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
}

/* ===== Locations Section ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
}

.location-card {
  background: var(--light-grey);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: 8px;
  border-left: 4px solid var(--primary-red);
}

.location-card h3 {
  color: var(--primary-black);
  margin-bottom: 1rem;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.location-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ===== Contact & Forms ===== */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light-grey);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-black);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: clamp(0.75rem, 1.5vw, 0.875rem);
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-red);
}

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

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: clamp(200px, 30vw, 250px);
}

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

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

/* ===== Contact Info Cards ===== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.contact-info-card i {
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  margin: 1rem 0 0.5rem 0;
  color: var(--primary-red);
  font-size: 1.5rem;
}

.contact-info-card p {
  color: var(--text-gray);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-info-card .btn {
  margin-top: 1rem;
}

/* ===== Statistics Section ===== */
.stats-section {
  background: linear-gradient(135deg, var(--primary-red), #b91f2e);
  padding: clamp(3rem, 6vw, 4rem) 0;
  margin: 0;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: clamp(0.85rem, 1.5vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary-red);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-quote {
  color: var(--primary-red);
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  opacity: 0.3;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-stars i {
  color: #FFD700;
}

.testimonial-text {
  font-size: clamp(0.95rem, 1.5vw, 1rem);
  line-height: 1.8;
  color: var(--text-charcoal);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--light-grey);
}

.author-info h4 {
  color: var(--primary-black);
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

.author-info p {
  color: var(--text-grey);
  margin: 0.3rem 0 0 0;
  font-size: clamp(0.85rem, 1.3vw, 0.9rem);
}

/* ===== Newsletter Section ===== */
.newsletter-section {
  background: linear-gradient(135deg, #2b2824, #1a1715);
  padding: clamp(2rem, 5vw, 3rem) 5%;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.newsletter-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.newsletter-text {
  flex: 1;
  min-width: min(100%, 280px);
}

.newsletter-text h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.8rem);
}

.newsletter-text p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1;
  max-width: 500px;
  min-width: min(100%, 280px);
  flex-wrap: wrap;
}

.newsletter-form input {
  flex: 1;
  min-width: min(100%, 200px);
  padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1rem, 2vw, 1.5rem);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-red);
  background: rgba(255,255,255,0.15);
}

.newsletter-form button {
  padding: clamp(0.875rem, 1.5vw, 1rem) clamp(1.5rem, 3vw, 2rem);
  white-space: nowrap;
}

/* ===== Footer ===== */
.footer {
  background: var(--primary-black);
  color: var(--white);
  padding: clamp(2rem, 5vw, 3rem) 5%;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.footer-section h3 {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.footer-section p,
.footer-section a {
  color: var(--light-grey);
  margin-bottom: 0.5rem;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.footer-section a:hover {
  color: var(--primary-red);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  width: clamp(36px, 6vw, 40px);
  height: clamp(36px, 6vw, 40px);
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
  background: #b91f2e;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-grey);
  font-size: clamp(0.85rem, 1.3vw, 0.95rem);
}

/* ===== Introduction Section ===== */
.intro-section {
  background: var(--white);
  padding: clamp(3rem, 8vw, 5rem) 5%;
}

.intro-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

.intro-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.intro-text h3 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  color: var(--text-charcoal);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.intro-text p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: var(--text-charcoal);
}

.intro-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.intro-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* ===== What is Montessori Section ===== */
.what-is-montessori-section {
  background: var(--light-grey);
  padding: clamp(3rem, 8vw, 5rem) 5%;
}

.montessori-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
}

.montessori-text > p {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text-charcoal);
}

.montessori-principles {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
}

.principle-item {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.principle-icon {
  width: clamp(45px, 8vw, 50px);
  height: clamp(45px, 8vw, 50px);
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  flex-shrink: 0;
}

.principle-content h4 {
  color: var(--primary-black);
  margin-bottom: 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.2rem);
}

.principle-content p {
  color: var(--text-charcoal);
  line-height: 1.6;
  margin: 0;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}

.montessori-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.montessori-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.montessori-text > .btn {
  align-self: center;
}

/* ===== Features Grid ===== */
.features-section {
  background: var(--white);
  padding: clamp(3rem, 6vw, 4rem) 5%;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  text-align: center;
  padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(213, 40, 56, 0.15);
}

.feature-icon {
  width: clamp(70px, 12vw, 80px);
  height: clamp(70px, 12vw, 80px);
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-red), #b91f2e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: clamp(1.75rem, 3vw, 2rem);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  color: var(--primary-black);
  margin: 1rem 0;
  font-size: clamp(1.2rem, 2vw, 1.3rem);
}

.feature-card p {
  color: var(--text-charcoal);
  line-height: 1.6;
  font-size: clamp(0.95rem, 1.5vw, 1rem);
}

/* ===== Page Header (for internal pages) ===== */
.page-header {
  position: relative;
  height: clamp(350px, 50vh, 50vh);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: 70px;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-header-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--white);
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

.text-red {
  color: var(--primary-red);
}

.bg-light {
  background: var(--light-grey);
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===== Animations ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== Responsive Design - Tablets ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 0.75rem 3%;
  }

  .section {
    padding: clamp(2.5rem, 6vw, 4rem) 3%;
  }

  .intro-content,
  .montessori-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* ===== Responsive Design - Mobile ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-cta {
    margin: 1rem 0;
    width: 100%;
    justify-content: center;
  }

  .btn-contact {
    width: 80%;
    justify-content: center;
  }

  /* Mobile Dropdown Styles */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    background: var(--light-grey);
    margin: 0.5rem 1rem;
    border-radius: 4px;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown .nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .hero {
    height: clamp(450px, 80vh, 700px);
    margin-top: 70px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .hero p {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .about-content,
  .intro-content,
  .montessori-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 2.5rem 4%;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .features-grid,
  .testimonials-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-buttons {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .intro-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ===== Small mobile adjustments ===== */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .navbar {
    padding: 0.5rem 4%;
  }

  .section {
    padding: 2rem 4%;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero {
    height: clamp(400px, 70vh, 600px);
  }

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

  .gallery-item {
    height: clamp(250px, 50vw, 300px);
  }

  .form-container {
    padding: 1.5rem;
  }
}

/* ===== Very small devices ===== */
@media (max-width: 360px) {
  html {
    font-size: 13px;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* ===== Landscape mobile fix ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 400px;
    padding: 3rem 0;
  }

  .nav-menu {
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
}
