/* Core Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #e3f2fd);
}
.container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 2rem;
}

/* Responsive Flip Card Layout */
.flip-card-wrapper {
  width: 100%;
}
@media (min-width: 400px) {
  .flip-card-wrapper { width: 38.4%; margin: 0.25% !important; }
}
@media (min-width: 992px) {
  .flip-card-wrapper { width: 24.8%; margin: 0.25% !important; }
}

.flip-card {
  perspective: 1000px;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0.1rem;
}
.flip-card-inner {
  position: relative;
  min-height: 145px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  border-radius: 0.6rem;
  box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}
.flipped {
  transform: rotateY(180deg);
}
.flip-card-front{
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.1rem;
  border-radius: 0.6rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.7;
}
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0.1rem;
  border-radius: 0.6rem;
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.4;
}
.flip-card-front small {
  font-style: italic;
  font-weight: normal;
  font-size: 0.5rem;
}
.flip-card-back {
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  transform: rotateY(180deg);
}
.flip-card-back ul {
  padding-left: 0.8rem;
  font-size: 0.6rem;
  margin-bottom: 0.2rem;
  width: 100%;
  text-align: left;
}

/* 🎨 Refined Flip Card Themes – Harmonized Colors & Improved Contrast */

.card-bg-basic {
  background-color: #e3f2fd;       /* Light Blue */
  border: 2px solid #1565c0;       /* Bright Blue */
  color: #0d47a1;
}

.card-bg-pro {
  background-color: #f3dcff;       /* Lavender */
  border: 2px solid #9c27b0;       /* Purple Accent */
  color: #6a1b9a;
}

.card-bg-workshop {
  background-color: #b3e5fc;       /* Sky Blue */
  border: 2px solid #0288d1;       /* Blue */
  color: #01579b;
}

.card-bg-admission {
  background-color: #fff3e0;       /* Warm Beige */
  border: 2px solid #fb8c00;       /* Amber */
  color: #ef6c00;
}

.card-bg-repeat {
  background-color: #ffe4e1;       /* Light Coral */
  border: 2px solid #d32f2f;       /* Red Accent */
  color: #b71c1c;
}

.card-bg-dattak {
  background-color: #e0f7e9;       /* Mint Green */
  border: 2px solid #43a047;       /* Green */
  color: #1b5e20;
}

.card-bg-about {
  background-color: #c8e6c9;       /* Fresh Green Tint */
  border: 2px solid #388e3c;       /* Deep Green */
  color: #1b5e20;
}


/* Pricing and CTA Buttons */
.price-tag {
  font-weight: 700;
  font-size: .6rem;
  color: #333;
  background-color: rgba(255,255,255,0.6);
  padding: 0.1rem 0.3rem;
  border-radius: 0.2rem;
}
.btn-consent {
  font-size: 0.68rem;
  padding: 0.175rem 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background 0.3s ease;
}

/* Section Headings */
.section-heading {
  font-size: 1.53rem;
  font-weight: 700;
  color: #0d47a1;
  margin-bottom: 1.5rem;
  text-align: center;
}
.goal-banner {
  background-color: #ffe0b2;
  border-left: 5px solid #ff9800;
  padding: 0.5rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
  font-size: 0.935rem;
  font-weight: 600;
  color: #e65100;
  text-align: center;
}
.footer-insight {
  font-size: 0.765rem;
  color: #555;
  font-weight: 600;
}
.footer-insight small {
  font-style: italic;
}

/* Button Strip (Unified) */
.info-button-strip {
  background: linear-gradient(90deg, #b2ebf2, #e0f7fa);
  border: 1px solid #b0bec5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.info-button-strip::-webkit-scrollbar { display: none; }

.info-tab {
  flex: 1 1 0;
  padding: 0.6rem 0.5rem;
  background: transparent;
  border: none;
  border-left: 1px solid rgba(0, 0, 0, 0.15);
  font-weight: 600;
  font-size: 0.76rem;
  color: #004d40;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
}
.info-tab:first-child { border-left: none; }
.info-tab:hover,
.info-tab:focus {
  background: rgba(0, 121, 107, 0.15);
  color: #00332c;
}
.info-tab:active {
  background: rgba(0, 105, 92, 0.2);
  transform: scale(0.98);
}
@media (max-width: 576px) {
  .info-tab {
    font-size: 0.7rem;
    padding: 0.5rem 0.3rem;
  }
}

/* Text Utilities */
.text-gradient {
  background: linear-gradient(to right, #00796b, #0288d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-dark-emphasis {
  color: #37474f;
  font-weight: 500;
}

/* Highlight Section Block */
.highlight-intro {
  background-color: #e0f7fa;
  border-radius: 0.75rem;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  display: inline-block;
  margin: auto;
  transition: all 0.3s ease;
}
.highlight-intro:hover {
  transform: scale(1.01);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Floating Help Button */
.need-help-btn {
  position: fixed;
  bottom: 150px;
  right: 10px;
  z-index: 1055;
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.765rem;
  font-weight: bold;
  background-color: #0d6efd;
  color: white;
  transition: background 0.3s ease;
}
.need-help-btn:hover {
  background-color: #0b5ed7;
}
body.dnyan-body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background: linear-gradient(135deg, #e0f7fa, #e3f2fd);
  overflow-x: hidden;
}

.mt-header-spacer {
  height: 65px; /* Matches your header */
}

.mb-footer-spacer {
  height: 90px; /* Matches your footer */
}

.ds-page-container {
  min-height: calc(100vh - 135px); /* Total space minus header and footer */
  padding: 1rem;
}
