:root {
  --primary: #421b54;
  --secondary: #FF6584;
  --background: #FAFAFA;
  --text: #333333;
  --muted: #777777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
}

/* Header + nav */
header {
  background: var(--primary);
  color: #fff;
  padding: 0.0rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header img {
  height: 80px;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color: var(--secondary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.menu-toggle div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  nav.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}

/* Hero */
.hero {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}
.hero a {
  background: #fff;
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.hero a:hover {
  background: var(--secondary);
  color: #fff;
}

/* Sections + cards */
.section {
  padding: 3rem 2rem;
  text-align: center;
}
.section h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

/* Footer */
footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 2rem;
}
footer a {
  color: var(--secondary);
  text-decoration: none;
}
/* Carousel container inside card */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 200px;   /* smaller */
  height: 400px;      /* fixed height for consistency */
  margin: 0 auto 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}

/* Track */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

/* Each image */
.carousel-track img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;   /* crop instead of stretching */
  border-radius: 8px;
}

/* Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.6);
}

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

/* Store links */
.store-links {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.store-links img {
  width: 100px;   /* smaller */
  height: auto;
  transition: transform 0.2s;
}

.store-links img:hover {
  transform: scale(1.05);
}


/* Apply blur to carousel images inside coming-soon cards */
.card.coming-soon .carousel-images img {
  filter: blur(6px);
  pointer-events: none; /* disable interactions */
  user-select: none;
}

/* Overlay "Coming Soon!" text */
.card.coming-soon {
  position: relative;
  overflow: hidden;
}

.card.coming-soon::after {
  content: "Coming Soon!";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 8px;
  z-index: 2;
  pointer-events: none;
}









/* Social links in footer */
.social-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-links img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}




/* Mission & Vision Section */
.mission-vision-section {
  background: #fff;
  padding: 70px 20px;
  text-align: center;
}

.mission-vision-section h2 {
  font-size: 2.2em;
  margin-bottom: 40px;
  /*color: #222;*/
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  /*max-width: 1100px;*/
  margin: 0 auto;
}

.mv-card {
    
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
    
    
  /*background: #fdfdfd;*/
  /*padding: 25px 20px;*/
  /*border-radius: 15px;*/
  /*box-shadow: 0 4px 15px rgba(0,0,0,0.05);*/
  /*text-align: left;*/
  /*transition: transform 0.2s ease, box-shadow 0.2s ease;*/
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.mv-card h3 {
  font-size: 1.3em;
  /*color: #ff4081;*/
  color: var(--secondary);
  margin-bottom: 15px;
}

.mv-card p, .mv-card li {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.mv-card ol {
  margin: 0;
  padding-left: 18px;
}



.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; 
  top: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.6);

  /*display: flex;*/
  justify-content: center;
  align-items: flex-start;   /* top aligned */
  overflow-y: auto;          /* enable scroll */
  padding: 2rem 1rem;        /* spacing around content */
  box-sizing: border-box;
}

.modal-content {
  background: var(--background);
  color: var(--text);
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 2rem;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  position: relative;
}

.close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-content h2 {
  color: var(--primary);
}
.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.modal-content button {
  background: var(--secondary);
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  transition: background 0.3s;
  border: none;
  padding: 0.6rem;
  cursor: pointer;
}
.modal-content button:hover {
  background: var(--primary);
}
.radio-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
#map {
  width: 100%;
  height: 300px;   /* adjust as needed */
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
}


/* =======================
   Form Validation Errors
   ======================= */
.error-msg {
    display: block;
    margin-top: 4px;
    font-size: 0.85em;
    color: #d93025;   /* Google-style red */
    font-weight: 400;
    line-height: 1.2;
}
/* Keep spacing clean for inputs & textareas */
#appointmentForm input,
#appointmentForm textarea {
    margin-bottom: 2px; /* tighten so error sits close */
}
/* For radio groups, add spacing between options */
#appointmentForm .radio-group {
    margin-bottom: 8px;
}
