/* Fonts */
:root {
  --default-font: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --heading-font: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --nav-font: "Gotham", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #151515; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #568d3f; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #312f2f; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: rgba(
    4,
    4,
    4,
    0.905
  ); /* The default color of the main navmenu links */
  --nav-hover-color: #ffc451; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffc451; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

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

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

/* 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(0, 0, 0, 0.8);
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 6rem;
  margin-right: 8px;
}

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

.header .logo span {
  color: var(--accent-color);
  font-size: 32px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: black;
  font-size: 14px;
  padding: 8px 30px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  border: 1px solid #337418;
}

.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: var(--default-color);
  background: var(--accent-color);
}

.tcc-btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tcc-btn-arrow__circle {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid #37773a;
  display: grid;
  place-items: center;
  background: transparent;
}

.tcc-btn-arrow__chev {
  color: #37773a;
  font-size: 20px;
  line-height: 1;
  transform: translateX(1px);
}

/* Hover: fill the circle green */
.tcc-btn-arrow:hover .tcc-btn-arrow__circle {
  background: #37773a;
}
.tcc-btn-arrow:hover .tcc-btn-arrow__chev {
  color: #ffffff;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/* Index Page Header
------------------------------*/
.index-page .header {
  --background-color: rgba(0, 0, 0, 0);
}

/* Index Page Header on Scroll
------------------------------*/
.index-page.scrolled .header {
  --background-color: rgba(203, 202, 202, 0.8);
}

/*--------------------------------------------------------------
# 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: #367639;
  }

  .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: 0;
    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 {
    background-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;
  }
}

/* Nav: make items spaced evenly across the header (desktop) */
@media (min-width: 1200px) {
  #navmenu.navmenu {
    flex: 1; /* take remaining header space */
    display: flex;
  }

  #navmenu.navmenu > ul {
    width: 100%;
    justify-content: space-evenly; /* key */
    gap: 0; /* remove extra gaps */
  }

  /* prevent uneven spacing caused by extra padding */
  #navmenu.navmenu > ul > li > a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* 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), white 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: color-mix(in srgb, var(--accent-color), white 90%);
  }

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

  .navmenu .active i,
  .navmenu .active:focus i {
    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: 50px 0;
  background-color: color-mix(
    in srgb,
    var(--footer-background-color) 90%,
    white 10%
  );
}

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

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

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

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

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

.footer .social-links a:hover {
  color: var(--contrast-color);
  background-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 {
  margin-right: 4px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.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 .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: color-mix(
    in srgb,
    var(--footer-background-color) 90%,
    white 15%
  );
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(
    in srgb,
    var(--footer-background-color) 90%,
    white 15%
  );
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type="email"]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type="submit"] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

.footer .footer-newsletter .newsletter-form input[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 30px 0;
}

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

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

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

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

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

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

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

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

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

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

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

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--nav-font);
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  margin: 10px 0 0 0;
  font-size: 24px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.hero .icon-box {
  padding: 13px 20px;
  transition: ease-in-out 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 30px; /* vector boxes curve - 30 px */
}

.hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif; /* vector boxes font - gotham */
  font-weight: 400;
  font-size: 30pt; /* vector box text - 30 pt */
  line-height: 42pt; /* vertical line spacing - 42 pt */
}

.hero .icon-box h3 a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: ease-in-out 0.3s;
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif; /* vector boxes font - gotham */
  font-weight: 400;
  font-size: 15pt;
  line-height: 0pt;
}

.hero .icon-box:hover {
  border-color: var(--accent-color);
}

.hero .icon-box:hover h3 a {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }
}

/* =========================================================
   HERO: make the image behave like the TCC mock (not full bleed)
   ========================================================= */

/* Section background stays white (so image looks like a card sitting on page) */
#hero.hero.section.dark-background {
  background: #ffffff !important;
  padding: 0 !important;
  scroll-margin-top: 0;
  min-height: 35rem !important;
  margin-top: 7rem;
}

