/********** Template CSS **********/
:root {
  --primary: #264a75;
  --highlights: #1ca6d8;
  --secondary: #ff6922;
  --light: #D9FAF7;
  --dark: #0e2e50;
  --hover: #1b2b40;
  --primary-color: #264A75;
  --secondary-color: #1ca6d8;
  --soft-white: #f9f9f9;
  --light-gray: #e0e0e0;
  --deep-primary: #1b2b40;
  --border-radius-img: 8px;
}

body {
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 50px;
}

/*** Navbar ***/
.nav-bar {
  position: relative;
  margin-top: 0px;
  padding: 0;
  transition: 0.5s;
  z-index: 9999;
}

.nav-bar.sticky-top {
  position: sticky;
  top: 0;
  padding: 0;
  margin-top: 0;
  z-index: 9999;
}

.navbar {
  background-color: #264a75;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 5px;
  transition: 0.5s;
}

.navbar .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(-180deg);
}

.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 15px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #1ca6d8;
}

@media (max-width: 991.98px) {
  .nav-bar {
    margin: 0;
    padding: 0;
  }

  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-dark .navbar-nav {
    border-top: 1px solid #eeeeee;
    margin-top: 10px;
  }
}

.navbar-dark .navbar-brand {
  height: 55px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--light);
  font-weight: 500;
}

.dropdown-menu {
  background-color: #264A75;
}

.dropdown-item {
  color: #f9f9f9;
}

