/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Merriweather:wght@400;600&display=swap');

/* Ensure padding and borders are included in width/height calculations */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent horizontal overflow on the page */
body {
  overflow-x: hidden;
}

/* Reset margins and paddings */
body, h1, h2, h3, p, ul, li {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Merriweather', serif;
  line-height: 1.6;
  color: #333;
}

/* Header styles */
.header {
  background-color: #832A70;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo img {
  height: 60px;
}
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #FFFFFF;
}
nav {
  display: flex;
  align-items: center;
}
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin-right: 20px;
}
nav ul li {
  margin-right: 20px;
}
nav ul li a {
  text-decoration: none !important;
  color: #FFFFFF;
  font-family: 'Merriweather', serif;
  font-weight: bold;
}
nav ul li a:hover {
  color: #D49DCB;
  transition: color 0.3s;
}
.cta-button {
  background-color: #D49DCB;
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none !important;
  font-family: 'Merriweather', serif;
  font-weight: 600;
}
.cta-button:hover {
  background-color: #C66BA2;
  transition: background-color 0.3s;
}
/* Responsive navigation */
@media (max-width: 768px) {
  .hamburger { display: block; }
  nav ul { display: none; }
  nav.active ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 200px;
    background-color: rgba(131, 42, 112, 0.6);
    padding: 10px;
  }
  nav ul li { margin: 10px 0; }
}
@media (max-width: 480px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
  }
  nav ul { display: none; }
  nav.active ul {
    top: 50px;
    width: 150px;
    flex-direction: column;
    background-color: rgba(131, 42, 112, 0.6);
  }
  .cta-button { display: none; }
}

/* Hero section */
.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
}
.hero-content {
  flex: 1;
  z-index: 1;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  color: #832A70;
  margin-bottom: 10px;
}
.hero p {
  font-family: 'Merriweather', serif;
  margin-bottom: 20px;
}
.hero-image {
  flex: 1;
  max-width: 50%;
  margin-left: 20px;
  align-self: flex-end;
  z-index: 1;
}
.hero-image img {
  width: 100%;
  height: auto;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('images/background-image.png');
  background-size: cover;
  background-position: bottom center;
  opacity: 0.8;
  z-index: 0;
}

/* Responsive hero */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 10px 0;
    padding-top: 80px;
  }
  .hero-content { order: 1; width: 100%; }
  .hero-image {
    order: 2;
    margin-left: 0;
    margin-top: auto;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .hero {
    align-items: flex-start;
    padding-top: 80px;
  }
  .hero h1 { font-size: 1.5em; }
  .hero p { font-size: 0.9em; }
  .hero-image { width: 100%; margin-top: auto; }
}

/* Services section */
.services {
  padding: 20px 20px;
  margin-top: -10px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: linear-gradient(135deg, #F8EEF4 0%, #F0E5EA 100%);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.1);
  overflow: hidden;
  position: relative;
  z-index: 2;
}


/* Service card styling remains unchanged and will adapt to new cards */

.services h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #832A70;
  margin-bottom: 10px;           /* Reduced space below heading */
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-shadow: 0 2px 4px rgba(131, 42, 112, 0.1);
}
.services-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  padding: 0 15px;
}
.services-roller {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  align-items: center;            /* Vertically center cards */
  will-change: transform;
}
.service-card {
  min-width: 250px;
  width: 250px;
  height: 300px;
  margin: 0 15px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  cursor: pointer;
  pointer-events: auto; /* Make sure service cards still receive pointer events on mobile */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  user-select: none;
}
.service-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(131, 42, 112, 0.2);
  border-color: #832A70;
}
.service-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 15px;
  pointer-events: none;
}
.service-card span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px;
  border-radius: 0 0 15px 15px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #832A70;
  font-size: 1rem;
  text-align: center;
}

/* Overlay for pop-up */
.selected-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999980;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.selected-card {
  background: #FFF;
  margin-top: 80px;   /* roughly equal to your header height */
  border-radius: 20px;
  width: min(90vw, 450px);
  max-height: 90vh;
  position: relative;
  z-index: 999990;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  animation: slideUp 0.4s ease;
}
@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.selected-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #832A70;
  margin-bottom: 15px;
  font-size: 1.5rem;
}
.selected-card p {
  font-family: 'Merriweather', serif;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #333;
}
.close-btn {
  position: absolute;
  top: 45px;
  right: 40px;
  display: block;
  font-size: 28px;
  z-index: 999999;
  cursor: pointer;
  color: #832A70;
  background: none;
  border: none;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.close-btn:hover {
  background: rgba(131, 42, 112, 0.1);
  transform: rotate(90deg);
}
/* Stats section */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  /* Reduce vertical padding and overlap slightly with the services section */
  padding: 40px 20px 20px;
  margin-top: -10px; /* Pull the section up to close the gap */
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box {
  background-color: #F8EEF4;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.stat-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #832A70;
  margin-bottom: 8px;
}
.stat-box p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #333;
}
/* About Us section */
.about-us {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0px auto;
  padding: 40px 20px 20px;
  margin-top: -5px;
  background-color: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
}
.about-content {
  flex: 1;
  padding-right: 20px;
}
.about-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  color: #832A70;
  margin-bottom: 10px;
}
.about-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}
.about-content p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 25px;
}
.about-button {
  display: inline-block;
  background-color: #D49DCB;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.about-button:hover {
  background-color: #C66BA2;
}