#hero.hero {
  position: relative;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  background: #000; /* shows behind image (letterbox) */
}

/* Better viewport behavior in mobile browsers */
@supports (min-height: 100dvh) {
  #hero.hero {
    min-height: 100dvh;
  }
}

/* Card becomes a full-screen frame */
#hero .hero-img-card {
  width: 100%;
  height: 100%;
  min-height: inherit;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
}

/* Disable absolute/cover behavior (prevents “popping out”) */
#hero.hero .hero-img-card > img {
  position: static;
  width: 100% !important;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 0;
}

/* Wrap hero content with proper top spacing under fixed header */
#hero.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 110px; /* adjust if your fixed header height differs */
  padding-bottom: 20px;
}

/* Only for desktop screens between 1080px and 1920px wide */
@media screen and (min-width: 1920px) {
  #hero.hero .hero-img-card > img {
    width: 75% !important;
    margin-top: -1.4rem;
  }
  .header {
    margin-left: -29rem;
  }

  #content {
    margin-left: -29rem;
  }
  #about {
    margin-left: -29rem;
  }
  #services {
    margin-left: -29rem;
  }
  #call-to-action {
    margin-left: -29rem;
  }
  #our-clients {
    margin-left: -29rem;
  }
  #resources {
    margin-left: -29rem;
  }

  #testimonials {
    margin-left: -29rem;
  }
  #contact {
    margin-left: -29rem;
  }
  .footer-top {
    margin-left: -29rem;
  }
  .tcc-modal__dialog {
    margin-left: 19rem !important;
  }

  /* #hero .hero-tagline{
    margin-left: -13rem !important;
  } */

  #hero .row.justify-content-center.text-center {
    justify-content: flex-start !important;
    text-align: left !important;

    /* keep the same margin-top unless you want different */
    margin-top: -17rem;

    /* large screen left shift */
    margin-left: -13rem;
  }
}
@media screen and (max-width: 1919.98px) {
  #hero .row.justify-content-center.text-center {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-top: -17rem;
    margin-left: 1rem;
  }
}

/* Remove any overlay from previous attempts */
#hero.hero::before {
  content: none !important;
}

/* Hero tagline: left aligned */
#hero .hero-tagline {
  color: #ffffff;
  text-align: left !important;
  margin: 0 ;
  max-width: 520px; /* keep like TCC */
  font-size: 28px; /* adjust if needed */
  line-height: 1.25;
}


/* If alignment still looks centered due to parent, force container alignment */
/* #hero .row.justify-content-center.text-center {
  justify-content: flex-start !important;
  text-align: left !important;
  margin-top: -17rem;
  margin-left: 1rem;
} */

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

.about-title {
  display: flex;
  justify-content: center;
}

.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

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

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

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

.about .about-img-rounded {
  border-radius: 62px !important; /* Image box curve - 62 px */
  overflow: hidden;
}

/* About: 4 cards like the TCC reference */
#about .tcc-info-card {
  height: 100%;
  background: #ffffff;
  border: 1.5px solid rgba(55, 119, 58, 0.55); /* green border */
  border-radius: 30px !important; /* Vector boxes curve - 30px */
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 100%;
  text-align: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
  will-change: transform;
}

#about .tcc-info-card__icon {
  margin: 0 0 18px 0; /* remove auto-centering */
  justify-self: flex-start;
}

/* keep image sizing as-is */
#about .tcc-info-card__icon img {
  max-width: 54px;
  max-height: 54px;
  height: auto;
  width: auto;
  display: block;
}

#about .tcc-info-card__title {
  margin: 0;
  color: #37773a;
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif !important; /* Vector box text font */
  font-weight: 400 !important;
  font-size: 21pt !important;
  line-height: 33pt !important;
}


/* Keyboard: same pop when focused (if card contains links later) */
#about .tcc-info-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

