@charset "UTF-8";

:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors */
:root { 
  --background-color: #f1f5f4;
  --default-color: #212529;
  --heading-color: #2d465e;
  --accent-color: #08915e;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
  --nav-color: rgba(255, 255, 255, 0.75);
  --nav-hover-color: #08915e;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #08915e;
}

/* Color Presets */

.light-background {
  --background-color: #ffffff;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

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

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

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  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 var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  z-index: 997;
}

.header .container-fluid {
  max-width: 87%;
  padding-left: 25px;
  padding-right: 25px;
}

.header .logo img {
  max-height: 70px; 
}

.header .logo i {
  font-size: 24px;
  margin-right: 6px;
}

.header .logo h1 {
  font-size: 28px;
  margin: 0;
  font-weight: 600;
  color: var(--heading-color);
}

.scrolled .header {
  --background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    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;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

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

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

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

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

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

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    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: var(--nav-mobile-background-color);
    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: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    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: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    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 .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

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

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

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

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

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

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
}

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

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

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

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

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

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

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #e9dcdc;
  border-color: var(--accent-color) transparent var(--accent-color) 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); }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color:#060606;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

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

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
}

.section-title h2:before,
.section-title h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h2:before {
  margin: 0 15px 10px 0;
}

.section-title h2:after {
  margin: 0 0 10px 15px;
}

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

/*--------------------------------------------------------------
# Preloader - Water Ripple
--------------------------------------------------------------*/
#preloader { position: fixed; inset: 0; z-index: 99999; overflow: hidden; background: #ffffff; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease-out; }
.ripple-preloader { position: relative; width: 80px; height: 80px; }
.ripple-preloader div { position: absolute; border: 4px solid var(--accent-color); opacity: 1; border-radius: 50%; animation: ripple 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite; }
.ripple-preloader div:nth-child(2) { animation-delay: -0.75s; }
@keyframes ripple { 0% { top: 36px; left: 36px; width: 0; height: 0; opacity: 1; } 100% { top: 0px; left: 0px; width: 72px; height: 72px; opacity: 0; } }

/*--------------------------------------------------------------
# Page Title & Project Filters (unchanged)
--------------------------------------------------------------*/
.page-title {
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 160px 0 100px 0;
  position: relative;
  text-align: center;
}
.page-title:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}
.page-title h1 { font-size: 48px; font-weight: 700; color: #fff; }
.page-title p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 20px; }
.page-title .breadcrumbs ol { display: flex; justify-content: center; padding: 0; margin: 0; list-style: none; }
.page-title .breadcrumbs li+li { padding-left: 10px; }
.page-title .breadcrumbs li+li::before { content: "/"; display: inline-block; padding-right: 10px; color: rgba(255, 255, 255, 0.7); }
.page-title .breadcrumbs .current { color: #fff; font-weight: 600; }

.page-title .project-metrics { position: relative; z-index: 2; }
.page-title .metric-card {
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  padding: 14px 10px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 18px rgba(8, 145, 94, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.page-title .metric-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 145, 94, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(8, 145, 94, 0.45);
}
.page-title .metric-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 6px;
}
.page-title .metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}
.page-title .metric-value .purecounter {
  display: inline-block;
  min-width: 2ch;
}

.page-title .project-filters {
  padding: 0;
  margin: 30px auto 0 auto;
  list-style: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 15px;
  display: inline-block;
}
.page-title .project-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  margin: 0 4px;
  transition: all 0.3s ease-in-out;
  border-radius: 50px;
}
.page-title .project-filters li:hover {
  background: rgba(255, 255, 255, 0.2);
}
.page-title .project-filters li.filter-active {
  color: var(--contrast-color);
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Projects Section (REDESIGNED)
--------------------------------------------------------------*/
.projects {
  padding-top: 40px;
}

.projects .isotope-item {
  margin-bottom: 24px;
  
}

.projects .project-item {
  position: relative;
  height: 100%;
  background: #ecf4fe;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projects .project-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.16);
}

.projects .project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.projects .project-image-wrapper {
  position: relative;
  overflow: hidden;
}

.projects .project-image-wrapper img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease;
}

.projects .project-item:hover .project-image-wrapper img {
  transform: scale(1.06);
}

.projects .project-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  background: rgba(6, 95, 70, 0.92);
  color: #f9fafb;
  backdrop-filter: blur(6px);
  letter-spacing: 0.01em;
}

.projects .project-info {
  background: #ffffff;
  padding: 16px 18px 14px;
  border-radius: 0 0 14px 14px;
}

.projects .project-title {
  font-size: 17px;
  font-weight: 700;
  color: #08915e;
  margin: 0 0 4px;
}

.projects .project-subtitle {
  font-size: 14px;
  color: #2d465e;
  margin: 0 0 8px;
}

.projects .project-location {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.projects .project-location i {
  font-size: 14px;
}

/* Hover color tweak */
.projects .project-item:hover .project-title {
  color: #056a46;
}

/* ...everything above stays exactly as you had it... */

/* GLightbox inline modal content */
.project-modal {
  max-width: 960px;
  /* max-height: 300px; */
}

.project-modal-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: stretch;
}

