@import url('https://fonts.googleapis.com/css2?family=Baloo+Thambi+2:wght@400;500;600;700;800&family=Fredoka:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2ED0D4;
  --secondary-color: #FF8552;
  --dark-blue: #2c3e50;
  --light-gray-bg: #f8f9fa;
  --text-muted: #8492a6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Baloo Thambi 2', 'Fredoka', sans-serif;
  background-color: #FFF9F4;
  color: #344955;
  overflow-x: hidden;
}

.tamil-text { font-family: 'Baloo Thambi 2', sans-serif; }
.english-text { font-family: 'Fredoka', sans-serif; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: #03A6A1;
}

a {
  text-decoration: none;
  color: #FF4F0F;
}

/* =====================
   INNER BANNER
   ===================== */
.inner-banner {
  padding: 80px 0;
  background-color: var(--dark-blue);
  position: relative;
}

@media (max-width: 768px) {
  .inner-banner { padding: 60px 0; }
}

.inner-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.inner-banner .container {
  position: relative;
  z-index: 2;
}

.banner-title {
  color: white;
  font-weight: 700;
  font-size: 2rem;
}

@media (max-width: 576px) {
  .banner-title { font-size: 1.4rem; }
}

.breadcrumb {
  width: fit-content;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 30px;
  border-radius: 50px;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
  max-width: 100%;
}

.breadcrumb-item a { color: white; text-decoration: none; font-weight: 600; }
.breadcrumb-item.active { color: var(--primary-color); font-weight: 600; }
.breadcrumb-item::before { color: white; }

/* =====================
   DROPDOWN
   ===================== */
