@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.pad{
  padding-top: 40px ;  
  padding-bottom: 20px;
}
  
 
  

  /* Custom Button */
  .custom-yellow-btn {
    background-color: #d22a5d;
    color: white;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    border: 2px solid #d22a5d;
    padding: 6px 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .custom-yellow-btn:hover {
    background-color: white;
    color: #d22a5d;
    border: 2px solid #d22a5d;
  }
  
  /* Company Logo */
  
  .head{
    padding-top: 70px;
  }

  
  
  .about{
    font-family: "Lato", sans-serif;
    text-align: justify;
  }
  .about img{
    width: 70%;
  }
  .about p{
  
    font-size: larger;
    font-family: "Lato", sans-serif;
    font-weight: 700px;
  }
  .about {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .about b{
    color: #d22a5d;
    font-weight: bold;
  }
  
  .image-stack {
    position: relative;
    width: max-content;
    margin: auto;
  }
  
  .image-stack img {
    width: 300px; /* Adjust as needed */
    border-radius: 10px;
  }
  
  .front-img {
    position: relative;
    z-index: 2;
  }
  
  .shake-img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    animation: shakeUpDown 2s infinite ease-in-out;
    opacity: 0.8; /* optional */
  }
  
  @keyframes shakeUpDown {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-15px); /* adjust height of shake */
    }
  }
  
  
 
  
  
  .nav img{
    width: 50%;
  }


.space {
      padding: 80px 0;
      background-color: #f9fafe;
      font-family: "Lato", sans-serif;
    }

    .title-area .sub-title {
      color: #d22a5d;
      font-weight: 900;
      display: block;
      margin-bottom: 10px;
      font-size: 1rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .sec-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 40px;
    }

    .text-theme {
      color: #d22a5d;
    }

    .process-card-area {
      position: relative;
      padding-top: 60px;
    }

    .process-line.position-top {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      text-align: center;
      z-index: 0;
      opacity: 0.1;
    }

    .process-line img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }

    /* Layout for 5 per row */
    .process-card-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 20px;
    }

    .process-card-wrap {
      flex: 0 1 calc(20% - 16px);
      min-width: 220px;
      z-index: 1;
      text-align: center;
    }

    .process-card {
      background: #fff;
      padding: 30px 20px;
      border-radius: 20px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s ease;
      position: relative;
      overflow: visible;
    }

    /* Custom padding for 2nd and 4th card */
.process-card-wrap:nth-child(2),
.process-card-wrap:nth-child(4) {
  margin-top: 70px;
}


    .process-card:hover {
      transform: translateY(-10px);
    }

    .process-card_icon img {
      width: 60px;
      height: 60px;
      margin-bottom: 20px;
    }

    .box-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 10px;
      color: #333;
    }

    .process-card_text {
      font-size: 0.95rem;
      color: #666;
    }

    /* Dot above the card */
    .pulse {
      position: absolute;
      top: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 20px;
      height: 20px;
      background: #d22a5d;
      border-radius: 50%;
      z-index: 10;
      animation: pulseAnim 2s infinite;
    }

    @keyframes pulseAnim {
      0% {
        box-shadow: 0 0 0 0 rgba(176, 0, 109, 0.5);
      }
      70% {
        box-shadow: 0 0 0 15px rgba(176, 0, 109, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(176, 0, 109, 0);
      }
    }

    /* Responsive Adjustments */
    @media (max-width: 991.98px) {
      .process-card-wrap {
        flex: 0 1 calc(33.33% - 16px);
      }
    }

    @media (max-width: 767.98px) {
      .process-card-wrap {
        flex: 0 1 calc(50% - 16px);
      }
    }

    @media (max-width: 480px) {
      .process-card-wrap {
        flex: 0 1 100%;
      }
    }

    

.about-section h2{
  color: #d22a5d;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: #d22a5d;
  margin-top: 20px;
  margin-bottom: 10px;
}

.about-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-values {
  padding-left: 20px;
  list-style-type: disc;
  margin-bottom: 20px;
}

.about-values li {
  margin-bottom: 10px;
  font-size: 16px;
}




.review-section {
  background: #d22a5d;
  padding: 30px 0; /* Reduced from 60px to 30px */
  color: #fff;
  text-align: center;
}

.review-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

.review-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px; /* Optional: reduce space between columns */
}

