:root {
  --purple: #6A1B9A;
  --purple-light: #9C4DCC;
  --purple-dark: #4A148C;
  --gold: #FFD54F;
  --pink: #FF4081;
  --teal: #00BCD4;
  --green: #4CAF50;
  --white: #FFFFFF;
  --dark: #1a0b2e;
  --gray: #f5f5f5;
  
  /* Social Media Colors */
  --fb: #1877F2;
  --ig: #E4405F;
  --tiktok: #000000;
  --linkedin: #0A66C2;
  --x: #000000;
  --youtube: #FF0000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.header {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(106, 27, 154, 0.3);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: contain;
  background: white;
  box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.2;
}

.tagline {
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0.9;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--gold);
}

.lang-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid var(--gold);
  color: var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.lang-btn:hover {
  background: var(--gold);
  color: var(--purple);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 50%, var(--pink) 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--pink));
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--pink));
  color: var(--dark);
  box-shadow: 0 4px 15px rgba(255, 213, 79, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 213, 79, 0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--purple);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.diamond-shape {
  font-size: 12rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 30px rgba(255, 255, 255, 0.3));
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-item {
  position: absolute;
  font-size: 3rem;
  animation: float-item 4s ease-in-out infinite;
}

.float-item:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
.float-item:nth-child(2) { top: 0; right: 0; animation-delay: 1s; }
.float-item:nth-child(3) { bottom: 0; left: 0; animation-delay: 2s; }
.float-item:nth-child(4) { bottom: 0; right: 0; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes float-item {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(10deg); }
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--purple);
  margin-bottom: 3rem;
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--gray);
}

.vmo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.vmo-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border-top: 4px solid var(--purple-light);
}

.vmo-card:hover {
  transform: translateY(-5px);
}

.vmo-card.vision { border-top-color: var(--gold); }
.vmo-card.mission { border-top-color: var(--pink); }
.vmo-card.objective { border-top-color: var(--teal); }

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.vmo-card h3 {
  color: var(--purple);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.vmo-card ul {
  margin-left: 1.2rem;
}

.vmo-card li {
  margin-bottom: 0.6rem;
  line-height: 1.5;
}

/* Programs Section */
.programs-section {
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  color: var(--white);
}

.programs-section .section-title {
  color: var(--white);
}

.programs-section .section-title::after {
  background: var(--gold);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.program-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.program-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.program-card.daycare-highlight {
  background: rgba(76, 175, 80, 0.2);
  border-color: var(--green);
}

.program-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.program-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.program-card p {
  opacity: 0.95;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 1rem;
}

/* Why Section */
.why-section {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature {
  text-align: center;
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s;
}

.feature:hover {
  background: var(--gray);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature h4 {
  color: var(--purple);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
  background: var(--gray);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
  color: var(--purple);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.info-card p {
  margin-bottom: 0.5rem;
}

.info-card a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
}

.social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-link.facebook { background: var(--fb); }
.social-link.instagram { background: var(--ig); }
.social-link.tiktok { background: var(--tiktok); }
.social-link.linkedin { background: var(--linkedin); }
.social-link.x { background: var(--x); }
.social-link.youtube { background: var(--youtube); }

.social-link.facebook:hover { background: #166fe5; }
.social-link.instagram:hover { background: #d62976; }
.social-link.tiktok:hover { background: #252525; }
.social-link.linkedin:hover { background: #005582; }
.social-link.x:hover { background: #333333; }
.social-link.youtube:hover { background: #cc0000; }

/* Enquiry Form */
.enquiry-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.enquiry-form h3 {
  color: var(--purple);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--purple-light);
}

.enquiry-form select {
  cursor: pointer;
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  padding: 1.1rem;
  font-size: 1.1rem;
}

.form-note {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.form-success {
  background: rgba(76, 175, 80, 0.1);
  border: 2px solid var(--green);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: var(--white);
  text-align: center;
  padding: 2.5rem 0 2rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.15);
}

.footer-social a:hover {
  transform: translateY(-3px);
  background: var(--gold);
  color: var(--purple);
}

.footer p {
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.footer-tagline {
  color: var(--gold);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 968px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--purple-dark);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
  }
  
  .nav.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  .diamond-shape {
    font-size: 8rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .vmo-grid,
  .programs-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .logo-text h1 {
    font-size: 1.2rem;
  }
  
  .tagline {
    font-size: 0.75rem;
  }
  
  .logo {
    width: 50px;
    height: 50px;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-social {
    gap: 0.6rem;
  }
  
  .footer-social a {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
}

/* X Icon Styling */
.social-link.x {
  background: var(--x);
  font-weight: 900;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.social-link.x:hover {
  background: #1a1a1a;
}

.footer-social a.x {
  background: rgba(255,255,255,0.15);
  font-weight: 900;
  font-size: 1.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.footer-social a.x:hover {
  background: var(--gold);
  color: var(--purple);
}

/* ================= IMAGE POPUP STYLES ================= */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10, 5, 20, 0.85);
  backdrop-filter: blur(6px);
  display: flex; justify-content: center; align-items: center;
  z-index: 9999;
  padding: 1.5rem;
}

.modal-box {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  animation: fadeScale 0.3s ease;
}

#popup-image {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}

.popup-close {
  position: absolute;
  top: -12px; right: -12px;
  background: var(--gold);
  color: var(--purple-dark);
  border: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.2s, background 0.2s;
  z-index: 10;
}
.popup-close:hover {
  transform: scale(1.1);
  background: #fff;
}

@keyframes fadeScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
  .modal-overlay { padding: 1rem; }
  .popup-close { top: -10px; right: -10px; width: 34px; height: 34px; font-size: 1.2rem; }
}