.dropdown-hover:hover > .dropdown-menu,
.dropdown-hover .dropdown-menu:hover {
  display: block !important;
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
  }
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animated-gradient-bg {
  background: linear-gradient(270deg, #b2f7b2, #a8e063, #d4fc79, #b2f7b2);
  background-size: 600% 600%;
  animation: gradientMove 12s ease infinite;
  border: 4px double #34a853;
  border-bottom: 8px solid #34a853;
  border-radius: 30px;
}

@keyframes floatButton {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.jump-button {
  background: linear-gradient(135deg, #34a853, #a8e063);
  color: white !important;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.6rem 2.2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  animation: floatButton 2.5s infinite ease-in-out;
  display: inline-block;
}

.jump-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}

/* =====================
   SOLUTION CARD
   ===================== */
.solution_card {
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(136,144,195,0.2), 0 5px 15px 0 rgba(37,44,97,0.15);
  border-radius: 15px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: 0.7s;
}

.solution_card .read_more_btn {
  border: 0;
  border-radius: 15px;
  background: linear-gradient(140deg, #42c3ca 0%, #42c3ca 50%, #42c3cac7 75%) !important;
  color: #fff;
  font-weight: 500;
  padding: 5px 16px;
  font-size: 14px;
  cursor: pointer;
}

.solution_card .read_more_btn a {
  color: #fff;
  text-decoration: none;
}

.solu_description p {
  color: #333;
  transition: color 0.7s;
}

.solution_card:hover {
  background: #46bdc6 !important;
  color: #fff;
  transform: scale(1.05);
  z-index: 9;
}

.solution_card:hover::before {
  background: rgb(85 108 214 / 10%);
}

.solution_card:hover .solu_description p { color: #fff; }

.solution_card:hover .read_more_btn {
  background: #fff !important;
  color: black;
}

.solution_card:hover .read_more_btn a { color: black; }

.solution_card:before {
  content: "";
  position: absolute;
  background: rgb(85 108 214 / 5%);
  width: 170px;
  height: 400px;
  z-index: -1;
  transform: rotate(42deg);
  right: -56px;
  top: -23px;
  border-radius: 35px;
}

.hover_color_bubble {
  position: absolute;
  background: rgb(54 81 207 / 15%);
  width: 100rem;
  height: 100rem;
  left: -18rem;
  right: 0;
  z-index: -1;
  top: 16rem;
  border-radius: 50%;
  transform: rotate(-36deg);
  transition: 0.7s;
}

.solution_card:hover .hover_color_bubble { top: 0rem; }

/* =====================
   UTILITY COLORS
   ===================== */
.bg-info { background-color: rgba(46, 208, 212, 1) !important; }

.btn-info {
  background: linear-gradient(to bottom, #2ED0D4 50%, #FF8552 50%);
  background-size: 100% 200%;
  background-position: top;
  border-color: #2ED0D4;
  color: #fff;
  transition: background-position 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.btn-info:hover {
  background-position: bottom;
  border-color: #FF8552;
  color: #fff;
}

.btn-outline-info { background-color: rgba(46, 208, 212, 1) !important; }
.border-info { border: 1px solid rgba(46, 208, 212, 1) !important; }
.text-info { color: rgba(46, 208, 212, 1) !important; }
.bg-outline-info:hover { background-color: rgba(46, 208, 212, 1) !important; }

/* =====================
   BOOK SECTION
   ===================== */
.book-section { min-height: 50vh; }

/* =====================
   OWL CAROUSEL
   ===================== */
.owl-carousel .owl-item { transition: all 0.3s ease-in-out; }

.owl-carousel .owl-item .card {
  padding: 10px;
  position: relative;
}

.owl-carousel .owl-stage-outer {
  overflow-y: auto !important;
  padding-top: 40px;
  padding-bottom: 40px;
}

.owl-carousel .owl-item img {
  height: 200px;
  object-fit: initial;
  border-radius: 6px;
}

.owl-carousel .owl-item .card .name {
  position: absolute;
  bottom: -20px;
  left: 33%;
  color: #101c81;
  font-size: 1.1rem;
  font-weight: 600;
  background-color: aquamarine;
  padding: 0.3rem 0.4rem;
  border-radius: 5px;
  box-shadow: 2px 3px 15px #3c405a;
}

.owl-carousel .owl-item .card {
  opacity: 0.5;
  transform: scale3d(0.8, 0.8, 0.8);
  transition: all 0.3s ease-in-out;
}

.owl-carousel .owl-item.active.center .card {
  opacity: 1.5;
  transform: scale3d(1, 1, 1);
}

.owl-carousel .owl-dots {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.owl-theme .owl-dots .owl-dot span {
  height: 13px;
  background: rgba(46, 208, 212, 1) !important;
  border-radius: 2px !important;
  opacity: 1;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  height: 10px;
  width: 10px;
  opacity: 1.5;
  transform: translateY(2px);
  background: rgb(159, 245, 247) !important;
}

@media (min-width: 480.6px) and (max-width: 575.5px) {
  .owl-carousel .owl-item .card .name { left: 24%; }
}

@media (max-width: 360px) {
  .owl-carousel .owl-item .card .name { left: 30%; }
}

/* =====================
   DROPCAP
   ===================== */
.dropcap-block {
  width: 100%;
  font-size: 1.0rem;
  text-align: justify;
}

.dropcap-block::first-letter {
  float: left;
  font-size: 3.5rem;
  font-weight: bold;
  color: #dc3545;
  line-height: 1;
  padding-right: 5px;
}

/* =====================
   SLIDER SECTION
   ===================== */
.slider-section {
  background: rgba(0, 186, 188, 0.8);
  padding: 60px 0;
  position: relative;
}

.slider-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 30px;
  border-radius: 0 0 20px 20px;
  font-weight: bold;
  font-size: 1.25rem;
  white-space: nowrap;
}

.slider-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.slider-img { width: 100%; height: auto; border-radius: 10px; }
.slider-img-wrapper { position: relative; }

.overlay-btn {
  position: absolute;
  bottom: 10px;
  right: 15px;
  background: rgba(0, 186, 188, 0.8);
  color: white;
  border: none;
  padding: 6px 16px;
  border-radius: 10px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .slider-title { font-size: 1rem; padding: 6px 15px; }
}

/* =====================
   CAROUSEL CONTROLS
   ===================== */
.custom-carousel-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(0, 186, 188, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 576px) {
  .custom-carousel-control { width: 36px; height: 36px; }
}

.custom-carousel-control i { color: black; font-size: 20px; }

.carousel-control-prev { left: -30px; }
.carousel-control-next { right: -30px; }

@media (max-width: 768px) {
  .carousel-control-prev { left: 0; }
  .carousel-control-next { right: 0; }
}

/* =====================
   CUSTOM LINKS
   ===================== */
.custom-link { text-decoration: none; }
.custom-link:hover { text-decoration: underline; }
.custom-color { color: black; }
.custom-color:hover { color: #FF4F0F !important; }

/* =====================
   UNIQUE HEADING
   ===================== */
@keyframes shimmer-heading {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.unique-heading {
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  background: linear-gradient(90deg, rgba(46,208,212,1), rgba(0,153,255,1), rgba(255,133,82,1), rgba(46,208,212,1));
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer-heading 4s linear infinite;
  position: relative;
  padding-bottom: 0.6rem;
  margin: 2rem 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.unique-heading::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: rgba(46, 208, 212, 1);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(46, 208, 212, 0.6);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { width: 80px; opacity: 1; }
  50% { width: 120px; opacity: 0.7; }
}

@media (min-width: 768px) {
  .unique-heading { font-size: 1.6rem; }
}

/* =====================
   SCROLL TOP BUTTON
   ===================== */
@keyframes fall-in {
  0% { opacity: 0; transform: translateY(-100px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--dark-blue, #2c3e50);
  color: var(--primary-color, #2ED0D4);
  font-size: 22px;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  z-index: 999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
}

.scroll-top-btn.show {
  visibility: visible;
  animation: fall-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scroll-top-btn:hover {
  background: var(--primary-color, #2ED0D4);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(46, 208, 212, 0.7);
}

.scroll-top-btn i { pointer-events: none; transition: transform 0.3s ease; }
.scroll-top-btn:hover i { transform: translateY(-2px); }

/* =====================
   FOOTER
   ===================== */
.f_footer {
  background: #1a1a1a;
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
  line-height: 1.5em;
}

.footer_section { margin-bottom: 20px; }
.footer_section p { line-height: 2em; }

.footer_top h4 {
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 15px;
  color: rgba(46, 208, 212, 1);
}

.footer_top ul { list-style: none; padding: 0; }
.footer_top ul li { margin-bottom: 8px; }
.footer_top ul li a { color: #ccc; text-decoration: none; }
.footer_top ul li a:hover { color: rgba(46, 208, 212, 1); }

.text-left { text-align: left; }
.text-right { text-align: right; }

/* =====================
   KEYFRAME ANIMATIONS
   ===================== */
@keyframes wiggle {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@keyframes bounceIn {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.05); opacity: 0.9; }
  70% { transform: scale(0.9); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes slideInLeft {
  0% { transform: translateX(-60px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRight {
  0% { transform: translateX(60px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes slideInUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes float-star-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -20px) scale(1.2); }
  66% { transform: translate(-8px, -10px) scale(0.9); }
}

@keyframes float-star-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-12px, -15px) scale(0.8); }
  66% { transform: translate(8px, -25px) scale(1.1); }
}

@keyframes float-star-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(15px, -18px) scale(1.3); }
}

@keyframes jumpAnimation {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 12px rgba(0,0,0,0.15); }
  50% { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0,0,0,0.25); }
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  25% { transform: scale(1.3) rotate(90deg); opacity: 0.7; }
  50% { transform: scale(0.8) rotate(180deg); opacity: 1; }
  75% { transform: scale(1.2) rotate(270deg); opacity: 0.8; }
}

@keyframes starFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 1; }
  50% { transform: translateY(-15px) rotate(180deg); opacity: 0.6; }
}

/* =====================
   FLOATING DECORATIONS
   ===================== */
.floating-decorations {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-decorations .star {
  position: absolute;
  font-size: 1.5rem;
}

.floating-decorations .star:nth-child(1) { top: 15%; left: 5%; animation: float-star-1 4s ease-in-out infinite; }
.floating-decorations .star:nth-child(2) { top: 60%; left: 3%; animation: float-star-2 5s ease-in-out infinite 0.5s; }
.floating-decorations .star:nth-child(3) { top: 30%; right: 4%; animation: float-star-3 3.5s ease-in-out infinite 1s; }
.floating-decorations .star:nth-child(4) { top: 70%; right: 6%; animation: float-star-1 4.5s ease-in-out infinite 1.5s; }
.floating-decorations .star:nth-child(5) { top: 10%; left: 45%; animation: float-star-2 3s ease-in-out infinite 0.8s; }

/* =====================
   THEME CTA DARK
   ===================== */
.theme-cta-dark {
  background: var(--dark-blue, #2c3e50);
  border-radius: 20px;
  border-top: 5px solid var(--primary-color, #2ED0D4);
  box-shadow: 0 10px 25px rgba(46, 208, 212, 0.15);
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

.theme-cta-dark::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(46, 208, 212, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.theme-cta-dark:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(46, 208, 212, 0.25);
}

.cta-title-dark-tamil {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Baloo Thambi 2', cursive;
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.cta-title-dark-english {
  color: var(--primary-color, #2ED0D4);
  font-family: 'Fredoka', cursive;
  font-size: 1.5rem;
  word-spacing: 5px;
  font-weight: 600;
  margin-bottom: 0;
}

.cta-button-dark {
  background: var(--secondary-color, #FF8552);
  color: white !important;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 133, 82, 0.3);
  animation: jumpAnimation 3s infinite ease-in-out;
  white-space: nowrap;
  display: inline-block;
}

.cta-button-dark:hover {
  background: #e67e22;
  box-shadow: 0 8px 20px rgba(255, 133, 82, 0.4);
}

/* =====================
   ABOUT CARDS
   ===================== */
.about-cards-section .card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 20px !important;
}

.about-cards-section .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.about-cards-section .card .btn {
  transition: all 0.3s ease;
  border-radius: 50px !important;
}

.about-cards-section .card .btn:hover {
  transform: scale(1.05);
}

/* =====================
   QUICK LINKS
   ===================== */
.quick-link-item {
  transition: transform 0.3s ease;
  padding: 6px;
  border-radius: 10px;
}

.quick-link-item:hover {
  transform: translateX(8px);
  background: rgba(46, 208, 212, 0.08);
}

.quick-link-item img {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.quick-link-item:hover img {
  transform: rotate(10deg) scale(1.1);
}

/* =====================
   SOCIAL ICONS
   ===================== */
.social-icon-wrap i {
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.social-icon-wrap i:hover {
  transform: translateY(-4px) scale(1.2);
  animation: sparkle 0.5s ease;
}

/* =====================
   LIVECLASS SECTION
   ===================== */
.liveclass-text-box {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.liveclass-text-box:hover {
  transform: scale(1.02);
}

.liveclass-image-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.liveclass-image-card:hover { transform: scale(1.03); }

/* =====================
   EVENT CARDS
   ===================== */
.event-date-badge {
  animation: bounceIn 0.6s ease-out both;
  transition: transform 0.2s ease;
}

.event-date-badge:hover { transform: scale(1.1); }

/* =====================
   TESTIMONIALS
   ===================== */
.testimonial-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 20px !important;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(46, 208, 212, 0.2) !important;
}

.testimonial-card .profile-img {
  transition: transform 0.3s ease;
  border-radius: 50%;
}

.testimonial-card:hover .profile-img {
  transform: scale(1.1) rotate(5deg);
}

/* =====================
   ICON ANIMATIONS
   ===================== */
@keyframes rainbow-border {
  0% { border-color: #2ED0D4; }
  25% { border-color: #FF8552; }
  50% { border-color: #a855f7; }
  75% { border-color: #22c55e; }
  100% { border-color: #2ED0D4; }
}

@keyframes tada {
  0% { transform: scale(1); }
  10%, 20% { transform: scale(0.9) rotate(-3deg); }
  30%, 50%, 70%, 90% { transform: scale(1.1) rotate(3deg); }
  40%, 60%, 80% { transform: scale(1.1) rotate(-3deg); }
  100% { transform: scale(1) rotate(0); }
}

.kids-card-icon { transition: transform 0.3s ease; }

.about-cards-section .card:hover .kids-card-icon {
  animation: tada 1s ease;
}

@keyframes colorPop {
  0% { color: #2ED0D4; }
  33% { color: #FF8552; }
  66% { color: #a855f7; }
  100% { color: #2ED0D4; }
}

.quote-icon { animation: colorPop 3s linear infinite; }

/* =====================
   CARD IMAGE HOVER
   ===================== */
.card-img-hover {
  overflow: hidden;
  border-radius: 12px;
}

.card-img-hover img { transition: transform 0.5s ease; }

.solution_card:hover .card-img-hover img { transform: scale(1.06); }

.more-events-btn { animation: floatButton 2.5s ease-in-out infinite; }

/* =====================
   SECTION WRAPPER
   ===================== */
.section-wrapper {
  position: relative;
  overflow: hidden;
}

.section-wrapper::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,208,212,0.08) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
  z-index: 0;
}

.section-wrapper::after {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,133,82,0.08) 0%, transparent 70%);
  bottom: -80px; left: -80px;
  pointer-events: none;
  z-index: 0;
}

.section-wrapper > * { position: relative; z-index: 1; }

/* =====================
   BANNER WAVE
   ===================== */
@keyframes waveFloat {
  0%, 100% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-20px) scaleY(1.05); }
}

.banner-wave {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.banner-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 40px;
  animation: waveFloat 6s ease-in-out infinite;
}

@media (max-width: 576px) {
  .banner-wave svg { height: 24px; }
}

/* =====================
   BANNER CAROUSEL — MOBILE
   ===================== */
/* On mobile, show the caption */
@media (max-width: 767px) {
  .kids-banner-section .carousel-item img {
    max-height: 260px;
    object-fit: cover;
  }

  .kids-banner-section .carousel-caption {
    display: block !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 0.8rem 1rem 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }

  .kids-banner-section .carousel-caption h5 {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .kids-banner-section .carousel-caption p {
    font-size: 0.7rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.5rem;
  }
}

/* =====================
   CTA SECTION — MOBILE
   ===================== */
@media (max-width: 576px) {
  .cta-title-dark-tamil { font-size: 0.95rem; }
  .cta-title-dark-english { font-size: 1.1rem; word-spacing: 2px; }

  .cta-button-dark {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    width: 100%;
    text-align: center;
    animation: none; /* stop bounce on tiny screens for UX */
  }

  .theme-cta-dark .d-flex {
    flex-direction: column !important;
    gap: 1rem;
  }

  .theme-cta-dark .text-end {
    text-align: center !important;
  }

  .theme-cta-dark .text-start {
    text-align: center !important;
  }
}

/* =====================
   ABOUT CARDS — MOBILE
   ===================== */
@media (max-width: 767px) {
  /* Stack cards vertically with breathing room */
  .about-cards-section .col-12 {
    margin-bottom: 2rem;
  }

  /* Disable scale hover on touch */
  .about-cards-section .card:hover {
    transform: none;
  }

  .dropcap-block::first-letter { font-size: 2.5rem; }

  /* Tighten quick link text on small screens */
  .quick-link-item a {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .quick-link-item img {
    height: 24px !important;
  }
}

/* =====================
   LIVECLASS SECTION — MOBILE
   ===================== */
@media (max-width: 767px) {
  .liveclass-section {
    min-height: auto !important;
  }

  .liveclass-text-box {
    margin-bottom: 1rem;
  }

  .liveclass-image-card {
    margin-top: 1rem;
  }

  /* Image carousel height on mobile */
  #imageCarousel .carousel-inner {
    height: 200px !important;
  }
}

/* =====================
   EVENTS SECTION — MOBILE
   ===================== */
@media (max-width: 767px) {
  .solution_card:hover {
    transform: scale(1.02); /* reduced scale on mobile */
  }

  /* Event cards: full-width stacked on small screens */
  .solution_card {
    margin-bottom: 1.5rem;
  }

  /* "More Events" button stays centered on mobile */
  .col-12.text-end {
    text-align: center !important;
  }
}

/* =====================
   TESTIMONIALS — MOBILE
   ===================== */
@media (max-width: 767px) {
  /* Stack testimonial cards vertically */
  #testimonialCarousel .carousel-item .row {
    flex-direction: column;
  }

  #testimonialCarousel .carousel-item .col-12 {
    width: 100%;
    max-width: 100%;
    margin: 0 0 1rem 0 !important;
  }

  /* Shift carousel arrows inside on mobile */
  #testimonialCarousel .carousel-control-prev {
    left: 0;
  }

  #testimonialCarousel .carousel-control-next {
    right: 0;
  }

  .testimonial-card {
    margin-bottom: 1rem;
  }

  .testimonial-card:hover {
    transform: none; /* disable hover lift on touch */
  }
}

/* =====================
   UNIQUE HEADING — MOBILE
   ===================== */
@media (max-width: 768px) {
  .unique-heading {
    font-size: 1.2rem;
    margin: 1.5rem 0;
  }
}

@media (max-width: 576px) {
  .unique-heading {
    font-size: 1rem;
    letter-spacing: 0.5px;
    padding: 0 1rem;
  }
}

/* =====================
   OWL CAROUSEL — MOBILE
   ===================== */
@media (max-width: 576px) {
  .owl-carousel .owl-item img {
    height: 160px;
  }
}

/* =====================
   FOOTER — MOBILE
   ===================== */
@media (max-width: 767px) {
  .f_footer {
    text-align: center;
    padding: 30px 0;
  }

  .footer_top ul li {
    text-align: center;
  }

  .text-right {
    text-align: center !important;
  }
}

/* =====================
   SCROLL TOP — MOBILE
   ===================== */
@media (max-width: 576px) {
  .scroll-top-btn {
    bottom: 20px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

/* =====================
   PRINT
   ===================== */
@media print {
  .floating-decorations,
  .scroll-top-btn,
  .banner-wave { display: none; }
}

.breadcrumb-item a {
  transition: all 0.3s ease;
  text-decoration: none;
  color: #6c757d;
}

.breadcrumb-item a:hover {
  color: rgba(46, 208, 212, 1) !important;
}

.syllabus-section {
  padding: 80px 0;
  /* background-color: #fafdfd; */
}

.syllabus-title {
  font-size: 32px;
  font-weight: 800;
  text-align: center;
  color: rgba(46, 208, 212, 1);
  margin-bottom: 50px;
  letter-spacing: 0.5px;
}

.syllabus-card {
  background: #ffffff;
  border-radius: 24px;
  text-align: center;
  padding: 0 24px 40px;
  margin-top: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 1px solid rgba(46, 208, 212, 0.1);
}

.syllabus-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(46, 208, 212, 0.15);
  border-color: rgba(46, 208, 212, 0.4);
}

.syllabus-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -55px;
  border: 5px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  transition: transform 0.4s ease;
}

.syllabus-card:hover img {
  transform: scale(1.05);
}

.syllabus-heading {
  font-size: 21px;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 25px;
  transition: color 0.3s ease;
}

.syllabus-desc {
  font-size: 14px;
  color: #6c757d;
  margin-top: 12px;
  min-height: 50px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.syllabus-card:hover .syllabus-heading {
  color: rgba(46, 208, 212, 1);
}

.syllabus-card:hover .syllabus-desc {
  color: #495057;
}

.circle-arrow {
  width: 50px;
  height: 50px;
  background: #ffffff;
  border: 2px solid rgba(46, 208, 212, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(46, 208, 212, 0.2);
  z-index: 10;
}

.circle-arrow i {
  color: rgba(46, 208, 212, 1);
  font-size: 20px;
  transition: color 0.3s ease;
}

.syllabus-card:hover .circle-arrow {
  background: rgba(46, 208, 212, 1);
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 10px 20px rgba(46, 208, 212, 0.4);
}

.syllabus-card:hover .circle-arrow i {
  color: #ffffff;
}

.empty-state-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 60px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px dashed rgba(46, 208, 212, 0.5);
}

/* stages */

.stage-card {
  background-color: #EAEAEA;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.stage-card:hover {
  transform: scale(1.05);
}

.stage-description {
  background-color: #FF8552;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stage-card:hover .stage-description {
  opacity: 1;
}

/* student register */

.intro-box {
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  background-color: #FF8552;
  color: white !important;
  /* margin-bottom: 3rem; */
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  transition: 0.4s ease;
}

.intro-box:hover {
  transform: scale(1.02);
  background-color: #2ED0D4;
  color: black !important;
}

.tamil-text {
  font-family: 'Baloo Thambi 2', sans-serif;
  color: #03A6A1;
  font-size: 1rem;
}

.english-text {
  font-family: 'Fredoka', sans-serif;
  color: #FF4F0F;
  font-size: 1rem;
}

.form-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 3rem;
  max-width: 900px;
  margin: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: bold;
  color: #344955;
}

.form-control,
.form-select {
  border-radius: 0.75rem;
  border: 2px solid #FFA673;
}

.form-control:focus {
  box-shadow: none;
  border-color: #2ED0D4;
}

/* login */

.icon-input i {
  color: #2ED0D4;
}


.form-section {
  margin-bottom: 1.5rem;
}


/* event details */

.event-wrapper {
  background: #fff;
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.event-title {
  color: #FF4F0F;
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  font-family: 'Baloo Chettan 2', cursive;
}

.event-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.meta-card {
  background-color: #FAFAFA;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.meta-card:hover {
  transform: translateY(-2px);
}

.meta-icon {
  background-color: #FFEEE6;
  color: #FF4F0F;
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meta-text {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  line-height: 1.4;
}

.meta-text strong {
  display: block;
  font-size: 12px;
  color: #888;
  font-weight: 600;
  margin-top: 4px;
}

.event-content {
  font-size: 16px;
  line-height: 1.9;
  color: #222;
  margin-top: 1rem;
}

.section-title {
  font-weight: 600;
  font-size: 20px;
  color: #333;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.breadcrumb a {
  font-size: 14px;
  font-weight: 500;
}

.gallery img {
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.gallery img:hover {
  transform: scale(1.04);
}

/* library */
.text-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.book-image-wrapper {
  position: relative;
}

.book-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(46, 208, 212, 0.5);
  /* blue shade */
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 0.5rem;
}

.book-image-wrapper:hover .book-thumb {
  opacity: 0.3;
}

.book-image-wrapper:hover .book-overlay {
  opacity: 1;
}

.tab-nav-custom .nav-link {
  font-weight: bold;
  color: #2ED0D4;
  border: none;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-nav-custom .nav-link:hover {
  background-color: rgba(46, 208, 212, 0.1);
  border-color: rgba(46, 208, 212, 0.3);
}

.tab-nav-custom .nav-link a:hover {
  color: #FF8552 !important;
}

.tab-nav-custom .nav-link.active {
  background-color: rgba(46, 208, 212, 0.1);
  border-color: rgba(46, 208, 212, 1);
}

.tab-nav-custom .nav-link a:active {
  color: #FF8552 !important;
}

.library-sidebar {
  background-color: #E6FAFA;
}

.book-card {
  background-color: #F0FFFF;
}

.book-thumb {
  border: 2px solid #ACF1F1;
  background-color: #ffffff;
  object-fit: fill;
  height: 180px;
  transition: opacity 0.4s ease;
}

.btn-custom {
  background-color: rgba(46, 208, 212, 1);
  color: white;
}

.btn-custom:hover {
  background-color: #28bfc3;
  color: white;
}

.filter-link {
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  color: #333;
  display: block;
  transition: background-color 0.2s, color 0.2s;
}

.filter-link:hover {
  background-color: rgba(46, 208, 212, 0.15);
  color: #007c7e;
}

/* teachers */
.overlay-container {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.overlay-container img {
  display: block;
  width: 100%;
  height: auto;
}

.overlay-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 24px;
}

.overlay-container:hover .overlay {
  opacity: 1;
}

.bg-theme {
  background-color: #2ED0D4 !important;
  border-top: 1px solid #d3f5f6;
  padding: 1rem;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.bg-theme h5,
.bg-theme p {
  color: #fff;
  margin-bottom: 0.25rem;
}


.card-wrapper {
  margin: 10px;
  position: relative;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  text-align: center;
  border-top: 4px solid #2ED0D4;
}

.card-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-wrapper img {
  width: 100%;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.card-body h5 {
  margin-top: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: color 0.2s;
}

.card-body h5:hover {
  color: #FF8552;
}

.modal-title {
  font-weight: 600;
  color: #333;
}

.card-body p {
  font-size: 0.9rem;
  color: #6c757d;
}

.share-container {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}

.share-btn {
  width: 36px;
  height: 36px;
  background: #2ED0D4;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.share-icons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: absolute;
  top: 45px;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.share-container:hover .share-icons {
  opacity: 1;
  visibility: visible;
}

.share-icons a {
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  color: #2ED0D4;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s;
}

.share-icons a:hover {
  background-color: #FF8552;
  color: #fff;
}

/* testimonials */

.testimonial-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease-in-out;
  min-height: 3.2rem;
}

.testimonial-text.expanded {
  display: block;
  -webkit-box-orient: initial;
  -webkit-line-clamp: none;
  line-clamp: none;
  overflow: visible;

}

.toggle-btn {
  border: none;
  background: transparent;
  color: #FF8552;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.toggle-btn i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.toggle-btn i.rotate {
  transform: rotate(180deg);
}

.scroll-container {
  max-height: 600px;
  overflow-y: auto;
  padding: 0 2rem;
  scrollbar-width: thin;
  scrollbar-color: #2ED0D4 #F0F0F0;
}

.scroll-container::-webkit-scrollbar {
  width: 8px;
}

.scroll-container::-webkit-scrollbar-track {
  background-color: #F0F0F0;
  border-radius: 10px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background-color: #2ED0D4;
  border-radius: 10px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
  background-color: #FF8552;
}


.testimonial-card {
  min-height: 180px;
}

/* contacts */

.contact-card {
  border: 2px solid transparent;
  border-bottom-width: 6px;
  border-radius: 1rem;
  padding: 1.5rem;
  background-color: #F8FAFC;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
}

/* Color themes */
.card-color-1 {
  border-color: #2ED0D4;
  border-bottom: 6px solid #2ED0D4;
}

.card-color-2 {
  border-color: #FF8552;
  border-bottom: 6px solid #FF8552;
}

.card-color-3 {
  border-color: #007BFF;
  border-bottom: 6px solid #007BFF;
}

.card-color-4 {
  border-color: #6F42C1;
  border-bottom: 6px solid #6F42C1;
}

.circle-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -30px auto 15px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  top: -20px;
}

/* Matching icon wrapper background */
.icon-bg-1 {
  background-color: #2ED0D4;
}

.icon-bg-2 {
  background-color: #FF8552;
}

.icon-bg-3 {
  background-color: #007BFF;
}

.icon-bg-4 {
  background-color: #6F42C1;
}

/* fee details */
.swiper {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 2s ease-in-out;
}

.swiper-slide-active img {
  transform: scale(1.08);
}

.accordion-button {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #2ED0D4;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #2ED0D4;
}

.accordion-body {
  font-size: 1rem;
  line-height: 1.8;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* instructions */

.carousel-inner img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background-color: #F8FAFC;
  font-weight: 600;
  color: #2ED0D4;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #2ED0D4;
}

.accordion-body {
  font-size: 1rem;
  line-height: 1.8;
}

.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* .carousel {
  max-height: 350px;
  overflow: hidden;
} */

/* mobile app */
.tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-buttons .tab-btn {
  border: none;
  background-color: #f0f4f8;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 6px;
  font-weight: 600;
  color: #333;
  transition: background-color 0.3s;
}

.tab-buttons .tab-btn.active,
.tab-buttons .tab-btn:hover {
  background-color: #1e293b;
  color: #fff;
}

.download-links a {
  display: inline-block;
  margin: 5px 10px 5px 0;
  padding: 8px 12px;
  background-color: #1e293b;
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

.download-links a:hover {
  background-color: #0f172a;
}



/* wishes points */
.intro-section {
  background-color: #f0f9ff;
  padding: 60px 0;
  border-radius: 1rem;
}

.intro-text {
  max-width: 800px;
  margin: 0 auto;
}

.intro-text h2 {
  color: #0e7490;
  font-weight: bold;
  margin-bottom: 1rem;
}

.intro-text p {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.8;
}

.points-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  margin-top: -40px;
  z-index: 10;
  position: relative;
}

.points-card h4 {
  color: #0e7490;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.points-card ul {
  padding-left: 0;
  list-style: none;
}

.points-card li {
  position: relative;
  padding-left: 20px;
}

.toy-section {
  margin-top: 3rem;
}

.toy-level-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0e7490;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #0e7490;
  display: inline-block;
  padding-bottom: 5px;
}

.toy-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.points-conclusion {
  background-color: #f0f9ff;
  padding: 15px 20px;
  border-left: 4px solid #0e7490;
  border-radius: 0.5rem;
  font-size: 15px;
}

/* take quiz */

:root {
  --primary: #2ED0D4;
  --secondary: #FF8552;
  --accent: #FFD700;
  --dark: #2c3e50;
  --light-bg: #F0F4F8;
  --card-bg: #ffffff;
}



.quiz-sidebar {
  position: sticky;
  top: 100px;
  padding-right: 20px;
}

.stepper-wrapper {
  position: relative;
  padding-left: 20px;
}

.stepper-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 29px;
  height: 100%;
  width: 3px;
  background: #e0e0e0;
  z-index: 1;
}

.stepper-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.stepper-item.active,
.stepper-item.completed {
  opacity: 1;
}

.step-circle {
  width: 22px;
  height: 22px;
  background: #fff;
  border: 3px solid #ccc;
  border-radius: 50%;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  position: relative;
  z-index: 3;
}

.stepper-item.active .step-circle {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(46, 208, 212, 0.2);
  background: var(--primary);
}

.stepper-item.completed .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.stepper-item.completed .step-circle::after {
  content: '✔';
  font-weight: bold;
}

.step-content h6 {
  font-weight: 800;
  margin: 0;
  color: var(--dark);
  font-size: 1.30rem;
}

.step-content p {
  margin: 0;
  font-size: 1rem;
  color: #888;
}

.question-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  border-left: 6px solid transparent;
}

.question-card.collapsed {
  height: 70px;
  opacity: 0.8;
  cursor: pointer;
  overflow: hidden;
}

.question-card.collapsed .card-body {
  display: none;
}

.question-card.collapsed.completed {
  border-left-color: var(--primary);
  background-color: #f8fffe;
}

.question-card.active {
  border-left-color: var(--secondary);
  transform: scale(1.02);
  z-index: 10;
  box-shadow: 0 15px 40px rgba(46, 208, 212, 0.15);
  height: auto;
  opacity: 1;
}

/* Removed pointer-events: none to allow clicking back */
.question-card.locked {
  opacity: 0.6;
  filter: grayscale(0.5);
}

.question-card.locked:hover {
  filter: grayscale(0);
  opacity: 0.9;
}

.option-label {
  width: 100%;
  cursor: pointer;
}

.option-box {
  border: 2px solid #eee;
  border-radius: 15px;
  padding: 10px;
  transition: all 0.2s;
  height: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
}

.option-box.has-media {
  flex-direction: column;
  text-align: center;
}

.option-box:hover {
  border-color: var(--primary);
  background-color: #f0fdff;
}

.option-input:checked+.option-box {
  border-color: var(--primary);
  background-color: #e0f7fa;
  box-shadow: 0 0 0 3px rgba(46, 208, 212, 0.3);
}

.option-media-img {
  max-height: 120px;
  border-radius: 8px;
  margin-bottom: 10px;
  object-fit: contain;
}

.q-media-container img {
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tamil-input-wrapper {
  position: relative;
}

.form-control-quiz {
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 10px;
  font-size: 0.90rem;
  transition: all 0.3s;
  width: 100%;
}

.form-control-quiz:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(46, 208, 212, 0.1);
}

.btn-keypad {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.8rem;
  cursor: pointer;
  color: var(--dark);
  transition: 0.2s;
}

.btn-keypad:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.quiz-header-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #22aeb1 100%);
  color: white;
  border-radius: 30px;
  /* Softer, larger corners */
  padding: 35px 40px;
  position: relative;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.3);
  /* Glassmorphism border effect */
  box-shadow: 0 15px 35px rgba(46, 208, 212, 0.2);
}

/* Decorative Circles/Blobs */
.quiz-header-card::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.quiz-header-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: 10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

/* Typography */
.quiz-title {
  /* font-family: 'Fredoka', sans-serif; */
  font-weight: 600;
  font-size: 1.5rem;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.1);
  color: var(--secondary);
}

.student-badge {
  font-family: 'Baloo Thambi 2', cursive;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  padding: 8px 16px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Right Side Question Counter */
.question-counter-box {
  background: #fff;
  color: var(--secondary-color);
  /* Orange Text */
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: rotate(3deg);
  /* Playful tilt */
}

.q-count-number {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.q-count-label {
  font-family: 'Baloo Thambi 2', cursive;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-blue);
}

.star-rating i {
  color: #e0e0e0;
  font-size: 2.5rem;
  transition: color 0.5s;
}

.star-rating i.active {
  color: var(--accent);
}

.btn-outline-custom {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-outline-custom:hover:not(:disabled) {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(46, 208, 212, 0.3);
}

.btn-outline-custom:disabled {
  border-color: #e0e0e0;
  color: #999;
  background: #f8f9fa;
  cursor: not-allowed;
  opacity: 0.7;
}

.btn-outline-submit {
  border-color: var(--secondary);
  color: var(--secondary);
}

.btn-outline-submit:hover:not(:disabled) {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 133, 82, 0.3);
}

.review-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e9ecef;
  padding: 12px 15px;
  border-radius: 12px;
  margin-bottom: 10px;
  background: #fff;
  transition: all 0.2s;
}

.review-option .opt-content {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: #444;
  flex-grow: 1;
}

.review-option.user-correct {
  border: 2px solid #198754;
  background-color: #d1e7dd;
  color: #0f5132;
}

.review-option.user-wrong {
  border: 2px solid #dc3545;
  background-color: #f8d7da;
  color: #842029;
}

.review-option.actual-correct {
  border: 2px solid #198754;
  background-color: #f8fff9;
  color: #0f5132;
}

.status-badge {
  /* width: 32px; */
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

#tamilKeypadModal {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f1f1f1;
  border-top: 1px solid #ccc;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1060;
  padding: 10px;
  display: none;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

#tamilKeypadModal.show {
  transform: translateY(0);
  display: block;
}

.keypad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 5px;
  max-width: 800px;
  margin: 0 auto;
  max-height: 250px;
  overflow-y: auto;
}

.key-btn {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px 0;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  text-align: center;
}

.key-btn:active {
  background: var(--primary);
  color: white;
}

.keypad-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto 10px auto;
}



/* =====================================================
   PROFESSIONAL WELCOME PAGE ADDITIONS — sitestyle.css
   (இந்த CSS-ஐ sitestyle.css கோப்பின் கடைசியில் சேர்க்கவும்)
   ===================================================== */

/* =====================
   BANNER — PROFESSIONAL
   ===================== */
.banner-main-img {
    max-height: 560px;
    object-fit: cover;
    display: block;
}

.banner-img-wrapper {
    position: relative;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.10) 55%, transparent 100%);
    pointer-events: none;
}

.banner-caption-pro {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 5%;
    padding-bottom: 0;
    align-items: flex-end;
    z-index: 5;
}

.banner-caption-mobile {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0;
    padding-bottom: 0;
    align-items: flex-end;
    z-index: 5;
}

.banner-caption-inner {
    background: rgba(0, 186, 188, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px 20px 0 0;
    padding: 20px 28px 0 28px;
    width: 100%;
    border-top: 3px solid rgba(255,255,255,0.35);
}

.banner-caption-mobile .banner-caption-inner {
    border-radius: 0;
    padding: 12px 16px 0 16px;
}

.banner-caption-accent-line {
    width: 48px;
    height: 3px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    margin-bottom: 10px;
}

.banner-caption-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
}

.banner-caption-desc {
    color: rgba(255,255,255,0.93);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 0;
}

.banner-caption-title-sm {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.banner-caption-desc-sm {
    color: rgba(255,255,255,0.9);
    font-size: 0.72rem;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.pro-prev-btn,
.pro-next-btn {
    width: 44px;
    height: 44px;
    background: rgba(0,186,188,0.75);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255,255,255,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    position: absolute;
    z-index: 10;
}

.pro-prev-btn { left: 14px; }
.pro-next-btn { right: 14px; }

.pro-prev-btn:hover,
.pro-next-btn:hover {
    background: rgba(46,208,212,1);
    transform: translateY(-50%) scale(1.1);
}

.pro-prev-btn i,
.pro-next-btn i {
    color: #fff;
    font-size: 1rem;
}

.pro-indicators {
    bottom: 12px;
    z-index: 10;
}

.pro-indicators [data-bs-slide-to] {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.5);
    border: none;
    transition: all 0.3s ease;
}

.pro-indicators [data-bs-slide-to].active {
    background: rgba(46,208,212,1);
    width: 42px;
}

@media (max-width: 576px) {
    .banner-main-img { max-height: 320px; }
    .pro-prev-btn,
    .pro-next-btn { width: 34px; height: 34px; }
    .pro-prev-btn i,
    .pro-next-btn i { font-size: 0.8rem; }
}

/* =====================
   INFO CARDS — PROFESSIONAL
   ===================== */
.pro-info-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    position: relative;
    padding-top: 48px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.pro-info-card--red { border-color: #dc3545; }
.pro-info-card--green { border-color: #198754; }
.pro-info-card--blue { border-color: #0d6efd; }

.pro-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.13);
}

.pro-info-card__icon-wrap {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    border: 3px solid #fff;
    z-index: 5;
}

.pro-info-card:hover .pro-info-card__icon-wrap {
    animation: tada 1s ease;
}

.pro-info-card__body {
    padding: 8px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pro-info-card__title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.pro-info-card__divider {
    height: 3px;
    width: 50px;
    border-radius: 2px;
    margin: 0 auto 18px auto;
    opacity: 0.6;
}

.pro-outline-btn--dark {
    border-color: #344955;
    color: #344955;
    border-radius: 50px !important;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
}

.pro-outline-btn--dark:hover {
    background: #344955;
    color: #fff;
    transform: scale(1.03);
}

/* =====================
   QUICK LINKS — PROFESSIONAL
   ===================== */
.pro-quicklinks {
    padding: 0;
}

.pro-quicklinks__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.25s ease, transform 0.25s ease;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.pro-quicklinks__item:last-child {
    border-bottom: none;
}

.pro-quicklinks__item:hover {
    background: rgba(46,208,212,0.09);
    transform: translateX(6px);
}

.pro-quicklinks__item:hover img {
    transform: rotate(8deg) scale(1.1);
}

.pro-quicklinks__icon-box {
    width: 38px;
    height: 38px;
    background: rgba(46,208,212,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s ease;
}

.pro-quicklinks__item:hover .pro-quicklinks__icon-box {
    background: rgba(46,208,212,0.18);
}

.pro-quicklinks__icon-box img {
    transition: transform 0.3s ease;
}

.pro-quicklinks__link {
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
}

.pro-quicklinks__link:hover {
    text-decoration: underline;
}

.pro-quicklinks__sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #888;
    margin-top: 1px;
}

/* =====================
   CONTACT CARD — PROFESSIONAL
   ===================== */
.pro-enquiry-btn {
    border-radius: 50px !important;
    font-weight: 600;
    display: block;
    margin: 0 auto 16px auto;
    font-size: 0.82rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.pro-enquiry-btn:hover {
    transform: scale(1.05);
}

.pro-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.pro-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: #444;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0,0,0,0.02);
    transition: background 0.2s ease;
}

.pro-contact-item:hover {
    background: rgba(46,208,212,0.07);
}

.pro-contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.pro-social-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pro-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-social-btn:hover {
    transform: translateY(-4px) scale(1.15);
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    color: #fff;
}

.pro-social-btn--fb { background: #1877f2; }
.pro-social-btn--tw { background: #1da1f2; }
.pro-social-btn--sk { background: #00aff0; }
.pro-social-btn--yt { background: #ff0000; }
.pro-social-btn--ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

/* =====================
   CONTACT MODAL — PROFESSIONAL
   ===================== */
.pro-modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.pro-modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #fff;
    border-bottom: 3px solid rgba(46,208,212,0.5);
    padding: 18px 24px;
}

.pro-modal-header .modal-title {
    color: rgba(46,208,212,1);
    font-weight: 700;
    font-size: 1.05rem;
}

.pro-modal-icon {
    width: 34px;
    height: 34px;
    background: rgba(46,208,212,0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(46,208,212,1);
    font-size: 0.9rem;
}

.pro-modal-body {
    padding: 20px 24px;
    background: #fafafa;
}

.pro-form-group {
    margin-bottom: 12px;
}

.pro-form-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
    display: block;
    letter-spacing: 0.2px;
}

.pro-form-input {
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.85rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}

.pro-form-input:focus {
    border-color: rgba(46,208,212,1);
    box-shadow: 0 0 0 3px rgba(46,208,212,0.15);
    outline: none;
}

.pro-robot-check {
    margin-top: 4px;
    font-size: 0.82rem;
    color: #666;
}

.pro-robot-check .form-check-input:checked {
    background-color: rgba(46,208,212,1);
    border-color: rgba(46,208,212,1);
}

.pro-modal-footer {
    background: #f4f4f4;
    border-top: 1px solid #e8e8e8;
    padding: 14px 24px;
    gap: 10px;
}

.pro-modal-close-btn {
    background: transparent;
    border: 1.5px solid #ccc;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    padding: 6px 18px;
    transition: all 0.3s ease;
}

.pro-modal-close-btn:hover {
    background: #eee;
    color: #333;
}

.pro-modal-submit-btn {
    background: linear-gradient(135deg, rgba(46,208,212,1) 0%, #22aeb1 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(46,208,212,0.3);
}

.pro-modal-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,208,212,0.4);
    color: #fff;
}

/* =====================
   LIVECLASS SECTION — PROFESSIONAL
   ===================== */
.pro-liveclass-section {
    position: relative;
    min-height: 60vh;
    overflow: hidden;
}

.pro-liveclass-bg-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pro-liveclass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1;
}

.pro-liveclass-content {
    position: relative;
    z-index: 2;
    padding-top: 60px;
    padding-bottom: 60px;
}

.pro-liveclass-text-card {
    background: rgba(255,255,255,0.96);
    border-radius: 18px;
    padding: 28px 28px 24px 28px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
    border-left: 5px solid rgba(46,208,212,1);
    transition: transform 0.4s ease;
}

.pro-liveclass-text-card:hover {
    transform: scale(1.02);
}

.pro-liveclass-badge {
    display: inline-block;
    background: rgba(46,208,212,0.12);
    color: rgba(0,153,155,1);
    border: 1px solid rgba(46,208,212,0.4);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.pro-liveclass-para {
    font-size: 13px;
    font-weight: 500;
    color: #344955;
    text-align: justify;
    line-height: 1.85;
    margin-bottom: 0;
}

.pro-liveclass-more-btn {
    background: linear-gradient(to bottom, rgba(46,208,212,1) 50%, rgba(255,133,82,1) 50%);
    background-size: 100% 200%;
    background-position: top;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 22px;
    transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.pro-liveclass-more-btn:hover {
    background-position: bottom;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,133,82,0.35);
}

.pro-liveclass-image-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    position: relative;
    transition: transform 0.4s ease;
}

.pro-liveclass-image-card:hover {
    transform: scale(1.03);
}

.pro-liveclass-carousel-inner {
    height: 300px;
}

.pro-liveclass-overlay-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(46,208,212,0.88);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 16px;
    transition: all 0.3s ease;
    z-index: 5;
}

.pro-liveclass-overlay-btn:hover {
    background: rgba(255,133,82,1);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .pro-liveclass-content {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .pro-liveclass-carousel-inner {
        height: 220px;
    }
    .pro-liveclass-text-card {
        padding: 20px 18px 18px 18px;
    }
}

/* =====================
   BOOK CARDS — PROFESSIONAL
   ===================== */
.pro-book-card {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pro-book-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(46,208,212,0.25);
}

.pro-book-img-wrap img {
    border-radius: 8px;
    transition: transform 0.4s ease;
}

.pro-book-card:hover .pro-book-img-wrap img {
    transform: scale(1.06);
}

/* =====================
   TESTIMONIALS — PROFESSIONAL
   ===================== */
.pro-testimonials-section {
    background: linear-gradient(135deg, #f0fdfe 0%, #e8f8f8 100%);
    padding: 40px 0 50px 0;
    position: relative;
}

.pro-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 22px 24px;
    box-shadow: 0 6px 28px rgba(46,208,212,0.12);
    border: 1px solid rgba(46,208,212,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pro-testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 45px rgba(46,208,212,0.2);
}

.pro-testimonial-card__quote {
    font-size: 1.8rem;
    margin-bottom: 10px;
    animation: colorPop 3s linear infinite;
}

.pro-testimonial-card__stars {
    color: #f5a623;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.pro-testimonial-card__stars .far.fa-star {
    color: #ddd;
}

.pro-testimonial-card__text {
    font-size: 13px;
    color: #444;
    text-align: justify;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 14px;
}

.pro-testimonial-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid rgba(46,208,212,0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pro-testimonial-thumb:hover {
    transform: scale(1.06);
}

.pro-testimonial-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(46,208,212,0.15);
}

.pro-testimonial-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(46,208,212,0.4);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.pro-testimonial-card:hover .pro-testimonial-card__avatar {
    transform: scale(1.1) rotate(5deg);
}

.pro-testimonial-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.pro-testimonial-card__student {
    font-size: 0.75rem;
    color: rgba(46,208,212,0.9);
    font-weight: 600;
}

@media (max-width: 576px) {
    .pro-testimonial-card {
        padding: 20px 16px 18px 16px;
    }
}

/* =====================
   RESPONSIVE TOUCH-UPS
   ===================== */
@media (max-width: 768px) {
    .pro-info-card {
        padding-top: 44px;
    }
    .pro-info-card__body {
        padding: 6px 14px 18px 14px;
    }
    .pro-quicklinks__item {
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .cta-title-dark-english {
        font-size: 1.15rem;
    }
    .cta-title-dark-tamil {
        font-size: 0.92rem;
    }
    .cta-button-dark {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
}