#about h3 {
  font-family: "Averia Serif Libre", serif !important; /* Who we are subhead font */
  font-weight: 400 !important;
  font-size: 41pt !important; /* Subhead size */
  line-height: 1.1 !important; /* Subhead line spacing */
}

#about .content p {
  font-family: "Averia Serif Libre", serif !important; /* About copy font */
  font-weight: 400 !important;
  font-size: 31pt !important; /* About copy size */
  line-height: 45pt !important; /* About copy line spacing */
}

/* Center-align the 4 "Who we are" cards row */
#about .tcc-about-cards {
  justify-content: center; /* centers the columns when row doesn't fill full width */
  text-align: center;
}

/* Center the 4 cards row (your .row is a flex container) */
#about .tcc-about-cards {
  justify-content: center;
  margin-top: -4rem !important;
}

/* (Optional) if you want equal visual spacing even when wrapping */
#about .tcc-about-cards > [class*="col-"] {
  display: flex; /* so the card can stretch nicely */
}

/* ABOUT: title on top + equal-height image/text columns */
#about .about-title h3 {
  margin: 0 0 18px;
}

/* Make both columns equal height */
#about .about-media,
#about .about-copy {
  height: 100%;
  flex: 1;
}

/* Let the image fill the left column height */
#about .about-media img {
  width: 100%;
  height: 80%;
  object-fit: cover; /* fills height without distortion */
  display: block;
}

/* Optional: remove the inline margin-top you had before */
#about .content[style] {
  margin-top: 0 !important;
}

/* Ensure the row stretches children */
#about .row.align-items-stretch > [class*="col-"] {
  display: flex;
}


/* Some padding for the right text to match TCC spacing */
#about .about-copy {
  padding-top: 10px;
  font-size: 20pt;
  font-family: gotham;

}

/* About cards row: align to flex-start (left), not centered */
#about .tcc-about-cards {
  justify-content: flex-start !important;
  text-align: left;
}

/* Keep cards stretching nicely */
#about .tcc-about-cards > [class*="col-"] {
  display: flex;
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients .swiper-slide img {
  opacity: 1 !important;
  transition: 0.3s;
  /* filter: grayscale(100) ; */
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-wrapper {
  height: auto;
  margin-top: 4rem;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
#services .solutions-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  ); /* 2 columns (2x2 style layout) */
  gap: 16px;
  justify-items: center; /* center each button in its grid cell */
  align-items: center;
}

#services .solution-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: 25px;
  border: 2px solid #37773a;
  background: #37773a !important;

  color: #ffffff !important;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    border-color 0.15s ease;
  /* min-height: 72px; */
  width: 13rem; 
  justify-content: center;
  text-align: center;
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif !important;
  font-weight: 500 !important; 
  letter-spacing: 0.2px;
}

#services .solution-btn i {
  font-size: 22px;
  line-height: 1;
  color: #fbfbfb;
}
#services .solutions-grid .solution-btn:last-child {
  grid-column: 1 / -1; /* span across both columns */
  justify-self: center;
}

#services .solution-btn span {
  font-weight: 500;
  letter-spacing: 0.2px;
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  
  font-weight: inherit !important;
  font-size: 16px;
}

#services .solution-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  background: #64a267 !important;
  border-color: #37773a;
  color: #ffffff;
}

#services .solution-btn:hover i {
  color: #ffffff;
}

#services .solutions-content {
  padding-left: 8px;
}

#services .solutions-subhead {
  font-family: "Gotham";
  font-weight: 400;
  font-size: 50pt;
  line-height: 1.1;
  margin-bottom: 12px; /* keep existing spacing */
}



#services .solutions-subtitle {
  margin-top: 18px;
  margin-bottom: 8px;
}

#services .solutions-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

#services .solutions-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 600;
  font-size: 0.9rem;
}

/* Mobile: stack grid above content */
@media (max-width: 991.98px) {
  #services .solutions-content {
    padding-left: 0;
  }
}