/* Images grid for About Us */
.about-images {
  flex: 1;
  position: relative;
  height: 400px;
}
.image-grid {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
}
.image-cell {
  position: relative;
  overflow: hidden;
  border: 6px solid #F8EEF4; /* window-like border */
  border-radius: 12px;
}
.image-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.image-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 30%;
  border: 6px solid #F8EEF4;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}
.image-center img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact section */

.contact {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 40px 20px;
  background-color: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
}
.contact-info {
  flex: 1;
}
.contact-info h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #832A70;
  margin-bottom: 15px;
}
.contact-info p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #333;
  margin-bottom: 25px;
}
.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #333;
}
.contact-details .icon {
  font-size: 1.3rem;
  color: #832A70;
  margin-right: 12px;
}

.contact-form {
  flex: 1;
}
.contact-form .form-group {
  margin-bottom: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #D49DCB;
  border-radius: 8px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}
.contact-form textarea {
  resize: vertical;
}
.submit-button {
  display: inline-block;
  background-color: #D49DCB;
  color: #FFFFFF;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-family: 'Merriweather', serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-button:hover {
  background-color: #C66BA2;
}

/* Testimonials section */
.testimonials {
  max-width: 1200px;
  margin: 15px auto;
  padding: 40px 20px 20px;
  background-color: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
  overflow: hidden;
}
.testimonials h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #832A70;
  margin-bottom: 20px;
  text-align: center;
}
.testimonials-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 180px; /* Adjust height to your preference */
}
.testimonials-roller {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
}
.testimonial {
  min-width: 300px;       /* width of each card */
  max-width: 300px;
  margin-right: 20px;
  padding: 20px;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-family: 'Merriweather', serif;
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial .quote {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 12px;
}
.testimonial .name {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #832A70;
  align-self: flex-end;
}

/* FAQ styles */
.faq {
  max-width: 1200px;
  margin: 5px auto;
  padding: 40px 20px 20px;
  background: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
}
.faq h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: #832A70;
  margin-bottom: 20px;
  text-align: center;
}
.faq-item {
  margin-bottom: 15px;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 1px solid #D49DCB;
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  color: #832A70;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.faq-question.active::after {
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: #ffffff;
  border: 1px solid #F0E5EA;
  border-top: none;
  border-radius: 0 0 8px 8px;
  font-family: 'Merriweather', serif;
  font-size: 0.95rem;
  color: #333;
  padding: 0 16px;
}
.faq-answer p {
  margin: 0;
  padding: 12px 0;
}

/* Ensure full expansion when active via JS */
.faq-question.active + .faq-answer {
  max-height: none; /* the script will set max-height to scrollHeight */
}

/* Social Media section */
.social-media {
  text-align: center;
  padding: 40px 20px;
  background-color: #F8EEF4;
  border-radius: 15px;
  margin: 20px auto;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
}
.social-media h2 {
  font-family: 'Poppins', sans-serif;
  color: #832A70;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.social-links a {
  font-size: 1.8rem;
  color: #832A70;
  transition: color 0.3s;
}
.social-links a:hover {
  color: #C66BA2;
}

/* Fixed footer */
.site-footer {
  background-color: #832A70;
  color: #FFFFFF;
  padding: 15px 20px;
  text-align: center;
  font-family: 'Merriweather', serif;
  left: 0;
  bottom: 0;
  width: 100%;
}
.site-footer .footer-links {
  margin-bottom: 8px;
}
.site-footer .footer-links a {
  color: #FFFFFF;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
}
.site-footer .footer-links a:hover {
  color: #D49DCB;
  text-decoration: underline;
}

