body {
  background: #fff;
  color: #444;
  font-family: "Open Sans", sans-serif;
}

a {
  color: #007bff;
  transition: 0.5s;
}

a:hover,
a:active,
a:focus {
  color: #0b6bd3;
  outline: none;
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0 0 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Ariel", sans-serif;
  font-weight: 400;
  margin: 0 0 20px 0;
  padding: 0;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #007bff;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

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

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

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

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 80px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 20px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
}

#header.header-scrolled,
#header.header-pages {
  height: 60px;
  padding: 10px 0;
}

#header .logo h1 {
  font-size: 36px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #00366f;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0 0;
  max-height: 70px;
  padding-bottom: 20px;
}

.main-pages {
  margin-top: 60px;
}

/*--------------------------------------------------------------
# Intro Section
--------------------------------------------------------------*/

#intro {
  width: 100%;
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../images/intro.jpg") center bottom no-repeat;
  background-size: cover;
  padding: 100px 0 60px 0;
  position: relative;
  text-align: center;
  font-family: "Times New Roman", Times, serif;
}

#intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#intro .intro-info {
  position: relative;
  z-index: 1;
}

#intro .intro-info h2 {
  color: #fff;
  margin-bottom: 40px;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
}

#intro .intro-info h2 span {
  color: #060606;
  font-size: clamp(38px, 4vw, 38px);
}

#intro .intro-info .btn-get-started,
#intro .intro-info .btn-services {
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(12px, 2vw, 14px);
  padding: clamp(8px, 2vw, 10px) clamp(12px, 2vw, 16px);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

/* Desktop Navigation */



.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #004289;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 14px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.main-nav a:hover,
.main-nav li:hover > a {
  color: #007bff;
  text-decoration: none;
}

.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 13px;
  color: #004289;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #007bff;
}

.main-nav .drop-down > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down > a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}

/* Mobile Navigation */

.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 20px;
  z-index: 9999;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
  display: none;
  padding: 5px;
  width: 40px;
  height: 40px;
}

.mobile-nav-toggle i {
  color: #004289;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.mobile-nav-toggle i.fa-times {
  opacity: 0;
}

.mobile-nav-active .mobile-nav-toggle i.fa-bars {
  opacity: 0;
}

.mobile-nav-active .mobile-nav-toggle i.fa-times {
  opacity: 1;
  color: #fff;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -280px;
  bottom: 0;
  width: 280px;
  padding-top: 80px;
  background: #fff;
  z-index: 9998;
  overflow-y: auto;
  transition: all 0.4s ease-in-out;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #004289;
  padding: 15px 20px;
  font-weight: 500;
  font-size: 16px;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #007bff;
  text-decoration: none;
  background: #f8f9fa;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
  background: #f8f9fa;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(13, 45, 80, 0.8);
  overflow: hidden;
  display: none;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-overly {
  display: block;
  opacity: 1;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .main-nav {
    display: none !important;
  }

  #header {
    height: 60px;
    padding: 10px 0;
  }

  #intro .intro-info h2 {
    font-size: 34px !important;
    margin-bottom: 30px;
  }

  .contact-numbers {
    font-size: 24px !important;
  }

  .section-header h3 {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  #intro {
    padding: 100px 0 20px 0;
  }

  #intro .intro-info {
    text-align: center;
    padding-top: 40px;
  }

  #intro .intro-info h2 {
    font-size: 28px !important;
    line-height: 1.4;
  }

  .contact-numbers {
    font-size: 20px !important;
  }

  .contact-numbers a {
    display: block;
    margin: 10px 0;
  }

  marquee {
    font-size: 16px !important;
  }
}

