/* Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  color: #333;
  background: #ebe1ff;
}

html {
  scroll-behavior: smooth;
}

/* ================= HEADER ================= */

header {
  position: fixed;                /* fully fixed at top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(#732d92);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.header {
  display: flex;
  justify-content: space-between; /* logo left, menu right (desktop) */
  align-items: center;
  padding: 10px 25px;
  top: 0;
}

/* ================= LOGO ================= */
.logo {
  flex-shrink: 0;
}

.logo img {
  width: 120px;
  height: auto;
}

/* ================= NAV LINKS (DESKTOP) ================= */
.nav-links {
  display: flex;
  gap: 25px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 12px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffeb3b;
}

/* ================= HAMBURGER ICON ================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger span + span {
  margin-top: 6px;
}

/* ================= MOBILE VIEW ================= */
@media (max-width: 768px) {

  /* Center logo + hamburger beside it */
  .header {
    justify-content: center; /* center logo */
    padding: 0 15px;         /* only horizontal padding */
    height: 60px;            /* match header height */
    position: sticky;      /* keep relative for hamburger positioning */
  }

  .logo img {
    width: 100px;
    height: auto;
  }

  .hamburger {
    display: flex;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  /* Slide-out menu */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background: linear-gradient(180deg, #7c309f, #732d92);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
    color: #fff;
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  /* Remove any body margin/padding above header */
  body {
    padding-top: 60px; /* same as header height */
    margin: 0;
  }
}


  /* Hamburger animation (X shape) */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Remove extra space above header */
  body {
    padding-top: 0; /* remove top padding on mobile */
  }
}

/* ================= DESKTOP BODY PADDING ================= */
body {
  padding-top: 60px; /* space for fixed header only on desktop */
}


/* Hero Section */
.hero {
  position: relative;
  height: 90vh;
  background: url('gettyimages.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

h1 {
  font-size: 3rem;          /* Bigger font for visibility */
  font-weight: 700;         /* Bold text */
  color: #d6d61e;           /* White text */
  text-align: center;
  line-height: 1.3;
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Shadow for highlight */
}

.hero-overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  transition: background 0.5s;
}

.hero-content {
  position: relative;
  color: #fff;
  animation: fadeIn 1.5s ease;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 25px;
}

.hero-content .btn {
  background: #fff200; /* Yellow background */
  color: #7c309f;      /* Purple text */
  font-weight: 700;
  padding: 14px 35px;
  border-radius: 30px;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.hero-content .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* About Section */
.about {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
  color: #732d92;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
}

.about h3 {
  font-size: 1.7rem;
  margin-top: 25px;
  margin-bottom: 15px;
  color: #7c309f;
}

.about p {
  font-size: 1rem;
  max-width: 900px;
  margin: 12px auto;
  line-height: 1.8;
}

/* Programs Section */
.programs {
  padding: 60px 20px;
  text-align: center;
  background: #ebe1ff;
}

.programs h2 {
  font-size: 2.5rem;
  margin-bottom: 35px;
  color: #7c309f;
}

.program-cards {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.program-cards .card {
  background: #ffffff;
  padding: 25px 20px;
  width: 300px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: all 0.4s;
}

.program-cards .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.program-cards h3 {
  margin-bottom: 12px;
  color: #732d92;
}

.program-cards p {
  font-size: 0.95rem;
  color: #555;
}

/* Pentemind Section */
.pentemind {
  padding: 60px 20px;
  text-align: center;
  background: #ffffff;
}

.pentemind h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #7c309f;
}

.mind-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 35px;
}

.mind-cards .card {
  background: #ebe1ff;
  padding: 25px 20px;
  width: 280px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: all 0.4s;
}

.mind-cards .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}

.mind-cards h3 {
  color: #7c309f;
  margin-bottom: 12px;
}

.mind-cards p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.pentemind ul {
  max-width: 850px;
  margin: 35px auto 0;
  text-align: left;
  list-style: disc;
  padding-left: 25px;
  line-height: 1.7;
}

/* FAQ Section */
.faq {
  padding: 60px 20px;
  background: #ebe1ff;
  text-align: center;
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #7c309f;
}

.faq-item {
  max-width: 900px;
  margin: 15px auto;
  text-align: left;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  background: #fff;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #732d92;
  background: #fff;
  border: none;
  cursor: pointer;
  outline: none;
  transition: background 0.3s, color 0.3s;
}

.faq-question:hover {
  background: #7c309f;
  color: #fff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
  padding: 0 25px; /* Padding top/bottom will be added when active */
  background: #fdfaff;
}

.faq-answer p {
  margin: 0;
  padding: 15px 0;
  color: #333;
  line-height: 1.7;
}

/* Active FAQ */
.faq-item.active .faq-answer {
  max-height: 1000px; /* Large enough to show full content */
  padding-top: 15px;
  padding-bottom: 15px;
}


/* Contact Section */
.contact {
  padding: 60px 20px;
  text-align: center;
  background: #ebe1ff;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #7c309f;
}

.social-links {
  display: flex;
  flex-direction: column;  /* stack rows vertically */
  align-items: center;
  gap: 15px; /* space between rows */
  margin-top: 25px;
}

.social-row {
  display: flex;
  gap: 18px; /* space between icons in the same row */
}

.social-links a {
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 1.6rem;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}

.social-links a:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Colors for each icon */
.call { background: #7c309f; }
.whatsapp { background: #25d366; }
.email { background: #ea4335; }
.instagram { background: linear-gradient(45deg, #fd1d1d, #fcb045, #833ab4); }
.facebook { background: #1877f2; }
.youtube { background: #ff0000; }
.map { background: #732d92; }
.website { 
  background: #6c63ff; /* elegant blue-purple tone */
}


/* Footer */
footer {
  background: #732d92;         /* match header/footer theme */
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9rem;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

footer p {
  margin: 5px 0;               /* spacing between lines */
}

footer a.designer {
  color: #ffeb3b;              /* highlight the Instagram link */
  text-decoration: none;
  font-weight: 600;
}

footer a.designer i {
  margin-right: 5px;
  vertical-align: middle;
}


/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media(max-width:1024px){
  .hero-content h2{ font-size:2.5rem; }
}

@media(max-width:768px){
  header{flex-direction:column;gap:10px;}
  .nav-links{flex-direction:column;width:100%;text-align:center;display:none;}
  .nav-links.active{display:flex;}
  .hamburger{display:block;}
  .program-cards, .mind-cards{flex-direction:column;align-items:center;}
  .hero-content h2{ font-size:2rem; }
  .hero-content p{ font-size:1.2rem