@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Patrick+Hand&display=swap');

:root {
  --main-color: #00AA9F;
  --primary-color: #FFA500;
  --secondary-color-1: #e9ecef;
  --secondary-color-2: #808080;
  --secondary-color-3: #FFFFFF;
  --main-color-rgb: 42, 93, 132;
  --text-color: #ffffff; /* Added for consistency */
  --main-text-color-dark: #000000;
  --secondary-text-color-dark: #3b3b3b;
  --main-text-color-light: #ffffff;
  --secondary-text-color-light: #c8c8c8;
  --nursery-color: #1EB587;
  --learning-hub-color: #00A89E;
  --kotab-color: #8AA5C7;
  --courses-color: #9172B2;
  --slogan-color: #FED833;
  --nav-dark-bg: #fefefe;
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background-color: var(--primary-color);
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-color);
}

.STCD {
  transition: 0.5s;
  color: var(--main-text-color-dark) !important;
}
.STCD:hover {
  color: var(--secondary-text-color-dark) !important;
}
.STCL {
  transition: 0.5s;
  color: var(--main-text-color-light) !important;
}
.STCL:hover {
  color: var(--secondary-text-color-light) !important;
}

svg {
  transition: 0.5s;
}
svg:hover {
  transform: rotate(360deg);
}
.carousel-item > .carousel-caption > h1 {
  color: var(--primary-color);
}
.carousel-item img {
  width: 100%;
  height: 90vh;
  object-fit: cover;
}
@media (max-width: 768px) {
  .carousel-item img {
      height: 60vh;
  }
}

.section-title {
  position: relative;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: bold;
  text-align: center;
  color: var(--main-color);
  padding: 10px 0;
  margin: 20px auto;
  text-transform: uppercase;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 4px;
  background-color: var(--primary-color);
  bottom: -5px;
  transition: all 0.5s ease-in-out;
}

.section-title::before {
  left: 50%;
  transform: translateX(-100%);
}

.section-title::after {
  right: 50%;
  transform: translateX(100%);
}

.section-title:hover::before {
  transform: translateX(-150%);
  transform: translateY(-150%);
  width: 150px;
}

.section-title:hover::after {
  transform: translateX(150%);
  transform: translateY(150%);
  width: 150px;
}

.vertical-text {
  font-size: 45px;
  font-weight: bolder;
  padding: 10px;
  border-radius: 5px;
}

.testimonial-carousel {
  position: relative;
  width: 85%;
  margin: auto;
  text-align: center;
  overflow: hidden;
  background: var(--secondary-color-1);
  padding: 20px;
  border-radius: 10px;
}

.testimonial {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
  opacity: 1;
  width: 80%;
  margin: auto;
}

.testimonial p {
  font-size: 18px;
  font-style: italic;
  color: #333;
}

.testimonial h4 {
  margin-top: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #555;
}

.testimonial-carousel > button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: var(--main-color);
}

button:hover {
  color: #217dbb;
}

.prev {
  left: 0px;
}

.next {
  right: 0px;
}

.PageTitle {
  width: 100%;
  min-height: 150px;
  background-color: #f0f8ff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.PageTitle h1 {
  font-size: clamp(32px, 5vw, 80px);
  font-weight: bold;
  color: #333;
}

.MiddlePoint {
  width: 50px;
  height: 50px;
  margin-top: 150px;
  text-align: center;
  border: 2px solid black;
  border-radius: 100%;
  align-content: center;
  position: relative;
}

.MiddlePoint::after {
  content: "";
  top: 48px;
  left: 50%;
  position: absolute;
  height: 150px;
  width: 2px;
  background: black;
}

.MiddlePoint::before {
  content: "";
  top: 25px;
  left: 100%;
  position: absolute;
  width: 150px;
  height: 2px;
  background: black;
}

.GetBigger {
  transition: transform 0.3s ease-in-out;
}

.GetBigger:hover {
  transform: scale(1.1);
  z-index: 10;
}

.ScaledContainer1 {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--secondary-color-1);
  margin-bottom: 30px;
}

.ScaledContainer2 {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  margin-bottom: 30px;
}

.ScaledContainer3 {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--main-color);
  margin-bottom: 30px;
}

.ScaledContent {
  background-color: var(--secondary-color-3);
  width: 95%;
  position: absolute;
  top: 25px;
  left: 20px;
}