/* =========================================
   Our Solutions (overrides only)
   Fonts + scale + spacing + alignment
   ========================================= */

/* Ensure Averia Serif Libre weights exist (you already import 400; add 700) */
@import url("https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:wght@400;700&display=swap");

/* (Best-effort) Gotham Medium mapping if Gotham is installed locally */
@font-face {
  font-family: "Gotham";
  src: local("Gotham Medium"), local("Gotham-Medium"), local("Gotham");
  font-weight: 500;
  font-style: normal;
}

/* Give the whole section more breathing room + scale down width */
#services.services.section {
  padding-top: 48px !important;
  padding-bottom: 56px !important;
}

#services.services.section > .container {
  max-width: 1100px;              /* scale down overall */
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Title: Our Solutions - 50pt (Averia Serif Libre Bold) */
#services .about-title h2 {
  margin: 0 0 18px !important;
  font-family: "Averia Serif Libre", serif !important;
  font-weight: 700 !important;
  font-size: 41pt !important;
  line-height: 1.1 !important;
  text-align: center;
}

/* Remove the <br> gap effect right under the heading */
#services .about-title + br {
  display: none;
}

/* Make the two columns look balanced and aligned */
#services .row.gy-4.align-items-start {
  --bs-gutter-x: 48px; /* more margin space between grid and copy */
}

/* Right-side copy: Averia Serif Libre Regular 31pt / 45pt */
#services .solutions-content p {
  font-family: "Averia Serif Libre", serif !important;
  font-weight: 400 !important;
  font-size: 23pt !important;
  line-height: 35pt !important;
  margin-bottom: 14px;
}

/* Keep right panel aligned nicely */
#services .solutions-content {
  padding-left: 0 !important;
  max-width: 42rem; /* avoids overly long lines */
}

/* Training brands subhead: Averia Serif Libre Bold 33pt */
#clients.clients.section h3,
#clients h3.text-center {
  font-family: "Averia Serif Libre", serif !important;
  font-weight: 700 !important;
  font-size: 33pt !important;
  line-height: 1.15 !important;
  margin-bottom: 18px !important;
}

/* Add some spacing so brands slider isn't tight */
#clients .clients-swiper,
#clients .swiper.init-swiper.clients-swiper {
  margin-top: 10px;
  padding-top: 6px;
}

/* Responsive: reduce huge pt sizes on small screens (keeps layout usable) */
@media (max-width: 991.98px) {
  #services.services.section > .container {
    max-width: 720px;
    padding-left: 18px;
    padding-right: 18px;
  }

  #services .about-title h2 {
    font-size: 34px !important;
  }

  #services .solutions-content p {
    font-size: 22px !important;
    line-height: 32px !important;
  }

  #clients h3.text-center {
    font-size: 24px !important;
  }
}

@media (max-width: 575.98px) {
  #services .about-title h2 {
    font-size: 28px !important;
  }

  #services .solution-btn {
    width: 100% !important;  /* buttons fit mobile */
    max-width: 320px;
  }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--default-color);
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #568d3f;
  padding: 0.3rem;
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 10px;
}

.stats .stats-item i {
  font-size: 44px;
  color: var(--accent-color);
  line-height: 0;
  margin-right: 15px;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 40px;
  display: block;
  font-weight: 700;
  line-height: 40px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  position: relative;
}

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

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

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

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid color-mix(in srgb, var(--default-color), transparent 85%);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  margin: 0 0 15px 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 26px;
  line-height: 0;
}

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

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

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

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 50%);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--default-color);
  opacity: 1;
}

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

/* =========================================
   TCC Split (Testimonials + If this is you)
   ========================================= */

#testimonials.tcc-split {
  position: relative;
  overflow: hidden;
}

/* Make sure the image stays behind content */
#testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Green/blue overlay */
#testimonials.tcc-split::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #37773a9e;
}

