/* Hero */
.hero-section {
  background-image :   linear-gradient(180deg, #BFDBFE, #F9FAFB);
  position: relative;
  padding: 140px 20px 40px; /* Reduced: 140px top (for fixed navbar), 40px bottom */
  overflow: hidden;
  z-index: 1; /* Below navbar and menu */
  min-height: auto; /* Remove fixed height */
}
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #1D4ED8;
  z-index: 10;
}
.hero-title span {
  color: #EF4444;
  z-index: 2;
}
.hero-subtitle {
  font-size: 1.2rem;
  margin: 15px 0 30px;
    z-index: 10;
}

/* Floating Clouds */
.cloud {
  position: absolute;
  width: 140px;
  opacity: 0.5;
  animation: floatClouds 60s linear infinite;
  z-index: 1;
}

/* Individual clouds */
.cloud1 {
  top: 20%;
  left: -50px;
  animation-delay: 0s;
}
.cloud2 {
  top: 40%;
  left: -100px;
  animation-delay: 5s;
  z-index: 1;
}

/* Keyframes – clouds move across full screen */
@keyframes floatClouds {
  0% { transform: translateX(0); }
  100% { transform: translateX(120vw); } /* Go beyond screen */
}

/* Animated Sun */
.sun {
  position: absolute;
  top: 10%;
  left: 92%;
  transform: translateX(-50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #FFD93D 40%, #FFA500 100%);
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(255, 200, 0, 0.7), 0 0 100px rgba(255, 200, 0, 0.4);
  animation: sunPulse 6s ease-in-out infinite alternate;
}
@keyframes sunPulse {
  from { box-shadow: 0 0 40px rgba(255, 200, 0, 0.6), 0 0 90px rgba(255, 200, 0, 0.3); }
  to { box-shadow: 0 0 60px rgba(255, 200, 0, 0.9), 0 0 120px rgba(255, 200, 0, 0.5); }
}


/* Paper Airplane */
#plane {
  position: fixed;
  top: 20%;
  left: -100px;
  width: 80px;
  z-index: 900; /* Below navbar but above content */
  transition: transform 0.3s ease-out;
}

