@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
  font-family: "Plus Jakarta Sans", "poppins", sans-serif;
}

:root {
  --primary-color: #273c66;
  --secondary-color: #ff5e14;
  --border-color: #dbd8d5;
  --text-color: #0f313a;
}

a {
  text-decoration: none;
}

.blue {
  color: #163039;
}

.recent-article span {
  color: var(--secondary-color);
}

/* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    } */

.swiper {
  width: 100%;
  /* height: 100vh; */
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Default hidden state (offscreen right) */
.slide-content {
  opacity: 0;
  transform: translateX(500px);
  transition: all 0.8s ease;
}

/* Animate in when slide is active */
.swiper-slide-active .slide-content {
  opacity: 1;
  transform: translateX(0);
}

/* Navbar  */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.5s;
  z-index: 1000;
}

.navbar.scrolled {
  background: white;
  padding: 15px 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .quote-btn {
  color: #333;
}

.navbar.scrolled .nav-links a:hover {
  color: #ff5e14;
}

.navbar.scrolled .hamburger {
  color: #333;
}

.logo {
  display: flex;
  flex-direction: column;
  color: white;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.5s;
}

.logo span {
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 400;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

/* .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
} */

.nav-links a {
  position: relative;
  text-decoration: none;
  color: white;
  padding-bottom: 5px;
  transition: color 0.3s;
}

/* Hover color */
.nav-links a:hover {
  color: var(--secondary-color);
}

/* Underline per link using ::after */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;

  height: 3px;
  /* underline thickness */
  background: var(--secondary-color);
  /* underline color */
  transition: width 0.3s ease;
}

/* Show underline on hover */
.nav-links a:hover::after {
  width: 100%;
}

/* Optional: underline for active link */
.nav-links a.active {
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
}

.quote-btn {
  padding: 10px 25px;
  background: #ff5e14;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.quote-btn:hover {
  background: #ff7c43;
}

.hamburger {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* hero section */
.hero {
  position: relative;
  height: 100vh;
  /* or your slider height */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* dark overlay */
  z-index: 1;
}

.hero .container-fluid {
  position: relative;
  z-index: 2;
  /* ensures text stays above overlay */
}

/* .hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
} */

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  opacity: 0.9;
}

.cta-btn {
  padding: 15px 40px;
  background: #ff5e14;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #ff7c43;
  transform: translateY(-3px);
}

.content {
  padding: 100px 10%;
  max-width: 1200px;
  margin: 0 auto;
}

.section {
  margin-bottom: 80px;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #ffa500;
}

.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.feature-box {
  background: #fff;
  padding: 60px;
  border-radius: 10px;
  text-align: center;

  /* Box shadow */
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

/* Optional hover effect */
.feature-box:hover {
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

.feature-number {
  border: 2px solid #e4e4e4;
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: 0px auto 27px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.score {
  color: #ff5e14;
  border-bottom: 3px solid #e4e4e4;
  display: inline-block;
  padding-bottom: 4px;
}



/* Mobile Nav Styles */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 1001;
  padding: 80px 20px 20px;
  transition: 0.4s;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav-links {
  list-style: none;
}

.mobile-nav-links li {
  margin-bottom: 15px;
}

.mobile-nav-links a {
  display: block;
  padding: 12px 15px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: 0.3s;
}

.mobile-nav-links a:hover {
  background: #f5f5f5;
  color: #ff5e14;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* service */
.service-box {
  height: 350px !important;
  justify-content: start;
  background-color: #fff;
  display: flex !important;
  flex-direction: column !important;
  cursor: pointer;
}

.service-img {
  height: 300px !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills entire box, crops if needed */
  display: block;
  transition: transform 0.5s ease;
}

.service-img:hover img {
  transform: scale(1.1);
}

.service-content {
  text-align: start;
}

.service-content h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.my-swapper2 {
  height: 350px !important;
}

.service-content h3::after {
  content: "";
  position: absolute;
  left: 0;
  /* start from left edge of h3 */
  bottom: 0;
  /* stick to bottom */
  width: 40%;
  /* adjust line length */
  height: 5px;
  /* line thickness */
  background: #ff5e14;
  /* red */
  border-radius: 2px;
  transition: width 0.3s ease;
}

.service-box:hover .service-content h3::after {
  width: 100%;
}

/* article  */
/* .article-box {
  height: 350px !important; 
  display: flex !important;
  justify-content: start;
  align-items: start;
  background-color: #fff;
  flex-direction: column !important;
} */
.article-box {
  height: 455px !important;
  display: flex !important;
  justify-content: start;
  align-items: start;
  background-color: #fff;
  cursor: pointer;
  flex-direction: column !important;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.25);
  transition: 0.3s ease;
}

.article-box:hover {
  box-shadow: 0 16px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(-5px);
}

.article-img {
  height: 300px !important;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills entire box, crops if needed */
  display: block;
  transition: transform 0.5s ease;
}

.article-img:hover img {
  transform: scale(1.1);
}

.article-box:hover .article-img img {
  transform: scale(1.1);
}

.article-content {
  text-align: left !important;
}

/* .article-content{
  text-align: start;
} */
.article-content h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.article-box:hover .article-content h2 {
  color: #ff5e14;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0f313a;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #ff5e14;
  color: #fff;
}

.fadd span {
  color: var(--border-color);
}

/* about page */
.breadcrumbs {
  position: relative;
  height: 400px;
  z-index: 1;
}

.breadcrumbs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.bread-about ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
}

.bread-about ul li a {
  color: white;
  text-decoration: none;
  transition: 0.2s ease;
}

.bread-about ul li a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

.bread-about ul li {
  position: relative;
}

.bread-about ul li:not(:last-child)::after {
  content: "";
  display: inline-block;
  margin-left: 10px;
  width: 15px;
  height: 3px;
  background: var(--secondary-color);
  vertical-align: middle;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.services::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}


.testimonial-img {
  width: 120px;      /* set same width and height */
  height: 120px;
  overflow: hidden;  /* crop extra part */
  border-radius: 50%;
  border: 3px solid #ddd;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps face centered */
}


/*.testimonial-img img {*/
/*  max-width: 100%;*/
/*  border-radius: 50%;*/
/*  border: 3px solid #ddd;*/
/*}*/

.testimonial-content {
  color: #333;
}

.testimonial-content .review-text {
  font-style: italic;
  margin-bottom: 10px;
}

.client-name {
  font-weight: bold;
  margin: 0;
}

.client-role {
  font-size: 14px;
  color: #777;
}

.testimonial-subheading {
  color: var(--secondary-color);
  font-weight: 900;
}
.form-subheading{
  color: var(--secondary-color);
  font-weight: 900;
}
.testmonial-heading {
  color: var(--text-color);
  font-weight: 900;
}

/* process box */
.process-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.process-img {
  position: relative;
  width: 200px;
  height: 200px;
}

/* .count-size{
  position: absolute;
  top: 0;
  left: 0;
} */
.process-img img {
  height: 200px;
  width: 200px;
  overflow: hidden;
  border-radius: 50%;
  object-fit: cover;
}
.client-img img {
      height: 200px;
  width: 200px;
  overflow: hidden;
  border-radius: 0% !important;
  object-fit: contain !important;
}

.step-circle {
  width: 48px;
  height: 48px;
  background: var(--secondary-color);
  /* red background */
  color: #fff;
  /* white text */
  font-size: 15px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  /* makes it a circle */
  position: absolute;
  top: 0;
  left: 20px;
  z-index: 1;
  animation: pulse 1.5s infinite;
  /* apply animation */
}

/* Pulse animation */
@keyframes pulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(244, 67, 54, 0.6),
      0 0 0 0 rgba(244, 67, 54, 0.4);
  }

  50% {
    box-shadow:
      0 0 0 10px rgba(244, 67, 54, 0),
      0 0 0 20px rgba(244, 67, 54, 0.3);
  }

  100% {
    box-shadow:
      0 0 0 20px rgba(244, 67, 54, 0),
      0 0 0 40px rgba(244, 67, 54, 0);
  }
}

/* 🔹 Smaller pulse effect for mobile screens */
@media (max-width: 576px) {
  @keyframes pulse {
    0% {
      box-shadow:
        0 0 0 0 rgba(244, 67, 54, 0.6),
        0 0 0 0 rgba(244, 67, 54, 0.4);
    }

    50% {
      box-shadow:
        0 0 0 6px rgba(244, 67, 54, 0),
        0 0 0 12px rgba(244, 67, 54, 0.3);
    }

    100% {
      box-shadow:
        0 0 0 12px rgba(244, 67, 54, 0),
        0 0 0 24px rgba(244, 67, 54, 0);
    }
  }
}

.our-mission {
  color: var(--secondary-color) !important;
}

.form-box{
  border-right: var(--secondary-color) 5px solid;
  border-radius: 5px;
}
.form-content{
  color: var(--text-color);
  font-weight: 700;
}

/* service page  */
.service-conatiner {
    height: fit-content;
    width: 100%;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.service-image {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
      transition: transform 0.5s ease;
}
.service-conatiner:hover .service-content h3::after {
  width: 100%;
}
.service-conatiner:hover .service-image img {
  transform: scale(1.1);
}
.service-image:hover img {
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 992px) {

  .nav-links,
  .quote-btn {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 24px;
  }

  .logo span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .services {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 15px 4%;
  }

  .navbar.scrolled {
    padding: 12px 4%;
  }

  .logo {
    font-size: 20px;
  }

  /* .hero-swiper{
    height: 50vh !important;
  } */
  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }

  .feature-box {
    padding: 30px;
  }

  .breadcrumbs {
    position: relative;
    height: 270px;
    z-index: 1;
  }

  .aboutcontentaboutpage {
    height: max-content !important
  }
  .testimonial-img {
  width: 105px;      /* set same width and height */
  height: 105px;
  overflow: hidden;  /* crop extra part */
  border-radius: 50%;
  border: 3px solid #ddd;
}

}