/* Keep actual content above overlay */
#testimonials.tcc-split > .container {
  position: relative;
  z-index: 2;
}

/* Two big rounded panels */
#testimonials.tcc-split .tcc-panel {
  height: 84%;
  border-radius: 34px;
  padding: 34px 34px 7px;
  background: rgba(255, 255, 255, 0.72); /* more transparent than before */
  border: 1px solid rgba(255, 255, 255, 0.55);
  /* backdrop-filter: blur(8px); */
  -webkit-backdrop-filter: blur(8px);
}

/* LEFT testimonial card styling */
#testimonials.tcc-split .tcc-avatar {
  width: 160px;
  height: 160px;
  border-radius: 34px;
  background: rgba(0, 0, 0, 0.55);
  margin: 0 auto 18px;
  text-align: center;
  margin-bottom: 18px;
}

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

#testimonials.tcc-split .tcc-name {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  margin: 6px 0 4px;
}

/* Place ebook checkbox under testimonial slider */
#testimonials.tcc-split .tcc-left-bottom {
  margin-top: 1px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#testimonials.tcc-split .tcc-role {
  opacity: 0.85;
  margin-bottom: 18px;
}

#testimonials.tcc-split .tcc-check--ebook .tcc-text {
  font-size: 16pt;
  line-height: 24pt;
}

#testimonials.tcc-split .tcc-quote {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 18pt;
  line-height: 26pt;
  margin: 0;
}

/* RIGHT panel typography */
#testimonials.tcc-split .tcc-heading {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 42pt;
  line-height: 1.05;
  margin: 0 0 18px;
  text-align: center;
}

#testimonials.tcc-split .tcc-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

#testimonials.tcc-split .tcc-checklist li {
  margin: 10px 0;
}

/* Checkbox: grey by default, green tick when checked */
#testimonials.tcc-split .tcc-check {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

#testimonials.tcc-split .tcc-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#testimonials.tcc-split .tcc-box {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #ffffff; /* grey */
  display: grid;
  place-items: center;
  margin-top: 2px;
}

#testimonials.tcc-split .tcc-box::after {
  content: "✓";
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

#testimonials.tcc-split .tcc-check input:checked + .tcc-box {
  background: #37773a; /* green */
}

#testimonials.tcc-split .tcc-check input:checked + .tcc-box::after {
  opacity: 1;
  transform: scale(1);
}

#testimonials.tcc-split .tcc-text {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 18pt;
  line-height: 28pt;
}

/* CTA */
#testimonials.tcc-split .tcc-cta {
  display: block;
  font-family: "Averia Serif Libre Bold", serif;
  font-weight: 700;
  font-size: 28pt;
  line-height: 3.05;
  color: #111;
  text-decoration: none;
  margin-bottom: 2rem;
  /* text-align: center; */
}


/* Bottom row checkboxes */
#testimonials.tcc-split .tcc-bottom {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
}

#testimonials.tcc-split .tcc-check--bottom .tcc-text {
  font-size: 16pt;
  line-height: 24pt;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  #testimonials.tcc-split .tcc-bottom {
    grid-template-columns: 1fr;
  }
  #testimonials.tcc-split .tcc-heading {
    font-size: 34pt;
  }
}

/* Ensure swiper pagination is visible inside light panel */
#testimonials.tcc-split .tcc-testimonials-pagination {
  position: static;
  margin-top: 18px;
}

/* --- Keep "Subscribe..." inline (single line) - overrides only --- */

#testimonials .tcc-bottom .tcc-inline-action {
  grid-template-columns: 28px max-content !important; /* icon + text takes only needed width */
  align-items: center !important;
}

#testimonials .tcc-bottom .tcc-action-text {
  white-space: nowrap !important;     
  overflow: hidden;                  
  text-overflow: ellipsis;          
  display: block;
  max-width: 100%;
}

