/* Google Font CDN Link */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}

/* Custom Scroll Bar CSS */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #6e93f7;
  border-radius: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #4070f4;
}

body {
  background: #F0F8FF;
}

/* navbar styling */
nav {
  position: fixed;
  width: 100%;
  padding: 20px 0;
  z-index: 998;
  transition: all 0.3s ease;
  font-family: 'Ubuntu', sans-serif;
}

nav.sticky {
  background: #4070f4;
  padding: 13px 0;
}

nav .navbar {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

nav .navbar .logo a {
  font-weight: 500;
  font-size: 35px;
  color: #4070f4;
}

nav.sticky .navbar .logo a {
  color: #fff;
}

nav .navbar .menu {
  display: flex;
  position: relative;
}

nav .navbar .menu li {
  list-style: none;
  margin: 0 8px;
}

.navbar .menu a {
  font-size: 18px;
  font-weight: 500;
  color: #0E2431;
  padding: 6px 0;
  transition: all 0.4s ease;
}

.navbar .menu a:hover {
  color: #4070f4;
}

nav.sticky .menu a {
  color: #FFF;
}

nav.sticky .menu a:hover {
  color: #ffd700;
}

.navbar .media-icons a {
  color: #4070f4;
  font-size: 18px;
  margin: 0 6px;
}

nav.sticky .media-icons a {
  color: #FFF;
}

/* Side Navigation Menu Button CSS */
nav .menu-btn,
.navbar .menu .cancel-btn {
  position: absolute;
  color: #fff;
  right: 30px;
  top: 20px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: none;
}

nav .menu-btn {
  color: #4070f4;
}

nav.sticky .menu-btn {
  color: #FFF;
}

.navbar .menu .menu-btn {
  color: #fff;
}

/* home section styling */
/* Styling for the Quote */
.quote {
  font-size: 1.2rem;
  font-style: italic;
  color: #555;
  /* Subtle color */
  text-align: center;
  margin: 20px 0;
  /* Adds spacing above & below */
  max-width: 600px;
}

.home {
  height: 100vh;
  width: 100%;
  background: url("images/background.png") no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: 'Ubuntu', sans-serif;
  background-color: #F0F8FF;
}

.home .home-content {
  width: 90%;
  height: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home .text-one {
  font-size: 25px;
  color: #0E2431;
}

.home .text-two {
  color: #0E2431;
  font-size: 75px;
  font-weight: 600;
  margin-left: -3px;
}

.home .text-three {
  font-size: 40px;
  margin: 5px 0;
  color: #4070f4;
}

.home .text-four {
  font-size: 23px;
  margin: 5px 0;
  color: #0E2431;
}

.home .button {
  margin: 14px 0;
}

.home .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.home .button button:hover {
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

/* Hero background optimization (image restored on right layout) */
@media (max-width: 1440px) {
  .home {
    background-image: none !important;
  }
}


/* About Section Styling */
/* Those Elements Where We Have Apply Same CSS,
 I'm Selecting Directly 'Section Tag' and 'Class'  */
section {
  padding-top: 40px;
}

section .content {
  width: 80%;
  margin: 40px auto;
  font-family: 'Poppins', sans-serif;
}

.about .about-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section .title {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

section .title span {
  color: #0E2431;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  padding-bottom: 8px;
}

section .title span::before,
section .title span::after {
  content: '';
  position: absolute;
  height: 3px;
  width: 100%;
  background: #4070f4;
  left: 0;
  bottom: 0;
}

section .title span::after {
  bottom: -7px;
  width: 70%;
  left: 50%;
  transform: translateX(-50%);
}

.about .about-details .left {
  width: 45%;
}

.about .left img {
  height: auto;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
}

.about-details .right {
  width: 55%;
}

section .topic {
  color: #0E2431;
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 10px;
}

.about-details .right p {
  text-align: justify;
  color: #0E2431;
}

section .button {
  margin: 16px 0;
}

section .button button {
  outline: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 25px;
  font-weight: 400;
  background: #4070f4;
  color: #fff;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.4s ease;
}

section .button button:hover {
  border-color: #4070f4;
  background-color: #fff;
  color: #4070f4;
}

/* Pricing Section - Same Layout as Services */
.services .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Center the second-row card */
.boxes.row.center {
  display: flex;
  justify-content: center;
}

.services .boxes .box {
  margin: 20px 0;
  width: calc(100% / 3 - 20px);
  text-align: center;
  border-radius: 12px;
  padding: 30px 10px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.4s ease;
  background: #fff;
}

/* Hover Effect */
.services .boxes .box:hover {
  background: #4070f4;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(64, 112, 244, 0.3);
}

.services .boxes .box .icon {
  height: 50px;
  width: 50px;
  background: #4070f4;
  border-radius: 50%;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: #fff;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}

.boxes .box:hover .icon {
  background-color: #fff;
  color: #4070f4;
}

/* Book Now Button */
.book-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background: #4070f4;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.book-btn:hover {
  background: #ffa726;
  color: #fff;
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(180deg, #F0F8FF 0%, #e8eef5 50%, #F0F8FF 100%);
  padding-bottom: 0;
}

/* Stats Counter Bar */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  padding: 50px 20px;
  background: linear-gradient(135deg, #4070f4, #6c5ce7);
  margin-top: 50px;
  flex-wrap: wrap;
}

.stats-bar .stat-item {
  text-align: center;
  color: #fff;
}

.stats-bar .stat-number {
  font-size: 42px;
  font-weight: 700;
  display: block;
  font-family: 'Ubuntu', sans-serif;
}

.stats-bar .stat-label {
  font-size: 15px;
  font-weight: 400;
  opacity: 0.9;
  margin-top: 5px;
  display: block;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-bar {
    gap: 30px;
    padding: 35px 15px;
  }

  .stats-bar .stat-number {
    font-size: 32px;
  }
}

/* Contact Section */
.contact {
  padding: 80px 5%;
  text-align: center;
  background: #F0F8FF;
  font-family: 'Ubuntu', sans-serif;
}

/* Contact Title Styling */
.contact .title {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 10px;
  /* Add more space below */
  color: #0E2431;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  /* Adjust spacing for better balance */
}



.contact .title:hover::after {
  width: 120px;
  /* Expand on hover for a nice effect */
}


/* Contact Text */
.contact .text {
  font-size: 22px;
  margin-bottom: 30px;
  color: #555;
}

/* Contact Form */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Input Fields */
.contact-form .input-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

/* Submit Button */
.contact-btn {
  display: inline-block;
  background: #4070f4;
  color: white;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: 0.3s ease-in-out;
}

.contact-btn:hover {
  background: #3056d3;
}

/* Required asterisk */
.required {
  color: red;
}

/* Form Container for standalone pages */
.form-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-container h2 {
  margin-bottom: 15px;
  color: #333;
}

/* Success/Error Messages */
.success-message {
  margin-top: 15px;
  font-size: 1.2em;
  color: green;
  font-weight: bold;
}

.error-message {
  display: none;
  color: red;
  font-size: 18px;
  margin-top: 15px;
}



/* Footer Styling */
footer {
  background: #4070f4;
  padding: 20px 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

footer .text span {
  font-size: 17px;
  font-weight: 400;
  color: #fff;
}

footer .text span a {
  font-weight: 500;
  color: #FFF;
  text-decoration: none;
  transition: 0.3s ease-in-out;
}

footer .text span a:hover {
  text-decoration: underline;
  color: #ffd700;
  /* Gold color on hover */
}

/* Scroll to Top Button */
.scroll-button a {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #fff;
  background: #4070f4;
  padding: 10px 14px;
  font-size: 18px;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.15);
  display: none;
  /* Hidden by default */
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

.scroll-button a:hover {
  background: #3057d5;
  /* Darker shade on hover */
}

/* Swiper Container */
.swiper {
  max-width: 90%;
  margin: auto;
  overflow: hidden;
  position: relative;
  padding-bottom: 10px;
}

/* Swiper Wrapper */
.swiper-wrapper {
  display: flex;
  align-items: center;
}

/* Swiper Slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  padding: 10px;
}

/* Swiper Card Styling */
.swiper-slide img {
  width: 100%;
  max-width: 280px;
  max-height: 350px;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(64, 112, 244, 0.25);
}

/* Testimonial Footer */
.testimonial-footer {
  text-align: center;
  margin-top: 15px;
}

.highlighted-text {
  font-size: 18px;
  font-weight: bold;
  color: #ff7f27;
}

.disclaimer {
  font-size: 14px;
  color: #555;
  font-style: italic;
  margin-top: 5px;
}

/* Swiper Pagination Dots */
.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
  margin-bottom: 10px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #b0c4de;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #4070f4;
  width: 24px;
  border-radius: 5px;
}



/* Responsive Media Query */
@media (max-width: 1190px) {
  section .content {
    width: 90%;
  }
}

@media (max-width: 1000px) {
  .home {
    background-image: none !important;
  }

  .about .about-details {
    justify-content: center;
    flex-direction: column;
  }

  .about .about-details .left {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .about-details .right {
    width: 90%;
    margin: 40px 0;
  }

  .services .boxes .box {
    margin: 20px 0;
    width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 900px) {
  .about .left img {
    max-width: 350px;
  }
}

@media (max-width: 750px) {
  nav .navbar {
    width: 90%;
  }

  nav .navbar .menu {
    position: fixed;
    left: -100%;
    top: 0;
    background: #0E2431;
    height: 100vh;
    max-width: 400px;
    width: 100%;
    padding-top: 60px;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s ease;
  }

  .navbar.active .menu {
    left: 0;
  }

  nav .navbar .logo a {
    font-size: 28px;
  }

  nav .navbar .menu a {
    font-size: 23px;
    display: block;
    color: #fff;
    margin: 10px 0;
  }

  nav.sticky .menu a:hover {
    color: #4070f4;
  }

  nav .navbar .media-icons {
    display: none;
  }

  nav .menu-btn,
  .navbar .menu .cancel-btn {
    display: block;
  }

  .home .home-content {
    padding: 30px;
    border-radius: 15px;
  }

  .home .text-two {
    font-size: 40px;
    line-height: 1.2;
  }

  .home .text-three {
    font-size: 28px;
  }

  .home .text-four {
    font-size: 18px;
  }

  .services .boxes .box {
    margin: 20px 0;
    width: 100%;
  }

  .contact .text {
    width: 100%;
  }
}

@media (max-width: 500px) {
  nav .navbar .logo a {
    font-size: 24px;
  }

  .home .text-two {
    font-size: 32px;
    line-height: 1.2;
  }

  .home .text-three {
    font-size: 22px;
  }

  .home .text-four {
    font-size: 15px;
  }

  .quote {
    font-size: 1rem;
    padding: 0 10px;
  }
}