/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  color: #777;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding-top: 80px;
}

a {
  color: #43aea0;
  text-decoration: none;
  transition: 0.3s;
}

.main {
  margin-top: 0;
  /* Override any default margins */
}

.main p {
  text-align: justify;
}

a:hover {
  color: #00d3b8;
  text-decoration: none;
}

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


/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  /* Directly below parent */
  left: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  min-width: 180px;
  padding: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  /* Smooth transition */
}


/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
  }

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

  /* Additional mobile menu styles can be added as needed */
}


@media (max-width: 1199px) {
  .mobile-menu-toggle {
    color: #d2ece9;
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: #555555;
    padding: 10px 20px;
    font-family: "Open Sans", sans-serif;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: rgba(112, 185, 176, 0.1);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: #70b9b0;
    color: #fff;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: #70b9b0;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: #70b9b0;
    color: #fff;
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: #fff;
    border: 1px solid rgba(85, 85, 85, 0.1);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

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

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .mobile-menu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .mobile-menu>ul {
    display: block;
  }
}

.toggle-dropdown {
  padding: 0.5rem 1rem;
  /* Adjust padding to ensure no gaps */
  display: inline-block;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: #70b9b0 transparent #70b9b0 transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

.section-bg {
  background-color: #203954;
  color: #fff;
}

.section-bg a,
.section-bg h2 {
  color: #fff !important;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: black;
  font-weight: bold;
}

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

.section-title h6 {
  color: rgb(10, 10, 10);
  text-align: left;
  font-size: 1.25rem;
  font-weight: bold;
  font-style: italic;
  margin-top: 20px;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 0.1vh;
  position: relative;
  padding: 0;
  margin-top: 0;
  /* Ensure no gap above */
}

.carousel {
  width: 100%;
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 65vh;
  min-height: 200px;
  background: no-repeat center center scroll;
  background-size: cover;
  filter: brightness(60%);
  /* Reduce brightness to 70% (adjustable) */
  filter: none;
}

.calculator-bg {
  background-image: url(assets/img/calculator-bg.jpg);
  background-size: cover;
  background-position: center;
}

.carousel-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
  filter: none;
  /* Prevent brightness filter from affecting captions */
}

.bg-dark-opacity {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 3px;
  padding: 10px;
}

.text-dark-blue {
  color: #020a20;
}

@media (max-width: 768px) {
  .carousel-item {
    height: 50vh;
  }

  .carousel-caption h2 {
    font-size: 20px;
  }

  .carousel-caption p {
    font-size: 12px;
  }
}

.carousel-indicators li {
  width: 30px;
  height: 4px;
  border-radius: 0;
  /* Rectangular shape */
  background-color: #43aea0;
}

.carousel-indicators .active {
  background-color: #43aea0;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  /* Remove numbering from <ol> */
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content p {
  text-align: justify;
}

/*--------------------------------------------------------------
# Cards Section
--------------------------------------------------------------*/
.cards {
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
  /* Keeps content within bounds */
  background: linear-gradient(rgba(34, 46, 46, 0.7), rgba(29, 44, 44, 0.7)), url('../img/table.png') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  /* Parallax effect */
  color: #fff;
  /* Text color for readability */
}

.cards .card-item {
  background: rgba(10, 10, 10, 0.8);
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  position: relative;
}

/* Ensure the section-bg class doesn’t override the background image */
.section-bg {
  background-color: #203954;
  /* Fallback color */
}

.cards .card-item span {
  color: #123d37;
  display: block;
  font-size: 28px;
  font-weight: 700;
}

.cards .card-item h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
}

.cards .card-item h4 a {
  color: #203954;
  ;
}

.cards .card-item p {
  font-size: 15px;
  color: #777;
  margin: 0;
  padding: 0;
}

.cards .card-item:hover {
  background: #3e5552;
  padding: 30px 30px 70px 30px;
}

.cards .card-item:hover span,
.cards .card-item:hover h4 a,
.cards .card-item:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    padding: 60px 0;
    padding-bottom: 30px; /* reduce bottom spacing */
    scroll-margin-top: 90px;
    overflow: clip;
    background: linear-gradient(rgba(1, 41, 42, 0.7), rgba(7, 56, 57, 0.7)), url('../img/office.jpg') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect */
    color: #fff;
    /* Text color for readability */
}