/* UPDATED to support two images in the left column */
.project-modal-image {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-modal-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.project-modal-body {
  flex: 1 1 50%;
}

.project-modal-body h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project-modal-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
}

.project-modal-body p {
  font-size: 14px;
  line-height: 1.6;
}

.project-modal-body ul {
  padding-left: 18px;
  margin: 10px 0 0;
  font-size: 14px;
}

/* Responsive modal layout */
@media (max-width: 900px ) {
  .project-modal-inner {
    flex-direction: column;
  }
}



/*--------------------------------------------------------------
# Footer (dark variant)
--------------------------------------------------------------*/
.footer.dark-background {
  --background-color: #060606;
  --default-color: rgba(255, 255, 255, 0.7);
  --heading-color: #fff;
}
.footer .footer-top { padding-top: 50px; }
.footer h4 { font-size: 16px; font-weight: bold; position: relative; padding-bottom: 12px; }

/*--------------------------------------------------------------
# Responsive Styles
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .page-title { padding: 120px 0 80px 0; }
  .page-title h1 { font-size: 36px; }
  .page-title .project-filters { padding: 6px 10px; }
  .page-title .project-filters li { padding: 8px 12px; font-size: 14px; }
  .page-title .metric-value { font-size: 22px; }
  .page-title .metric-card { padding: 12px 8px; }
}

@media (max-width: 576px) {
  .page-title .project-filters {
    display: block;
    border-radius: 10px;
  }
  .page-title .project-filters li {
    display: block;
    margin-bottom: 5px;
  }
}

/*--------------------------------------------------------------
# WhatsApp Button
--------------------------------------------------------------*/
@keyframes intense-shake {
  0%, 25%, 100% { transform: translate(0, 0) rotate(0) scale(1); }
  2%  { transform: translate(-10px, -5px) rotate(-18deg) scale(1.1); }
  4%  { transform: translate(10px, 5px) rotate(18deg) scale(1.0); }
  6%  { transform: translate(-8px, -4px) rotate(-15deg) scale(1.1); }
  8%  { transform: translate(8px, 4px) rotate(15deg) scale(1.0); }
  10% { transform: translate(-6px, -2px) rotate(-10deg); }
  12% { transform: translate(6px, 2px) rotate(10deg); }
  14% { transform: translate(-4px, -1px) rotate(-8deg); }
  16% { transform: translate(4px, 1px) rotate(8deg); }
  18% { transform: translate(-2px, 0) rotate(-4deg); }
  20% { transform: translate(2px, 0) rotate(4deg); }
  22% { transform: translate(0, 0) rotate(0); }
}

.whatsapp-button {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  background-color: #25D366;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.65);
  text-decoration: none;
  animation: intense-shake 5s infinite;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-button:hover {
  transform: scale(1.15);
  animation-play-state: paused;
}

.link-cursor {
  cursor: pointer;
}


/* Override GLightbox modal width */
.gslide-media.gslide-inline,
.gslide-inline .ginner-container {
  max-width: 1200px !important;
  width: 90% !important;
}

/* Make modal taller */
.gslide-inline .gslide-media {
  height: auto !important;
  max-height: 1000px !important;
}

/* Override your project modal */
.project-modal {
  max-width: 1200px !important;
  max-height: 1000px !important;
}

/* Remove any GLightbox fixed values */
.glined-content {
  width: 100% !important;
  height: auto !important;
  /* max-height: none !important; */
}

/* Footer location icon wave */
.footer .location-icon--title {
  margin-left: 8px;
  margin-top: 0;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.footer .location-icon--title i {
  font-size: 12px;
}

.footer .location-list {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}

.footer .location-list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
}

.footer .location-list li {
  padding: 0;
}

.footer .location-icon {
  --location-green: #25d366;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  color: var(--location-green);
}

.footer .location-icon i {
  font-size: 14px;
  line-height: 1;
  z-index: 1;
}

.footer .location-text {
  display: inline-block;
}

.footer .location-icon::before,
.footer .location-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: location-wave 2.4s ease-out infinite;
}

.footer .location-icon::after {
  animation-delay: 1.2s;
}

@keyframes location-wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

/* Footer location map modal */
.location-map-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}

.location-map-modal.active {
  display: flex;
}