/* Animations */
@keyframes slideInDown {
  from { transform: translateY(-100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Facilities Section */
/* Facility Cards */
.facility-card {
  padding: 30px 20px;
  background: #fff;
  border-radius: 20px;
  color: #1f2937;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
}
.facility-card h4 {
  margin-top: 15px;
  font-weight: 700;
  color: #111827;
}
.facility-card p {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #4b5563;
}

/* Icon with shape behind */
.facility-card i {
  font-size: 2.5rem;
  position: relative;
  z-index: 2;
  color: white;
}
.facility-shape {
    position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15); /* soft shadow */
  border: 3px solid rgba(0,0,0,0.1); /* subtle border */
}

/* Shapes */
/* Circle */
.circle-shape {
 border-radius: 50% 60% 40% 50% / 50% 40% 60% 50%;
  background: linear-gradient(135deg, #60A5FA, #3B82F6);
}

/* Star */
.star-shape {
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%, 
    79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%
  );
  background: radial-gradient(circle at 40% 40%, #FFD54F, #F59E0B);
  border: 2px solid rgba(0,0,0,0.1);
}

/* Hexagon */
.hexagon-shape {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #F87171, #EF4444);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 10px;
}

/* Cloud */
.cloud-shape {
  border-radius: 50px;
  background: linear-gradient(135deg, #F87171, #EF4444);
  border: 2px solid rgba(0,0,0,0.1);
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Hover Effects */
.facility-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0px 12px 25px rgba(0,0,0,0.15);
}
.facility-card:hover .facility-shape {
  animation: pulseShape 1.5s infinite;
}

/* Shape Animation */
@keyframes pulseShape {
  0%,100% { transform: translateX(-50%) scale(1); }
  50%     { transform: translateX(-50%) scale(1.1); }
}



/* About Section */
/* About Section */
.about-section {
  background: linear-gradient(135deg, #fdcd8a 40%, #60A5FA 60%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;

/* Horizontal oval */
clip-path: polygon(0% 0%, 100% 0%, 100% 96%, 0% 100%);
  /* 50% width, 40% height, centered */
  /* or add waves with SVG */

  perspective: 1500px; /* For 3D depth */
}

/* Text Styling */
.about-text h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 30px;
  color: #5d0b0b;
  text-shadow: 0 3px 15px rgba(0,0,0,0.2);
}
.about-text p, .about-list li span {
  font-size: 1.1rem;
  color: #072c75;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* About List */
.about-list li, .about-leaders li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 1.05rem;
  margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  border-radius: 18px;
  padding: 15px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}
.about-list li:hover, .about-leaders li:hover {
  transform: translateZ(20px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* About Icon with gradient & 3D */
.about-icon {
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDE68A 40%, #60A5FA 100%);
  color: #1D4ED8;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  flex-shrink: 0;
  animation: aboutIconPop 1s cubic-bezier(.4,1,.4,1) both;
  transition: transform 0.4s ease;
}
.about-icon:hover {
  transform: rotateY(360deg) scale(1.2);
}

/* Image Collage with 3D hover */
.circle-img {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  margin: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  transform-style: preserve-3d;
}
.circle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.circle-img.big { width: 280px; height: 280px; }
.circle-img.small { width: 140px; height: 140px; }
.circle-img:hover {
  transform: rotateY(20deg) rotateX(10deg) scale(1.1);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

/* Paper Plane Divider */
.about-divider img {
  width: 120px;
  animation: fly-diagonal 5s infinite linear;
}

/* Text Fade Animation */
.fade-line {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-line.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 4D Interactive: Parallax Movement */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform-style: preserve-3d;
  z-index: 0;
  transition: transform 0.2s ease-out;
}
.about-divider img {
  width: 120px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateZ(0px);
  animation: fly-diagonal-3d 8s infinite ease-in-out;
}

@keyframes fly-diagonal-3d {
  0%   { transform: translateX(-200px) translateY(0px) translateZ(0px) rotate(0deg); }
  25%  { transform: translateX(-100px) translateY(-50px) translateZ(20px) rotate(10deg); }
  50%  { transform: translateX(0px) translateY(-100px) translateZ(40px) rotate(20deg); }
  75%  { transform: translateX(100px) translateY(-50px) translateZ(20px) rotate(10deg); }
  100% { transform: translateX(200px) translateY(0px) translateZ(0px) rotate(0deg); }
}

.about-icon {
  min-width: 48px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FDE68A 40%, #60A5FA 100%);
  color: #1D4ED8;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  flex-shrink: 0;
  animation: floatIcon 4s ease-in-out infinite alternate;
}

@keyframes floatIcon {
  0%   { transform: translateY(0px) rotateY(0deg); }
  50%  { transform: translateY(-8px) rotateY(180deg); }
  100% { transform: translateY(0px) rotateY(360deg); }
}

/* Programs Section */
.programs-section {
  background: #F9FAFB;
  position: relative;
  padding: 60px 20px;
}

.programs-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #9333EA; /* playful purple */
  text-align: center;
  margin-bottom: 10px;
}

.programs-section .section-subtitle {
  font-size: 1.2rem;
  color: #6B7280;
  margin-bottom: 40px;
  text-align: center;
}

/* Fun Card Style */
.program-card {
  padding: 25px;
  background: linear-gradient(145deg, #ffffff, #fef3c7); /* light yellow bg */
  border: 3px solid #fcd34d; /* fun yellow border */
  box-shadow: 0 8px 20px rgba(0,0,0,0.12), inset 0 0 10px rgba(255,255,255,0.5);
  text-align: center;
  border-radius: 30px;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Heading with fun color */
.program-card h4 {
  font-weight: 700;
  margin-bottom: 10px;
  color: #2563EB;
  font-size: 1.3rem;
}

/* Description text */
.program-card p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #374151;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.program-card ul li {
  margin: 4px 0;
  color: #111827;
}

/* Fun hover effect */
.program-card:hover {
  transform: translateY(-8px)  scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

/* Inquiry Button */
.program-card .btn {
  margin-top: 20px;
  background: linear-gradient(135deg, #F97316, #F43F5E); /* orange to pink */
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  position: relative;
  overflow: hidden;
}

/* Fun Button Hover */
.program-card .btn:hover {
  background: linear-gradient(135deg, #ec4899, #ef4444); /* pink-red */
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Button Shine Animation */
.program-card .btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: skewX(-20deg);
  transition: 0.6s;
}

.program-card .btn:hover::after {
  left: 120%;
}

/* Floating Fun Shapes */
.floating-symbol {
  position: absolute;
  font-size: 2rem;
  font-weight: bold;
  color: rgba(249, 115, 22, 0.15); /* playful orange */
  animation: floatSymbols 8s infinite ease-in-out;
}

.floating-symbol:nth-child(1) { top: 15%; left: 12%; }
.floating-symbol:nth-child(2) { top: 35%; right: 10%; animation-delay: 2s; }
.floating-symbol:nth-child(3) { bottom: 20%; left: 15%; animation-delay: 4s; }
.floating-symbol:nth-child(4) { bottom: 8%; right: 25%; animation-delay: 6s; }

@keyframes floatSymbols {
  0%,100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(-15px); opacity: 1; }
}

/* Responsive Fix */
@media (max-width: 768px) {
  .program-card {
    height: auto;
    margin-bottom: 20px;
  }
}

/* Quiz Practice Cards - Ultra Compact */
.quiz-card {
  transition: all 0.3s ease;
}

.quiz-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

.quiz-card .quiz-btn {
  position: relative;
  overflow: hidden;
}

.quiz-card .quiz-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.quiz-card .quiz-btn:hover::before {
  left: 100%;
}

.quiz-card .quiz-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}

/* Appointment Section */
/* Appointment Section */
.appointment-section {
  background: linear-gradient(135deg, #f0f9ff, #fff9c3); /* calm pastel playful gradient */
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

/* Illustration */
.appointment-img {
  max-width: 80%;
  animation: floatUpDown 6s ease-in-out infinite;
  border-radius: 20px;
}

/* Floating Emojis */
.floating-emoji {
  position: absolute;
  font-size: 2rem;
  animation: floatEmoji 5s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes floatEmoji {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(15deg); }
}

/* Form Card */
.appointment-form {
  background: #fffaf0;
  padding: 40px 30px;
  border-radius: 35px 25px 35px 25px; /* playful bubble shape */
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  border: 2px dashed #fcd34d; /* playful outline */
  animation: fadeUp 1s ease;
}

/* Form Heading */
.appointment-form h2 {
  font-weight: 800;
  color: #f97316;
  font-size: 2rem;
}

/* Form Inputs */
.appointment-form .form-control {
  border-radius: 25px;
  padding: 12px 18px;
  margin-bottom: 15px;
  border: 2px solid #e5e7eb;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.appointment-form .form-control:focus {
  border-image: linear-gradient(90deg,#3b82f6,#f43f5e) 1;
  box-shadow: 0 0 10px rgba(59,130,246,0.3);
}

/* Submit Button */
.btn-appointment {
  background: linear-gradient(90deg,#3b82f6,#f43f5e);
  color: #fff;
  padding: 12px 28px;
  font-size: 1.2rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.btn-appointment:hover {
  transform: scale(1.08) rotate(-1deg);
  box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}


/* Teachers Section */
/* Teachers Section Background */
.teachers-section {
  background: linear-gradient(180deg, #FDE68A 0%, #F9FAFB 100%);
  position: relative;
  padding-bottom: 60px;
}

.teachers-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #10008c;
}

.teachers-section .section-subtitle {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 40px;
}

/* Teacher Carousel Setup */
.teacher-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 840px; /* show approx 3 cards */
  margin: 0 auto;
  height: 400px;
}


.teacher-carousel {
  display: flex;
  transition: transform 0.5s ease;
  gap: 1rem;
    flex-wrap: nowrap;

  padding: 0 50px; /* leave space for arrows */
}
.teacher-card {
  background: rgba(255, 255, 255, 0.01); /* semi-transparent */
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  max-width: 250px;
  min-width: 250px;
  flex-shrink: 0;
  margin: 0 auto;

  /* Liquid crystal / glass effect */
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);

  /* Text color for readability */
  color: #fff;
}

.teacher-carousel.no-transition {
  transition: none;
}

.teacher-card img {
 width: 230px;          /* fixed width */
  height: 240px;         /* same as width */
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.teacher-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 5px 0;
  color: #1D4ED8;
}

.teacher-card p {
  font-size: 0.95rem;
  color: #6B7280;
}

/* Hover Tilt Effect */

.feedback-text {
  font-size: 0.9rem;
}



/* Show on hover */
.teacher-card:hover .feedback-cloud {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  animation: bounce 0.6s ease;
}

/* Sticky state */
.feedback-cloud.sticky {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}
/* Carousel Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-10%);
  font-size: 2rem;
  background: #ff4b5c;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover {
  background: #ff0000;
  transform: scale(1.1);
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

/* Testimonials Section */
/* Carousel Container Spacing */
.testimonials-section {
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  background: linear-gradient(
    180deg,
    #ffffff 0%,    /* blends with section above */
    #f7f9ff 15%,   /* very light blue */
    #e0f7ff 45%,   /* soft sky blue */
    #fff9d6 100%   /* fun yellow bottom */
  );
}

/* Floating energetic blobs */
.testimonials-section::before,
.testimonials-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
  filter: blur(50px);
  animation: floaty 8s ease-in-out infinite alternate;
  z-index: 0;
}

.testimonials-section::before {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at center, #00c49a, transparent 70%); /* mint green */
  top: -80px;
  left: -50px;
}

.testimonials-section::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at center, #ffd93d, transparent 70%); /* sunshine yellow */
  bottom: -100px;
  right: -60px;
}

/* Fun floating dots */
.testimonials-section .confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  animation: floaty 6s ease-in-out infinite alternate;
  z-index: 0;
}
.testimonials-section .confetti:nth-child(1) { top: 20%; left: 10%; background:#ff595e; } /* red */
.testimonials-section .confetti:nth-child(2) { top: 35%; left: 80%; background:#1982c4; } /* blue */
.testimonials-section .confetti:nth-child(3) { top: 70%; left: 30%; background:#8ac926; } /* green */
.testimonials-section .confetti:nth-child(4) { top: 85%; left: 60%; background:#ffca3a; } /* yellow */
.testimonials-section .confetti:nth-child(5) { top: 50%; left: 50%; background:#6a4c93; } /* purple */

@keyframes floaty {
  from { transform: translateY(0px) rotate(0deg); }
  to { transform: translateY(-25px) rotate(15deg); }
}


/* Titles */
.testimonials-section .section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #8f0c00;
}
.testimonials-section .section-subtitle {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 40px;
}

/* Slider */
.testimonial-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slides wrapper */
.testimonial-slider .slides {
  display: flex;
  transition: transform 0.7s cubic-bezier(0.68,-0.55,0.265,1.55);
  gap: 25px;
}

/* Card */
/* Testimonial container spacing */
.testimonial-slider .slides {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; /* space between cards */
}

/* Testimonial card */
.testimonial-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 35px 25px; /* more padding */
  margin: 0 auto;
  max-width: 450px;  /* keeps card size reasonable */
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  text-align: center;
}

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

/* Avatar */
.testimonial-user .avatar {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #ff9a9e, #fad0c4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Name + role */
.testimonial-user h5 {
  margin: 8px 0 2px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

.testimonial-user span {
  font-size: 0.9rem;
  color: #666;
}

/* Quote text */
.testimonial-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 15px;
}


/* Navigation Buttons */
.testimonial-slider button.prev,
.testimonial-slider button.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FF6F61;
  border: none;
  color: #fff;
  font-size: 1.3rem;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}
.testimonial-slider button.prev:hover,
.testimonial-slider button.next:hover {
  transform: translateY(-50%) scale(1.15);
  background: #FF9472;
}
.testimonial-slider button.prev { left: 5px; }
.testimonial-slider button.next { right: 5px; }

/* Floating bubble animation */
@keyframes floatBubbles {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(10px, -10px) rotate(5deg); }
  100% { transform: translate(-10px, 10px) rotate(-5deg); }
}

/* Responsive */
@media (max-width: 992px) {
  .testimonial-card { max-width: 300px; min-height: 280px; }
}
@media (max-width: 576px) {
  .testimonial-card { max-width: 260px; min-height: 260px; }
}



/* Gallery Section */
.gallery-section {
  background: #F9FAFB;
  position: relative;
}
.gallery-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #d3066d;
}
.gallery-section .section-subtitle {
  font-size: 1.1rem;
  color: #374151;
  margin-bottom: 30px;
}
/* Fun Button */
.btn-fun {
  display: inline-block;
  padding: 12px 30px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(45deg, #FF6B6B, #FFD93D, #6BCB77, #4D96FF);
  background-size: 300% 300%;
  border-radius: 50px;
  text-decoration: none;
  animation: gradientShift 5s ease infinite;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-fun:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/* Masonry Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  gap: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.15) rotate(2deg);
}

/* Size Variations */
.gallery-item.wide {
  grid-column: span 2;
}
.gallery-item.tall {
  grid-row: span 2;
}

/* Doodle Overlay */
.gallery-item::after {
  content: "✦";
  position: absolute;
  top: 10%;
  right: 10%;
  font-size: 2rem;
  color: rgba(255,255,255,0.9);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox Effect */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(255,255,255,0.4);
}

/* Footer Section */
.footer-section {
background: linear-gradient(180deg, #e0f2fe, #fde68a, #6199f3);
  color: #333;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.footer-logo {
  font-weight: 800;
  font-size: 1.6rem;
  color: #1e3a8a; /* calm navy */
}

.footer-links li {
  list-style: none;
  margin-bottom: 8px;
}
.footer-links a {
  text-decoration: none;
  color: #444;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #0ea5e9; /* soft blue */
  transform: translateX(5px);
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.footer-contact i {
  color: #2563eb; /* blue tone for icons */
  margin-right: 8px;
}

.newsletter-form {
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  border: 2px solid #60a5fa; /* soft blue */
}
.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  outline: none;
  background: #fff;
}
.newsletter-form button {
  background: #3b82f6;
  color: #fff;
  border: none;
  padding: 10px 15px;
  transition: background 0.3s ease;
}
.newsletter-form button:hover {
  background: #2563eb;
}

.footer-social a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  font-size: 1.4rem;
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  transform: scale(1.1);
}

/* Individual platform colors */
.footer-social a[aria-label="Instagram"] {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}
.footer-social a[aria-label="Facebook"] {
  background: #1877f2;
}
.footer-social a[aria-label="YouTube"] {
  background: #ff0000;
}

.footer-bottom {
  font-size: 0.9rem;
  color: #555;
}


/* Floating Header Wrapper */
    .header-area {
      position: fixed;
      z-index: 1000;
      width: 100%;
      top: 20px;
      left: 0;
      will-change: transform;
    }

    @media (max-width: 991.98px) {
      .header-area {
        top: 10px;
        z-index: 1100; /* Higher on mobile for menu */
      }
    }

    /* Glass Navbar */
    .oneMusic-main-menu {
      position: relative;
      width: 90%;
      margin: 0 auto;
      height: 85px;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-radius: 25px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
      transition: all 0.35s ease;
      display: flex;
      align-items: center;
      will-change: transform, opacity;
    }

    @media (max-width: 991.98px) {
      .oneMusic-main-menu {
        width: 95%;
        height: auto;
        min-height: 70px;
        padding: 10px 15px;
        position: relative; /* Enable absolute positioning for menu */
      }
    }

    /* Navbar inside */
    .classy-navbar {
      background: transparent !important;
      height: 100%;
      width: 100%;
      padding: 0 20px;
      position: relative; /* Enable dropdown positioning */
    }

    @media (max-width: 991.98px) {
      .classy-navbar {
        padding: 10px 15px;
      }
      
      .classy-navbar .container-fluid {
        position: static; /* Allow menu to position relative to navbar */
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
      }
    }

    /* Nav Links - Enhanced Professional Style */
    .navbar-nav .nav-link {
      font-weight: 600;
      font-size: 15px;
      letter-spacing: 0.3px;
      color: #fff;
      padding: 10px 20px;
      position: relative;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Elegant underline animation on hover */
    .navbar-nav .nav-link::after {
      content: '';
      position: absolute;
      bottom: 5px;
      left: 50%;
      width: 0;
      height: 2px;
      background: linear-gradient(90deg, #667eea, #764ba2);
      transform: translateX(-50%);
      transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-nav .nav-link:hover::after {
      width: 70%;
    }

    .navbar-nav .nav-link:hover {
      color: #fff;
      transform: translateY(-2px);
    }

    .navbar-nav .nav-link.active {
      color: #fff;
      font-weight: 700;
    }

    .navbar-nav .nav-link.active::after {
      width: 70%;
    }

    /* Dropdown toggle active state */
    .navbar-nav .dropdown-toggle.active {
      color: #fff;
      font-weight: 700;
    }

    .navbar-nav .dropdown-toggle.active::after {
      width: 70%;
    }

    /* Dropdown glass style - Enhanced */
    .glass-dropdown {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(15px);
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      box-shadow: 0 10px 40px rgba(0,0,0,0.2);
      padding: 12px 0;
      min-width: 220px;
      animation: dropdownFadeIn 0.3s ease-out;
    }

    @keyframes dropdownFadeIn {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .navbar .dropdown-menu {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 16px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
      margin-top: 12px;
      min-width: 220px;
      animation: dropdownFadeIn 0.3s ease-out;
    }

    .navbar .dropdown-menu .dropdown-item {
      color: #1f2937;
      padding: 12px 20px;
      font-weight: 500;
      font-size: 14px;
      border-radius: 10px;
      margin: 4px 8px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .navbar .dropdown-menu .dropdown-item::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 100%;
      width: 3px;
      background: linear-gradient(180deg, #667eea, #764ba2);
      transform: scaleY(0);
      transition: transform 0.3s ease;
    }

    .navbar .dropdown-menu .dropdown-item:hover {
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
      transform: translateX(6px);
      color: #667eea;
    }

    .navbar .dropdown-menu .dropdown-item:hover::before {
      transform: scaleY(1);
    }

    /* CTA Button - Book Demo */
    .navbar .nav-item .nav-link.cta-button {
      background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
      color: #fff !important;
      border-radius: 25px;
      padding: 12px 28px;
      margin-left: 12px;
      font-weight: 700;
      font-size: 14px;
      letter-spacing: 0.5px;
      box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .navbar .nav-link.cta-button::after {
      display: none !important;
    }

    .navbar .nav-item .nav-link.cta-button:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: 0 10px 30px rgba(255, 107, 107, 0.6);
      background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 100%);
    }

    @keyframes ctaPulse {
      0%, 100% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
      }
      50% {
        box-shadow: 0 6px 30px rgba(255, 107, 107, 0.7);
      }
    }

    .navbar .nav-item .nav-link.cta-button {
      animation: ctaPulse 2s ease-in-out infinite;
    }

    /* Hamburger Menu Button */
    .navbar-toggler {
      border: 2px solid #ffffff;
      background: rgba(255, 255, 255, 0.2);
      padding: 10px 14px;
      border-radius: 10px;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    /* Ripple effect */
    .navbar-toggler::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .navbar-toggler:active::before {
      width: 200px;
      height: 200px;
    }

    .navbar-toggler:focus {
      box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
      outline: none;
      border-color: #ffffff;
    }

    .navbar-toggler:hover {
      background: rgba(255, 255, 255, 0.35);
      border-color: #ffffff;
      transform: scale(1.05);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .navbar-toggler:active {
      transform: scale(0.95);
    }

    /* Hamburger Icon Lines with Animation */
    .navbar-toggler-icon {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
      width: 26px;
      height: 26px;
      transition: transform 0.3s ease;
      position: relative;
      z-index: 1;
    }

    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
      transform: rotate(90deg);
    }

    @media (max-width: 991.98px) {
      .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 16px 24px;
        border-radius: 12px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        font-size: 16px;
        font-weight: 600;
        position: relative;
        min-height: 48px;
        display: flex;
        align-items: center;
      }
      
      .navbar .navbar-nav {
        margin-top: 0;
        border-top: none;
        padding-top: 0;
      }

      /* Mobile Menu Background with Animation */
      .navbar-collapse {
        position: fixed !important;
        top: 85px !important;
        left: 50% !important;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: #ffffff !important;
        border-radius: 0 0 20px 20px;
        border-top: 4px solid;
        border-top-color: #667eea;
        border-left: 2px solid rgba(102, 126, 234, 0.3);
        border-right: 2px solid rgba(102, 126, 234, 0.3);
        border-bottom: 2px solid rgba(102, 126, 234, 0.3);
        padding: 20px 25px 25px 25px;
        margin-top: 0;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 
                    0 5px 15px rgba(0, 0, 0, 0.15);
        animation: slideDown 0.3s ease-out;
        z-index: 1050; /* Above everything else */
      }
      
      /* Ensure menu is centered consistently */
      .navbar-collapse.show {
        display: block !important;
        transform: translateX(-50%);
      }
      
      .navbar-collapse.collapsing {
        transform: translateX(-50%);
        transition: none !important;
      }
      
      /* Hide when not shown - consistent across all pages */
      .navbar-collapse:not(.show):not(.collapsing) {
        display: none;
      }

      @keyframes slideDown {
        from {
          opacity: 0;
          transform: translateX(-50%) translateY(-20px);
        }
        to {
          opacity: 1;
          transform: translateX(-50%) translateY(0);
        }
      }

      /* Backdrop Overlay - Removed for better readability */
      .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1040; /* Above hero but below menu */
        animation: fadeIn 0.3s ease;
        pointer-events: none; /* Allow clicks to pass through to menu */
      }

      @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
      }
      
      /* Touch-friendly nav links */
      .navbar-nav .nav-link {
        color: #000000 !important;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        min-height: 48px; /* Touch target size */
        text-align: left;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        background: transparent;
      }
      
      .navbar-nav .nav-link:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #ffffff !important;
        transform: translateX(8px);
        box-shadow: 0 6px 16px rgba(102, 126, 234, 0.35);
      }

      .navbar-nav .nav-link.active {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #ffffff !important;
        font-weight: 700;
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
      }

      /* Active indicator */
      .navbar-nav .nav-link.active::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 60%;
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 0 4px 4px 0;
      }

      /* Mobile Dropdown Styling */
      .navbar .dropdown-menu {
        position: static !important;
        float: none;
        display: none; /* Hidden by default */
        background: #f0f4ff !important;
        border: 2px solid #c7d2fe;
        border-radius: 12px;
        margin: 8px 0 12px 20px;
        padding: 10px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        animation: expandDown 0.3s ease;
      }

      .navbar .dropdown-menu.show {
        display: block !important; /* Show when clicked */
      }

      @keyframes expandDown {
        from {
          opacity: 0;
          max-height: 0;
        }
        to {
          opacity: 1;
          max-height: 500px;
        }
      }

      .navbar .dropdown-menu .dropdown-item {
        color: #000000 !important;
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 1rem;
        font-weight: 600;
        transition: all 0.2s ease;
        position: relative;
        padding-left: 40px;
        background: #ffffff;
        margin-bottom: 6px;
        border: 1px solid rgba(0, 0, 0, 0.05);
      }
      
      .navbar .dropdown-menu .dropdown-item:last-child {
        margin-bottom: 0;
      }

      /* Add icons to dropdown items */
      .navbar .dropdown-menu .dropdown-item::before {
        content: '→';
        position: absolute;
        left: 16px;
        color: #667eea;
        font-weight: bold;
        transition: all 0.2s ease;
      }

      .navbar .dropdown-menu .dropdown-item:hover {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: #ffffff;
        transform: translateX(5px);
        padding-left: 45px;
      }

      .navbar .dropdown-menu .dropdown-item:hover::before {
        left: 20px;
        color: #ffffff;
      }

      /* Dropdown toggle arrow animation */
      .navbar .dropdown-toggle::after {
        transition: transform 0.3s ease;
        margin-left: auto;
        font-size: 1.1rem;
        opacity: 0.7;
      }

      .navbar .dropdown-toggle[aria-expanded="true"]::after {
        transform: rotate(180deg);
        opacity: 1;
      }

      .navbar .dropdown-toggle:hover::after {
        opacity: 1;
      }

      /* CTA button on mobile */
      .navbar .nav-item .nav-link.cta-button {
        background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
        color: #fff !important;
        border-radius: 16px;
        padding: 18px 32px;
        margin: 24px 0 8px 0;
        font-weight: 700;
        text-align: center;
        box-shadow: 0 8px 24px rgba(238, 90, 111, 0.5);
        border: none;
        font-size: 17px;
        justify-content: center;
        position: relative;
        overflow: hidden;
        animation: ctaPulse 2s ease-in-out infinite;
      }

      .navbar .nav-item .nav-link.cta-button::before {
        content: '📞 ';
        margin-right: 8px;
        font-size: 18px;
      }

      .navbar .nav-item .nav-link.cta-button:active {
        transform: scale(0.95);
      }

      /* Smooth scrollbar for menu */
      .navbar-collapse::-webkit-scrollbar {
        width: 6px;
      }

      .navbar-collapse::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 10px;
      }

      .navbar-collapse::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #667eea, #764ba2);
        border-radius: 10px;
      }

      /* Menu item dividers */
      .navbar-nav > .nav-item:not(:last-child) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 10px;
        margin-bottom: 10px;
      }

      /* First and last items spacing */
      .navbar-nav > .nav-item:first-child {
        margin-top: 0;
      }

      .navbar-nav > .nav-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
      }

      /* Add subtle animation to menu items */
      .navbar-nav > .nav-item {
        animation: fadeInItem 0.4s ease-out backwards;
      }

      .navbar-nav > .nav-item:nth-child(1) { animation-delay: 0.05s; }
      .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.1s; }
      .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.15s; }
      .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.2s; }
      .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.25s; }
      .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.3s; }

      @keyframes fadeInItem {
        from {
          opacity: 0;
          transform: translateX(-20px);
        }
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }
    }
/* Section background with top white fade */




/* Hero Section */
.glass-hero-section {
  position: relative;
  height: 85vh; /* Reduced from 100vh to 85vh for better spacing */
  display: flex;
  align-items: center;
  overflow: hidden;
  z-index: 1; /* Below navbar and menu */
  border-bottom: 20px solid #ffffff;
  margin-top: -20px; /* Pull up slightly to reduce gap */
}

/* Glass Overlay */
.glass-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  z-index: 1;
  pointer-events: none; /* allows clicks through overlay */
}