.services .service-item {
  position: relative;
  padding-top: 20px;
}

.services .service-item .icon {
  background-color: #020a20;
  width: 72px;
  height: 72px;
  position: relative;
  margin-right: 15px;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon i {
  color: #43aea0;
  font-size: 32px;
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.services .service-item .title a {
  color: #073839;
}

.services .service-item .title a:hover {
  color: #43aea0;
}

.services .service-item .description {
  font-size: 14px;
}

.services .service-item:hover .icon {
  background-color: #70b9b0;
}

.services .service-item:hover .icon i {
  color: #fff;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list .service-item {
  margin-bottom: 20px;
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-about h3 {
  font-size: 10px;
  font-weight: 700;
  padding-top: 90px
}

/* Contact Section */

.contact {
    padding: 10px 0;
    background: #f8fafc;
    padding-top: 20px; /* reduce top spacing */
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-form-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

#contact .section-header h2 {
    color: #0d0e0d; /* dark black/grey heading */
}

#contact .section-header p,
#contact .service-description {
    color: #1e293b; /* dark blue-grey body text */
}

#contact .service-link {
    color: #0d9488; /* teal accent for links */
}


.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.contact-info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: rgba(13, 148, 136, 0.1);
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.contact-info-icon i {
  color: #0d9488;
  width: 1.5rem;
  height: 1.5rem;
}

.contact-info-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  color: #64748b;
  margin: 0;
}

.office-locations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.office-card h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.office-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
}

.office-info-item i {
  color: #0d9488;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.info-item h3 {
  margin-bottom: 15px;
}

.info-item p {
  margin-bottom: 10px;
}

#contact .section-title {
  margin-top: 60px;
}

.contact .contact-about p {
  margin-bottom: 20px;
}

.contact .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  color: #777;
  margin-right: 10px;
  transition: 0.3s;
}

.contact .social-links a:hover {
  color: #43aea0;
}