.dropdown-item:hover {
  color: var(--hover);
  transition: 0.5s ease;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    top: 100%;
    margin-top: 0;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/* header banner img crop*/
.header .col-md-6 img.img-fluid {
  max-height: 350px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

@media (max-width: 768px) {
  .header .col-md-6 img.img-fluid {
    max-height: 200px;
  }
}

/*** Header ***/
@media (min-width: 992px) {
  .header {
    margin-top: -140px;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: -25px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 40px;
  font-size: 20px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

@media (max-width: 768px) {
  .header-carousel .owl-nav {
    left: 25px;
  }
}

.breadcrumb-item a {
  color: var(--highlights)
}

.breadcrumb-item a:hover {
  color: var(--hover);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #dddddd;
}

.primary-button a {
  display: inline-block;
  background-color: var(--secondary-color);
  padding: 15px 24px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.primary-button a:hover {
  background-color: var(--deep-primary);
  transition: 0.3s;
}

/*** Homepage ***/
.parallax-content {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
}

.homepage-content {
  min-height: 100vh !important;
  padding-top: 25vh;
  text-align: center;
  background-image: url(../img/homepage/banner1.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Add these for dark overlay effect */
  background-color: rgba(18, 33, 76, 0.5);
  /* Adjust opacity as needed */
  background-blend-mode: darken;
}

.intro-content h1 {
  color: #fff;
}

@media (min-width: 992px) {
  .intro-content h1 {
    font-size: 5rem;
  }
}

.intro-content span {
  color: #fff;
  font-size: 2rem;
  font-weight: 100;
}

/*** Milestone ***/
.statistics {
  position: relative;
  display: flex;
  align-items: center;
  background-position: center;
  background-size: cover;
  padding: 127px 0 120px;
  margin-top: 2rem;
}

.statistics:before {
  position: absolute;
  content: '';
  background: rgba(75, 75, 75, .60);
  height: 60%;
  width: 100%;
  border-radius: var(--border-radius-img);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .statistics:before {
    height: 100%;
  }
}

.statistics-counter,
.single-statistics-box,
.statistics-content {
  position: relative;
  z-index: 2;
  /* Higher than ::before's z-index: 1 */
}

/* single-statistics-box */
.single-statistics-box {
  text-align: center;
  margin-bottom: 30px;

}

/* single-statistics-box */
.statistics-content {
  display: flex;
  justify-content: center;
  color: #fff;
  font-size: 60px;
}

.statistics-content span {
  margin-left: 5px;
}

.single-statistics-box h3 {
  color: #fff;
  font-size: 24px;
  text-transform: capitalize;
  font-weight: 500;
}

.statistics-counter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  /* or center/space-around */
  gap: 20px;
  /* optional spacing */
}

/*** President Message ***/
.homepage-content-message {
  background-color: var(--soft-white);
  position: relative;
  z-index: 1;
}

.president-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 60px 0;
  gap: 50px;
  position: relative;
}

@media (max-width: 768px) {
  .president-section {
    flex-direction: column;
    padding: 30px 0;
  }
}

.image-container {
  flex: 1;
  position: relative;
}

.image-container img {
  width: 100%;
  max-width: 450px;
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.accent-box {
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: #0097e6;
  z-index: -1;
  border-radius: 10px;
  top: -20px;
  left: -20px;
}

@media (max-width: 991.98px) {
  .image-container {
    padding: 2rem;
  }

  .accent-box {
    margin-left: 1.5rem;
    margin-top: 2rem;
  }
}

.content-container {
  flex: 1.2;
  padding: 20px;
}

.section-tag {
  display: inline-block;
  background-color: #e3f2fd;
  color: #0097e6;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  position: relative;
}

.about-content-title h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-content-title h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
}

.content-container h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #0097e6;
  margin-top: 16px;
}

.president-message p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #555;
}

.president-highlight {
  font-weight: 600;
  color: #2c3e50;
}

.cta-button {
  display: inline-block;
  background-color: #0097e6;
  color: white;
  padding: 14px 32px;
  border-radius: var(--border-radius-img);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 151, 230, 0.3);
}

.cta-button:hover {
  background-color: #007bbd;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 151, 230, 0.4);
}

.president-name {
  margin-top: 30px;
  font-weight: 600;
  font-size: 18px;
}

.president-title {
  color: var(--secondary-color);
  font-size: 16px;
  margin-top: 5px;
}

/*** Icon ***/
.icon {
  padding: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff !important;
  border-radius: 50px;
  border: 1px dashed #264a75 !important;
}


/*** About Us ***/
.about {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h1 {
  color: #14253e;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

.section-title h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1ca6d8;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
  gap: 30px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  color: #555;
  line-height: 1.8;
}

@media (max-width: 991.98px) {
  .about-content {
    display: flex;
    flex-direction: column;
    padding: 0 2rem;
  }
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.about-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: skew(20deg);
  z-index: 1;
}

/*** Credentials ***/
.credentials-container {
  background-image: url("../img/credentials-building (2).jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.credentials-title {
  display: inline-block;
  border-bottom: 3px solid white;
}

@media (max-width: 991.98px) {
  .credentials-holder {
    padding: 0 2rem !important;
    text-align: center;
  }

  .pb-5 {
    text-align: center;
  }

  .credentials-margin {
    margin-bottom: 2rem;
    margin-top: -1rem;
    text-align: center;
  }

}

.highlight {
  background-color: var(--primary);
  padding: 12px 20px;
  border-radius: 8px;
  margin-top: 20px;
  border-left: 6px solid #1ca6d8;
}

.license-number {
  color: var(--highlights);
}

/*** Overlay ***/
.overlay {
  position: relative;
}

.overlay:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg,
      #1ca6d8 0%,
      #128ac4 33%,
      #0d6db0 66%,
      #094f8a 100%);
  opacity: 0.7;
  z-index: 1;
}

/*** Mission Statement & Corporate Values ***/

.section-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 20rem;
}

.section-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.mission-card .card-header {
  background-color: #1ca6d8;
  background-image: linear-gradient(135deg, #1ca6d8, #1589b2);
}

.corporate-card .card-header {
  background-color: #264a75;
  background-image: linear-gradient(135deg, #264a75, #1d3a5e);
}

.mission-title,
.corporate-title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.mission-title::after,
.corporate-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 12px auto 0;
}

.section-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.2;
  font-size: 64px;
  color: white;
}

.decorative-element {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  top: -50px;
  left: -50px;
}

.corporate-card .card-body {
  background-color: #e9f0ff;
}

.corporate-text-highlight {
  color: var(--primary);
}

/*** Services ***/
.service-title h1 {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.service-title h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -25px;
  height: 3px;
  width: 50%;
  background: var(--secondary-color);
  left: 25%;
}

.service-title p {
  font-size: 16px;
  color: #555;
  max-width: 80%;
  line-height: 1.8;
}

@media (max-width: 992px) {
  .service-title p {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .service-title h2 {
    font-size: 30px;
  }

  .service-title p {
    max-width: 100%;
  }
}

.service-carousel {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.service-carousel .owl-stage {
  display: flex;
}

.service-carousel .owl-item {
  display: flex;
  flex: 1;
}

@media (min-width: 576px) {
  .service-carousel {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.service-carousel .owl-nav {
  position: absolute;
  width: 100%;
  height: 40px;
  top: calc(50% - 20px);
  left: 0;
  display: flex;
  justify-content: space-between;
  z-index: 1;
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 40px;
  font-size: 20px;
  transition: 0.5s;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
  background: var(--dark);
}

.service-item-child {
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.08);
}

.service-item-child img {
  height: 250px;
  object-fit: cover;
  transition: 0.5s;
}

.service-item-child .p-4 {
  min-height: 150px;
}

.service-item-child:hover img {
  transform: scale(1.1);
}

.service-item-child .border-top {
  border-top: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.service-item-child .border-end {
  border-right: 1px dashed rgba(0, 185, 142, 0.3) !important;
}

.service-item-child div a:hover {
  color: var(--highlights);
}

.service-identity-item div {
  background: #ffffff;
  transition: 0.5s;
}

.service-identity-item:hover div {
  background: var(--primary);
  border-color: transparent;
}

.service-identity-item div * {
  transition: 0.5s;
}

.service-identity-item:hover div * {
  color: #ffffff !important;
}

.service-icon {
  border-radius: 70%;
}

.service-category-description {
  color: var(--highlights);
}

@media (max-width: 991.98px) {
  .section-card {
    height: 25rem;
  }

  .py-5 {
    margin-top: -5rem;
  }
}

@media (max-width: 990px) {
  .section-card {
    height: 34rem;
  }
}

@media (min-width: 1000px) and (max-width: 1199px) {
  .section-card {
    height: 25rem !important;
  }
}

.service-item {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
  height: 100%;
  cursor: pointer;
}

.service-body {
  flex-grow: 1;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(24, 88, 152, 0.15);
}

.service-head {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
  min-height: 220px;
  will-change: transform;
}

.service-head img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-head img.owl-lazy {
  transition: opacity 0.4s ease, transform 0.5s ease;
}

.service-card:hover .service-head img {
  transform: scale(1.1);
}

.service-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content {
  padding: 25px;
  position: relative;
  flex: 1;
}

.service-content:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0%;
  background: var(--secondary-color);
  transition: all 0.4s ease;
}

.service-card:hover .service-content:before {
  width: 100%;
}

.service-content .category {
  display: inline-block;
  padding: 5px 15px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 15px;
}

.service-content h2 {
  font-size: 20px;
  line-height: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 60px;
}

.service-content h2 a {
  color: #2C2D3F;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-content h2 a:hover {
  color: var(--deep-primary);
}

.service-content p {
  font-size: 15px;
  color: #666;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 90px;
}

/*** Clients ***/
.region-header {
  border-bottom: 1px solid #094f8a;
}

.clients-content .row {
  display: flex;
  align-items: stretch;
}

.country-container {
  display: flex;
  flex-direction: column;
}

.country-container .item {
  flex: 1;
  overflow: hidden;
}

.isotope:after {
  content: '';
  display: block;
  clear: both;
}

.isotope .item {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.isotope .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -ms-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.isotope .item:hover img {
  -webkit-transform: scale(1.5);
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -o-transform: scale(1.5);
  transform: scale(1.5);
}

.isotope-overlay {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(31, 44, 108, .5);
  display: flex;
  align-items: center;
  text-transform: uppercase;
  justify-content: center;
  flex-direction: row;
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: .5s;
  -moz-transition: .5s;
  -ms-transition: .5s;
  -o-transition: .5s;
  transition: .5s;
}

.isotope-overlay a {
  display: inline-block;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

.isotope .item:hover .isotope-overlay {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  top: 0;
}

/*** Apply ***/

/*** Contact Us ***/

/*** Contact Us ***/
.contact-map iframe {
  border-radius: var(--border-radius-img);
}

/*** Footer ***/
.footer {
  background-color: var(--hover);
  color: #fff;
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.bottom-links {
  display: flex;
  gap: 20px;
}

.bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-decoration: none;
  transition: var(--transition);
}

.bottom-links a:hover {
  color: var(--white);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}