/**
* Template Name: Company - v4.10.0
* Template URL: [https://bootstrapmade.com/company-free-html-bootstrap-template/](https://bootstrapmade.com/company-free-html-bootstrap-template/)
* Author: BootstrapMade.com
* License: [https://bootstrapmade.com/license/](https://bootstrapmade.com/license/)
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #000;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #4a957e;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #060606;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0c5b8b;
  color: #fff;
}
                                               
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable AOS delay on mobile
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997; /* Standard z-index for fixed header */
  padding: 15px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed; /* Crucial for header to stay at top */
  top: 0;
  left: 0;
  right: 0;
  width: 100%; /* Ensure it spans full width */
}

#header .logo {
  font-size: 28px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

#header .logo a {
  color: #111;
}

#header .logo a span {
  color: #374440;
}

#header .logo img {
  max-height: 80px; /* Adjusted to match your HTML's max-height */
}


/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/


.header-social-links {
  margin-left: 20px;
  border-left: 1px solid #c4c4c4;
}

.header-social-links a {
  color: #374440;
  display: inline-block;
  line-height: 0px;
  transition: 0.3s;
  padding-left: 20px;
}

.header-social-links a i {
  line-height: 0;
}

.header-social-links a:hover {
  color: #3a93ae;
}

@media (max-width: 768px) {
  .header-social-links {
    padding: 0 15px 0 0;
    border-left: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex; /* Correct: Desktop navigation is visible by default */
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #111;
  white-space: nowrap;
  text-transform: uppercase;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #536f93;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-top: 2px solid #464d63;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #111;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #482fa3;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}
 
/* Popup close button - from erroneous CSS */
.popup-close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #333;
}

.popup-close-btn:hover {
  color: red;
}

/* Mobile adjustments for devices with width <= 768px - from erroneous CSS */
.popup-content h3 {
    font-size: 14px;
}

.popup-content p {
    font-size: 12px;
}

.popup-content a {
    font-size: 12px;
}

.popup-close-btn {
    font-size: 12px;
}

/* Additional scaling for very small screens (phones with width < 400px) - from erroneous CSS */
.popup-content h3 {
    font-size: 12px;
}

.popup-content p {
    font-size: 10px;
}

.popup-content a {
    font-size: 10px;
}

.popup-close-btn {
    font-size: 10px;
}
  
/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #111;
  font-size: 28px;
  cursor: pointer;
  display: none; /* Correct: Hidden by default for desktop */
  line-height: 0;
  transition: 0.5s;
  /* Positioning for the toggle icon within the header */
  position: absolute;
  right: 15px; /* Adjust as needed for spacing from right edge */
  top: 50%;
  transform: translateY(-50%);
  z-index: 999; /* Ensure it's on top of other header elements */
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

/* --- IMPORTANT MEDIA QUERY FOR MOBILE NAVIGATION --- */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block; /* Correct: Show hamburger icon on mobile */
  }

  .navbar ul {
    display: none; /* Correct: Hide desktop menu on mobile */
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 998; /* Mobile menu overlay */
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000; /* Ensure the 'X' icon is on top of the overlay */
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #111;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #4a957e;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #374440;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.carousel-item {
    position: relative;
    overflow: hidden;
    height: 100vh; /* Adjust as needed */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the area */
    z-index: -1; /* Ensures video is behind the text */
}

.carousel-container {
    position: relative;
    z-index: 1; /* Ensures the text is above the video */
    
    text-align: center; /* Center align text */
    padding: 20px; /* Optional padding for spacing */
}

.carousel-content {
    max-width: 800px; /* Adjust width as needed */
    margin: 0 auto; /* Center align content */
    background-color: rgba(10, 24, 17, 0.7); /* Retained from erroneous CSS */
    padding: 20px; /* Optional padding */
    border-radius: 10px; /* Optional rounded corners */
    color: white
}

h2, h5, p {
    margin: 0 0 10px; /* Adjust margin for spacing between elements */
}

#hero {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: relative;
}

#hero .carousel,
#hero .carousel-inner,
#hero .carousel-item,
#hero .carousel-item::before {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#hero .carousel-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  bottom: 60px;
  top: 70px;
  left: 55px;
  right: 55px;
}