/* On small screens, allow wrapping instead of cutting too much (optional) */
@media (max-width: 480px) {
  #testimonials .tcc-bottom .tcc-action-text {
    white-space: normal !important;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

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

.team .team-member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .team-member .social a {
  background: color-mix(in srgb, var(--contrast-color), transparent 25%);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: ease-in-out 0.3s;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .team-member .social a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

.team .team-member .social i {
  font-size: 18px;
  line-height: 0;
}

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

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

.team .team-member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.team .team-member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color:#ffffff;
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

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



/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details
  .portfolio-details-slider
  .swiper-pagination
  .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid
    color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box + .service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var (--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* ================================
   About section typography + image
   ================================ */

/* Load fonts (keep here if you don't already import them elsewhere) */
@import url("https://fonts.googleapis.com/css2?family=Averia+Serif+Libre:wght@400&display=swap");

/* If you have Gotham locally, provide files and set correct paths.
   Otherwise it will fall back to system fonts. */
@font-face {
  font-family: "Gotham";
  src: local("Gotham");
  font-weight: 400;
  font-style: normal;
}

/* ================================
    Resources section styling 
   ================================ */

#resources {
  position: relative;
}

/* Background: mix of primary + secondary */
#resources.resources.section.dark-background {
  background: transparent;
  padding: 36px 0 !important;
}

/* Section title: Subhead - 50pt */
#resources .section-title h2 {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 20pt;
  line-height: 1.1;
  text-transform: none;
  letter-spacing: 0;
  color: #ffffff;
}

/* Remove the template underline after h2 only for Resources */
#resources .section-title h2::after {
  content: none;
}

/* Reduce section-title spacing inside resources */
#resources .section-title {
  padding-bottom: 18px !important;
}

/* Swiper spacing */
#resources .resources-swiper {
  position: relative;
  padding: 10px 44px !important;
}

/* Card box */
#resources .resource-card {
  background: #e5f2e3; /* Box color */
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

/* Image */
#resources .resource-card__img img {
  /* width: 100%; */
  height: 170px !important;
  /* object-fit: cover; */
  /* display: block; */
  padding-left: 10px !important;
  padding-right: 10px !important; /* use 2px if you want tighter */
  box-sizing: border-box;
  background-color: #000;
}

#resources .resource-card__img > img {
  width: 100%;
  display: block;
}

/* Body */
#resources .resource-card__body {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centers vertically if there is extra height */
}

#resources .resource-card__title,
#resources .resource-card__desc,
#resources .resource-card__meta {
  text-align: center !important;
  color: black;
}


/* Date font size - 15pt */
#resources .resource-card__meta {
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 500; /* Gotham medium */
  font-size: 10pt;
  line-height: 18pt;
  opacity: 0.9;
  margin-bottom: 6px !important;
}

/* Blog article names: 18pt, line spacing 20pt */
#resources .resource-card__title {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 13pt;
  line-height: 20pt;
  margin: 0 0 6px !important;
}

/* Hyperlink font: Gotham medium, 20pt
   (apply if title/cta is wrapped in <a>) */
#resources .resource-card__title a,
#resources .resource-card__link {
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 500; /* Gotham medium */
  font-size: 20pt;
  line-height: 1.2;
  color: #37773a; /* primary */
  text-decoration: none;
}

#resources .resource-card__title a:hover,
#resources .resource-card__link:hover {
  color: #3693d9; /* secondary */
  text-decoration: underline;
}

/* Description (keep readable) */
#resources .resource-card__desc {
  margin: 0;
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 10pt;
  line-height: 18pt;
  opacity: 0.9;
}

/* (Featured in) font size - 25pt (only if you add that element) */
#resources .resource-card__featured {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
  font-size: 25pt;
  line-height: 1.15;
  margin: 0 0 10px;
}

/* Navigation arrows */
#resources .resources-prev,
#resources .resources-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 5;
}

#resources .resources-prev {
  left: 10px;
}

#resources .resources-next {
  right: 10px;
}

