@import url("https://fonts.googleapis.com/css2?family=Rancho&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary: #0f9bba;
  --secondary: #15355c;
  --bg: #68874a25;
  --light: #f8f9fa;
  --dark: #212529;
}

.clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

body {
  color: var(--dark);
  line-height: 1.6;
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

@media (min-width: 992px) {
  .custom-container {
    position: absolute;
    top: -120px;
    left: 0;
    right: 0;
    padding-left: 1rem; /* ✅ 16px spacing */
    padding-right: 1rem; /* ✅ 16px spacing */
    z-index: 9;
  }
}

.rancho-regular {
  font-family: "Rancho", cursive;
  font-weight: 400;
  font-style: normal;
}

.roboto {
  font-family: "Roboto Condensed", sans-serif;
  font-optical-sizing: auto;
}

/*========== top-bar ===========*/

.top-bar {
  background: #2380f0;
  color: var(--light);
  padding: 5px 0;
  /* border-bottom: 1px solid #ccc; */
}

.top-bar .top-social-links i {
  font-size: 14px;
}

/* navbar */
/*============= Navbar =============*/
.navbar {
  background: #fff;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
  padding: 15px 0;
}

.navbar-brand {
  color: rgb(255, 255, 255) !important;
  font-weight: 700;
  font-size: 24px;
}

.navbar-toggler {
  background: var(--secondary);
  padding: 15px 15px;
  border: 1px solid #fff;
  color: #f5f5f5 !important;
  border-radius: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* Common hover style for all navbar links */
.navbar .nav-link {
  padding: 8px 16px !important;
  border-radius: 50px; /* same rounded-pill look */
  transition: all 0.3s ease;
}

/* Hover effect */
.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: #002f56; /* green background */
  color: white !important;
}

/* .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
} */

/*========== menu =============*/
.nav-link {
  background-color: #fff;
  font-size: 15px;
  font-weight: 300;
  margin-left: 2px;
  margin-right: 4px;
  letter-spacing: 1px !important;
  color: #222;
  border-radius: 100px;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
}

/* .nav-link.active {
  background-color: #f58d17;
  color: #fff;
} */

.menu-item {
  cursor: pointer;
}

.menu-item .stars {
  color: #f58d17;
}

.menu-item-content {
  padding: 0.5rem 1rem;
}

@media (min-width: 992px) {
  .dropdown > .dropdown-menu {
    visibility: hidden;
    opacity: 0;
    top: 100%;
    display: block;
    transition: all 0.1s ease-out;
  }
  .dropdown:hover > .dropdown-menu {
    visibility: visible;
    opacity: 1;
    padding: 20px 0;
    display: block;
    transition: all 0.3s ease-in-out;
    min-height: 100%;
    max-height: 220px;
    overflow-y: scroll;
  }

  .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.204em;
    vertical-align: 0.186em;
  }

  .dropdown-menu .dropdown-item {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 1px !important;
  }

  .dropdown ::-webkit-scrollbar {
    width: 5px;
  }

  /* Track */
  .dropdown ::-webkit-scrollbar-track {
    background: #fff;
  }

  /* Handle */
  .dropdown ::-webkit-scrollbar-thumb {
    background: #092759;
  }

  /* Handle on hover */
  .dropdown ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

.dropdown > .dropdown-menu {
  transition: all 0.1s ease-out;
}

.dropdown:hover > .dropdown-menu {
  transition: all 0.3s ease-in-out;
  min-height: 100%;
  max-height: 220px;
  overflow-y: scroll;
}

/*=============== Nav items styling ================*/
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    align-items: center;
    border: 1px solid #ccc;
  }

  /* .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 22px;
    padding-left: 22px;
  } */
}

/* .navbar-nav {
  gap: 8px;
} */

/* whatsapp logo */

.whatsapp-float {
  position: fixed;
  left: 10px;
  bottom: 7%;
  transform: translateY(-50%);
  z-index: 999;
}

.whatsapp-float a {
  border-radius: 50%;
  text-align: center;
  height: 50px;
  width: 50px;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  padding: 5px;
}

.whatsapp-float a img {
  height: 50px;
  width: 50px;
  /* border-radius: 50%; */
  object-fit: cover;
  text-align: center;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

.whatsapp-float a:hover {
  text-decoration: none;
}

/*============== scroll to top ============*/
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: none;
  font-size: 12px;
  /* padding: 10px 14px; */
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: none;
  background-color: var(--secondary);
  color: white;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
  transition: background-color 0.3s;
}

#scrollTopBtn:hover {
  background-color: var(--primary);
}

/* carousel */

@media (min-width: 992px) {
  .custom-carousel-control {
    width: 60px;
    height: 60px;
    border: 1px solid #000;
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent black */
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
  }

  .custom-carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }

  /* Style the icon inside */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-size: 30px 30px;
    width: 30px;
    height: 30px;
  }
  .carousel-control-prev {
    left: 38px;
  }

  .carousel-control-next {
    right: 38px;
  }
}

/* card */
@media (min-width: 992px) {
  .over-view-cards .row > * {
    padding-right: 0;
    padding-left: 0;
  }
}
.card-custom {
  background: #fff;
  transition: 0.4s ease;
  cursor: pointer;
}

.card-active {
  background: #002f56;
  color: #fff;
}

.card-custom:hover {
  background: #002f56;
  color: #fff;
  /* transform: translateY(-5px); */
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* about */

@media (min-width: 992px) {
  .about-sec {
    margin-top: 200px;
  }
}

/* service */
/* 
.service-section {
  padding: 60px 0;
} */

.service-heading {
  font-size: 35px;
  color: #0c3c3e;
  font-weight: 700;
}

@media (min-width: 992px) {
  .service-heading {
    font-size: 55px;
    color: #0c3c3e;
    font-weight: 700;
  }
}

.service-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgb(155, 0, 36);
}