#hero .carousel-content {
  background: rgba(10, 24, 17, 0.7); /* Retained from erroneous CSS */
  padding: 20px;
  color: #fff;
  border-top: 5px solid #2d866e; /* Retained from erroneous CSS */
}

#hero .carousel-content h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

#hero .btn-get-started {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 4px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  color: #fff;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
  border: 2px solid #1db575; /* Retained from erroneous CSS */
}

#hero .btn-get-started:hover {
  background: #4b2ea2;
  color: #fff;
  text-decoration: none;
}

#hero .carousel-inner .carousel-item {
  transition-property: opacity;
  background-position: center top;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

#hero .carousel-inner .carousel-item-next,
#hero .carousel-inner .carousel-item-prev,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  left: 0;
  transform: translate3d(0, 0, 0);
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 30px;
  line-height: 0;
  width: auto;
  height: auto;
  background: rgba(73, 147, 117, 0.4); /* Retained from erroneous CSS */
  border-radius: 50px;
  transition: 0.3s;
  color: rgba(255, 255, 255, 0.6);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#hero .carousel-control-next-icon:hover,
#hero .carousel-control-prev-icon:hover {
  background: rgba(255, 255, 255, 0.6);
  color: rgba(255, 255, 255, 0.8);
}

#hero .carousel-indicators li {
  cursor: pointer;
  background: #fff;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  opacity: 0.6;
  transition: 0.3s;
}

#hero .carousel-indicators li.active {
  opacity: 1;
  background: #459473; /* Retained from erroneous CSS */
}

@media (min-width: 1024px) {
  #hero .carousel-content {
    width: 60%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-width: 992px) {
  #hero .carousel-container {
    top: 58px;
  }

  #hero .carousel-content h2 {
    margin-bottom: 15px;
    font-size: 22px;
  }

  #hero .carousel-content p {
    font-size: 15px;
  }
}

@media (max-height: 500px) {
  #hero {
    height: 120vh;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f7f7f7;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #7e7977;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 15px 0;
  background: #374440;
  min-height: 40px;
  margin-top: 72px;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
  color: #fff;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
}

.breadcrumbs ol a {
  color: #fff;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #fff;
  content: "/";
}

@media (max-width: 991px) {
  .breadcrumbs {
    margin-top: 58px;
  }

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 70px 20px 80px 20px;
  transition: all ease-in-out 0.3s;
  background: #fff;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  position: relative;
}

.services .icon-box .icon i {
  font-size: 36px;
  transition: 0.5s;
  position: relative;
}

.services .icon-box .icon svg {
  position: absolute;
  top: 0;
  left: 0;
}

.services .icon-box .icon svg path {
  transition: 0.5s;
  fill: #f5f5f5;
}

.services .icon-box h4 {
  font-weight: 600;
  margin: 10px 0 15px 0;
  font-size: 22px;
}

.services .icon-box h4 a {
  color: #111;
  transition: ease-in-out 0.3s;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: #fff;
  box-shadow: 0px 0 35px 0 rgba(0, 0, 0, 0.08);
}

.services .iconbox-blue i {
  color: #1d7cd5;
}

.services .iconbox-blue:hover .icon i {
  color: #fff;
}

.services .iconbox-blue:hover .icon path {
  fill: #47aeff;
}

.services .iconbox-orange i {
  color: #ffa76e;
}

.services .iconbox-orange:hover .icon i {
  color: #fff;
}

.services .iconbox-orange:hover .icon path {
  fill: #ffa76e;
}

.services .iconbox-pink i {
  color: #e80368;
}

.services .iconbox-pink:hover .icon i {
  color: #fff;
}

.services .iconbox-pink:hover .icon path {
  fill: #e80368;
}

.services .iconbox-yellow i {
  color: #ffbb2c;
}

.services .iconbox-yellow:hover .icon i {
  color: #fff;
}

.services .iconbox-yellow:hover .icon path {
  fill: #ffbb2c;
}

.services .iconbox-red i {
  color: #ff5828;
}

.services .iconbox-red:hover .icon i {
  color: #fff;
}