/* Carousel Images */
.slider-img {
  height: 75vh; /* Reduced from 85vh to match new section height */
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

/* Slide wrapper to contain text inside image */
.slide-wrapper {
  position: relative;
}

/* Hero Text */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  color: #f7f700;
  text-align: center;
  max-width: 80%;
  text-shadow: 0 4px 3px rgba(0,0,0,0.6);
}

.hero-text h2 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 1.5rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  z-index: 4; /* above overlay and images */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%) drop-shadow(0 0 4px rgba(0,0,0,0.7));
  width: 40px;
  height: 40px;
}

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  opacity: 0.7;
}
.carousel-indicators .active {
  opacity: 1;
}

/* Floating Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(40px);
  animation: floatShapes 12s ease-in-out infinite alternate;
}
.shape1 { width: 250px; height: 250px; background: #04fd25; top: 20%; left: 10%; }
.shape2 { width: 200px; height: 200px; background: #43e97b; top: 50%; right: 15%; animation-delay: 4s; }
.shape3 { width: 300px; height: 300px; background: #fa709a; bottom: -10%; left: 40%; animation-delay: 8s; }

@keyframes floatShapes {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-30px) scale(1.05); }
}

/* Responsive */
@media (max-width: 991px) {
  /* Reduce hero section spacing on mobile */
  .hero-section {
    padding: 120px 20px 30px; /* Less bottom padding */
  }
  
  .glass-hero-section {
    height: 70vh; /* Smaller on tablet */
    margin-top: -15px;
  }
  
  .slider-img { height: 60vh; }
  .hero-text h2 { font-size: 1.5rem; }
  .hero-text p { font-size: 1rem; }
  .shape1, .shape2, .shape3 { width: 150px; height: 150px; filter: blur(30px); }
}

