/* ABOUT PAGE - Header Section */
.about-hero {
  background-color: #FFF3E0; /* Light saffron background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  font-family: 'Crimson Text', serif;
  color: #B71C1C; /* Deep red/maroon */
}

.about-hero .container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 0;
  line-height: 1.2;
}

/* Lotus motif SVG decoration */
.lotus-motif {
  position: absolute;
  top: 10px;
  right: 20px;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  transition: transform 0.4s ease;
}

/* On hover, gently scale lotus for subtle animation */
.about-hero:hover .lotus-motif {
  transform: scale(1.05);
}

/* Responsive font sizes */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.4rem;
  }

  .lotus-motif {
    width: 45px;
    height: 45px;
    top: 5px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .about-hero h1 {
    font-size: 1.8rem;
  }
}

/* About History Section - Enhanced */
.about-history {
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  padding: 60px 20px;
  font-family: 'Poppins', sans-serif;
  color: #4E342E;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(255 107 53 / 0.3);
  margin: 40px auto;
  max-width: 1100px;
}

/* Lotus motif border */
.about-history::before {
  content: "🌸";
  font-size: 6rem;
  color: #FF6B35;
  position: absolute;
  top: -30px;
  left: -30px;
  opacity: 0.1;
  user-select: none;
  pointer-events: none;
  transform: rotate(-20deg);
  z-index: 0;
}

/* Grid Layout */
.about-history .container.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Text styling */
.history-text h2 {
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  color: #B71C1C;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
}

/* Om symbol as decoration before heading */
.history-text h2::before {
  content: "ॐ";
  font-family: 'Crimson Text', serif;
  font-size: 3rem;
  color: #FF6B35;
  position: absolute;
  left: -45px;
  top: 0;
  opacity: 0.3;
  user-select: none;
}

.history-text p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #5D4037;
  margin-bottom: 18px;
}

/* Image Styling */
.history-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgb(183 28 28 / 0.3);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.history-image img:hover {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .about-history .container.grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .history-text h2::before {
    display: none;
  }

  .history-text p {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .history-image img {
    margin-top: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Mission, Vision, Values Section */
.about-mvv {
  background-color: #FFF3E0; /* Soft saffron */
  padding: 60px 20px;
  max-width: 1100px;
  margin: 40px auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgb(255 107 53 / 0.25);
  font-family: 'Poppins', sans-serif;
  color: #4E342E;
}

.about-mvv .container.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: center;
}

.mvv-item {
  background: #fff8e1;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgb(183 28 28 / 0.1);
  transition: transform 0.3s ease;
  cursor: default;
}

.mvv-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgb(183 28 28 / 0.3);
}

.mvv-icon {
  font-size: 3rem;
  color: #FF6B35;
  margin-bottom: 15px;
  user-select: none;
}

.about-mvv h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.8rem;
  color: #B71C1C;
  margin-bottom: 12px;
}

.about-mvv p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #5D4037;
  margin: 0 auto;
  max-width: 280px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .about-mvv .container.grid {
    grid-template-columns: 1fr;
  }

  .mvv-item {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Team Section */
.about-team {
  padding: 60px 20px;
  max-width: 1100px;
  margin: 60px auto;
  font-family: 'Poppins', sans-serif;
  color: #4E342E;
  text-align: center;
  position: relative;
}

.about-team .section-title {
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  color: #B71C1C;
  margin-bottom: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.lotus-motif {
  font-size: 2.4rem;
  color: #FF6B35;
  user-select: none;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.team-member {
  background: #fff8e1;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 6px 18px rgb(183 28 28 / 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgb(183 28 28 / 0.3);
}

.team-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid #FF6B35;
}

.member-name {
  font-family: 'Crimson Text', serif;
  font-size: 1.6rem;
  color: #B71C1C;
  margin-bottom: 6px;
}

.member-role {
  font-size: 1rem;
  color: #6D4C41;
  font-weight: 600;
  margin-bottom: 12px;
}

.member-bio {
  font-size: 0.95rem;
  color: #5D4037;
  font-style: italic;
}

/* Responsive tweak */
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.about-registration {
  background: #FFF8E1; /* soft golden yellow background */
  padding: 70px 15px 60px;
  max-width: 900px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(183, 28, 28, 0.15);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: #4E342E;
  position: relative;
  overflow: hidden;
}

/* Section Title */
.about-registration .section-title {
  font-family: 'Crimson Text', serif;
  font-size: 2.8rem;
  color: #B71C1C;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 3px solid #FF6B35;
}

/* Lotus motif styling */
.lotus-motif {
  font-size: 2.5rem;
  margin-left: 8px;
  vertical-align: middle;
  color: #FF6B35;
}

/* Registration text */
.registration-text {
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
  color: #5D4037;
  font-weight: 500;
}

/* Certificate badges container */
.cert-badges {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* Individual badge styling */
.badge {
  background: #FFEBE8;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(183, 28, 28, 0.2);
  width: 160px;
  padding: 25px 15px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.badge:hover {
  transform: translateY(-10px) scale(1.07);
  box-shadow: 0 14px 38px rgba(183, 28, 28, 0.35);
}

.badge img {
  max-width: 100px;
  margin-bottom: 18px;
  filter: drop-shadow(1px 1px 1px rgba(0,0,0,0.1));
  border-radius: 50%;
  background: white;
  padding: 8px;
}

.badge p {
  font-weight: 600;
  color: #B71C1C;
  font-size: 1.1rem;
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.achievements-section {
  padding: 70px 20px;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgb(255 107 53 / 0.2);
  max-width: 1100px;
  margin: 60px auto;
}

.achievements-section::before {
  content: "ॐ";
  font-family: 'Crimson Text', serif;
  font-size: 6rem;
  color: #FF6B35;
  position: absolute;
  top: -25px;
  left: -20px;
  opacity: 0.07;
  transform: rotate(-25deg);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.section-heading {
  font-size: 2.8rem;
  font-family: 'Crimson Text', serif;
  color: #B71C1C;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #FF6B35;
  margin: 10px auto 0;
  border-radius: 2px;
}

.section-heading span {
  font-size: 1.2rem;
  color: #444;
}

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 24px;
  padding: 20px 0;
  cursor: grab;
  z-index: 1;
  position: relative;
}

.carousel-card {
  flex: 0 0 300px;
  background: #fff8e1;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(183, 28, 28, 0.15);
  scroll-snap-align: center;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid #FFECB3;
}

.carousel-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(183, 28, 28, 0.25);
}

.carousel-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-text {
  padding: 15px;
  text-align: center;
}

.card-text h3 {
  font-family: 'Crimson Text', serif;
  font-size: 1.5rem;
  color: #B71C1C;
  margin-bottom: 6px;
}

.card-text p {
  font-size: 1rem;
  color: #5D4037;
  line-height: 1.6;
}

/* Mobile Responsive Fix */
@media (max-width: 600px) {
  .carousel {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
  }

  .carousel-card {
    flex: 1 0 auto;
    margin-bottom: 20px;
  }
}


/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  margin-bottom: 20px;
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 1.8rem;
  color: #B71C1C;
  cursor: pointer;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
  .carousel {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
  }

  .carousel-card {
    flex: 1 0 auto;
    margin-bottom: 20px;
  }
}