.location-modal-dialog {
  width: min(720px, 92vw);
  background: var(--surface-color);
  color: var(--default-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.location-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.location-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.location-modal-close {
  border: none;
  background: transparent;
  color: var(--default-color);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.location-modal-close:hover {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
}

.location-modal-body iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .location-modal-body iframe {
    height: 260px;
  }
}

.location-modal-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.location-modal-select {
  min-width: 180px;
  max-width: 240px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  background: var(--surface-color);
  color: var(--default-color);
  font-size: 13px;
}

.location-modal-jump {
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3c2d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.location-modal-jump:hover {
  filter: brightness(0.95);
}

@media (max-width: 640px) {
  .location-modal-actions {
    flex-wrap: wrap;
    gap: 8px;
  }

  .location-modal-select {
    width: 100%;
    max-width: none;
  }
}

/* Footer muted column */
.footer .footer-muted {
  opacity: 0.7;
}

.footer .footer-muted h4 {
  opacity: 0.85;
}

/* Footer office headings */
.footer .office-heading {
  color: #25d366;
}

/* Footer subscribe + stats */
.footer .footer-subscribe {
  margin-top: 16px;
}

.footer .footer-subscribe-form {
  margin-top: 8px;
}

.footer .footer-subscribe-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer .footer-subscribe-row input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  background: color-mix(in srgb, var(--surface-color), transparent 85%);
  color: var(--default-color);
  font-size: 13px;
}

.footer .footer-subscribe-row input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer .footer-subscribe-row button {
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3c2d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.footer .footer-subscribe-row button:hover {
  filter: brightness(0.95);
}

.footer .footer-stat {
  margin-top: 16px;
}

.footer .footer-stat-number {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-color);
}

.footer .footer-stat-caption {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (max-width: 768px) {
  .footer .footer-subscribe-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer cards row */
.footer .footer-cards-row {
  margin-top: -120px;
  margin-bottom: 20px;
}

.footer .footer-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footer .footer-card {
  background: color-mix(in srgb, var(--surface-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  border-radius: 12px;
  padding: 12px 14px;
}

.footer .footer-card h4 {
  margin: 0 0 8px;
  font-size: 14px;
}

.footer .footer-card--wide {
  grid-column: span 2;
}

.footer .footer-subscribe-form {
  margin: 0;
}

.footer .footer-subscribe-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.footer .footer-subscribe-row input {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  background: color-mix(in srgb, var(--surface-color), transparent 85%);
  color: var(--default-color);
  font-size: 13px;
}

.footer .footer-subscribe-row input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.footer .footer-subscribe-row button {
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3c2d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.footer .footer-subscribe-row button:hover {
  filter: brightness(0.95);
}

.footer .footer-stat-number {
  margin: 6px 0 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-color);
}

.footer .footer-stat-caption {
  margin: 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (max-width: 992px) {
  .footer .footer-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer .footer-card--wide {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .footer .footer-subscribe-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 1200px) {
  .footer .footer-cards-row {
    margin-top: 16px;
  }
}

/* Footer values/helpdesk cards */
.footer .footer-values,
.footer .footer-quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-values li,
.footer .footer-quick-links li {
  padding: 4px 0;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}


.footer .footer-card p {
  margin: 6px 0;
  font-size: 13px;
}

.footer .footer-card-label {
  margin-top: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/* Footer list subheadings */
.footer .footer-subheading {
  margin-top: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

/* Footer heading emphasis */
.footer h4 {
  font-weight: 700;
  color: var(--accent-color);
}

.footer .footer-about .logo span {
  font-family: var(--heading-font);
}

/* Footer muted headings */
.footer .footer-heading-muted {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-weight: 600;
}

/* Footer social hover animation */
.footer .social-links a {
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer .social-links a:hover {
  color: #f4c542;
  border-color: #f4c542;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(244, 197, 66, 0.25);
}

.footer .social-links a:hover i {
  color: #f4c542;
}

/* Ensure footer social links stay clickable above footer cards */
.footer .social-links {
  position: relative;
  z-index: 3;
}

.footer .footer-cards-row {
  position: relative;
  z-index: 1;
}

/* Footer subscribe CTA */
.footer .footer-card-tagline {
  margin: 0 0 10px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.footer .footer-subscribe-row .subscribe-cta {
  animation: subscribe-pulse 1.4s ease-in-out infinite;
  transform-origin: center;
}

.footer .footer-subscribe-row .subscribe-cta:hover {
  animation-play-state: paused;
}

@keyframes subscribe-pulse {
  0%, 100% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  60% {
    transform: scale(0.96);
  }
}

/* Footer card link */
.footer .footer-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 13px;
  color: var(--accent-color);
}

.footer .footer-card-link:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.footer .footer-card-link--button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3c2d;
  font-size: 13px;
  font-weight: 600;
}

.footer .footer-card-link--button:hover {
  filter: brightness(0.95);
}

/* Footer projects row */
.footer .footer-project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer .footer-project-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #25d366;
  color: #0b3c2d;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.footer .footer-project-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer .footer-project-year {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}

@media (max-width: 576px) {
  .footer .footer-project-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Force Completed Projects header to white */
.footer .footer-project-title {
  color: #ffffff !important;
}

/* Footer cards mobile responsiveness */
@media (max-width: 576px) {
  .footer .footer-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer .footer-card--wide {
    grid-column: span 1;
  }

  .footer .footer-subscribe-row button,
  .footer .footer-card-link--button,
  .footer .footer-project-count {
    width: 100%;
    justify-content: center;
  }

  .footer .footer-subscribe-row {
    gap: 10px;
  }
}
