@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

/* ===== Base Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, rgba(255, 217, 211, 0.8), rgba(223, 240, 243, 0.8));
  background-attachment: fixed;
  background-size: cover;
  color: rgb(85, 85, 85);
}

.bg-texture {
  background-image: url('https://www.toptal.com/designers/subtlepatterns/uploads/watercolor.png');
  background-size: cover;
  opacity: 0.5;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ===== Responsive Tables ===== */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.3);
  border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-track {
  background-color: transparent;
}

@media (max-width: 600px) {
  table thead {
    display: none;
  }

  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  table td {
    text-align: left;
    padding: 0.5rem 0;
    position: relative;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
    color: #f47ca3;
  }
}

/* ===== Form Embed ===== */
.form-container {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin: 3rem auto;
  max-width: 900px;
}

.form-container iframe {
  border: none;
  border-radius: 8px;
  width: 100%;
  height: 800px;
  display: block;
}

/* ===== Additional Polish for Small Screens ===== */
@media (max-width: 480px) {
  .btn {
    min-width: auto;
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
  }

  .title {
    font-size: 1.8rem;
  }

  .section__text__p1,
  .section__text__p2,
  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .testimonial-slide p {
    font-size: 1rem;
    padding: 1rem;
  }

  .program-img {
    max-height: 160px;
  }
}

/* ===== Navigation ===== */
nav,
.nav-links {
  display: flex;
}

nav {
  justify-content: space-around;
  align-items: center;
  height: 17vh;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-links {
  gap: 2rem;
  list-style: none;
  font-size: 1.2rem;
}

.logo {
  font-size: 2rem;
  font-weight: 600;
}

a,
.btn {
  transition: all 300ms ease;
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: grey;
  text-decoration: underline;
  text-underline-offset: 0.4rem;
}

/* ===== Mobile Nav ===== */
#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  display: inline-block;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 4px;
  background-color: #333;
  transition: 0.3s;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: white;
  display: none;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
}

.menu-links.open {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.hamburger-icon.open span:nth-child(1) {
  transform: rotate(45deg);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:nth-child(3) {
  transform: rotate(-45deg);
}

/* ===== Sections ===== */
section {
  padding: 6rem 2rem;
  margin: 3rem auto;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  max-width: 1400px;
}

#profile {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #fff0f5, #ffffff);
}

.section__pic-container {
  width: 300px;
  height: 300px;
  margin: auto;
  display: flex;
  justify-content: center;
}

.section__pic-container img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

.section__text {
  text-align: center;
  margin-top: 1rem;
}

.section__text__p1 {
  font-weight: 500;
  margin-bottom: 1rem;
}

.section__text__p2 {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
}

/* ===== Buttons ===== */
.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn {
  font-weight: 600;
  padding: 1rem;
  border-radius: 2rem;
  width: auto;
  min-width: 160px;
  text-align: center;
}

.btn-color-1 {
  background: #f47ca3;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(244, 124, 163, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-color-1:hover {
  background: #e96392;
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(244, 124, 163, 0.5);
}

.btn-color-2 {
  background: none;
  color: #333;
  border: 1px solid #333;
}

.btn-color-2:hover {
  background: #333;
  color: white;
}

/* ===== Social Icons ===== */
#socials-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
  font-size: 2.5rem;
}

.icon {
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
}

/* ===== Testimonials Carousel ===== */
.carousel {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-top: 3px solid #f5c6d7;
  border-bottom: 3px solid #f5c6d7;
  margin: 2rem auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-slide {
  background-color: #fff6f8;
  border-left: 6px solid #f5c6d7;
  border-radius: 12px;
  margin: 1.5rem auto;
  padding: 2rem;
  max-width: 700px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: none;
  position: relative;
}

.testimonial-slide p {
  font-style: italic;
  font-size: 1.2rem;
  color: #333;
  line-height: 1.6;
  position: relative;
  padding: 1rem 2rem;
}

.testimonial-slide p::before {
  content: '“';
  font-size: 3rem;
  color: #f5c6d7;
  position: absolute;
  left: 0;
  top: -10px;
  line-height: 1;
}

.testimonial-slide p::after {
  content: '”';
  font-size: 3rem;
  color: #f5c6d7;
  position: absolute;
  right: 0;
  bottom: -10px;
  line-height: 1;
}

/* ===== About Section ===== */
.about-subheading {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  color: #f47ca3;
}

.about-details-container p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Footer ===== */
.site-footer {
  background-color: #ffffffdd;
  padding: 2rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #ccc;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-link {
  color: #f47ca3;
  text-decoration: none;
  margin: 0 0.5rem;
}

.footer-link:hover {
  text-decoration: underline;
}

.program-img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
}

th {
  background-color: #f47ca3;
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #fdf2f7;
}

.program-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.program-item {
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
}

.program-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

th, td {
  border: 1px solid #ccc;
  padding: 1rem;
  text-align: center;
}

th {
  background-color: #f47ca3;
  color: white;
  font-weight: 600;
}

tr:nth-child(even) {
  background-color: #fdf2f7;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  border: none;
  font-weight: 600;
  padding: 1rem 1.5rem;
  border-radius: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
  background-color: #1ebd5a;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  #desktop-nav {
    display: none;
  }

@media (max-width: 600px) {
  table thead {
    display: none;
  }

  table,
  table tbody,
  table tr,
  table td {
    display: block;
    width: 100%;
  }

  table tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }

  table td {
    text-align: left;
    padding: 0.5rem 0;
    position: relative;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.3rem;
    color: #f47ca3;
  }
}


  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
  }

.menu-links {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 75%;
  max-width: 320px;
  background-color: white;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 1.5rem;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1001;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
}

.menu-links.open {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}

.menu-links li {
  list-style: none;
}

.menu-links a {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}

.menu-links a:last-child {
  border-bottom: none;
}

/* Dim background when menu is open */
body.menu-open::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

/* Ensure hamburger icon stays above overlay */
.hamburger-icon {
  z-index: 1002;
  position: relative;
}
}