@media (max-width: 576px) {
  #intro .intro-info h2 {
    font-size: 24px !important;
  }

  .contact-numbers {
    font-size: 18px !important;
  }

  .section-header h3 {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/

/* Sections Header
--------------------------------*/

.section-header h3 {
  font-size: 36px;
  color: #283d50;
  text-align: center;
  font-weight: 500;
  position: relative;
}

.section-header p {
  text-align: center;
  margin: auto;
  font-size: 15px;
  padding-bottom: 60px;
  color: #556877;
  width: 50%;
}

/* Section with background
--------------------------------*/

.section-bg {
  background: #ecf5ff;
}


/* Team Section Base Styles */
#team {
  background: linear-gradient(to bottom, #fff 0%, #f8f9fa 100%);
  padding: 80px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

#team .section-header {
  margin-bottom: 50px;
  text-align: center;
}

#team .section-header h3 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

#team .section-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Member Card Styles */
#team .member {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#team .member:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

#team .member img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

#team .member:hover img {
  transform: scale(1.1);
}

/* Member Info Styles - Always Visible Bottom Section */
#team .member .member-info {
  position: relative;
  background: #fff;
  padding: 20px;
  border-top: 4px solid #007bff;
}

#team .member .member-info-content {
  transition: all 0.4s ease;
}

/* Member Text Styles */
#team .member h4 {
  font-weight: 700;
  margin: 0 0 8px 0;
  font-size: 1.25rem;
  color: #2c3e50;
}

#team .member span {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
  font-weight: 500;
}

/* Contact Information */
#team .member .social {
  padding: 10px 0;
  transition: all 0.3s ease;
}

#team .member .social a {
  color: #007bff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 25px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  display: inline-block;
}

#team .member .social a:hover {
  background: #007bff;
  color: #fff;
  transform: translateY(-2px);
}

#team .member .social i {
  font-size: 1rem;
  margin-right: 5px;
  vertical-align: middle;
}

/* First Row Specific Styles */
#team .first-row .member {
  margin-bottom: 50px;
}

#team .first-row .member .member-info {
  border-top: 4px solid #0056b3;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  #team {
    padding: 60px 15px;
  }
  
  .row {
    margin: 0 -10px;
  }
  
  [class*="col-"] {
    padding: 0 10px;
  }
  
  #team .member img {
    height: 250px;
  }
  
  #team .member:hover {
    transform: scale(1.03);
  }
}

@media (max-width: 767px) {
  #team .section-header h3 {
    font-size: 2rem;
  }
  
  #team .member {
    margin-bottom: 25px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #team .member img {
    height: 220px;
  }
  
  #team .member .member-info {
    padding: 15px;
  }
  
  #team .member h4 {
    font-size: 1.1rem;
  }
  
  #team .member span {
    font-size: 0.85rem;
  }
  
  #team .member .social a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  #team .member:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 768px) {
  #team .member {
    margin-bottom: 20px;
  }
  
  #team .member img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
  }

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

  #team .member .member-info-content {
    padding: 10px;
  }
}

/* Touch Device Optimization */
@media (hover: none) {
  #team .member:hover {
    transform: none;
  }
  
  #team .member:hover img {
    transform: none;
  }
  
  #team .member .social a:active {
    background: #007bff;
    color: #fff;
  }
}

/* Grid Layout Improvements */
@media (min-width: 992px) {
  #team .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  #team .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  #team .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
}

/* Loading Animation */
.wow {
  opacity: 0;
  animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Custom Scrollbar for Team Section */
#team::-webkit-scrollbar {
  width: 8px;
}

#team::-webkit-scrollbar-track {
  background: #f1f1f1;
}

#team::-webkit-scrollbar-thumb {
  background: #007bff;
  border-radius: 4px;
}

#team::-webkit-scrollbar-thumb:hover {
  background: #0056b3;
}

/*--------------------------------------------------------------
# Whatsapp
--------------------------------------------------------------*/

.whatsapp-btn {
  position: fixed;
  bottom: 80px;
  right: 15px;
  background-color: #25d366;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  text-decoration: none;
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  background-color: #1da856;
}

/* Ripple effect */
.whatsapp-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.4;
  transform: scale(1);
  animation: ripple 1.5s infinite;
}

@keyframes ripple {
  0% {
      transform: scale(1);
      opacity: 0.4;
  }
  100% {
      transform: scale(1.5);
      opacity: 0;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .whatsapp-btn {
      bottom: 80px;
      right: 15px;
      width: 50px;
      height: 50px;
      font-size: 25px;
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

#contact {
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 0;
  overflow: hidden;
}

#contact .section-header {
  padding-bottom: 30px;
}

#contact .contact-about h3 {
  font-size: 36px;
  margin: 0 0 10px 0;
  padding: 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #007bff;
}