#resources .resources-prev:hover,
#resources .resources-next:hover {
  background: rgba(0, 0, 0, 0.45);
}

/* Swiper slide hover effect */
#resources .swiper-slide:hover .resource-card {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border-color: rgba(55, 119, 58, 0.35);
}

/* Keyboard accessibility: same effect when focused via tab (if card contains a link later) */
#resources .resource-card:focus-within {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

/* Mobile spacing */
@media (max-width: 575.98px) {
  #resources .resources-swiper {
    padding: 8px 36px !important;
  }
  #resources .resource-card__img img {
    height: 150px !important;
  }
}

/* The "box" wrapper (use the existing .container) */
#resources > .container {
  background: linear-gradient(135deg, #3693d9 0%, #37773a 100%);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px; /* curved border corners */
  padding: 20px 22px 24px !important;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Ensure it doesn't touch edges on small screens */
@media (max-width: 575.98px) {
  #resources > .container {
    padding: 16px 14px 18px !important;
    border-radius: 22px;
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
}

/* Keep cards box color per spec */
#resources .resource-card,
#resources .resource-card__body {
  background: #e5f2e3;
}

/* Optional: tweak swiper padding inside the box */
#resources .resources-swiper {
  padding: 10px 44px !important;
}

/* =========================================
   Resources: Featured in (TCC look)
   ========================================= */

#resources .resources-featured {
  margin-top: 16px !important;
  background: #e5f2e3; /* same pale green box */
  border-radius: 18px;
  padding: 10px 14px !important;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* left pill text */
#resources .resources-featured__label {
  border-radius: 14px;
  padding: 10px 16px;
  font-family: "Averia Serif Libre", serif;
  font-weight: 500;
  font-size: 16pt;
  line-height: 1;
  color: #111;
  white-space: nowrap;
  min-width: 190px;
  text-align: center;
}

/* logos row */
#resources .resources-featured__logos {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 22px;
  flex: 1;
  background: transparent;
  overflow: hidden;
}

#resources .resources-featured__logos img {
  width: 160px;
  height: 44px !important;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

/* Make the strip look centered inside the big Resources box */
@media (max-width: 991.98px) {
  #resources .resources-featured {
    flex-direction: column;
    align-items: stretch;
  }
  #resources .resources-featured__label {
    min-width: auto;
  }
  #resources .resources-featured__logos {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Responsive: slightly smaller on phones */
@media (max-width: 575.98px) {
  #resources .resources-featured__logos img {
    width: 130px;
    height: 44px;
  }
}

/* =========================================
   Resources categories row (match screenshot)
   ========================================= */

#resources .resources-cats {
  margin-top: 14px !important;
  margin-bottom: 18px !important;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 3.5vw, 52px);
  flex-wrap: wrap;

  /* typography similar to screenshot */
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
}

#resources .resources-cat {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}



/* keep it readable on mobile */
@media (max-width: 575.98px) {
  #resources .resources-cats {
    gap: 10px;
    font-size: 14px;
  }
}

/* ================================
    Content section styling 
   ================================ */

/* Content section as single-line green links with circle-arrow (TCC style) */
#content.content.section {
  padding: 22px 0 36px;
  background: #fff;
}

#content .tcc-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: nowrap;
}

#content .tcc-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #37773a; /* primary green */
  font-family: "Averia Serif Libre", serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
  white-space: nowrap;
}

#content .tcc-link__arrow {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid #37773a;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
}

#content .tcc-link__arrow::before {
  content: "›";
  font-size: 20px;
  line-height: 1;
  transform: translateX(1px);
}

#content .tcc-link:hover {
  color: #2f6a33;
}

#content .tcc-link:hover .tcc-link__arrow {
  background: #37773a;
  color: #fff;
}

#content .tcc-link:hover .tcc-link__arrow::before {
  color: #fff;
}