.services .iconbox-red:hover .icon path {
  fill: #ff5828;
}

.services .iconbox-teal i {
  color: #11dbcf;
}

.services .iconbox-teal:hover .icon i {
  color: #fff;
}

.services .iconbox-teal:hover .icon path {
  fill: #11dbcf;
}


/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .clients-wrap {
  border-top: 1px solid #ececec;
  border-left: 1px solid #ececec;
}

.clients .client-logo {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  overflow: hidden;
  background: #fff;
  height: 100px;
}

.clients .client-logo img {
  transition: all 0.3s ease-in-out;
  height: 36px;
  filter: grayscale(100%);
}

.clients .client-logo:hover img {
  filter: none;
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
.about-us .content h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 60px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-us .content h3 {
  font-weight: 500;
  line-height: 32px;
  font-size: 24px;
}

.about-us .content ul {
  list-style: none;
  padding: 0;
}

.about-us .content ul li {
  padding: 10px 0 0 28px;
  position: relative;
}

.about-us .content ul i {
  left: 0;
  top: 7px;
  position: absolute;
  font-size: 20px;
  color: #407682;
}

.about-us .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  background: #d5d7dd33;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: 40px;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
  background: rgba(219, 219, 219, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #111;
  margin: 0 10px;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.team .member .social a:hover {
  color: #39439e;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #111;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #868482;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #444444; /* Retained from erroneous CSS */
}

.team .member:hover .social {
  opacity: 1;
}

/*--------------------------------------------------------------
# Our Skills
--------------------------------------------------------------*/
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #111;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #e7e7e7;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #6d777c;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: ease-in-out 0.3s;
}

.features .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.features .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .icon-box h3 a {
  color: #111;
  transition: ease-in-out 0.3s;
}

.features .icon-box h3 a:hover {
  color: #b4b7b9;
}


/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 40px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #dddddd;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-wrap {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.contact .info {
  background: #fff;
}

.contact .info i {
  font-size: 20px;
  color: #1cc6d9;
  float: left;
  width: 44px;
  height: 44px;
  border: 1px solid #19a5c5;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #111;
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: #444444;
}

.contact .info:hover i {
  background: #374440;
  color: #fff;
}

.contact .php-email-form {
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(0, 0, 0, 0.12);
  padding: 30px;
  background: #fff;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #374440;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #374440;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #374440;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #374440;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #06b1e1;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 14px;
  background: #1f1e1e;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #1e1e1e;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 22px;
  margin: 0 0 10px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.7);
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #1ed33c;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgb(255, 255, 255);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #fff;
}

#footer .footer-newsletter {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px 0 0 4px;
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -4px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: rgba(51, 164, 38, 0.978);

  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #841e0c;
}

#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #fff;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(51, 164, 38, 0.978);
  color: #f5f5f5;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #ffffff;
  color: #142fe0;
  text-decoration: none;
}

/* Styles from your erroneous CSS that were not related to header/nav, or were new additions */
#tutoring .icon-box {
  height: 250px;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0px 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

#tutoring .icon-box:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.training-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}























.mobile-cta-only {
  display: none;
  background: var(--background-primary);
  padding: 2rem 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 5px 20px hsla(0, 0%, 0%, 0.05);
}

.mobile-cta-only .h3 {
  font-size: var(--fs-2);
  color: var(--foreground-primary);
  margin-bottom: 0.75rem;
}

.mobile-cta-only .cta-text {
  font-size: var(--fs-4);
  color: var(--foreground-secondary);
  margin-bottom: 1.5rem;
  padding: 0 10px;
}

.mobile-cta-only .social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}