#contact .contact-about p {
  font-size: 14px;
  line-height: 24px;
  font-family: "Montserrat", sans-serif;
  color: #888;
}

#contact .social-links {
  padding-bottom: 20px;
}

#contact .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #fff;
  color: #007bff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
  border: 1px solid #007bff;
}

#contact .social-links a:hover {
  background: #007bff;
  color: #fff;
}

#contact .info {
  color: #283d50;
}

#contact .info i {
  font-size: 32px;
  color: #007bff;
  float: left;
  line-height: 1;
}

#contact .info p {
  padding: 0 0 5px 26px;
  line-height: 28px;
  font-size: 13px;
}

#contact .form #sendmessage {
  color: #007bff;
  border: 1px solid #007bff;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

#contact .form #sendmessage.show,
#contact .form #errormessage.show,
#contact .form .show {
  display: block;
}

#contact .form .validation {
  color: red;
  display: none;
  margin: 0 0 20px;
  font-weight: 400;
  font-size: 13px;
}

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

#contact .form button[type="submit"] {
  background: #007bff;
  border: 0;
  border-radius: 20px;
  padding: 8px 30px;
  color: #fff;
  transition: 0.3s;
}

#contact .form button[type="submit"]:hover {
  background: #0067d5;
  cursor: pointer;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  background: #00428a;
  padding: 0 0 30px 0;
  color: #eee;
  font-size: 14px;
}

#footer .footer-top {
  background: #004a99;
  padding: 60px 0 30px 0;
}

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

#footer .footer-top .footer-info h3 {
  font-size: 34px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

#footer .footer-top .footer-info p {
  font-size: 13px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
  color: #ecf5ff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #007bff;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #0067d5;
  color: #fff;
}

#footer .footer-top h4 {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}

#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 li {
  padding: 8px 0;
}

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

#footer .footer-top .footer-links ul a {
  color: #ecf5ff;
}

#footer .footer-top .footer-links ul a:hover {
  color: #74b5fc;
}

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

#footer .footer-top .footer-contact p {
  line-height: 26px;
}

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

#footer .footer-top .footer-newsletter input[type="email"] {
  border: 0;
  padding: 6px 8px;
  width: 65%;
}

#footer .footer-top .footer-newsletter input[type="submit"] {
  background: #007bff;
  border: 0;
  width: 35%;
  padding: 6px 0;
  text-align: center;
  color: #fff;
  transition: 0.3s;
  cursor: pointer;
}

#footer .footer-top .footer-newsletter input[type="submit"]:hover {
  background: #0062cc;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  text-align: center;
  font-size: 13px;
  color: #f1f7ff;
}

#footer .credits a {
  color: #bfddfe;
}

#footer .credits a:hover {
  color: #f1f7ff;
}

/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/

@media (min-width: 992px) {
  #testimonials .testimonial-item p {
    width: 80%;
  }
}

@media (max-width: 991px) {
  #header {
    height: 60px;
    padding: 10px 0;
  }

  #header .logo h1 {
    font-size: 28px;
    padding: 8px 0;
  }

  #intro {
    padding: 140px 0 60px 0;
  }

  #intro .intro-img {
    width: 80%;
    float: none;
    margin: 0 auto 25px auto;
  }

  #intro .intro-info {
    width: 100%;
    float: none;
    margin: auto;
    text-align: center;
  }

  #why-us .card {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

@media (max-width: 767px) {
  #intro .intro-info {
    width: 100%;
  }

  #intro .intro-info h2 {
    font-size: 34px;
    margin-bottom: 30px;
  }

  .section-header p {
    width: 100%;
  }

  #testimonials .testimonial-item {
    text-align: center;
  }

  #testimonials .testimonial-item .testimonial-img {
    float: none;
    margin: auto;
  }

  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    margin-left: 0;
  }
}

@media (max-width: 574px) {
  #intro {
    padding: 100px 0 20px 0;
  }
}