.card-title {
  color: var(--main-color) !important;
}

.btn {
  font-size: 15px !important;
  transition: 0.5s !important;
}

.btn-primary {
  color: var(--secondary-color-3) !important;
  background-color: var(--main-color) !important;
  border: none !important;
}

.btn-primary:hover {
  color: var(--main-color) !important;
  background-color: var(--secondary-color-3) !important;
  border: 1px solid var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--secondary-color-3) !important
}

.newsletter-form {
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}

.input-group input {
  border: 1px solid #ccc;
  padding: 10px;
}

.input-group button {
  padding: 10px 15px;
}

.animated-fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.about-section {
  background: linear-gradient(135deg, var(--secondary-color-3) 0%, #f8f9fa 100%);
}

.hover-3d {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-3d:hover {
  transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.bg-gradient-primary {
  background: linear-gradient(45deg, var(--main-color), var(--primary-color));
}

.check-list li {
  transition: all 0.3s ease;
}

.check-list li:hover {
  background-color: rgba(0,0,0,0.03);
  transform: translateX(10px);
}

.hover-scale {
  transition: transform 0.3s ease;
}

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

/* Timeline Styles */
.timeline-wrapper {
  position: relative;
  padding: 50px 0;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  width: 4px;
  background-color: var(--main-color);
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.timeline-item.left {
  left: 0;
  animation: slideInLeft 0.6s ease-out forwards;
}

.timeline-item.right {
  left: 50%;
  animation: slideInRight 0.6s ease-out forwards;
}

.timeline-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
}

.timeline-point {
  width: 20px;
  height: 20px;
  background: var(--main-color);
  border: 3px solid white;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.timeline-item.left .timeline-point {
  right: -10px;
}

.timeline-item.right .timeline-point {
  left: -10px;
}

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

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

/* Team Styles */
.team-card {
  transition: all 0.3s ease;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  background: var(--secondary-color-3);
  border-radius: 50%;
  margin: 0 auto;
}

.social-icon {
  color: var(--main-color);
  transition: all 0.3s ease;
}

.social-icon:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .timeline-line {
      left: 20px;
  }
  .timeline-item {
      width: 100%;
      padding-left: 70px;
      padding-right: 25px;
  }
  .timeline-item.left,
  .timeline-item.right {
      left: 0;
  }
  .timeline-item.right .timeline-point,
  .timeline-item.left .timeline-point {
      left: 30px;
  }
}

/* Admin Dashboard Specific Styles */
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-main { background-color: var(--main-color); }
.bg-primary { background-color: var(--primary-color); }
.bg-success { background-color: var(--nursery-color); }
.bg-warning { background-color: var(--secondary-color-1); }

.hover-scale {
  transition: transform 0.3s ease;
}

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

.card {
  border: none;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.list-group-item {
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 5px;
  border-radius: 10px !important;
}

/* Hexagon styling */
.hexagon {
  width: 100px;
  height: 110px;
  background-color: var(--main-color);
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.hexagon-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.timeline-arrow {
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #fff;
  position: absolute;
  bottom: -15px;
  left: 50%;
}
.value-card { transition: transform 0.3s ease; }
.hover-scale:hover { transform: scale(1.05); }

/* Team member circles */
.avatar-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hexagon centering */
.hexagon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Navbar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0px solid var(--main-color);
  padding: 10px 15px;
  width: 100%;
  box-sizing: border-box;
}

.nav-logo {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  object-fit: cover;
}

@media (max-width: 991px) {
  .nav-logo {
      width: clamp(40px, 12vw, 60px);
      height: clamp(40px, 12vw, 60px);
  }
}

@media (max-width: 400px) {
  .logo-brand-section {
      flex-direction: column;
      align-items: flex-start;
  }
  .nav-logo {
      margin-bottom: 10px;
  }
}

.nav-logo:hover {
  transform: scale(1.1);
}

/* Login Button Styling */
.login-btn {
  background-color: var(--main-color);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
}

.login-btn:hover {
  background-color: var(--slogan-color);
}

.login-btn i {
  margin-right: 8px;
}

.service-card {
  height: 500px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

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

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-img-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.highlight {
  color: var(--main-color);
  background-color: var(--secondary-color-3);
  padding: 2px 5px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 0.5rem;
  width: 100%;
  opacity: 0.8;
}

.social-links a {
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: var(--main-color) !important;
}

@media (max-width: 768px) {
  .service-card {
      height: 400px;
  }

  .service-content h3 {
      font-size: 1.25rem;
  }
}

.numbers-hover {
  position: relative;
  text-align: center;
  color: var(--main-color);
}

.numbers-hover::before,
.numbers-hover::after {
  content: "";
  position: absolute;
  height: 50%;
  width: 4px;
  background-color: var(--main-color);
  left: 0;
  transition: all 0.5s ease-in-out;
}

.numbers-hover::before {
  top: 50%;
  transform: translateY(-100%);
}

.numbers-hover::after {
  bottom: 50%;
  transform: translateY(100%);
}

.numbers-hover:hover::before {
  height: 50%;
  background-color: white;
}

.numbers-hover:hover::after {
  transform: translateX(100%);
  left: 100%;
  bottom: 0;
  height: 50%;
  background-color: white;
}

.opinion {
  padding: 50px;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
}

@keyframes Poster {
  0% { height: 0% !important; }
  10% { height: 10% !important; }
  20% { height: 20% !important; }
  30% { height: 30% !important; }
  40% { height: 40% !important; }
  50% { height: 50% !important; }
  60% { height: 60% !important; }
  70% { height: 70% !important; }
  80% { height: 80% !important; }
  90% { height: 90% !important; }
  100% { height: 100% !important; }
}

.poster-loader {
  height: 0px !important;
  overflow: hidden;
}

.poster:hover .poster-loader {
  animation-name: Poster;
  animation-duration: 2s;
}

.navbar-brand {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-color);
  letter-spacing: -0.5px;
  line-height: 1.2;
  transition: font-size 0.3s ease;
  font-family: 'Bubblegum Sans', cursive;
}

@media (max-width: 991px) {
  .navbar-brand {
      color: var(--secondary-color);
      font-size: 1.5rem;
      margin: 0;
      flex-direction: column;
  }
  
  .main-title {
      font-size: 1.2rem !important;
  }
  
  .slogan {
      font-size: 0.8rem !important;
  }
}

@media (max-width: 576px) {
  .navbar-brand {
      font-size: 1.2rem;
      letter-spacing: -0.3px;
  }
  
  .slogan {
      font-size: 0.8rem !important;
  }
}

.slogan {
  font-family: 'Caveat', cursive; /* A more whimsical, seed-like handwritten font */
  color: var(--slogan-color);
  font-size: clamp(1.1rem, 2.5vw, 1.8rem); /* Slightly larger for prominence */
  font-weight: 500; /* Medium weight for balance */
  margin-top: 0.5rem;
  letter-spacing: 0.5px; /* Reduced for a cozier feel */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Softer shadow */
  text-align: center;
  display: inline-block;
  padding: 4px 10px; /* More padding for a "seed pod" effect */
  border: 2px dashed var(--main-color); /* Dashed border for a playful, scattered seed look */
  border-radius: 12px; /* Slightly more rounded */
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(0, 170, 159, 0.1)); /* Subtle gradient for depth */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Light shadow for lift */
}

.about-us {
  text-align: left;
}

.welcome-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 15px;
}

.image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.card {
  border: none;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
  font-size: 1.8rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  text-align: justify;
}

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

.hover-scale:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hover-grow:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

@media (max-width: 991px) {
  .welcome-title {
      font-size: 1.5rem;
      text-align: center;
  }
  
  .card-title {
      font-size: 1.4rem;
      text-align: center;
  }
  
  .card-text {
      font-size: 0.95rem;
  }
  
  .image-container {
      margin-bottom: 20px;
  }
}

@media (max-width: 420px) {
  .card-title {
      font-size: 0.9rem !important;
      text-align: center;
  }
}

.welcome-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--courses-color);
  text-align: center;
  font-family: 'Bubblegum Sans', cursive;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  background: linear-gradient(45deg, var(--main-color), #fad0c4);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-shadow {
  position: absolute;
  top: 5vw;
  left: -2vw;
  width: 80%;
  height: 90%;
  background-color: var(--main-color);
  border-radius: 0px;
  z-index: -1;
}

@media (max-width: 1200px) {
  .image-shadow {
      left: -15vw;
      width: 200%;
  }
}

@media (max-width: 992px) {
  .image-shadow {
      left: -10vw;
      width: 180%;
      top: 6vw;
  }
}

@media (max-width: 768px) {
  .image-shadow {
      left: -5vw;
      width: 150%;
      top: 8vw;
  }
}

@media (max-width: 576px) {
  .image-shadow {
      left: -2vw;
      width: 120%;
      top: 10vw;
  }
}

.image-main {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.card-content {
  padding: 20px;
  background: none;
  box-shadow: none;
}

.card-title {
  font-size: 1.8rem;
  font-weight: bold;
}

.card-text {
  font-size: 1rem;
  text-align: justify;
}

.hover-grow:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

@media (max-width: 991px) {
  .welcome-title {
      font-size: 2rem;
      text-align: center;
  }
  
  .card-title {
      font-size: 1.4rem;
      text-align: center;
  }
  
  .card-text {
      font-size: 0.95rem;
  }
  
  .image-wrapper {
      display: block;
      text-align: center;
  }
  
  .image-shadow {
      left: -10px;
  }
}

html, body { height: 100% }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

footer {
  flex-shrink: 0;
  margin-top: auto;
  position: relative;
  z-index: 1000;
}

.container-fluid.p-0 {
  width: 100%;
  max-width: 100%;
}

footer {
  background: var(--main-color) !important;
  overflow: visible !important;
}

footer .row {
  margin-left: -15px;
  margin-right: -15px;
}

.navbar { z-index: 1001 !important }
.carousel { z-index: 1 !important }

@media (max-width: 768px) {
  footer {
      padding: 1.5rem 0 !important;
  }
  
  footer .col-6 {
      margin-bottom: 1.5rem;
  }
  
  .logo-hover-effect {
      width: 180px !important;
      height: 180px !important;
  }
}

.service-card {
  position: relative;
  transition: all 0.3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-content {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.service-content h3 {
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.service-card:hover .service-content h3 {
  transform: translateY(0);
}

.secondary-text {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: absolute;
  width: 100%;
  left: 0;
  padding: 0 1.5rem;
}

.learn-more-btn {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  position: relative;
}

.service-card:hover .secondary-text,
.service-card:hover .learn-more-btn {
  opacity: 1;
  transform: translateY(0);
}

.card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials {
  --transition-time: 0.4s;
  --overlay-color: rgba(25, 28, 38, 0.8);
}

.testimonial-carousel {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-item {
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-time) ease-in-out;
  position: absolute;
  width: 100%;
  visibility: hidden;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  visibility: visible;
}

.testimonial-img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform var(--transition-time) ease-out;
}

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--overlay-color), transparent);
  opacity: 0.8;
}

.card {
  border-radius: 1rem !important;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card:hover .testimonial-img {
  transform: scale(1);
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.carousel-control:hover {
  transform: translateY(-50%) scale(1.1);
}

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

.carousel-dots {
  position: relative;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: #ddd;
  margin: 0 8px;
  padding: 0;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--main-color);
  transform: scale(1.3);
}

.testimonial-rating {
  font-size: 1.4rem;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .testimonial-img {
      height: 400px;
  }
  
  .carousel-control {
      display: none;
  }
}

@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .dropdown-menu {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.3s ease, transform 0.3s ease;
      z-index: 1002;
  }
}

@media (max-width: 991px) {
  .dropdown-menu {
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      transition: max-height 0.3s ease, opacity 0.3s ease;
      display: block;
      background: rgba(255, 255, 255, 0.1) !important;
      border: none !important;
      margin-left: 15px !important;
  }
  .dropdown-menu.show {
      max-height: 500px;
      opacity: 1;
  }
  .dropdown-toggle::after {
      margin-left: auto;
      transition: transform 0.3s ease;
  }
  .dropdown-toggle[aria-expanded="true"]::after {
      transform: rotate(180deg);
  }
}

.navbar-brand {
  font-size: 2.5rem;
  font-family: 'Bubblegum Sans', cursive;
}

.main-title {
  font-size: inherit;
}

@media (max-width: 991px) {
  html {
      font-size: 14px;
  }
  
  .navbar-brand {
      font-size: 1.8rem;
  }
  
  .slogan {
      font-size: 1rem !important;
  }
}

.opinion-card {
  background: linear-gradient(135deg, rgba(0, 170, 159, 0.1), rgba(255, 255, 255, 0.9));
  border: none;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.opinion-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 165, 0, 0.2), transparent);
  transform: rotate(30deg);
  z-index: -1;
}