@media (max-width: 767px) {
  /* Further reduce on mobile phones */
  .hero-section {
    padding: 100px 15px 20px; /* Minimal spacing */
  }
  
  .glass-hero-section {
    height: 60vh;
    margin-top: -10px;
  }
  
  .slider-img { height: 50vh; }
  .hero-text h2 { font-size: 1.3rem; }
  .hero-text p { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  /* Optimize for small screens */
  .hero-section {
    padding: 90px 10px 15px; /* Compact spacing */
  }
  
  .glass-hero-section {
    height: 50vh;
    margin-top: -5px;
  }
  
  .slider-img { height: 45vh; }
  .hero-text h2 { font-size: 1.1rem; }
  .hero-text p { font-size: 0.8rem; }
}


/* Clouds inside */

 .navbar-brand {
  display: flex;
  align-items: center;
}

.title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 12px;
}

.academy-title {
  font-size: 2rem;
  font-weight: 900;
  font-family: 'Baloo 2', cursive;
  text-transform: uppercase;
  background: linear-gradient(45deg, #ff4b5c, #ff0000, #b30000);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  margin: 0;
  line-height: 1.1;
}

/* Mobile Responsive Logo and Title */
@media (max-width: 991.98px) {
  /* Prevent navbar brand from wrapping toggle button */
  .navbar-brand {
    max-width: 70% !important;
    flex-shrink: 1 !important;
  }
  
  .navbar-brand img {
    height: 35px !important;
    flex-shrink: 0;
  }
  
  .academy-title {
    font-size: 1.2rem;
    line-height: 1.2;
    white-space: nowrap;
  }
  
  .registered {
    font-size: 0.7rem;
  }
  
  .title-container {
    margin-left: 8px;
    overflow: visible !important; /* Allow badge to show */
  }
  
  /* Keep wrapper but hide only the tagline text */
  .academy-tagline-wrapper {
    display: flex !important;
    margin-top: 0;
    justify-content: flex-start;
  }
  
  .academy-tagline {
    display: none; /* Hide tagline text only */
  }
  
  .academy-badge-small {
    font-size: 0.5rem !important;
    padding: 2px 6px !important;
    margin-left: 0 !important;
    white-space: nowrap;
  }
  
  /* Ensure toggle button stays on right */
  .navbar-toggler {
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    max-width: 65% !important;
  }
  
  .navbar-brand img {
    height: 32px !important;
  }
  
  .academy-title {
    font-size: 1.1rem;
  }
  
  .academy-badge-small {
    font-size: 0.45rem !important;
    padding: 2px 5px !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 60% !important;
  }
  
  .navbar-brand img {
    height: 28px !important;
  }
  
  .academy-title {
    font-size: 0.9rem;
  }
  
  .registered {
    font-size: 0.5rem;
  }
  
  .academy-badge-small {
    font-size: 0.4rem !important;
    padding: 1px 4px !important;
  }
}

@media (max-width: 400px) {
  /* Extra small devices */
  .navbar-brand {
    max-width: 55% !important;
  }
  
  .navbar-brand img {
    height: 25px !important;
  }
  
  .academy-title {
    font-size: 0.8rem;
  }
  
  .title-container {
    margin-left: 5px;
  }
  
  .academy-badge-small {
    font-size: 0.35rem !important;
    padding: 1px 3px !important;
  }
}

.registered {
  font-size: 1rem;
  vertical-align: super;
  margin-left: 2px;
}

.academy-tagline-wrapper {
  display: flex;
  justify-content: space-between; /* tagline left, badge right */
  align-items: flex-end;
  margin-top: 2px;
  position: relative;
}

.academy-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: #333;
  margin: 0;
  opacity: 0;
  transform: translateY(5px);
  animation: fadeInUp 1s forwards 0.5s;
}