.review-col {
  flex: 1 1 200px;
  max-width: 230px;
}

.review-card {
  background: #fff;
  color: #d22a5d;
  padding: 20px 10px; /* Reduced from 30px 15px */
  border-radius: 20px;
  box-shadow: 8px 8px 0 #00000055;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-icon-box {
  margin-bottom: 15px; /* Slightly reduced spacing */
}

.review-icon-box img {
  width: 45px; /* Smaller icons */
  height: 45px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(88%) saturate(4190%) hue-rotate(280deg) brightness(88%) contrast(97%);
}

.review-number {
  font-size: 28px; /* Slightly smaller font */
  font-weight: 700;
  margin: 0;
}

.review-text {
  margin-top: 8px;
  font-size: 16px;
}



/* You might already have some of these base styles from your theme. */

.service-card-1 {
    border: 1px solid #e1e1e1; /* Light grey border */
    border-radius: 8px; /* Slightly rounded corners */
    margin-bottom: 15px; /* Add some space between cards if needed */
    transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

.service-card-1:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */
}

.service-card-1 .card-body {
    padding: 25px 15px; /* Adjust padding as needed */
}

.service-card-1 .card-body img {
    max-width: 120px; /* Increased image size */
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.service-card-1 .card-body .btn.th-btn.service-btn-1 {
    background-color: #f94f4f; /* Theme color from the website */
    color: #fff; /* White text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px; /* Adjust font size */
    text-decoration: none; /* Remove underline from link */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    display: inline-block; /* Ensure proper spacing */
}

.service-card-1 .card-body .btn.th-btn.service-btn-1:hover {
    background-color: #e63b3b; /* Darker shade on hover */
}

/* Adjustments for the overall layout in the row */
.row > .box {
    padding-left: 10px; /* Adjust spacing between columns */
    padding-right: 10px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .col-md-3.col-lg-3.col-sm-12.mt-2.box {
        flex: 0 0 auto;
        width: 50%; /* Two cards per row on medium screens */
    }
}

@media (max-width: 767.98px) {
    .col-md-3.col-lg-3.col-sm-12.mt-2.box {
        flex: 0 0 auto;
        width: 100%; /* One card per row on small screens */
    }
}

/* Background image and container */
.space#contact-sec {
  background-image: url('assets/img/bg/appointment_bg_3.jpg');
  padding: 80px 15px;
  background-size: cover;
  background-position: center;
}