.service-desc {
  color: #5a6d6a;
}

.service-card {
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 25px;
  transition: 0.3s ease;
  display: flex;
  gap: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-green {
  background: linear-gradient(to right, #003d7d, #003d7d);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  transition: 0.3s ease-in-out;
}

.btn-green:hover {
  background: linear-gradient(to right, #31fbd9, #00bec8);
}

/* gallery */
.gallery-sec {
  background: linear-gradient(
      to top,
      rgba(0, 30, 71, 0.9),
      rgba(1, 38, 107, 0.9)
    ),
    url("../img/about1.jpg");
}

.gallery-sec .swiper {
  padding: 40px 0;
}

.gallery-sec .swiper-slide {
  display: flex;
  justify-content: center;
  background: #fff;
  cursor: pointer;
}

.gallery-content {
  opacity: 0;
  transition: all 0.3s;
}

.gallery-sec .swiper-slide:hover .gallery-content {
  opacity: 1;
}

.gallery-sec .swiper-button-next,
.gallery-sec .swiper-button-prev {
  color: #fff;
  background-color: rgba(201, 0, 0, 0.8); /* semi-transparent background */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  bottom: 10px;
  top: auto;
  z-index: 10;
  transform: translateY(-50%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-sec .swiper-button-prev {
  right: 60px;
  left: auto;
}

.gallery-sec .swiper-button-next::after,
.gallery-sec .swiper-button-prev::after {
  font-size: 12px;
  font-weight: bold;
}

/* why choose us */
@media (min-width: 992px) {
  .why-choose-sec {
    background: linear-gradient(
        to left,
        rgba(255, 255, 255, 0.9) 70%,
        rgba(0, 34, 90, 0.8) 30%
      ),
      url("../img/about1.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
  }
}

/* contactform */
.form-control-custom {
  border: none;
  border-bottom: 2px solid #ccc;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.3s;
}

.form-control-custom:focus {
  border-bottom-color: #0d6efd;
  box-shadow: none;
  outline: none;
}

.contact-form {
  max-width: 600px;
  margin: auto;
}

.form-label {
  font-weight: 500;
  margin-bottom: 5px;
}

/* Testimonials */
.testimonial-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.testimonial-section .swiper {
  position: relative;
  padding-bottom: 60px; /* Space for buttons */
}

.testimonial {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.testimonial h5 {
  margin-top: 15px;
  font-weight: bold;
}

.testimonial-section .swiper-button-next,
.testimonial-section .swiper-button-prev {
  color: #fff;
  background: #ae001a;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  bottom: 10px;
  top: auto;
  z-index: 10;
}

.testimonial-section .swiper-button-prev {
  right: 60px;
  left: auto;
}

.testimonial-section .swiper-button-next {
  right: 10px;
}

.testimonial-section .swiper-button-next::after,
.testimonial-section .swiper-button-prev::after {
  font-size: 14px;
}

/* footer */

footer {
  background-color: #141b3a;
  padding: 0px 30px 20px;
}

.footer-logo {
  font-size: 30px;
  font-weight: bold;
}

.footer-column h5 {
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li::before {
  content: "•";
  color: rgb(150, 0, 0);
  margin-right: 10px;
}

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
}

.social-icons a:hover {
  color: rgb(207, 0, 0);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #2e2e2e;
  color: #aaa;
  font-size: 14px;
}

.footer-top {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2e2e2e;
  color: #aaa;
  font-size: 14px;
}

/* =========== other page css starat here ============ */
/* Hero Section */
.hero-section {
  background: url("https://via.placeholder.com/1600x500") center/cover no-repeat;
  height: 300px;
}

/* services page style */

.service-page-card {
  background: #fff;
  border: none;
  transition: all 0.3s ease;
}
.service-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}
.service-page-card img {
  width: 100%;
  height: auto;
}
.service-page-card-title {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #003399;
  margin-top: 15px;
  padding-bottom: 5px;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 4px,
    #ccc 4px,
    #787878 6px
  );
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 2px;
}
.service-page-card-desc {
  font-size: 0.95rem;
  color: #6c757d;
  margin: 10px 0;
}
.service-page-card .plus-icon {
  font-size: 1.2rem;
  color: #003399;
  font-weight: bold;
  display: inline-block;
  cursor: pointer;
  margin-top: 10px;
}

/* photo gallery */

.gal-page-card {
  background: #fff;
  border: none;
  transition: all 0.3s ease;
}
.gal-page-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.gal-page-card img {
  width: 100%;
  height: auto;
}

.gal-page-card-title {
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #fff;
  margin: 15px 0 0 0;
  padding-bottom: 5px;
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: auto 2px;
}

.gal-page-card-content {
  opacity: 0;
  transition: all 0.3s;
}

.gal-page-card-content:hover {
  opacity: 1;
}

.gal-page-card .plus-icon {
  font-size: 1.2rem;
  color: #003399;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}

/* career */

.application-form {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}
.form-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #003399;
}

/* contact page */

.contact-info i {
  font-size: 2rem;
  color: #555;
}

.contact-info p {
  margin-bottom: 0.3rem;
}

.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}

iframe {
  border: 0;
  width: 100%;
  height: 200px;
  border-radius: 8px;
}

/* page-title */

.page-title {
  background: linear-gradient(rgba(255, 255, 255, 0.7)),
    url("../img/cta_image.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