.contact .info div {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.contact .info i {
  font-size: 20px;
  color: #43aea0;
  margin-right: 10px;
}

.contact .info p {
  margin: 0;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: #777;
  background-color: #fff;
  border: 1px solid #ccc;
}

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

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

.contact .php-email-form button[type="submit"]:hover {
  background: #00d3b8;
}

/* PHP Email Form Messages */
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #fff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

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

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

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

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
* Footer */ .footer {
  background: #203954;
  padding: 30px 0;
  color: #ccc7c7;
  font-size: 14px;
  width: 100%;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-company {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 3rem;
    background: #e0edeb;
    border-radius: 0.75rem;
    color: white;
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo p {
  color: #94a3b8;
  margin: 0;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: #5eead4;
  width: 1.25rem;
  height: 1.25rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-locations {
  margin-top: 2rem;
}

.footer-locations h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-location i {
  color: #5eead4;
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-content p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #5eead4;
}

.footer-bottom-links i {
  width: 0.75rem;
  height: 0.75rem;
}

/* Specific overrides for phone and email icons */
.footer .bi-telephone.icon,
.footer .bi-envelope.icon {
  font-size: 16px;
  /* Reduced size for phone and email icons */
}

.footer h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer .address p {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  /* Align icons and text vertically */
}

.footer .address p i {
  width: 20px;
  /* Fixed width for consistent indentation */
  text-align: center;
  /* Center the icon within its space */
}

/* Specific styles for Operating Hours to reduce spacing */
.footer .operating-hours p {
  margin-bottom: 2px;
  /* Reduced vertical spacing between lines */
  word-spacing: 2px;
}

.footer .operating-hours p i {
  width: 20px;
  /* Consistent indentation */
  text-align: center;
  word-spacing: 2px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 14px;
  color: #fff;
  margin-right: 8px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: #00d3b8;
}

.footer .copyright {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-company {
  max-width: 400px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: #0d9488;
  border-radius: 0.75rem;
  color: white;
}

.footer-logo h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo p {
  color: #94a3b8;
  margin: 0;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: #5eead4;
  width: 1.25rem;
  height: 1.25rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-locations {
  margin-top: 2rem;
}

.footer-locations h5 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.footer-location i {
  color: #5eead4;
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-bottom-content p {
  color: #94a3b8;
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #5eead4;
}

.footer-bottom-links i {
  width: 0.75rem;
  height: 0.75rem;
}

.tagline {
  font-family: "Bradley Hand ITC", cursive;
  font-style: italic;
  font-size: 0.75rem;
}


/*--------------------------------------------------------------
# body
--------------------------------------------------------------*/

body {
  font-family: "Open Sans", sans-serif;
  color: #777;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  position: relative;
  padding-top: 80px;
  /* Kept for fixed header */
}

/*--------------------------------------------------------------
# Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 768px) {
  p {
    font-size: 13px;
  }

  .lead {
    font-size: 0.9rem;
  }

  .display-4 {
    font-size: 2.0rem;
    color: #0e0f13;
  }

  .covid-block {
    max-height: 35vh;
    position: unset;
    width: 90%;
    margin: 9rem auto 1rem;
  }

  .covid-block .display-4 {
    font-size: 1.5rem;
  }

  .carousel-caption h2 {
    font-size: 32px;
  }

  .carousel-caption p {
    font-size: 18px;
  }
}

@media (max-width: 1199px) {
  section {
    scroll-margin-top: 66px;
  }
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.why-us {
  /* The image used */
  background-image: url(../img/slider-2.jpg);

  /* Set a specific height */
  min-height: 350px;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Cookie Consent Popup */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(2, 10, 32, 0.9);
  /* Matches your header background #020a20 with opacity */
  color: #fff;
  padding: 15px 0;
  z-index: 9999;
  display: none;
  /* Hidden by default, shown via JavaScript */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.cookie-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-content p a {
  color: #43aea0;
  text-decoration: underline;
}

.cookie-content p a:hover {
  color: #00d3b8;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  font-family: "Lato", sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.cookie-accept {
  background: #43aea0;
  /* Matches your theme color */
  color: #fff;
}

.cookie-accept:hover {
  background: #00d3b8;
  /* Matches your hover color */
}

.cookie-decline {
  background: #555;
  color: #fff;
}

.cookie-decline:hover {
  background: #777;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

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

  .cookie-buttons {
    justify-content: center;
  }

  .cookie-btn {
    padding: 6px 15px;
    font-size: 12px;
  }
}

/* 404 Error Section */
.error-404 {
  padding: 100px 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  /* Light background to differentiate */
}

.error-404 h3 {
  font-size: 28px;
  font-weight: 700;
  color: #020a20;
  /* Matches your header color */
  margin-bottom: 20px;
}

.error-404 p {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
  text-align: center;
  /* Override .main p { text-align: justify; } */
}

.error-404 .cta-btn {
  background: #43aea0;
  /* Matches your theme color */
  border: 2px solid #43aea0;
  color: #fff;
}

.error-404 .cta-btn:hover {
  background: #00d3b8;
  border: 2px solid #00d3b8;
  color: #fff;
}

/* Ensure cookie consent popup doesn't overlap */
@media (max-width: 768px) {
  .error-404 {
    padding: 80px 0;
  }

  .error-404 h3 {
    font-size: 24px;
  }

  .error-404 p {
    font-size: 14px;
  }
}





/* Navigation Styles */
.nav.desktop-nav {
  display: flex;
  gap: 2rem;
}

/* Mobile Menu Toggle */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: #d2ece9;
  cursor: pointer;
}


.main {
  margin-top: 0;
  flex-grow: 1;
}

.main p {
  text-align: justify;
}

/* Links */
a {
  color: #43aea0;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #00d3b8;
  text-decoration: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.font-primary {
  font-family: "Lato", sans-serif;
}

/* Preloader */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: #70b9b0 transparent #70b9b0 transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/* Sections */
section {
  padding: 0px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

.section-bg {
  background-color: #203954;
  color: #fff;
}

.section-bg a,
.section-bg h2 {
  color: #fff !important;
}

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

.section-title h2 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: black;
  font-weight: bold;
}

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

.section-title h6 {
  color: rgb(10, 10, 10);
  text-align: left;
  font-size: 1.25rem;
  font-weight: bold;
  font-style: italic;
  margin-top: 20px;
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 0.1vh;
  position: relative;
  padding: 0;
  margin-top: 0;
}

/* Services Section */
.services {
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
  background: linear-gradient(rgba(1, 41, 42, 0.7), rgba(7, 56, 57, 0.7)), url('../img/office.jpg') center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}

/* Service Details, Contact, Footer, etc. remain unchanged */

/* Responsive Design */
@media (max-width: 768px) {
  .nav.desktop-nav {
    display: none;
  }

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

  .header .tagline {
    font-size: 0.75rem;
    font-family: "Bradley Hand ITC", cursive;
    font-style: italic;
  }
}
    /* Namespaced so nothing here touches header/footer/other pages */
    .blog-hero {
      padding: 10px;
      text-align: center;
    }

    .blog-hero .container {
      max-width: 800px;
      margin: 0 auto;
      padding: 10px;
    }

    .blog-eyebrow {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--heading-color);
      background: color-mix(in srgb, var(--heading-color), transparent 92%);
      padding: 0.4rem 0.9rem;
      border-radius: 999px;
      margin-bottom: 1.25rem;
    }

    .blog-hero h1 {
      font-size: 2.75rem;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.15;
      margin-bottom: 1rem;
    }

    .blog-hero p {
      color: var(--default-color);
      font-size: 1.05rem;
      line-height: 1.7;
    }

    .blog-section {
      padding: 20px 0 80px;
    }

    .blog-section .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }

    /* Featured post */
    .blog-featured {
      display: grid;
      grid-template-columns: 1.1fr 1fr;
      gap: 2.5rem;
      align-items: center;
      background: #fff;
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
      border-radius: 16px;
      overflow: hidden;
      margin-bottom: 3.5rem;
      box-shadow: 0 10px 30px rgba(7, 56, 57, 0.06);
    }

    .blog-featured-image {
      position: relative;
      aspect-ratio: 4/3;
      background: linear-gradient(135deg, #0d3b3c, #073839 60%, #0a4b4c);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .blog-featured-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }

    .blog-featured-image i {
      color: rgba(255, 255, 255, 0.5);
      width: 56px;
      height: 56px;
      position: relative;
      z-index: 1;
    }

    .blog-featured-content {
      padding: 2.5rem 2.5rem 2.5rem 0;
    }

    .blog-category {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #fff;
      background: var(--heading-color);
      padding: 0.35rem 0.75rem;
      border-radius: 6px;
      margin-bottom: 1rem;
    }

    .blog-featured-content h2 {
      font-size: 1.85rem;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.3;
      margin-bottom: 0.85rem;
    }

    .blog-featured-content p {
      color: var(--default-color);
      line-height: 1.7;
      margin-bottom: 1.25rem;
    }

    .blog-meta {
      display: flex;
      align-items: center;
      gap: 0.9rem;
      font-size: 0.85rem;
      color: color-mix(in srgb, var(--default-color), transparent 30%);
      margin-bottom: 1.5rem;
    }

    .blog-meta span {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .blog-meta i {
      width: 14px;
      height: 14px;
    }

    .blog-read-more {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-weight: 600;
      font-size: 0.95rem;
      color: var(--heading-color);
      text-decoration: none;
      border-bottom: 2px solid var(--heading-color);
      padding-bottom: 2px;
      transition: gap 0.2s ease, opacity 0.2s ease;
    }

    .blog-read-more:hover {
      gap: 0.65rem;
      opacity: 0.75;
    }

    .blog-read-more i {
      width: 16px;
      height: 16px;
    }

    /* Section header for the grid */
    .blog-section-header {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 2rem;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .blog-section-header h3 {
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--heading-color);
    }

    .blog-filter {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .blog-filter button {
      font-size: 0.85rem;
      font-weight: 600;
      padding: 0.5rem 1rem;
      border-radius: 999px;
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
      background: #fff;
      color: var(--default-color);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .blog-filter button.active,
    .blog-filter button:hover {
      background: var(--heading-color);
      border-color: var(--heading-color);
      color: #fff;
    }

    /* Card grid */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .blog-card {
      background: #fff;
      border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .blog-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 14px 30px rgba(7, 56, 57, 0.1);
    }

    .blog-card-image {
      position: relative;
      aspect-ratio: 16/10;
      background: linear-gradient(135deg, #d4dedc, #ecf7f5);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .blog-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }

    .blog-card-image i {
      color: var(--heading-color);
      opacity: 0.35;
      width: 40px;
      height: 40px;
      position: relative;
      z-index: 1;
    }

    .blog-card-body {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .blog-card .blog-category {
      background: color-mix(in srgb, var(--heading-color), transparent 90%);
      color: var(--heading-color);
      align-self: flex-start;
    }

    .blog-card h4 {
      font-size: 1.15rem;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.35;
      margin: 0.75rem 0 0.6rem;
    }

    .blog-card p {
      color: var(--default-color);
      font-size: 0.92rem;
      line-height: 1.65;
      margin-bottom: 1rem;
      flex: 1;
    }

    .blog-card .blog-meta {
      margin-bottom: 1rem;
    }

    /* Load more */
    .blog-load-more {
      text-align: center;
      margin-top: 3rem;
    }

    .blog-load-more button {
      font-size: 0.95rem;
      font-weight: 600;
      padding: 0.8rem 2rem;
      border-radius: 999px;
      border: 1px solid var(--heading-color);
      background: transparent;
      color: var(--heading-color);
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .blog-load-more button:hover {
      background: var(--heading-color);
      color: #fff;
    }

    .blog-card, .blog-featured {
      cursor: pointer;
    }

    /* Article modal (reads articles in-page, no navigation) */
    .article-modal-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(7, 20, 20, 0.55);
      z-index: 2000;
      padding: 3vh 1rem;
      overflow-y: auto;
    }

    .article-modal-overlay.open {
      display: block;
    }

    .article-modal {
      background: #fff;
      max-width: 760px;
      margin: 0 auto;
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      animation: articleModalIn 0.25s ease;
    }

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

    .article-modal-close {
      position: absolute;
      top: 1rem;
      right: 1rem;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: none;
      background: rgba(255, 255, 255, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 2;
    }

    .article-modal-image {
      position: relative;
      aspect-ratio: 21/9;
      background: linear-gradient(135deg, #0d3b3c, #073839 60%, #0a4b4c);
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
    }

    .article-modal-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      inset: 0;
    }

    .article-modal-image i {
      color: rgba(255, 255, 255, 0.5);
      width: 48px;
      height: 48px;
      position: relative;
      z-index: 1;
    }

    .article-modal-body {
      padding: 2rem 2.25rem 2.5rem;
    }

    .article-modal-body h2 {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--heading-color);
      line-height: 1.3;
      margin: 0.75rem 0 1rem;
    }

    .article-modal-body p {
      color: var(--default-color);
      line-height: 1.75;
      margin-bottom: 1rem;
    }

    @media (max-width: 992px) {
      .blog-featured {
        grid-template-columns: 1fr;
      }

      .blog-featured-content {
        padding: 0 1.75rem 1.75rem;
      }

      .blog-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 640px) {
      .blog-hero {
        padding: 20px 0 30px;
      }

      .blog-hero h1 {
        font-size: 2rem;
      }

      .blog-grid {
        grid-template-columns: 1fr;
      }
    }