/* Container and row setup */
.container {
  
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

/* Columns */
.col-xl-6 {
  flex: 0 0 50%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Contact Info Section */
.contact-info .title-area {
  margin-bottom: 35px;
  text-align: center;
  color: #fff;
}

.contact-info .sub-title {
  display: block;
  color: #ffc107;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

.contact-info .sec-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 0;
}

/* Contact feature blocks */
.contact-feature-wrap {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20%;
  padding: 20px;
  color: #333;
}

.contact-feature {
  display: flex;
  align-items: center;
}

.icon-btn {
  background-color: #d22a5d;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  font-size: 1.2rem;
}

.contact-feature_label {
  margin: 0 0 5px;
  font-size: 0.9rem;
}

.contact-feature_link {
  color: #d22a5d;
  font-size: 1rem;
  text-decoration: none;
}

/* Appointment Form Section */
.appointment-form-wrap {
  margin-top: 20px;
  color: #fff;
}

.appointment-form-wrap h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.5rem;
}

/* Form styles */
.appointment-form3 {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.form-group {
  flex: 0 0 50%;
  padding: 0 10px;
  margin-bottom: 20px;
  box-sizing: border-box;
}


label {
  color: #eee;
  display: block;
  margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #666;
  background-color: #444;
  color: #fff;
  box-sizing: border-box;
  font-size: 1rem;
}

select {
  appearance: none;
  background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg fill=\'%23fff\' viewBox=\'0 0 24 24\'%3E%3Cpath d=\'M7 10l5 5 5-5z\'/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
  cursor: pointer;
}

textarea {
  min-height: 100px;
  resize: vertical;
}

.form-btn {
  flex: 0 0 100%;
  padding: 0 10px;
}

.form-btn button {
  background-color: #d22a5d;
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-btn button:hover {
  background-color: #8e24aa;
  box-shadow: 0 8px 15px rgba(142, 36, 170, 0.4);
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .col-xl-6 {
    flex: 0 0 100%;
    margin-top: 20px;
  }

  .form-group {
    flex: 0 0 100%;
  }
}
.map-responsive iframe {
  width: 100%; /* Set desired width */
  height: 400px; /* Set desired height */
  border: 0;
  padding-top: 20px;
}
.map-responsive {
  overflow: hidden;
  padding-bottom: 25%;
  position: relative;
  height: 0;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;

  border: 0;
}
.about h4{
 color: #d22a5d;
 font-size: 32px;
 font-weight: bolder;
  font-family: "Lato", sans-serif;
}


.gallery-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
  text-transform: uppercase;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 200px; /* Set fixed height */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Keeps aspect ratio and fills space */
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.success-group h1 {
  font-family: "Lato", sans-serif;
  color: #d22a5d; 
}
  .image {
    display: flex;
    gap: 20px; /* space between images */
  }

.gallery-item {
  width: 100%;
  padding-top: 100%; /* This creates a square container (height = width) */
  position: relative; /* for absolute positioning inside */
  overflow: hidden;
  
}

.gallery-item img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* ensures full image fits inside without cropping */
  
}



  .tution p{
     font-family: "Lato", sans-serif;
    text-align: justify;
    font-size: 18px;
  }
  .tution h2{
    font-family: "Lato", sans-serif;
    color: #d22a5d;
    font-weight: bold;
    font-size: 45px;
    font-style: italic;
  }
    .btn-readmore {
    background-color: #d22a5d;
    color: #fff;
    
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
     font-family: "Lato", sans-serif;
}

.btn-readmore:hover {
    background-color: #fff;
    color: #d22a5d;
}
.bg-section {
  background: #FFFF;
   background: linear-gradient(90deg, rgba(255, 255, 255, 1) 11%, rgba(210, 42, 93, 1) 44%, rgba(210, 42, 93, 1) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: justify;
  padding: 60px 0;
  font-family: "Lato", sans-serif;
}

.content-wrapper {
  background-color:#e5c3e6; /* semi-transparent overlay for readability */
  padding: 30px;
  border-radius: 12px;
}
.gallery {
  width: 100%;               /* Takes full column width */
  aspect-ratio: 1 / 1;       /* Ensures width and height are equal */
  overflow: hidden;          /* Hides any overflow */
  border-radius: 12px;       /* Optional: keeps rounded corners */
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* Crops image to fill the square */
  border-radius: 12px;       /* Match parent rounding if desired */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow */
}
.text-purple {
  color: #d22a5d;
}
.object-fit-cover {
  object-fit: cover;
}

#esevai.service-sec {
  background-image: url('./images/services/service_bg_2.jpg'); /* Ensure correct path and extension */
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 100px 0;
  color: white;
  position: relative;
}

/* Optional: Overlay for better text readability */
#esevai.service-sec::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* dark transparent overlay */
  z-index: 0;
}

#esevai .container {
  position: relative;
  z-index: 1; /* Bring text above overlay */
}
.carousel-caption {
    bottom: 20%; /* Positioning from bottom */
    top: auto;
    transform: translateY(0);
    animation: slideUp 1s ease-in-out; /* Apply slide-up animation */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark background */
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: auto;
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(40px); /* Start slightly lower */
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  
  .carousel-caption h5,
  .carousel-caption p {
    margin: 0;  
    padding: 5px 0;
  }

  .carousel-item h5 {
    font-weight: 800;
    font-family: "Lato", sans-serif;
  } 
.carousel-caption { 
  background: rgba(0, 0, 0, 0.5);
  padding: 1rem;
  border-radius: 10px;
}
/* Limit the carousel height */
.carousel-item {
  height: 80vh; /* Adjust height as needed, e.g., 50vh, 60vh */
  overflow: hidden;
}

/* Force the video container (Bootstrap Ratio) to follow carousel height */
.carousel-item .ratio {
  height: 100% !important;
  width: 100%;
}

/* Style the video to fit the container */
.carousel-item video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Optional: Adjust caption positioning */
.carousel-caption {
  bottom: 10%; /* Move caption a bit lower or higher as needed */
  max-width: 500px;
  padding: 15px;
}

.footer-heading {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
}

.footer-subheading {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffffff;
}

.footer-unit-list li,
.footer-nav li {
  margin-bottom: 6px;
  font-size: 15px;
  color: #d1d1d1;
}

.footer-unit-list li::before {
  content: "• ";
  color: #4dd0e1;
  margin-right: 6px;
}

.footer-nav a {
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-social a {
  font-size: 18px;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #ffffff;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
}
  .images-row {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 20px;
    }

    .images-row img {
      flex: 1 1 calc(33.333% - 10px);
      max-width: 100%;
      height: 450px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
      .images-row img {
        flex: 1 1 calc(50% - 10px);
      }
    }

    @media (max-width: 480px) {
      .images-row img {
        flex: 1 1 100%;
      }
    }

  .images {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 20px;
    }

    .images img {
      flex: 1 1 calc(33.333% - 10px);
      max-width: 100%;
      height: 250px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    @media (max-width: 768px) {
      .images-row img {
        flex: 1 1 calc(50% - 10px);
      }
    }

    @media (max-width: 480px) {
      .images-row img {
        flex: 1 1 100%;
      }
    }
    .about h1{
      font-weight: bolder;
    }
 
  .para {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    text-align: justify;
  }

  .para h2 {
    margin-bottom: 15px;
    color: #d22a5d;
  }

  .para ul {
    padding-left: 20px;
  }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.4s ease;
}

.gallery-item img {
  
  display: block;
  transition: transform 0.8s ease-in-out;
}

/* Rotate on hover */
.gallery-item:hover img {
  transform: rotate(360deg);
  cursor: pointer;
}

/* Top Info Bar */
.top-navbar {
  padding: 10px 20px;
  background: #d22a5d;
  color: white;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 25px;
   font-family: "Lato", sans-serif;
}
.top-navbar a:first-child {
  margin-right: 30px;
}

/* Main Navigation Bar */
.main-navbar {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  background: #FAF6E9 !important;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Remove top spacing */
body {
  padding-top: 0;
  margin: 0;
}

/* Navbar Link Styles */
.main-navbar .navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 8px;
  text-decoration: none;
}
.main-navbar .navbar-nav .nav-link {
  margin-right: 20px; /* Adjust spacing as needed */
}

.main-navbar .navbar-nav .nav-link:last-child {
  margin-right: 0; /* No margin after last item */
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
  color: #d22a5d !important;
}

.main-navbar .navbar-nav .nav-link.active::after,
.main-navbar .navbar-nav .nav-link:hover::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: #d22a5d;
  transform: scaleX(1);
  transition: transform 0.3s ease;
}

.main-navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: transparent;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Company Logo */
.company-logo {
  width: 30%;
  height: auto;
}
@media (max-width: 1024px) {
  .company-logo {
    max-height: 40px;
    width: auto;
  }
}


.main-navbar .nav-link.active {
  color: #d22a5d !important;
  font-weight: bold;
  border-bottom: 2px solid #d22a5d;
}

.top-navbar {
  
  padding: 10px 0;
}

.top-navbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-weight: bold;
  text-transform: uppercase;
}