/* Responsive: allow wrap on small screens but keep each item on one line */
@media (max-width: 991.98px) {
  #content .tcc-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  #content .tcc-link {
    font-size: 22px;
  }
}

/* ================================
    Clients slider
   ================================ */

#clients .swiper-slide img {
  max-height: 70px;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1 !important;
}

#clients .swiper {
  direction: rtl;
}

#clients .swiper-slide {
  direction: ltr;
}

/* ================================
    Clickable inline actions
   ================================ */

.tcc-inline-action {
  width: 100%;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: white;
  font-size: 19pt;
}

.tcc-action-check {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #d9d9d9;
  margin-top: 2px;
}

.tcc-action-text {
  font-family: "Averia Serif Libre", serif;
  font-weight: 400;
}

/* ================================
    Modal styling
   ================================ */

.tcc-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.tcc-modal.is-open {
  display: block;
}

.tcc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tcc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100% - 32px));
  margin: 6vh auto;
  background: #fff;
  border-radius: 34px;
  padding: 34px 34px 28px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.tcc-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #f2f2f2;
  font-size: 22px;
  line-height: 1;
}

.tcc-modal__header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.tcc-modal__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.tcc-modal__title {
  margin: 0;
  font-family: "Averia Serif Libre", serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
}

/* .tcc-modal__form {
  margin-top: 14px;
} */

.tcc-form-row {
  margin-top: 14px;
}

.tcc-form-row--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tcc-label {
  display: block;
  font-family: "Averia Serif Libre", serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 8px;
}

.tcc-required {
  color: #37773a;
  margin-left: 6px;
}

.tcc-field input,
.tcc-field textarea {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: #efefef;
  padding: 14px 16px;
  outline: none;
  font-size: 18px;
}

.tcc-field textarea {
  min-height: 120px;
  resize: vertical;
}

.tcc-form-row--checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  margin-top: 18px;
}

.tcc-modal-check {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  cursor: pointer;
  user-select: none;
}

.tcc-modal-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tcc-modal-box {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #e6e6e6;
}

.tcc-modal-check input:checked + .tcc-modal-box {
  background: #37773a;
}

.tcc-modal-check input:checked + .tcc-modal-box::after {
  content: "✓";
  color: #fff;
  font-weight: 800;
  display: block;
  text-align: center;
  line-height: 28px;
}

.tcc-form-row--submit {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.tcc-submit {
  background: #37773a;
  color: #fff;
  border: 0;
  border-radius: 0;
  font-family: "Averia Serif Libre", serif;
  font-weight: 700;
  font-size: 26px;
  padding: 12px 48px;
  min-width: 260px;
}

@media (max-width: 767.98px) {
  .tcc-modal__dialog {
    padding: 22px;
    border-radius: 26px;
  }
  .tcc-form-row--two,
  .tcc-form-row--checks {
    grid-template-columns: 1fr;
  }
  .tcc-modal__title {
    font-size: 34px;
  }
  .tcc-label {
    font-size: 22px;
  }
}

/* ================================
   Modal sizing fix (stay inside screen)
   ================================ */

/* Center and constrain height so it never goes out of viewport */
.tcc-modal__dialog {
  width: min(780px, calc(100% - 32px)) !important;
  margin: 2vh auto !important;
  /* max-height: calc(100vh - 8vh) !important; */
  overflow: auto !important;
  padding: 26px 26px 22px !important;
  border-radius: 26px !important;
}

/* Make heading a bit smaller so it fits */
.tcc-modal__title {
  font-size: 36px !important;
}

/* Reduce label size a bit to avoid vertical overflow */
.tcc-label {
  font-size: 22px !important;
}

/* On small screens: full height modal with safe padding */
@media (max-width: 767.98px) {
  .tcc-modal__dialog {
    width: calc(100% - 20px) !important;
    margin: 10px auto !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 20px !important;
    padding: 18px !important;
  }

  .tcc-modal__title {
    font-size: 28px !important;
  }
}