/* About us Hero section */
.about-hero {
  position: relative;
  padding: 50px 20px 0;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 80px;
  min-height: 400px; /* Ensure sufficient height for the image */
}
.about-hero-content {
  flex: 1;
  z-index: 1;
}
.about-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('images/background-image.png');
  background-size: cover;
  background-position: bottom center;
  opacity: 0.8;
  z-index: 0;
}
/* About us Page section */
.about-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
  text-align: center;
}
.about-page-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-page-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #832A70;
  margin-bottom: 20px;
}
.about-page-content p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}
.about-page-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}
.about-page-buttons .about-button {
  padding: 12px 24px;
}

/* Disclaimer Page section */
.disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  background-color: #F8EEF4;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  text-align: left;
}
.disclaimer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.disclaimer-content h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  color: #832A70;
  margin-bottom: 20px;
}
.disclaimer-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  color: #832A70;
  margin-bottom: 20px;
}
.disclaimer-content p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* Privacy-Policy Page section */
.privacy-policy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  background-color: #F8EEF4;
  color: #1A1A1A;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(131, 42, 112, 0.08);
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  text-align: left;
}

.disclaimer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.disclaimer-content h1 {
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  color: #832A70;
  margin-bottom: 20px;
}
.disclaimer-content h2 {
  font-family: 'Merriweather', serif;
  font-size: 1.7rem;
  color: #832A70;
  margin-bottom: 20px;
}
.disclaimer-content p {
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 20px;
}

/* Responsive services */
@media (max-width: 768px) {
  .services {
    padding: 30px 15px;
    margin: 10px;
    border-radius: 10px;
  }
  .services-container {
    height: 280px;
    padding: 0 10px;
  }
  .service-card {
    width: 220px;
    height: 260px;
    margin: 0 12px;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .contact {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  .contact-info, .contact-form {
    width: 100%;
  }
  .testimonial {
    min-width: 260px;
    max-width: 260px;
    margin-right: 16px;
  }
  .about-page, .disclaimer, .privacy-policy {
    padding: 30px 15px;
    margin: 10px;
  }
  .about-page-content h1, .disclaimer-content h1, .privacy-policy-content h1 {
    font-size: 2rem;
  }
  .about-hero {
    flex-direction: column;
    text-align: center;
    padding: 30px 10px 0;
    padding-top: 80px;
  }
  .about-hero-content {
    order: 1;
    width: 100%;
  }
}
  @media (max-width: 992px) {
  .about-us {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }
  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .image-center {
    width: 30%;
    height: 30%;
  }
}
@media (max-width: 480px) {
  .cta-button {
    display: inline-block !important; /* overrides earlier display:none */
  }
  .services {
    padding: 20px 10px;
  }
  .services-container {
    height: 250px;
    padding: 0 8px;
  }
  .service-card {
    width: 200px;
    height: 230px;
    margin: 0 10px;
  }
  .service-card span {
    font-size: 0.9rem;
    padding: 12px;
  }
   .stats-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact {
    padding: 20px 15px;
  }
  .contact-info h2, .disclaimer-content h2, .privacy-policy-content h2 {
    font-size: 1.5rem;
  }
  .social-links {
    gap: 20px;
  }
  .social-links a {
    font-size: 1.5rem;
  }
  .about-page, .disclaimer, .privacy-policy {
    padding: 20px 10px;
  }
  .about-page-content h1, .disclaimer-content h1, .privacy-policy-content h1 {
    font-size: 1.8rem;
  }
  .about-page-content p, .disclaimer-content p, .privacy-policy-content p {
    font-size: 0.9rem;
  }
  .about-page-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .about-hero {
    align-items: flex-start;
    padding-top: 80px;
  }
  .about-hero h1 {
    font-size: 1.5em;
  }
  .about-hero p {
    font-size: 0.9em;
  }
}
@media (max-width: 600px) {
  .about-content h2 { font-size: 1.5rem; }
  .about-content h3 { font-size: 1.3rem; }
  .image-grid { gap: 8px; }
  .image-center {
    width: 25%;
    height: 25%;
  }
}
/* OVERRIDE DEFAULT LINK STYLES FOR PHONE AND EMAIL IN CONTACT SECTION */
a.no-link, .contact-details a.no-link {
  text-decoration: none !important;   /* Remove underline */
  color: inherit !important;          /* Inherit parent color */
  font-weight: normal !important;     /* Normal font weight */
}

a.no-link:visited,
a.no-link:active,
.contact-details a.no-link:visited,
.contact-details a.no-link:active {
  color: inherit !important;
}

a.no-link:hover,
.contact-details a.no-link:hover {
  color: #C66BA2;    /* Only change color on hover (optional, for subtle feedback) */
  cursor: pointer;
}


/* 🔒 Prevent copy/save on general content only */
body:not(.allow-touch), img:not(.allow-touch), p:not(.allow-touch), div:not(.allow-touch), span:not(.allow-touch) {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