.academy-badge-small {
  font-size: 0.6rem; /* very small */
  font-weight: bold;
  color: #fff;
  background-color: #ff4b5c;
  padding: 1px 4px;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(0px);
  animation: fadeInUp 1s forwards 0.8s;
}

/* Animation */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(5px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* Top cloud — sits at top edge inside */

/* Bottom cloud — sits at bottom edge inside + flipped */
.btn-hero {
  display: inline-block !important;
  padding: 12px 24px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: #007bff !important; /* blue */
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: background 0.3s !important;
}

.btn-hero:hover {
  background: #0056b3 !important; /* darker blue */
}


#global-cloud {
  position: absolute;       /* relative to carousel wrapper */
  top: 30%;                   /* start at top of wrapper */
  left: 50%;                /* center horizontally */
  transform: translateX(-50%) scale(0);  /* hide by default */
  background: rgba(128, 221, 252, 0.489);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  color: #374151;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10;
  height: 150px;
  max-height: 200px;
  width: 600px;
  text-align: center;
  pointer-events: auto;
  white-space: normal;
  word-wrap: break-word;
}



.cloud-icons {
  display: block;
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 5px;
  animation: float 2s infinite ease-in-out alternate;
}

@media (max-width: 1024px) {
  #global-cloud {
    width: 70%;
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 768px) {
  #global-cloud {
    width: 90%;
    font-size: 0.8rem;
    padding: 0.6rem 0.8rem;
    top: -12%; /* slightly more above cards on smaller screens */
  }
}