.form-control {
  border-radius: 10px;
  border: 1px solid var(--main-color);
  padding: 12px;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.3);
}

.star-rating i {
  font-size: 2rem;
  color: #ddd;
  cursor: pointer;
  transition: color 0.3s ease;
  margin: 0 5px;
}

.star-rating i:hover,
.star-rating i.active {
  color: var(--primary-color);
}

@media (max-width: 991px) {
  .mobile-toggle-activities-btn {
      display: block !important;
      width: 80%;
      margin: 0 auto 20px !important;
  }
}

@media (min-width: 992px) {
  .mobile-toggle-activities-btn {
      display: none !important;
  }
}

@media (max-width: 991px) {
  .mobile-menu-logo {
      width: clamp(120px, 25vw, 300px);
      height: clamp(120px, 25vw, 300px);
      border-radius: 0; /* Makes the image a square */
      object-fit: cover;
      border: 3px solid var(--primary-color);
      background: transparent;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease;
  }

  .mobile-menu-logo:hover {
      transform: scale(1.1);
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  flex-direction: row-reverse;
}

@media (min-width: 992px) {
  .logo-brand-section {
      order: -1;
  }
}

.Day{
  transition: all 0.5s ease-in-out;
}
.Day:hover{
  background-color: var(--main-color);
  color: var(--secondary-text-color-light);
}

:root {
  --courses-color-rgb: 145, 114, 178;
  }

  .newsletter-form {
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .form-bg-gradient {
  background: linear-gradient(
      135deg,
      rgba(var(--courses-color-rgb), 0.03) 0%,
      rgba(var(--secondary-color-3), 0.1) 100%
  );
  opacity: 0.6;
  z-index: -1;
  }

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

  .btn-icon {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
  }

  .btn-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
      45deg,
      transparent,
      rgba(255,255,255,0.2),
      transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .btn-icon:hover {
  background: var(--btn-hover-bg) !important;
  transform: translateY(-1px);
  }

  .btn-icon:hover::after {
  left: 150%;
  }

  .letter-spacing-2 {
  letter-spacing: 2px;
  }

  .text-xs {
  font-size: 0.85rem;
  }

  .form-control:focus {
  box-shadow: 0 4px 12px rgba(var(--courses-color-rgb), 0.15) !important;
  border-color: var(--courses-color) !important;
  }
  .slide-hover {
  position: relative;
  transition: all 0.3s ease;
  color: var(--secondary-text-color-dark) !important;
  }
  .slide-hover:hover {
  color: var(--primary-color) !important;
  transform: translateX(10px);
  }
  .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  transition: all 0.3s ease;
  color: var(--primary-color) !important;
  }
  .social-icon:hover {
  background: var(--primary-color);
  color: white !important;
  transform: translateY(-3px);
  }
  .underline-hover {
  display: inline-block;
  position: relative;
  }
  .underline-hover::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
  }
  .underline-hover:hover::after {
  width: 100%;
  }
  .logo-hover-effect:hover {
  transform: rotate(5deg) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .powered-by {
  opacity: 0.8;
  transition: opacity 0.3s ease;
  }
  .powered-by:hover {
  opacity: 1;
  }

  @media (min-width: 992px) {
    #Menu , #FourCLogo, #YearsLogo{
        display:none;
    }
  }

  .gallery-section {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
}


.carousel-img {
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-img {
    transform: scale(1.05);
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 10px;
}

.carousel-control-prev, .carousel-control-next {
    width: 5%;
    background: rgba(0, 0, 0, 0.3);
}

.card-img-overlay {
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.card-img-overlay:hover {
    background: rgba(0, 0, 0, 0.6);
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .carousel-img {
        max-height: 300px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .card-img-overlay h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .carousel-img {
        max-height: 200px;
    }
    .carousel-caption {
        display: none !important;
    }
}

.carousel-control-next-icon{
  background-color: var(--main-color) !important;
  border-radius: 100%;
  padding:5px !important;
}

.carousel-control-prev-icon{
  background-color: var(--main-color) !important;
  border-radius: 100%;
  padding:5px !important;
}

.list-group-item.active{
  background-color: var(--main-color) !important;
}