.mobile-cta-only .icon-box {
  width: 45px;
  height: 45px;
  background: var(--action-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: background 0.3s ease;
}

.mobile-cta-only .icon-box:hover {
  background: var(--accent);
  color: var(--white);
}

.mobile-cta-only .linkedin { color: #0077b5; }
.mobile-cta-only .twitter { color: #1da1f2; }
.mobile-cta-only .facebook { color: #1877f2; }
.mobile-cta-only .instagram { color: #e1306c; }

/* Show ONLY on mobile */
@media (max-width: 767px) {
  .mobile-cta-only {
    display: block;
  }
}
















/*--------------------------------------------------------------
# Language Switcher (Replaces old #language-selector)
--------------------------------------------------------------*/
.language-switcher {
  display: flex; /* Aligns flags/links horizontally */
  align-items: center;
  /* Adjust margin to position it where the old selector was */
  margin-left: 15px; /* Use the original margin you specified */
  margin-right: 40px; /* Use the original margin you specified for header-social-links */
}

.language-switcher .lang-link {
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 5px 8px;
  color: #111; /* Default link color */
  transition: 0.3s;
  border-radius: 4px;
}

.language-switcher .lang-link:hover {
  color: #4a957e; /* Matches your general hover color */
  background-color: #f0f0f0; /* Light background on hover */
}

.language-switcher .active {
  color: #536f93; /* Matches your navbar active link color */
  font-weight: 700;
  border-bottom: 2px solid #536f93; /* Highlights the active language */
  pointer-events: none; /* Make the active link unclickable */
}

/* Add a small separator between links */
.language-switcher .lang-link.en {
  margin-right: 5px;
}


/* =====================================================================
   Kaevor Cloud — Light Premium Theme Patch (non-breaking overrides)
   Goal: make the BootstrapMade-style pages feel closer to the Kaevor
   mother site (clean white, soft borders, calm shadows, modern type).
   Safe approach: overrides only (no layout/DOM dependency changes).
   ===================================================================== */

:root{
  --kc-font: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --kc-bg: #f6f7fb;
  --kc-surface: #ffffff;
  --kc-surface2: #fbfcfe;

  --kc-text: #0b1220;
  --kc-muted: #475467;
  --kc-muted2: #667085;

  --kc-border: #e6e8ef;
  --kc-border2: #eef1f6;

  --kc-accent: #0f766e;   /* calm teal */
  --kc-accent2: #14b8a6;
  --kc-accentInk: #ffffff;

  --kc-shadow: 0 18px 45px rgba(16, 24, 40, .10);
  --kc-shadow2: 0 10px 26px rgba(16, 24, 40, .08);

  --kc-radius: 18px;
  --kc-radius2: 26px;
}

html{ scroll-behavior:smooth; }
body{
  font-family: var(--kc-font) !important;
  color: var(--kc-text) !important;
  background: var(--kc-bg) !important;
  text-rendering: geometricPrecision;
}

/* Links */
a{ color: inherit; }
a:hover{ color: var(--kc-accent); }

/* Global sections: keep airy spacing + clean background */
section{ background: transparent; }
.section-bg{ background: transparent !important; }

/* =========================================================
   Header / Nav
   ========================================================= */
#header{
  background: rgba(255,255,255,.92) !important;
  border-bottom: 1px solid var(--kc-border) !important;
  box-shadow: 0 10px 22px rgba(16,24,40,.06) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#header .logo a{ color: var(--kc-text) !important; letter-spacing: .02em; }
#header .logo img{ max-height: 46px !important; width: auto !important; }

/* Nav links */
.navbar a, .navbar a:focus{
  color: rgba(11,18,32,.86) !important;
  font-weight: 700 !important;
}
.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a{
  color: var(--kc-accent) !important;
}
.navbar .getstarted, .navbar .getstarted:focus{
  background: var(--kc-accent) !important;
  color: var(--kc-accentInk) !important;
  border-radius: 999px !important;
  padding: 10px 16px !important;
  box-shadow: 0 10px 22px rgba(15,118,110,.18) !important;
  border: 1px solid rgba(15,118,110,.18) !important;
}
.navbar .getstarted:hover, .navbar .getstarted:focus:hover{
  background: var(--kc-accent2) !important;
  transform: translateY(-1px);
}

/* =========================================================
   Hero
   - keep template visuals, but make the overlay slightly stronger
     so text is consistently readable
   ========================================================= */
#hero:before,
.hero:before{
  /* many templates use #hero:before; if it exists we strengthen it */
  opacity: 1 !important;
}
#hero .container, .hero .container{ z-index: 2; }
#hero h1, .hero h1{
  color: var(--kc-text) !important;
  letter-spacing: -.02em;
}
#hero h2, .hero h2,
#hero p, .hero p{
  color: rgba(11,18,32,.78) !important;
}

/* Buttons in hero / general */
.btn-get-started,
.btn-get-started:focus{
  background: var(--kc-accent) !important;
  color: var(--kc-accentInk) !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
  border: 1px solid rgba(15,118,110,.18) !important;
  box-shadow: 0 12px 26px rgba(15,118,110,.18) !important;
}
.btn-get-started:hover{
  background: var(--kc-accent2) !important;
  transform: translateY(-1px);
}
.btn-watch-video,
.btn-watch-video:focus{
  color: rgba(11,18,32,.88) !important;
}
.btn-watch-video i{
  background: rgba(15,118,110,.10) !important;
  color: var(--kc-accent) !important;
}

/* =========================================================
   Typography blocks
   ========================================================= */
.section-title h2,
.section-title h3,
.section-title h4{
  color: var(--kc-text) !important;
  letter-spacing: -.02em;
}
.section-title p{
  color: var(--kc-muted) !important;
  font-size: 1.02rem !important;
  line-height: 1.65 !important;
  font-weight: 600 !important;
}

/* Make general paragraph copy slightly more readable */
p{ color: rgba(11,18,32,.76); line-height: 1.7; }
.small, small{ color: var(--kc-muted2); }

/* =========================================================
   Cards / Surfaces
   ========================================================= */

/* Common card patterns across the template */
.icon-box,
.services .icon-box,
.service-item,
.features .icon-box,
.pricing .box,
.team .member,
.testimonials .testimonial-item,
.portfolio .portfolio-wrap,
.blog .entry,
.contact .info,
.contact .php-email-form{
  background: var(--kc-surface) !important;
  border: 1px solid var(--kc-border) !important;
  border-radius: var(--kc-radius) !important;
  box-shadow: var(--kc-shadow2) !important;
}

.icon-box:hover,
.services .icon-box:hover,
.service-item:hover,
.features .icon-box:hover,
.pricing .box:hover,
.team .member:hover,
.blog .entry:hover{
  transform: translateY(-2px);
  box-shadow: var(--kc-shadow) !important;
  border-color: rgba(15,118,110,.18) !important;
}

/* Softer icons (less saturated) */
.icon-box .icon,
.services .icon-box .icon{
  background: rgba(15,118,110,.08) !important;
  border-radius: 16px !important;
}
.icon-box .icon i,
.services .icon-box .icon i{
  color: var(--kc-accent) !important;
}

/* Card headings + text */
.icon-box h4, .icon-box h3,
.services .icon-box h4,
.pricing .box h3,
.team .member h4,
.blog .entry .entry-title a{
  color: var(--kc-text) !important;
  font-weight: 800 !important;
}
.icon-box p,
.services .icon-box p,
.features p,
.pricing .box p,
.team .member p,
.blog .entry .entry-content p{
  color: rgba(11,18,32,.74) !important;
  font-weight: 600 !important;
}

/* =========================================================
   Forms
   ========================================================= */
input, textarea, select{
  border-radius: 14px !important;
  border: 1px solid var(--kc-border) !important;
  background: var(--kc-surface2) !important;
  color: var(--kc-text) !important;
}
input:focus, textarea:focus, select:focus{
  border-color: rgba(15,118,110,.40) !important;
  box-shadow: 0 0 0 4px rgba(15,118,110,.10) !important;
}

/* =========================================================
   Footer
   ========================================================= */
#footer{
  background: #ffffff !important;
  border-top: 1px solid var(--kc-border) !important;
}
#footer .footer-top{
  background: #ffffff !important;
}
#footer, #footer p, #footer a{
  color: rgba(11,18,32,.70) !important;
}
#footer a:hover{ color: var(--kc-accent) !important; }

