/********** Template CSS **********/
:root {
    --primary: #3F8EAB;
    --secondary: #525368;
    --light: #86B8CA;
    --dark: #117397;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}



h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.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;
}


/*** Glass Navbar ***/
.navbar {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}

.navbar.sticky-top {
    top: 0;
}

.navbar .navbar-brand {
    font-weight: 700;
    font-size: 28px;
    color: var(--dark);
    transition: 0.3s;
}

.navbar .navbar-nav .nav-link {
    padding: 15px 18px;
    font-size: 17px;
    font-weight: 500;
    color: var(--dark) !important;
    transition: 0.3s ease;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar .dropdown-menu {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 10px;
}

.navbar .dropdown-item {
    padding: 10px 15px;
    font-weight: 500;
    color: var(--dark);
    transition: 0.3s;
}

.navbar .dropdown-item:hover {
    background: rgba(63, 142, 171, 0.1);
    color: var(--primary);
}

.navbar .btn-primary {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
    overflow: hidden;
    }
    
#header-carousel .carousel-item video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: center center;
    transform: translateZ(0);       /* forces HD rendering */
    image-rendering: crisp-edges;   /* improves clarity */
    backface-visibility: hidden;
}
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
.page-header {
  position: relative;
  overflow: hidden;
  /* Fallback image only */
  background: url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
}

/* Dark overlay above BOTH image and video */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Video ABOVE background image but BELOW overlay and content */
.page-header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Content on top */
.page-header > .container {
  position: relative;
  z-index: 2;
}



.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}




/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, 0.358);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
    
}

.service-item:hover .service-text h4 {
    color: #FFFFFF !important;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(17, 115, 151, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}


.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border-radius: 40px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: var(--light);
}

.copyright a {
    color: #FFFFFF;
}

copyright a:hover {
    color: var(--primary);
}










/* Navbar wrapper */
.opp-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1150px;
  z-index: 9999;
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 10px 20px;
  background: rgba(0,0,0,0.45);
  transition: 0.4s ease;
}

/* Scrolled state */
.opp-navbar.scrolled {
  background: rgba(255,255,255,0.95);
  border-color: rgba(200,200,200,0.6);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Container */
.opp-nav-container {
  width: 100%;
}

.opp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.opp-logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}


.opp-logo-img {
  height: 75px;     /* Increase only the logo */
  width: auto;
  object-fit: contain;
  margin-top: -15px;   /* Pull upward so navbar height doesn't expand */
  margin-bottom: -15px;
  transition: 0.3s;
}


.opp-logo-text {
  font-size: 18px;
  font-weight: 600;
  color: white;
  transition: 0.3s ease;
}

/* Change color on scroll */
.opp-navbar.scrolled .opp-logo-text {
  color: #117397;
}

/* Desktop nav */
.opp-nav-links {
  display: flex;
  gap: 18px;
}

.opp-nav-link {
  padding: 10px 16px;
  border-radius: 8px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.3s;
}

.opp-nav-link:hover {
  background: rgba(255,255,255,0.12);
  color: white;
}

/* Active link */
.opp-nav-link.active {
  background: rgba(255,255,255,0.25);
  color: white;
}

/* After scroll */
.opp-navbar.scrolled .opp-nav-link {
  color: #555;
}

.opp-navbar.scrolled .opp-nav-link:hover {
  background: rgba(0,0,0,0.05);
  color: #111;
}

.opp-navbar.scrolled .opp-nav-link.active {
  background: #e8f0ff;
  color: #1d4ed8;
}

/* CTA buttons */
.opp-nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.opp-signin {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.opp-navbar.scrolled .opp-signin {
  color: #444;
}

.opp-btn {
  padding: 8px 18px;
  background: white;
  color: #111;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.opp-navbar.scrolled .opp-btn {
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  color: #1e40af;
}

.opp-btn:hover {
  opacity: 0.9;
}

/* Mobile toggle */
.opp-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: rgb(108, 91, 91);
  font-size: 22px;
}

.opp-navbar.scrolled .opp-mobile-toggle {
  color: #333;
}

/* Mobile menu */
.opp-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.3);
}

.opp-mobile-link {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.8);
  font-size: 15px;
}

.opp-mobile-link.active {
  background: rgba(255,255,255,0.25);
}

.opp-mobile-btn {
  background: white;
  color: #000;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.opp-mobile-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
  .opp-nav-links,
  .opp-nav-cta {
    display: none;
  }

  .opp-mobile-toggle {
    display: block;
  }
}








.howitworks-section {
  padding: 80px 20px;
  background: #b0dadf;
}

.howitworks-header {
  text-align: center;
  margin-bottom: 70px;
}

.howitworks-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: transparent;
    background: linear-gradient(135deg, #0066cc, #00b894);
            -webkit-background-clip: text;
            border-radius: 30px;
}

.howitworks-header p {
  font-size: 18px;
  color: black 
  ;
}

.howitworks-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

/* Connecting Line */
.howitworks-container::before {
  content: "";
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  height: 3px;
  background:linear-gradient(135deg, #1bb65e, #00c0ff);
  background-size: 200% auto;
  animation: hw-gradient 4s linear infinite;
}

@keyframes hw-gradient {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Step Intro Animation */
.howitworks-step {
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 0.7s ease;
}

.howitworks-step.hw-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Step Hover */
.howitworks-step:hover .howitworks-circle {
  transform: scale(1.15);
  box-shadow: 0 0 30px#0066cc, #00b894
}

.howitworks-step:hover .howitworks-circle i {
  transform: scale(1.15) rotate(12deg);
}

.howitworks-step:hover .howitworks-glow {
  filter: blur(35px);
  opacity: 0.7;
}

.howitworks-step:hover .howitworks-dashed {
  animation-duration: 4s; /* Faster spin */
}

/* Icon Block */
.howitworks-icon-block {
  position: relative;
  width: 120px;
  height: 120px;
  margin: auto;
}

/* Glow BG */
.howitworks-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  color: transparent;
    background: linear-gradient(135deg, #0066cc, #00b894);
            -webkit-background-clip: text;
            border-radius: 30px;
  filter: blur(25px);
  animation: hw-pulse 3s infinite ease-in-out;
  transition: all 0.4s ease;
}

@keyframes hw-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0.2; }
}

/* Main Gradient Circle */
.howitworks-circle {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #0066cc, #00b894);
  border-radius: 50%;
  z-index: 2;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.4s ease;
}

.howitworks-circle i {
  font-size: 36px;
  color: #f9fbfc;
  transition: 0.4s ease;
}

/* Number Badge */
.howitworks-number {
  width: 40px;
  height: 40px;
  background-color: white;
  color: #111;
  border-radius: 50%;
  font-size: 18px;
  font-weight: bold;
  border: 3px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 3;
}

/* Rotating Dashed Ring */
.howitworks-dashed {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px dashed rgba(11, 240, 232, 0.651);
  animation: hw-spin 8s linear infinite;
  transition: 0.4s ease;
}

@keyframes hw-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Titles */
.howitworks-step h3 {
  margin-top: 20px;
  font-size: 20px;
  font-weight: 700;
}

.howitworks-step p {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
}





















/* our services  */

.explore-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #86B8CA;
  color: #010000;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(134, 184, 202, 0.3);
}

.explore-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 20px rgba(134, 184, 202, 0.5);
  color: #000000;
}



.explore-btn {
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
