* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  list-style: none;
  text-decoration: none;
}
body {
  font-family: "Times New Roman", Times, serif;
  overflow-x: hidden;
  background: #fafafa;
}

.banner {
  width: 100%;
  height: 100vh;
  background-image: linear-gradient(rgba(1, 1, 1, 0.8), rgba(1, 1, 1, 0.4)),
    url(Images/pic\ 1.jpg);
  background-size: cover;
  background-position: center;
}

/* Navbar Styling */
.navbar {
  width: 100%;
  height: 80px; /* Ensure navbar has a defined height */
  /* Ensure visibility */
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.4s ease-in-out; /* Smooth movement */
  background-color: #3a5a789c;
}

img.logo {
  max-width: 100px; /* Adjust as needed */
  height: auto;
}

/* Adjusted Logo to the Left */
.logo {
  width: 170px;
  cursor: pointer;
  margin-left: 20px; /* Ensures spacing from left */
  transition: top 0.3s ease-in-out;
}

/* Navigation Links */
.navbar ul {
  display: flex;
  margin-left: auto;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  display: block;
  padding: 40px;
}

/* Fix for Hover Effect */
.navbar ul li a:hover {
  background-color: white;
  color: #7fb3d5;
}
/* Mobile Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Navbar container adjustments */
  .navbar {
    position: relative;

    /* backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);*/
    z-index: 1000;
  }

  /* Navigation menu (hidden by default) */
  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px; /* Below the navbar */
    left: 0;
    width: 100%;
    color: #1d3851;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    border-radius: 0 0 10px 10px;
    transition: all 0.3s ease-in-out;
    text-align: center;
  }

  /* Active state — menu visible */
  .navbar ul.active {
    display: flex;
    animation: fadeInMenu 0.4s ease-in-out;
  }

  /* Menu links styling */
  .navbar ul li a {
    display: block;
    padding: 18px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
  }

  .navbar ul li a:hover {
    color: #7fb3d5;
  }
  /* Hamburger menu button */
  .menu-toggle {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: #fff;
    background: none;
    border: none;
    outline: none;
    transition: transform 0.3s ease;
  }

  .menu-toggle:hover {
    transform: scale(1.1);
  }

  /* Simple fade-in animation for smoother appearance */
  @keyframes fadeInMenu {
    from {
      opacity: 0;
      transform: translateY(-15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Center Content */
.div1 {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centers vertically */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfect center */
  text-align: center;
  color: white;
  z-index: 999; /* Ensures it stays above other elements */
}
.text1 {
  font-size: 50px;
  text-align: center;
  font-family: poppins, sans-serif;
  opacity: 0;
  transform: translateY(50px);
  animation: slideUp 1s ease-in-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.text2 {
  font-size: 20px;
  text-align: center;
}
.explore {
  padding: 15px 25px;
  margin: 20px;
  font-size: 16px;
  letter-spacing: 1px;
  border: 2px solid #ffc107;
  color: white;
  cursor: pointer;
  background: linear-gradient(to right, transparent 50%, #ffc107 50%);
  background-size: 200%;
  background-position: left;
}
.explore:hover {
  background-position: right;
  color: black;
  transform: scale(0.8);
  transition: 0.2s ease-in-out;
}
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(to right, #3a5a78, #5a6b75);
  border: 5px;
  margin-top: 30px;
  border-radius: 20px;

  /*  background: linear-gradient(to right, #ff6600, #ff9900);*/
  color: white;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
  animation-delay: 10s;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.heading {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  transform: translateY(250px);
  animation: slideUp 3s ease-in-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 75%;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(250px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.para {
  font-size: 18px;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

/* Features Section */
.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 50px 20px;
  background: whitesmoke;
  transform: translateY(250px);
  animation: slideUp 3s ease-in-out forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 45%;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(250px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature {
  width: 480px;
  height: 250px;
  text-align: center;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  border-bottom: 4px solid transparent;
}

.feature:hover {
  transform: translateY(-8px);
  box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 4px solid #3a5a78;
}

.feature ion-icon {
  font-size: 35px;
  color: #3a5a78;
  margin-bottom: 10px;
}

.head3 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 40px;
  font-family: "Crimson Text", serif;
  font-weight: 600;
  font-style: normal;
}

.text6 {
  font-size: 18px;
  color: #666;
  font-family: "Crimson Text", serif;
  font-weight: 600;
  font-style: normal;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 30px 10px;
    margin-top: 15px;
  }

  .heading {
    font-size: 26px;
  }

  .para {
    font-size: 18px;
  }

  .features {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px;
    flex-wrap: nowrap;
  }

  .feature {
    width: 90%; /* Makes features take up most of the screen */
    max-width: 350px;
    padding: 18px;
    box-sizing: content-box;
  }
  .text4 {
    color: black;
    line-height: 1.5;
    text-align: center;
  }
}
/*text slider*/
/* Slider section with extra bottom margin for separation */
.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #3a5a78, #5a6b75);
  backdrop-filter: blur(10px);
  background-image: url(Images/image\ 1.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 3vw 4vw;
  border-radius: 4vw;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  width: 90%;
  max-width: 900px;
  min-width: 280px;
  min-height: 220px;
  font-family: Arial, sans-serif;
  color: black;
  margin: 40px auto 60px auto;
  transition: transform 0.3s ease-in-out;
  top: 1vh;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.slider-container:hover {
  transform: scale(1.02); /* Slight zoom effect */
}
.head1 {
  position: relative;
  display: block; /* Ensures it takes full width */
  text-align: center; /* Centers text */
  font-size: 38px; /* Slightly larger for emphasis */
  font-weight: bold; /* Make it stand out */
  color: black; /* Text color */
  text-transform: uppercase; /* Make it all caps */
  letter-spacing: 2px; /* Improve readability */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
  border-bottom: 4px solid black; /* Underline effect */
  padding-bottom: 5px; /* Space between text and underline */
  width: fit-content; /* Adjust width to content */
  margin: 0 auto; /* Center the element */
  margin-bottom: 50px;
}

.arrow {
  font-size: 40px;
  cursor: pointer;
  user-select: none;
  color: grey;
  transition: color 0.3s, transform 0.2s;
  padding: 0 20px;
}

.arrow:hover {
  color: black;
  transform: scale(1.2);
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
  .arrow,
  .desktop-only {
    display: none !important;
  }
}
/* Slider navigation dots */
.slider-dots {
  display: none;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  display: inline-block;
  transition: background 0.3s;
  cursor: pointer;
}
.slider-dot.active {
  background: #3a5a78;
}

/* Show dots and swipe note on mobile */
@media (max-width: 768px) {
  .slider-dots {
    display: flex;
  }
  .swipe-note {
    display: block;
    text-align: center;
    color: #3a5a78;
    font-size: 15px;
    margin-top: 10px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 6px 0;
  }
}

/* Add extra margin below swipe note for separation */
.swipe-note {
  display: none;
  margin-bottom: 40px;
}

.slider {
  width: 100%;
  max-width: 800px;
  height: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
  padding: 20px;
}

/* Each slide fills the whole slider */
.slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  top: -26px;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}
.text3 {
  color: black;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 600;
  border-bottom: 2px solid black; /* Adds an underline effect */
  display: inline-block;
  padding-bottom: 5px;
  margin-top: 10px;
}
.text4 {
  color: black;
  line-height: 1.9;
  text-align: justify;
}
.list {
  list-style: none; /* Remove default bullets */
  padding: 0;
  text-align: left; /* Center-align the list */
}

.list li {
  font-size: 18px;
  font-weight: 500;
  margin: 10px 0; /* Add spacing between points */
  position: relative;
  padding-left: 30px;
}

.list li::before {
  content: "➤"; /* Change this to any symbol */
  color: black; /* Adjust color */
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

/* Active slide */
.slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Make the slider responsive */
@media (max-width: 1200px) {
  .slider-container {
    width: 96%;
    padding: 2.5vw 2vw;
    border-radius: 3vw;
    min-height: 180px;
  }
}

@media (max-width: 900px) {
  .slider-container {
    width: 99%;
    padding: 2vw 1vw;
    border-radius: 2vw;
    min-height: 140px;
  }
}

@media (max-width: 768px) {
  .slider-container {
    width: 98%;
    padding: 18px 6px;
    border-radius: 18px;
    min-height: 100px;
    margin-bottom: 40px;
  }
  .buton {
    padding: 10px 20px;
    font-size: 16px;
  }
  .arrow {
    font-size: 30px;
  }
  .text4 {
    font-size: 16px;
    text-align: justify;
  }
  .swipe-note {
    margin-bottom: 40px;
  }
}
.services {
  padding: 50px;
  background-color: #fff;
  text-align: center;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
  animation-delay: 10s;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

.head {
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  font-size: 38px; /* Slightly larger for emphasis */
  font-weight: bold; /* Make it stand out */
  color: black; /* Vibrant color */
  text-transform: uppercase; /* Make it all caps */
  letter-spacing: 2px; /* Improve readability */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
  border-bottom: 4px solid black; /* Underline effect */
  padding-bottom: 5px; /* Space between text and underline */
}

.service-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.service-box {
  background: white;
  padding: 20px;
  width: 385x;
  height: 130px;
  border-radius: 10px;

  transition: 0.5s;
}

.service-box:hover {
  background: #3a5a78;
  color: white;
  transform: scale(1.05);
  transition: transform 0.1s ease-in-out;
}

.text5 {
  font-size: 20px;
  margin-bottom: 10px;
}
.text2 {
  font-size: 18px;
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}
@keyframes appear {
  from {
    opacity: 0;
    clip-path: inset(100% 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}

@media (max-width: 768px) {
  .services {
    padding: 30px 15px; /* Reduce padding */
  }

  .head {
    font-size: 28px; /* Slightly smaller for better fit */
  }

  .service-container {
    flex-direction: column; /* Stack services vertically */
    align-items: center;
  }

  .service-box {
    width: 90%; /* Takes most of the screen width */
    max-width: 380px; /* Prevents it from getting too large */
  }

  .text5 {
    font-size: 16px;
  }

  .text2 {
    font-size: 15px;
  }

  .text3 {
    font-size: 17px;
  }
}
.container1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background: #333;
  padding: 30px;
  border-radius: 10px;
  background-image: linear-gradient(rgba(1, 1, 1, 0.65), rgba(0, 0, 0, 0.65)),
    url(Images/pic\ 1.jpg);
  background-size: cover;
  background-position: center;
}
.text-box {
  max-width: 50%;
  padding: 20px;
}

.title {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
}

.highlight {
  background-color: #2c3e50;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
}

.subtitle {
  color: white;
  font-size: 24px;
  margin-top: 10px;
  line-height: 50px;
}
.contact-details {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #ddd; /* Soft white for contrast */
  text-align: left;
  margin-top: 15px;
}
.contact-details a {
  color: #ddd; /* Soft white for contrast */
  text-decoration: none;
}
.about-us {
  padding: 60px;
  background-color: #3a5a78;
}
/* Social Media Icons */
.social-icons {
  margin-top: 15px;
}

.icon {
  display: inline-block;
  font-size: 20px;
  text-align: center;
  width: 40px;
  height: 40px;
  line-height: 45px;
  margin-right: 10px;
  background: #555;
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: 0.3s;
}

.icon:hover {
  background: #aaa;
}
.footer-bottom {
  text-align: center;
  margin-top: 0px;
  border-top: 1px solid #3a5a78;
  padding-top: 5px;
  font-size: 14px;
  color: black;
  background: #fafafa;
}
/* Responsive Design */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .image-box,
  .text-box {
    max-width: 90%;
  }
  .text4 {
    color: black;
    line-height: 1.5;
    text-align: center;
  }
  .slider {
    width: 100%;
    height: 100%;
    overflow-y: hidden;
    position: relative;
    text-align: center;
    padding: 20px 0;
  }
  .about-us {
    padding: 30px;
  }
  .contact-details {
    font-size: 15px;
  }
  .about-us {
    padding: 30px;
  }
  .title {
    text-wrap: nowrap;
  }
  .container1 {
    padding: 0;
  }
  .contact-details {
    font-size: 15px;
  }
}
.contactyz {
  margin-left: 5px;
  color: white;
}
@media (min-width: 769px) {
  .navbar {
    background-color: transparent;
  }
  .navbar ul li a:hover {
    background-color: transparent;
    color: red;
  }
}