/* =========================================================
   Utility: subtle separators
   ========================================================= */
hr{ border-top: 1px solid var(--kc-border2) !important; }
.breadcrumbs{
  background: #ffffff !important;
  border-bottom: 1px solid var(--kc-border) !important;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; }
  .icon-box:hover,
  .services .icon-box:hover,
  .service-item:hover,
  .features .icon-box:hover,
  .pricing .box:hover,
  .team .member:hover,
  .blog .entry:hover,
  .navbar .getstarted:hover,
  .btn-get-started:hover{
    transform:none !important;
  }
}



/* ===========================
   KAEVOR THEME OVERRIDES (FINAL)
   - remove bright blues
   - stabilize header + mobile nav
   - breadcrumbs spacing/title visibility
   =========================== */

:root{
  --kv-charcoal:#1b1b2f;
  --kv-charcoal-2:#23233a;
  --kv-purple:#3f33c4;
  --kv-purple-2:#2b244d;
  --kv-border:rgba(27,27,47,.12);
  --kv-soft:rgba(27,27,47,.06);
}

/* Global link color (avoid default blue) */
a{ color: var(--kv-purple); }
a:hover{ color: var(--kv-charcoal); }

/* Headings accent: remove blue */
.section-title h2,
.services .icon-box h4,
.services .icon-box h4 a,
.features .icon-box h4,
.features .icon-box h4 a{
  color: var(--kv-charcoal) !important;
}

