/**
* Template Name: FlexStart
* Updated with new color scheme (Navy Blue & Silver Gray)
*/

/*--------------------------------------------------------------
# Root Variables: Primary and Secondary Colors
--------------------------------------------------------------*/
:root {
  --primary-color: #1A2E40;    /* Navy Blue */
  --secondary-color: #B0B3B8;  /* Silver Gray */
  --text-color: #333333;       /* Standard body text color */
  --heading-color: #1A2E40;    /* For headings */
  --bg-light: #f6fcfd;         /* Light background used in sections */
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}
a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Nunito", sans-serif;
  color: var(--heading-color);
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}
.section-header {
  text-align: center;
  padding-bottom: 40px;
}
.section-header h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  color: var(--secondary-color);
}
.section-header p {
  margin: 10px 0 0 0;
  padding: 0;
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
  color: var(--heading-color);
}
@media (max-width: 768px) {
  .section-header p {
    font-size: 28px;
    line-height: 32px;
  }
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--primary-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
  text-align: center;
}
.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 40px;
}
.back-to-top:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
}
.header.header-scrolled {
  background: #fff;
  padding: 15px 0;
  box-shadow: 0px 2px 20px rgba(1, 41, 112, 0.1);
}
.header .logo img {
  max-height: 60px;
  margin-right: 6px;
}
.header .logo span {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: "Nunito", sans-serif;
  margin-top: 3px;
  color: var(--primary-color);
}

    /*******************************
     * Header & Navigation (Updated)
     *******************************/
    #header.header {
      background-color: var(--primary-color) !important;
    }
    
    #header .logo img {
      max-height: 40px;
    }
    
    /* Desktop navbar styles */
    .navbar {
      padding: 0;
    }
    
    .navbar ul {
      margin: 0;
      padding: 0;
      display: flex;
      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: "Nunito", sans-serif;
      font-size: 16px;
      font-weight: 800;
      color: #ffffff !important;
      white-space: nowrap;
      transition: 0.3s;
    }
    
    .navbar a:hover,
    .navbar .active,
    .navbar .active:focus,
    .navbar li:hover > a {
      color: var(--secondary-color) !important;
    }
    
    /* Mobile nav toggle */
    .mobile-nav-toggle {
      color: #ffffff !important;
      font-size: 28px;
      cursor: pointer;
      display: none;
      line-height: 0;
      transition: 0.5s;
    }
    
    .mobile-nav-toggle.bi-x {
      color: #ffffff;
    }
    
    @media (max-width: 1200px) {
      .mobile-nav-toggle {
        display: block;
      }
    
      .navbar ul {
        display: none;
      }
    }
    
    /* Mobile navbar full-screen menu */
    .navbar-mobile {
      position: fixed;
      overflow: hidden;
      top: 0;
      right: 0;
      left: 0;
      bottom: 0;
      background: var(--primary-color);
      transition: 0.3s;
      z-index: 9999;
    }
    
    .navbar-mobile .mobile-nav-toggle {
      position: absolute;
      top: 15px;
      right: 15px;
    }
    
    .navbar-mobile ul {
      display: block;
      position: absolute;
      top: 60px;
      right: 15px;
      bottom: 15px;
      left: 15px;
      padding: 20px;
      border-radius: 10px;
      background-color: #ffffff;
      overflow-y: auto;
    }
    
    .navbar-mobile a,
    .navbar-mobile a:focus {
      padding: 10px 20px;
      font-size: 15px;
      color: var(--primary-color) !important;
      display: block;
      font-weight: 700;
      text-align: left;
    }
    
    .navbar-mobile a:hover,
    .navbar-mobile .active,
    .navbar-mobile li:hover > a {
      color: var(--secondary-color) !important;
    }
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  padding-top: 120px;
  padding-bottom: 50px;
  /* remove height and overflow */
  background: url(../img/hero-bg.png) center / cover no-repeat;
}