@media (max-width: 480px) {
  #global-cloud {
    width: 95%;
    font-size: 0.75rem;
    padding: 0.5rem 0.6rem;
    top: -15%;
  }

  .cloud-icons {
    font-size: 1.2rem;
  }
}
/* Masonry Grid */
.masonry {
  column-count: 3;
  column-gap: 15px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.masonry-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: block;
}
.masonry-item:hover { transform: scale(1.03); }

/* Variations */
.masonry-item.wide img { height: 250px; object-fit: cover; }
.masonry-item.tall img { height: 350px; object-fit: cover; }

/* Responsive */
@media (max-width: 992px) { .masonry { column-count: 2; } }
@media (max-width: 576px) { .masonry { column-count: 1; } }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}
.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}
.lightbox .close, .lightbox .prev, .lightbox .next {
  position: absolute;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
}
.lightbox .close { top: 20px; right: 30px; }
.lightbox .prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 20px; top: 50%; transform: translateY(-50%); }

.contact-section {
  background: linear-gradient(
    180deg, 
    #ffe9f9 0%, 
    #e8f0ff 50%, 
    #ffffff 100%   /* fades smoothly into white below */
  );
  position: relative;
  overflow: hidden;
}

.contact-title {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(90deg, #ff6ec7, #736efe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #ff6ec7;
  animation: bounce 2s infinite;
}

.review-stars {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #16a34a;
  background: #d1fae5;
  padding: 6px 14px;
  border-radius: 25px;
}

.fun-tag {
  font-size: 1rem;
  color: #7e22ce;
  font-weight: 500;
  margin-top: 8px;
}

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