/* Sub-accent lines */
.section-title::after,
.section-title h2::after{
  background: var(--kv-purple) !important;
}

/* Buttons: charcoal/purple diagonal feel */
.btn-primary,
.btn-get-started,
.btn,
button.btn{
  background: linear-gradient(135deg, var(--kv-purple-2), var(--kv-charcoal)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color:#fff !important;
  box-shadow: 0 10px 25px rgba(27,27,47,.16);
}
.btn-primary:hover,
.btn-get-started:hover,
.btn:hover,
button.btn:hover{
  background: linear-gradient(135deg, #362e72, var(--kv-charcoal-2)) !important;
  color:#fff !important;
}

/* Keep service cards title accent subtle */
.services .icon-box:hover h4 a{ color: var(--kv-purple) !important; }

/* Header social links: monochrome (no blue) */
.header-social-links a{
  color: rgba(27,27,47,.75) !important;
}
.header-social-links a:hover{
  color: var(--kv-purple) !important;
}

/* Navbar link hover (avoid bright blue) */
.navbar a:hover,
.navbar .active,
.navbar li:hover>a{
  color: var(--kv-purple) !important;
}

/* Logo sizing (visible, premium) */
#header .logo img{
  max-height: 60px !important;
}
@media (max-width: 768px){
  #header .logo img{ max-height: 44px !important; }
}

/* Breadcrumbs: remove "empty space" + ensure title visible */
.breadcrumbs{
  padding: 22px 0 !important;
  margin-top: 0 !important;
  background: #f7f8ff !important;
  border-bottom: 1px solid var(--kv-border);
}
.breadcrumbs h1,
.breadcrumbs h2{
  margin: 0 !important;
  color: var(--kv-charcoal) !important;
  font-weight: 700 !important;
}

/* Mobile nav: ensure overlay is full height and scrollable */
.navbar-mobile{
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100vh !important;
  overflow-y: auto !important;
  background: rgba(27,27,47,.92) !important;
  z-index: 9999 !important;
}
.navbar-mobile ul{
  margin-top: 70px !important;
  border-radius: 16px !important;
  padding: 14px !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
/* Premium segmented items */
.navbar-mobile a,
.navbar-mobile a:focus{
  margin: 8px 8px !important;
  border-radius: 12px !important;
  background: rgba(27,27,47,.06) !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(27,27,47,.10) !important;
  color: var(--kv-charcoal) !important;
  font-weight: 600 !important;
}
.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a{
  background: rgba(63,51,196,.12) !important;
  color: var(--kv-purple) !important;
}

/* Language switch pills (keep the nice look) */
.language-switcher a,
.language-selector a,
.lang-switch a{
  border: 1px solid rgba(63,51,196,.25) !important;
  box-shadow: 0 10px 20px rgba(63,51,196,.10);
}

/* Hero video on mobile: cover full viewport */
@media (max-width: 768px){
  #hero,
  #hero video,
  #hero .carousel-item{
    height: 100vh !important;
  }
  #hero video{
    width: 100% !important;
    object-fit: cover !important;
  }
}