*{
    margin: 0;
    padding: 0;
    font-family: 'Josefin Sans', sans-serif;
    
    
}
a{
    text-decoration: none;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* background-color: #e4e3e3; */
  padding: 10px 20px;
}

.logo img {
  height: 45px; /* Adjust as needed */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  color: rgb(2, 54, 52);
  text-decoration: none;
  font-size: 18px;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: rgb(2, 54, 52);
  margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .nav-links {
      position: absolute;
      top: 60px;
      right: 0;
      background-color: #e4e3e3;
      flex-direction: column;
      width: 100%;
      align-items: center;
      display: none;
  }

  .nav-links.active {
      display: flex;
  }

  .hamburger {
      display: flex;
  }
}





/* Custom Styles for Carousel */
.banner-carousel {
  margin: 0px auto;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
  height: 500px; /* Adjust height as needed */
  object-fit: cover; /* Ensure images cover the area */
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 20px;
  border-radius: 10px;
}

.carousel-caption h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.carousel-caption .btn {
  font-size: 1rem;
  padding: 10px 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .carousel-item img {
      height: 300px; /* Adjust height for smaller screens */
  }

  .carousel-caption h2 {
      font-size: 1.5rem;
  }

  .carousel-caption p {
      font-size: 1rem;
  }

  .carousel-caption .btn {
      font-size: 0.9rem;
      padding: 8px 16px;
  }
}




.instructor-image-wrapper img {
  width: 100%;
  max-width: 280px; /* Slightly reduced size */
  height: auto;
  margin: 0 auto;
  display: block;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.signature-block {
  margin-top: 1rem; /* Reduced gap */
  padding-top: 1rem; /* Reduced padding */
  border-top: 2px solid #eee;
}
.section-title {
  color: #d32f2f;
  font-weight: 700;
  font-size: 1.8rem;
  border-bottom: 3px solid #d32f2f;
  padding-top: 10px;
  padding-bottom: 0.5rem;
}

.message-card {
  position: relative;
  min-height: 450px;
}



.message-text p {
  font-size: 1rem;
  line-height: 1.7; /* Tighter line spacing */
  color: #444;
  margin-bottom: 1rem;
}


.message-intro p:last-child {
  margin-bottom: 1.5rem;
}

.message-full p:last-child {
  margin-bottom: 0;
}


 /* Background styling */
 section.bg-lightt {
  background: linear-gradient(45deg, #f8f9fa 0%, #fff1f0 100%);
  position: relative;
  isolation: isolate;
}

section.bg-lightt::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
      radial-gradient(rgba(211, 47, 47, 0.1) 1px, transparent 1px),
      radial-gradient(rgba(211, 47, 47, 0.05) 1px, transparent 1px);
  background-position: 0 0, 20px 20px;
  background-size: 40px 40px;
  z-index: -1;
}

/* Existing image stack styles remain same */
.image-stack {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.stack-image-bottom {
  position: relative;
  z-index: 1;
  transform: rotate(-3deg);
  transition: transform 0.3s ease;
}

.stack-image-top {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 80%;
  z-index: 2;
  transform: rotate(5deg);
  transition: transform 0.3s ease;
}


.image-stack:hover .stack-image-bottom {
  transform: rotate(-1deg);
}

.image-stack:hover .stack-image-top {
  transform: rotate(2deg);
}

.text-gradient {
  background: linear-gradient(45deg, #d32f2f, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-wrapper {
  transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
  transform: scale(1.1);
}

@media (max-width: 992px) {
  .stack-image-top {
      right: -15px;
      bottom: -15px;
  }
}


/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(45deg, #f8f9fa 0%, #fff5f5 100%);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  width: 40%;
  height: 100%;
  background: rgba(211, 47, 47, 0.03);
  top: 0;
  right: -10%;
  transform: skewX(-15deg);
  z-index: 0;
}

/* Image Stack Styles */
.image-stack {
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: -30px;
}

.stack-image-bottom {
  position: relative;
  width: 85%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: rotate(3deg);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stack-image-top {
  position: absolute;
  width: 70%;
  left: -30px;
  bottom: -30px;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  transform: rotate(-5deg);
  z-index: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-stack:hover .stack-image-bottom {
  transform: rotate(1deg);
}

.image-stack:hover .stack-image-top {
  transform: rotate(-1deg);
}

/* Content Styles */
.content-column {
  position: relative;
  z-index: 1;
  padding-right: 4rem;
}

.why-choose-us h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: #2c3e50;
  margin-bottom: 2rem;
}

.why-choose-us h2 span.text-primary {
  color: #d32f2f !important;
  position: relative;
  display: inline-block;
}

.why-choose-us h2 span.text-primary::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 4px;
  background: currentColor;
  opacity: 0.2;
}

.why-choose-us .lead {
  font-size: 1.25rem;
  color: #4a5568;
  margin-bottom: 3rem;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-left-color: #d32f2f;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .why-choose-us {
    padding: 4rem 0;
  }
  
  .image-stack {
    margin-right: 0;
    max-width: 100%;
  }
  
  .stack-image-bottom {
    width: 90%;
  }
  
  .stack-image-top {
    width: 80%;
    left: -15px;
    bottom: -20px;
  }
  
  .content-column {
    padding-right: 0;
    padding-top: 3rem;
  }
  
  .why-choose-us h2 {
    font-size: 2rem;
  }
  
  .feature-card {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .why-choose-us::before {
    width: 80%;
    right: -30%;
  }
  
  .stack-image-bottom {
    width: 100%;
  }
  
  .stack-image-top {
    width: 90%;
    bottom: -15px;
  }
  
  .why-choose-us h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1.1rem;
  }
}









.footer {
  background-color: #1a1a1a !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer h4 {
  color: #fff;
  font-size: 1.4rem;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer p {
  color: #b3b3b3;
  line-height: 1.8;
  font-size: 0.95rem;
  max-width: 300px;
}



.footer-logo:hover {
  opacity: 0.8;
}

.footer ul li {
  margin-bottom: 12px;
}

.footer a {
  color: #b3b3b3 !important;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-decoration: none !important;
}

.footer a:hover {
  color: #4a90e2 !important;
  padding-left: 5px;
}

.social-icons a {
  display: inline-block;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  text-align: center;
  line-height: 45px;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.social-icons a:hover {
  background-color: #4a90e2;
  transform: translateY(-3px);
}

.social-icons i {
  vertical-align: middle;
}

.footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer h6 {
  color: #888;
  font-size: 0.9rem;
  font-weight: 400;
}

.footer h6 strong {
  color: #4a90e2;
  font-weight: 600;
}

.contact-info li {
  color: #b3b3b3;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px !important;
}

.contact-info i {
  width: 25px;
  color: #4a90e2;
  vertical-align: top;
}

@media (max-width: 768px) {
  .footer .col-md-4, 
  .footer .col-md-2,
  .footer .col-md-3 {
      margin-bottom: 30px;
  }

  .footer h4 {
      font-size: 1.3rem;
  }
}