.hero h1 {
  margin-top: 10vh;
  font-size: 48px;
  font-weight: 700;
  color: var(--heading-color);
}
.hero h2 {
  color: var(--text-color);
  margin: 15px 0 0 0;
  font-size: 26px;
}
.hero .btn-get-started {
  margin-top: 30px;
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: #ffffff;
  background: var(--primary-color);
  box-shadow: 0px 5px 30px rgba(26, 46, 64, 0.4);
}
.hero .btn-get-started span {
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}
.hero .btn-get-started i {
  margin-left: 5px;
  font-size: 18px;
  transition: 0.3s;
}
.hero .btn-get-started:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
.hero .btn-get-started:hover i {
  transform: translateX(5px);
}
.hero .hero-img img {
  border-radius: 20px; 
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 50vh;
}
@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}
@media (max-width: 991px) {
  .hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  .hero .hero-img {
    text-align: center;
    margin-top: 80px;
  }
  .hero .hero-img img {
    width: 80%;
  }
}
@media (max-width: 768px) {
  .hero {
    text-align: center;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero h2 {
    font-size: 24px;
  }
  .hero .hero-img img {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content {
  background-color: var(--bg-light);
  padding: 40px;
}
.about h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary-color);
}
.about h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--heading-color);
}
.about p {
  margin: 15px 0 30px 0;
  line-height: 24px;
}
.about .about-img img {
  border-radius: 20px; 
}
.about .btn-read-more {
  line-height: 0;
  padding: 15px 40px;
  border-radius: 4px;
  transition: 0.5s;
  color: #ffffff;
  background: var(--primary-color);
  box-shadow: 0px 5px 25px rgba(26, 46, 64, 0.3);
}
.about .btn-read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/*--------------------------------------------------------------
# Values
--------------------------------------------------------------*/
.values .box {
  padding: 30px;
  box-shadow: 0px 0 5px rgba(1, 41, 112, 0.08);
  text-align: center;
  transition: 0.3s;
  height: 100%;
}
.values .box img {
  padding: 30px 50px;
  transition: 0.5s;
  transform: scale(1.1);
}
.values .box h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
}
.values .box:hover {
  box-shadow: 0px 0 30px rgba(26, 46, 64, 0.08);
}
.values .box:hover img {
  transform: scale(1);
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding: 70px 0 60px;
}
.counts .count-box {
  display: flex;
  align-items: center;
  padding: 30px;
  width: 100%;
  background: #fff;
  box-shadow: 0px 0 30px rgba(26, 46, 64, 0.08);
}
.counts .count-box i {
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  color: var(--primary-color);
}
.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: var(--heading-color);
}
.counts .count-box p {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-box {
  box-shadow: 0px 0 30px rgba(1, 41, 112, 0.08);
  height: 100%;
  padding: 40px 30px;
  text-align: center;
  transition: 0.3s;
  border-radius: 5px;
  position: relative;
  background: #fff;
}
.services .service-box h3 {
  color: var(--heading-color);
  font-weight: 700;
}
.services .service-box:hover {
  background: var(--primary-color);
}
.services .service-box:hover h3,
.services .service-box:hover p {
  color: #ffffff;
}
.services .service-box.blue {
  border-bottom: 3px solid var(--primary-color);
}
.services .service-box.orange {
  border-bottom: 3px solid var(--primary-color);
}
.services .service-box.green {
  border-bottom: 3px solid var(--primary-color);
}
.services .service-box.red {
  border-bottom: 3px solid var(--primary-color);
}
.services .service-box.purple {
  border-bottom: 3px solid var(--primary-color);
}
.services .service-box.pink {
  border-bottom: 3px solid var(--primary-color);
}
.service-icon {
  width: 60px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
}

/*--------------------------------------------------------------
# F.A.Q
--------------------------------------------------------------*/
.faq .accordion-collapse {
  border: 0;
}
.faq .accordion-button {
  padding: 15px 15px 20px 0;
  font-weight: 600;
  border: 0;
  font-size: 18px;
  color: var(--heading-color);
  text-align: left;
  background: none;
}
.faq .accordion-button:not(.collapsed) {
  color: var(--secondary-color);
}
.faq .accordion-body {
  padding: 0 0 25px 0;
  border: 0;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--heading-color);
  background: var(--bg-light);
  padding: 30px;
  border: 1px solid var(--secondary-color);
  border-radius: 6px;
}
.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.contact .info-box h3 {
  font-size: 20px;
  color: var(--primary-color);
  font-weight: 700;
  margin: 20px 0 10px 0;
}
.contact .info-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.contact .php-email-form {
  background: var(--bg-light);
  padding: 30px;
  height: 100%;
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}
.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 var(--primary-color);
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input,
.contact .php-email-form textarea {
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}
.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--primary-color);
}
.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email] {
  padding: 10px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
  background: var(--primary-color);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}
.contact .php-email-form button[type=submit]:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: #fff;
  color: #444444;
  font-size: 14px;
}
.footer .footer-top {
  background: var(--primary-color);
  color: #ffffff;
  padding: 40px 0;
}
.footer .footer-top a,
.footer .footer-top p,
.footer .footer-top h4 {
  color: #ffffff !important;
}
.footer .footer-top a:hover {
  color: var(--secondary-color) !important;
}
.footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ffffff;
  color: var(--primary-color);
  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: var(--secondary-color);
  color: var(--primary-color);
}
.footer .footer-contact p {
  color: #ffffff !important;
}
.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-links li i {
  padding-right: 2px;
  color: #ffffff;
  font-size: 12px;
  line-height: 0;
}
.footer .footer-links a {
  color: #ffffff !important;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
.footer .footer-links a:hover {
  color: var(--secondary-color) !important;
}
.footer .footer-top .footer-info .logo img {
  max-height: 40px;
  margin-right: 6px;
}
.footer .footer-top .footer-info p {
  font-size: 14px;
}
.footer .copyright {
  text-align: center;
  padding-top: 30px;
  font-size: 14px;
}
.footer .credits {
  text-align: center;
  font-size: 13px;
  color: #ffffff;
}

/*--------------------------------------------------------------
# End of file
--------------------------------------------------------------*/

