/** 
 * Theme Name: Sun Ag
 * Author: Central States Marketing
 * Author URI: https://www.centralstatesmarketing.com/
 * Description: This site was built by Central States Marketing. For more information about the site or this custom WordPress theme, you can contact Central States Marketing at: info@csm.marketing or call us at: 309-693-2345.
 * Version: 1.0.0
 *
 * @package sunag
 * @charset "UTF-8"
 */

/**
 * Table of Contents
 * -----------------
 * 1. Global Settings
 * 2. Typography
 * 3. Utils
 * 4. Site Header
 * 5. Drawer
 * 6. Hero Section
 * 7. Product Section
 * 8. About Section
 * 8. Services Section
 * 9. Testimonial Section
 * 10. We Serve Section
 * 11. Video Section
 * 12. Our Team Section
 * 13. News Section
 * 14. Brands Section
 * 15. Contact Us
 * 16. Banner Section
 * 17. Footer Section
 * 18. Inside Pages
 */

/* ======================== */
/* 1. Global Settings */
/* ======================== */
:root {
  --lightgray: #f0f0f0;
  --gray: #b2b2b2;
  --dark-gray: #656565;
  --charcoal: #565656;
  --black: #000000;
  --white: #ffffff;
  --red: #db1a20;
  --red-opacity: rgba(219, 26, 32, 0.8);

  --shadow-color: rgba(0, 0, 0, 0.1);
  --shadow-color-hover: rgba(0, 0, 0, 0.4);

  --shadow: 0 0 10px var(--shadow-color);
  --shadow-hover: 0 0 10px var(--shadow-color-hover);
  --shadow-alt: 0 5px 10px var(--shadow-color); /* 5px is the vertical offset */

  --gutter: 2rem;

  --max-w-max: 115.2rem;
  --max-w-content: 80rem;
  --max-w-text: 58rem;

  --border-radius: 10px;

  --ff-heading: "proxima-nova", sans-serif;
  --ff-body: "proxima-nova", sans-serif;

  --fs-xs: clamp(0.55rem, 0.2vw + 0.5rem, 0.8rem);
  --fs-sm: clamp(0.75rem, 0.25vw + 0.65rem, 0.9rem);
  --fs-base: clamp(0.85rem, 0.35vw + 0.7rem, 1.1rem);
  --fs-md: clamp(1rem, 0.5vw + 0.85rem, 1.4rem);
  --fs-lg: clamp(2rem, 0.8vw + 2rem, 2.5rem);
  --fs-xl: clamp(2.25rem, 1.1vw + 2.2rem, 2.75rem);
  --fs-2xl: clamp(2.75rem, 1.5vw + 3.4rem, 3.7rem);
  --fs-3xl: clamp(6.25rem, 2vw + 6rem, 7.75rem);
  --fs-4xl: clamp(6.25rem, 2.5vw + 8.25rem, 10.25rem);

  --header-height: var(--dynamic-header-height, 120px);
}

/* === Reset === */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
}

.container {
  max-width: var(--max-w-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  padding-block: 6rem;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

b,
strong {
  font-weight: bolder;
}

embed,
iframe,
object,
img {
  display: block;
  max-width: 100%;
}

@media (max-width: 1024px) {
  .container {
    padding-inline: 3rem;
    padding-block: 4rem;
  }
}

@media (max-width: 850px) {
  .container {
    padding-inline: 2rem;
    padding-block: 3rem;
  }
}

@media (max-width: 500px) {
  .container {
    padding-inline: 1.5rem;
    padding-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ======================== */
/* 2. Typography */
/* ======================== */
:where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--ff-heading);
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  font-size: var(--fs-2xl);
  font-weight: 800;
  margin: 0;
  letter-spacing: 1.5px;
  /* line-height: 149%; */
}

h2 {
  font-size: var(--fs-xl);
  font-weight: 200;
  margin: 0;
}

h3 {
  font-size: var(--fs-lg);
  font-weight: 200;
  margin: 0;
  letter-spacing: 1.25px;
}

h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: 0;
  font-family: var(--ff-body);
  letter-spacing: 1.25px;
}

h5,
h6 {
  font-size: var(--fs-md);
  margin: 0;
}

p {
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  font-family: var(--ff-body);
}

ul li {
  letter-spacing: 0px;
  font-family: var(--ff-body);
	
}

a {
  text-decoration: none;
  transition: var(--transition);
  font-size: var(--fs-base);
  cursor: pointer;
}

a:has(svg) {
  display: flex;
}

/* ======================== */
/* 3. Utils */
/* ======================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

hr {
  display: block;
  height: 1px;
  width: 100%;
  border: none;
  background-color: rgba(128, 128, 128, 0.2); /* matches text color */
  margin-block: 0.5rem;
}

.btn,
.button {
  text-transform: uppercase;
  color: var(--white);
  padding: 0.75rem 2.25rem;
  font-weight: 500;
  background-color: var(--black);
  width: max-content;
  display: inline-block;
  letter-spacing: 0.75px;
  min-width: 125px;
  text-align: center;
  cursor: pointer;
  transition: 0.3s ease-in-out;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .btn,
  .button {
    font-size: var(--fs-md);
  }
}

.btn-red,
.button {
  background-color: var(--red);
}

.btn-white {
  background-color: var(--white);
  color: var(--red);
}

/* Button Hover */
.btn-red:hover {
  background-color: var(--red-opacity);
}

.btn-black:hover {
  background-color: var(--white);
}

/* Wrapper */
.wrapper-max {
  max-width: var(--max-w-max);
  margin-inline: auto;
}

.wrapper-content {
  max-width: var(--max-w-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrapper-text {
  max-width: var(--max-w-text);
  margin-inline: auto;
}

/* Eyebrow and Titles */
.eyebrow {
  text-transform: uppercase;
  color: var(--dark-gray);
  font-weight: 300;
  letter-spacing: 1.25px;
}

.header-dash {
  display: inline-flex;
  align-items: center;
  gap: 1rem; /* controls spacing */
  width: max-content;
}

.header-dash::after {
  content: "";
  width: 2.5rem;
  height: 3px;
  background-color: var(--red);
  display: inline-block;
}

h1 span.emphasis {
  font-weight: 800;
  font-size: var(--fs-4xl);
  line-height: 85%;
}

h1 span.accent {
  font-weight: 300;
  font-size: var(--fs-3xl);
  line-height: 80%;
}

h2.title,
h3.title {
  margin-bottom: 0;
  text-transform: uppercase;
  color: var(--dark-gray);
}

h2.title span,
h3.title span {
  font-weight: 600;
}

/**************************************************
   * 4. === Site Header ===
   **************************************************/
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1002;
  background-color: var(--red-opacity);
  border-bottom: 10px solid var(--white);
  backdrop-filter: blur(3px);
}

.site-header-wrapper {
  padding: 0rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w-max);
  margin-inline: auto;
}

.site-logo img {
  max-width: 14rem;
  width: 100%;
  transition: max-width 0.3s ease;
  object-fit: cover;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header-wrapper {
    padding-inline: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-branding {
    gap: 1rem;
    padding: 0;
  }

  .site-logo img {
    max-width: 12rem;
  }
}

@media (max-width: 768px) {
  .site-header-wrapper {
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-logo img {
    max-width: 12rem;
  }
}

/* === Navigation === */

/* ========================================
   PRIMARY MENU BASE
======================================== */

#primary-menu {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

#primary-menu li {
  position: relative;
  list-style: none;
}

#primary-menu li a {
  padding: 1.75rem 1.25rem;
  display: inline-block;
  position: relative; /* needed for active underline  */
  text-decoration: none;
  color: var(--white);
  font-weight: 400;
  transition: color 0.3s;
  text-transform: capitalize;
}

#primary-menu li a.active {
  font-weight: 500;
  color: var(--white);
}

/* ========================================
   TOP LEVEL UNDERLINE (ONLY LEVEL 1)
======================================== */

#primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 0;
  height: 1.3px;
  background-color: var(--white);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

#primary-menu > li > a.active::after,
#primary-menu > li > a:hover::after {
  width: calc(100% - 2.5rem);
}

/* ========================================
   FIRST LEVEL DROPDOWN
======================================== */

#primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1001;
}

/* Show dropdown */
#primary-menu li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ========================================
   SUBMENU LINKS
======================================== */

#primary-menu .sub-menu li {
  width: 100%;
}

#primary-menu .sub-menu li a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--black);
  background: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

/* Zebra effect */
#primary-menu .sub-menu > li:nth-child(even) > a {
  background: rgba(211, 211, 211, 0.2);
}

/* Zebra effect opposite */
#primary-menu .sub-menu .sub-menu > li:nth-child(even) > a {
  background: var(--white);
}

#primary-menu .sub-menu .sub-menu > li:nth-child(odd) > a {
  background: rgba(211, 211, 211, 0.2);
}

/* Hover */
#primary-menu .sub-menu li a:hover {
  font-weight: 500;
}

/* ========================================
   NESTED SUBMENU (LEVEL 3+)
======================================== */

#primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  z-index: 1000;
  /* border-radius: 6px;  */
}

/* ========================================
   ARROW INDICATORS
======================================== */

/* Top level arrow */
#primary-menu > li.menu-item-has-children > a::before {
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

#primary-menu .sub-menu .menu-item-has-children > a::before {
  content: "▾";
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg); /* points right */
  font-size: 14px;
  color: var(--red);
  transition: transform 0.25s ease;
}

/* On reverse class */
#primary-menu 
.sub-menu 
.menu-item-has-children:has(> .sub-menu.reverse) 
> a::before {
  transform: translateY(-50%) rotate(90deg); /* points left */
}

/* ========================================
   OPTIONAL: PREVENT OVERFLOW RIGHT
======================================== */

/* Default nested submenu */
#primary-menu .sub-menu .sub-menu {
  top: 0;
  left: 100%;
}

/* Flip direction when needed */
#primary-menu .sub-menu .sub-menu.reverse {
  left: auto;
  right: 100%;
}

/* Removing active line on sub menu items */
.menu-item-has-children ul li a::after {
  display: none;
}

.main-navigation .menu-item:has(.sub-menu):hover .sub-menu {
  display: flex;
  flex-direction: column;
}

/* ========================================
   MOBILE VIEW FOR NAVIGATION
======================================== */

@media (max-width: 900px) {
  .site-header-wrapper #site-navigation {
    display: none;
  }

  #primary-menu > li.menu-item-has-children > a::before {
    display: none;
  }

  ul.sub-menu {
    display: none;
  }

  .hamburger-wrapper {
    display: block;
  }

  .menu-chevron {
    display: none;
  }
}

/* === Hamburger Menu === */
.hamburger-wrapper {
  cursor: pointer;
  display: none;
  position: relative;
  z-index: 11000;
  /* background-color: var(--blue); */
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.hamburger {
  position: relative;
  width: 2rem;
  height: 1.5rem;
  border: none;
  background: transparent;
  padding: 1rem;
  cursor: pointer;

  /* Hamburger Lines */
  .hamburger-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white);
    border-radius: 2px;
    transform: translateY(-50%);
    transition: all 0.3s ease;

    &::before,
    &::after {
      content: "";
      position: absolute;
      left: 0;
      width: 100%;
      height: 2px;
      background-color: var(--white);
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    &::before {
      top: -8px;
    }

    &::after {
      top: 8px;
    }
  }

  &.on .hamburger-line {
    background-color: transparent;

    &::before {
      transform: rotate(45deg) translate(5px, 5px);
    }

    &::after {
      transform: rotate(-45deg) translate(6px, -6px);
    }
  }
}

.no-scroll {
  overflow: hidden;
}


@media (max-width: 900px) {
  /* === Hamburger Menu === */
  .hamburger-wrapper {
    display: block !important;
  }
}

@media (max-width: 768px) {
  .hamburger-icon {
    max-width: 2rem;
  }
}

/**************************************************
   * 5. === Drawer ===*
**************************************************/
.drawer {
  padding-block-start: 136px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: #ffffffbd;
  backdrop-filter: blur(20px);
  z-index: 1001;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.3s ease;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.drawer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2rem 3rem;
  height: 100dvh;
}

/* Acts as a spacer to space out drawer evenly*/
.drawer-wrapper::before {
  content: "";
  flex: 0; /* acts like a flexible spacer */
}

.drawer #site-navigation {
  width: 100%;
}

.drawer #site-navigation ul li a {
  color: var(--black);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: var(--fs-lg);
  padding: 1rem;
}

.drawer #primary-menu li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  height: 4px;
  background-color: var(--red-opacity);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.drawer #primary-menu li a.active::after {
  width: calc(100% - 1rem);
}

.drawer .menu-main-menu-container {
  height: 100%;
}

.drawer .menu {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.drawer .menu-item a {
  display: block;
  font-size: var(--fs-3xl);
  padding-block: 1rem;
  font-weight: 700;
}

.drawer .sub-menu {
  display: none !important;
}

.drawer .sub-menu .menu-item a {
  padding: 0.5rem 0;
  font-size: var(--fs-md);
}

.drawer-credits {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.drawer-credits p {
  margin-bottom: 0;
  font-size: var(--fs-xs);
  color: var(--black);
}

.drawer-details {
  padding-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
  border-top: 0.5px solid #0000001a;
}

.drawer-socials {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.drawer-socials svg {
  color: var(--red);
  transition: 0.25s ease-in-out;
  cursor: pointer;
}

.drawer-socials svg:hover {
  color: var(--red-opacity);
}

@media (max-width: 1024px) {
  .drawer {
    padding-block-start: 90px;
  }

  .drawer-wrapper {
    padding: var(--gutter);
  }
}

@media (max-width: 768px) {
  .drawer-wrapper {
    padding: var(--gutter);
  }

  .drawer-socials {
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  .drawer {
    padding-block-start: 94px;
  }

  .drawer-wrapper {
    padding: 1rem 2rem;
  }
}

/****************************/
/** == ** Front Page ** == **/
/***************************/

/****************************/
/** 6. == ** Hero Section ** == **/
/***************************/
.hero {
  position: relative;
  /* aspect-ratio: 2/1; */
  width: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.60);
  z-index: 1;
}
.hero-wrapper {
  height: 100%;
  margin-inline: auto;
  max-width: var(--max-w-content);
  padding-block: 10rem 6rem;
  padding-inline: 2rem;
}

.hero-video {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: bottom;
}

.hero-video video {
  width: 100%;
  height: 100%;
 }

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  height: 100%;
  z-index: 3;
  max-width: var(--max-w-content);
  animation: fadeUp 1s ease-out forwards;
}

.hero-content h1 {
  max-width: 20ch;
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -1px;
  color: var(--white);
}

.hero-content p {
  max-width: 45ch;
  color: var(--white);
  font-weight: 300;
} 

@media (max-width: 1024px) {
  .hero-wrapper {
    padding-block: 8rem 4rem;
    padding-inline: 3rem;
  }

  .hero-content {
    max-width: 54ch;
	padding: 0;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-block: 8rem 3rem;
    padding-inline: 2rem;
    padding-inline: var(--gutter);
  }
}

@media (max-width: 600px) {
  .hero {
    aspect-ratio: auto;
  }

  .hero-wrapper {
    padding-block: 10rem 4rem;
  }

  .hero-content {
    max-width: 40ch;
    gap: 1.5rem;
  }

  .hero-content h1 {
    font-size: var(--fs-xl);
  }

  .hero-content span.emphasis {
    font-size: var(--fs-3xl);
  }

  .hero-content span.accent {
    font-size: 5rem;
  }
}

/****************************/
/* 7. ** Product Section **  */
/***************************/

/* White background only on homepage */
.home .product {
  background-color: var(--white);
}

.product {
  background-color: transparent;
}

.product-wrapper {
  position: relative;
  margin-inline: auto;
  max-width: var(--max-w-content);
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.product-content {
  display: flex;
  flex-direction: column;
  row-gap: 3.5rem;
}

.product-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: 100%;
  column-gap: 3rem;
  padding-inline: 4rem;
}

/* =========================
   Product Card
========================= */

.product-cards .card {
  position: relative;
  width: 100%;
  text-align: center;
  border-radius: var(--border-radius);
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: flex-end; /* default bottom */
  overflow: hidden;
  transition: align-items 0.3s ease-in-out;
}

/* Overlay */
.product-cards .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--red-opacity);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

/* Product Name */
.product-name {
  position: relative;
  z-index: 2;
  padding: 0.5rem;
  transition: transform 0.3s ease-in-out;
  background-color: var(--red-opacity);
  width: 100%;
  backdrop-filter: blur(3px);
}

.product-name p {
  color: var(--white);
  margin: 0;
}

/* =========================
   Hover Effects
========================= */

.product-cards .card:hover {
  align-items: center; /* center vertically */
}

.product-cards .card:hover::before {
  opacity: 1; /* fade overlay in */
}

.product-cards .card:hover .product-name {
  background-color: transparent;
  transform: translateY(-5px); /* subtle lift */
}

@media (max-width: 1024px) {
  .product-cards {
    /* grid-template-columns: repeat(3, 1fr); */
    padding-inline: 2rem;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .product-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-inline: 0rem;
  }

  .product-content {
    row-gap: 2rem;
  }
}

@media (max-width: 600px) {
  .product-cards {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2rem;
  }

  .product-cards .card {
    margin-inline: auto;
    max-width: 12rem;
    width: 100%;
  }
}

/****************************/
/* 8. ** About Us **  */
/***************************/

.about {
  background-color: var(--lightgray);
}

.about-wrapper {
  position: relative;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 8rem;
  max-width: var(--max-w-content);
  /* animation: fadeUp 0.8s ease-out forwards; */
}

.about-image img {
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 2rem;
  width: 100%;
  max-width: 62ch;
  margin-inline: auto;
}

.about-header .eyebrow {
  margin-bottom: 1rem;
}

.about-paragraph {
  color: var(--dark-gray);
  font-weight: 300;
}

.about-subheader {
  font-weight: 600;
  color: var(--red);
  font-size: var(--fs-md);
}

/* Bullet Points */
.about-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bullet-point {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.bullet-point p {
  color: var(--dark-gray);
}

.bullet-point img {
  width: 20px;
}

@media (max-width: 1024px) {
  .about-wrapper {
    column-gap: 4rem;
  }
}

@media (max-width: 768px) {
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-content {
    align-items: center;
    row-gap: 1.5rem;
    max-width: none;
  }

  .about-image img {
    aspect-ratio: 2/1;
  }
}

@media (max-width: 600px) {
  .about-wrapper {
    text-align: left;
  }
	
  .about-content {
    align-items: normal;
  }

  .bullet-point {
    gap: 0.5rem;
    align-items: flex-start;
  }
}

/****************************/
/* 9. ** Services Section **  */
/***************************/

.services {
  background-color: var(--lightgray);
}

.services-wrapper {
  position: relative;
  margin-inline: auto;
  max-width: var(--max-w-content);
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.services-content {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.services-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  column-gap: 3rem;
/*   padding-inline: 4rem; */
}

.services-cards a .card {
  width: 100%;
  border-radius: var(--border-radius);
  aspect-ratio: 6 / 7;
  align-items: flex-end;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  /* justify-content: flex-end; */
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.services-cards a .card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%; /* controls how tall the fade is */
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none; /* prevents blocking clicks */
  z-index: 0;
}

/* Overlay */
.services-cards a .card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--red-opacity);
  backdrop-filter: blur(3px);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1;
}

/* Hover the card, animate the pseudo-element */
.services-cards a .card:hover::before {
  transform: translateY(0);
}

/* Base state (hidden) */
.services-cards a .card svg {
  position: relative;
  z-index: 2;
  fill: var(--white);
  width: 1rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show on hover */
.services-cards a:hover .card svg {
  opacity: 1;
  transform: translateX(0);
}

.service-info {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  max-width: 20ch;
  width: 100%;
  gap: 0;
}

.service-info p {
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.2;
}

.service-info .category {
  color: var(--white);
  margin-bottom: 0;
  font-size: var(--fs-xs);
}

@media (max-width: 1024px) {
  .services-cards {
    column-gap: 2rem;
/*     padding-inline: 2rem; */
  }
}

@media (max-width: 768px) {
  .services-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding-inline: 0rem;
  }

  .services-content {
    row-gap: 2rem;
  }
}

@media (max-width: 600px) {
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding-inline: 3rem;
  }
}

@media (max-width: 500px) {
  .services-cards {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

/****************************/
/* 9. ** Testimonial Section **  */
/***************************/

.testimonial {
  background-color: var(--white);
}

.testimonial-wrapper {
  position: relative;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: var(--max-w-content);
  /* animation: fadeUp 0.8s ease-out forwards; */
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.testimonial-title {
  margin-bottom: 0;
  text-transform: uppercase;
}

.testimonial-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  column-gap: 6rem;
  padding-inline: 6rem;
}

.quote-mark {
  aspect-ratio: 1/1;
  max-width: 4rem;
  object-fit: contain;
}

.testimonial-image img {
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius);
}

.ceo-testimony {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-quote p {
	margin-bottom: 1.5rem !important;
}

.ceo-testimony p {
  margin-bottom: 0;
  color: var(--dark-gray);
}

.ceo-info .name {
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--dark-gray);
}

.ceo-info .job-title {
  color: var(--gray);
  font-size: 1.15rem;
}

@media (max-width: 1024px) {
  .testimonial-content {
    padding-inline: 4rem;
  }
}

@media (max-width: 768px) {
  .testimonial-wrapper {
    grid-template-columns: 1fr;
  }

  .testimonial-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2rem;
	align-items: center;
    row-gap: 1.5rem;
	padding-inline: 4rem;
  }
}

@media (max-width: 600px) {
  .testimonial {
    background-color: var(--lightgray);
  }

  .testimonial-content {
    grid-template-columns: repeat(1, 1fr);
	padding-inline: 0;
  }

  .ceo-image {
    padding-inline: 3rem;
  }
}

/****************************/
/* 10. ** We Serve **  */
/***************************/

.we-serve-wrapper {
  position: relative;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 4fr 5fr;
  background-color: #b2b2b247;
}

.we-serve-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.we-serve-header .eyebrow {
  font-weight: 500;
  margin-bottom: 0;
}

.we-serve-header h2 {
  font-weight: 600;
}

.we-serve-header h2 span {
  font-size: var(--fs-md);
  font-weight: 200;
}

.we-serve-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 3rem 5rem;
  max-width: 74ch;
}

.we-serve-content p {
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.we-serve-icon {
  position: absolute;
  left: 42.25%;
  top: 2rem;
  max-width: 4rem;
}

.buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.buttons a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  text-transform: capitalize;
  color: var(--dark-gray);
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Hover background + text */
.buttons a:hover {
  color: var(--red);
  background-color: rgba(255, 255, 255, 0.5);
}

/* Icon initial state */
.buttons a svg {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Icon on hover */
.buttons a:hover svg {
  opacity: 1;
  transform: translateX(0);
  fill: var(--red);
  display: block;
}

@media (min-width: 1800px) {
  .we-serve-icon {
    left: 43%;
  }
}

@media (max-width: 1024px) {
  .we-serve-content {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .we-serve-wrapper {
    grid-template-columns: 1fr;
    row-gap: 0rem;
    text-align: center;
  }

  .we-serve-image {
    aspect-ratio: 2/1;
  }

  .we-serve-content {
    max-width: none;
    align-items: center;
    row-gap: 1.5rem;
  }
	
  .we-serve-icon {
    display: none;
  }

  .buttons {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .we-serve-image {
    aspect-ratio: 4/5;
  }

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

/****************************/
/** 11. == ** Video Section ** == **/
/***************************/
.video-bg {
  position: relative;
  aspect-ratio: 3/1;
  width: 100%;
}

.video-bg-wrapper {
  height: 100%;
  margin-inline: auto;
  max-width: var(--max-w-content);
}

.video-bg-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 100%;
  align-items: center;
}

.video-header h3 {
  color: var(--white);
}

.play-button {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-end;
}

.play-button p {
  color: var(--white);
}

.play-button button {
  max-width: 7rem;
  width: 100%;
  background: transparent;
  border: none;
  transition: transform 0.3s ease; /* smooth animation */
  cursor: pointer;
}

.play-button button:hover {
  transform: scale(1.1); /* increase size */
}

@media (max-width: 2560px) and (min-width: 1800px) {
  .video-bg {
    aspect-ratio: 4/1;
  }
} 

@media (max-width: 768px) {
  .video-bg {
    aspect-ratio: 2/1;
  }
}

@media (max-width: 600px) {
  .video-bg {
    aspect-ratio: 4/3;
  }

  .video-bg-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 500px) {
  .video-bg {
    aspect-ratio: 3/4;
  }
}

/****************************/
/* 12. ** Our Team Section **  */
/***************************/

.team {
  background-color: var(--lightgray);
}

.team-wrapper {
  position: relative;
  margin-inline: auto;
  max-width: var(--max-w-content);
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.team-content {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.team-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
}

/* ========================================
   TEAM GRID
======================================== */

.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
}

/* ========================================
   TEAM CARD BASE
======================================== */

.team-cards .card {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* ========================================
   TEAM INFO (Bottom Content)
======================================== */

.team-info p {
  margin-bottom: 0;
}

.team-info .name {
  background-color: var(--red-opacity);
  backdrop-filter: blur(3px);
  padding: 0.5rem 2rem;
  color: var(--white);
  font-weight: 600;
}

.employee-info {
  padding: 1rem 2rem;
  background-color: var(--white);
  color: var(--dark-gray);
}

.employee-info .job-title {
  font-weight: 600;
}

/* ========================================
   CARD OVERLAY (Hover)
======================================== */

.card-overlay {
  position: absolute;
  inset: 0;
  background: var(--red-opacity);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.4s ease;
  z-index: 2;
}

.card-overlay span {
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
}

.card-overlay svg {
  fill: var(--white);
}

/* Hover: Show Overlay */
.team-cards .card:hover .card-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TEAM CTA CARD
======================================== */

.team-cards .team-cta {
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  background-color: gray;
}

/* CTA Text */
.team-cta span {
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  transition: transform 0.25s ease;
}

/* CTA Arrow Base */
.team-cta svg {
  width: 0;
  opacity: 0;
  fill: var(--white);
  transform: translateX(-8px);
  transition: width 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

/* CTA Hover */
.team-cards .team-cta:hover svg {
  width: 14px;
  opacity: 1;
  transform: translateX(0);
  margin-left: 0.75rem;
}

.team-cards .team-cta:hover span {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .team-cards {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1rem;
    padding-inline: 0rem;
  }

  .team-content {
    row-gap: 2rem;
  }
}

@media (max-width: 600px) {
  .team-wrapper {
    /* overriding 6rem padding from container */
    padding-bottom: 4rem;
  }

  .team-cards {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 2rem;
    padding-inline: 3rem;
  }
}

/****************************/
/* 13. ** News Section **  */
/***************************/

.news {
  background-color: var(--white);
}

.news-wrapper {
  position: relative;
  margin-inline: auto;
  max-width: var(--max-w-content);
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
}

.news-content {
  display: flex;
  flex-direction: column;
  row-gap: 4rem;
}

.news-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 3px;
}

.news-cards {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  width: 100%;
  gap: 2.5rem;
  margin-inline: auto;
}

.news-cards .sub-card {
  width: 100%;
  border-radius: var(--border-radius);
  aspect-ratio: 2/3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.post-image {
  aspect-ratio: 10/9;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.news-cards .main-card {
  border-radius: var(--border-radius);
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
}

.main-card .post-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: var(--red-opacity);
  padding: 2rem;
  color: var(--white);
  backdrop-filter: blur(3px);
}

.post-link {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  text-transform: uppercase;
}

.main-card .post-link {
  fill: var(--white);
}

.sub-card .post-link {
  fill: var(--black);
  color: var(--black);
}

.sub-card .post-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: transparent;
  height: 100%;
  padding-block: 0.5rem;
}

.sub-card .post-header {
  display: flex;
  flex-direction: column;
}

.sub-card .post-title {
  color: var(--black);
  text-transform: capitalize;
}

.sub-card .post-excerpt {
  font-weight: 300;
  color: var(--black);
}

.sub-card .post-info a {
  color: var(--charcoal);
}

.post-info p {
  margin-bottom: 0;
}

.post-info a {
  text-transform: uppercase;
  color: var(--white);
}

.post-date {
  background-color: var(--red-opacity);
  padding: 0.25rem 2rem;
  text-align: center;
  color: var(--white);
  font-weight: 300;
  backdrop-filter: blur(3px);
}

.post-author {
  color: var(--dark-gray);
  margin-bottom: 0.5rem !important;
  font-weight: 300;
}

.post-header {
  display: flex;
  flex-direction: column;
}

.post-title {
  font-weight: 600;
}

.post-subtitle {
  font-size: var(--fs-md);
  font-weight: 500;
}

.employee-info {
  padding: 1rem 2rem;
  background-color: var(--white);
}

@media (max-width: 1024px) {
  .news-cards {
    column-gap: 2rem;
    grid-template-columns: 2fr 1fr;
  }
	
	.news-cards a:last-child {
    display: none;
  }

  .main-card .post-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 768px) {
  .news-cards {
    grid-template-columns: 2fr 1fr;
    column-gap: 1.5rem;
    padding-inline: 0rem;
  }

  .main-card .post-info {
    gap: 0.5rem;
    padding: 1.5rem 2rem;
  }

  .news-content {
    row-gap: 2rem;
  }
}

@media (max-width: 600px) {
  .news {
    background-color: var(--lightgray);
  }

  .news-wrapper {
    /* overriding 6rem padding from container */
    padding-inline: 0;
  }

  .news-cards {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
    padding-inline: 0;
  }
	
  .news-cards a:last-child {
    display: block;
  }

  .news-cards .main-card {
    aspect-ratio: 3 / 4;
    border-radius: 0;
  }

  .news-cards .sub-card {
    aspect-ratio: auto;
    padding-inline: 3rem;
    padding-top: 3rem;
  }

  .post-image {
    aspect-ratio: 4/3;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
  }

  .sub-card .post-info {
    gap: 2rem;
  }
}

/****************************/
/* 14. ** Brands Section **  */
/***************************/

.brands {
  background-color: var(--lightgray);
}

.brands-wrapper {
  margin-inline: auto;
  max-width: var(--max-w-content);
}

.logos {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.logos img {
  object-fit: cover;
  max-width: 180px;
  width: 100%;
}

@media (max-width: 1024px) {
  .logos {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .brands {
    background-color: var(--white);
  }

  .logos {
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    gap: 3rem;
  }
}

/****************************/
/* 15. ** Contact Us **  */
/***************************/

.contact-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: var(--max-w-content);
  margin-inline: auto;
  gap: 6rem;
}

.contact-content {
  display: flex;
  flex-direction: column;
  row-gap: 2rem;
  color: var(--white);
  justify-content: center;
}

.contact-header .eyebrow {
  color: var(--white);
}

.contact-header h2 {
  color: var(--white);
  font-size: var(--fs-md);
  letter-spacing: 1px;
}

.contact-header h2 span {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-subheader {
	font-size: var(--fs-md);
	font-weight: 600;
}

.project-categories {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.project-categories p {
  font-size: var(--fs-xs);
  color: var(--gray);
}

.contact-content a {
  margin-inline: auto;
}

@media (max-width: 1024px) {
  .project-categories {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact {
	background-position: right center !important;
  }
	
  .contact-wrapper {
    grid-template-columns: 1fr;
    row-gap: 2rem;
  }

  .contact-content {
    row-gap: 1.5rem;
  }

  .contact-content a {
    margin-inline: auto;
  }

  .project-categories {
    flex-direction: column;
    gap: 0;
  }
}

@media (max-width: 600px) {
  h2.contact-title {
    font-size: var(--fs-4xl);
    line-height: 1.1;
  }

  h2.contact-title span {
    line-height: 1.3;
    display: block;
    line-height: 1.25;
    text-align: center;
    margin-inline: auto;
    max-width: 20ch;
    margin-top: 0.75rem;
  }

  .project-categories {
    width: 100%;
    margin-bottom: 2rem;
  }

  .project-categories p {
    font-size: var(--fs-md);
    font-weight: 500;
  }
}

/****************************/
/* 16. == ** Banner ** == **/
/***************************/
.banner {
  position: relative;
  background-color: var(--red);
}

.banner-wrapper {
  margin-inline: auto;
  max-width: var(--max-w-text);
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-content h3 {
  color: var(--white);
  font-size: 2rem;
}

.banner-content h3 span {
  font-size: 2.5rem;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    gap: 3rem;
    align-items: normal;
  }
}

/****************************/
/** 17. Footer  **/
/***************************/
.site-footer {
  background-color: var(--lightgray);
}

.site-footer-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-inline: auto;
}

.footer-main {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  justify-content: space-between;
  max-width: var(--max-w-content);
  width: 100%;
  padding-block: 4rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 64ch;
}

.footer-branding .site-logo {
  max-width: 12rem;
}

.footer-branding .logo-text {
  color: var(--white);
}

.footer-socials {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
}

.footer-socials svg {
  object-fit: cover;
  max-width: 3rem;
  width: 100%;
  color: var(--red);
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-details .menus {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  justify-content: flex-start;
}

.menus div {
  display: flex;
  flex-direction: column;
}

.useful-links {
	width: 100%;
	max-width: max-content;
}

.site-footer-wrapper p,
.useful-links a {
  color: var(--dark-gray) !important;
}

.useful-links .title,
.newsletter .title {
	font-size: var(--fs-md);
	font-weight: 500;
}

#useful-links {
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  margin: 0 !important;
}

#useful-links li {
  list-style: none;
  font-weight: 400;
}

#useful-links li a {
  color: var(--black);
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
}

/* Newsletter */
.newsletter {
  max-width: 30ch;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer #site-navigation .menu-item-has-children ul {
  display: none;
}

.site-footer .menu-chevron {
  display: none;
}

.footer-copyright {
  width: 100%;
  max-width: var(--max-w-content);
  padding-block: 2rem;
  padding-inline: var(--gutter);
  margin-inline: auto;
}

@media (min-width: 1800px) {
	.footer-main {
		gap: 4rem;
	}
}

@media (max-width: 1130px) {
  .site-footer #primary-menu {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .footer-main,
	.footer-copyright {
		padding-inline: 3rem;
	}
}

@media (max-width: 768px) {
  .footer-branding {
    flex-direction: column;
    row-gap: 1rem;
    justify-content: center;
  }

  .site-footer {
    row-gap: 2rem;
  }

  .footer-main {
    flex-direction: column;
    padding-block: 3rem;
  }

  .contact-info {
    flex-direction: row !important;
    justify-content: center;
  }

  .footer-details .menus {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .footer-main,
	.footer-copyright {
		padding-inline: var(--gutter);
	}
}

/****************************/
/** 18. Inside Pages  **/
/***************************/

.inside-hero-wrapper {
  text-align: center;
  padding-block: 10rem 9rem;
}

.inside-hero-content h1,
.inside-hero-content p {
  color: var(--white);
}

.inside-hero-title {
  text-transform: capitalize;
  font-weight: 600;
  letter-spacing: 0;
}

main.content {
  background-color: var(--lightgray);
}

.page-wrapper {
  max-width: var(--max-w-content);
  margin-inline: auto;
  /* overlapping hero */
  margin-top: -6rem;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.page-content {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  background-color: transparent;
}

.main-content {
  border-radius: var(--border-radius);
  overflow: hidden;
  background-color: var(--white);
  width: 100%;
}

.page .entry-content p {
  color: #535353;
}

/* Breadcrumb */
.rank-math-breadcrumb p {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  color: var(--white);
}

.rank-math-breadcrumb a, .rank-math-breadcrumb span {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease-in-out;
  font-size: var(--fs-base);
  text-transform: uppercase;
  font-weight: 300;
}

.rank-math-breadcrumb a:hover {
  font-weight: 500;
}

/* Sidebar  */
.sidebar {
  top: 6.5rem;
  position: sticky;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

/* Hardcoded section temporary */
.products-menu {
  background-color: #e0e0e0;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* sidebar menu */
.products-menu ul.menu {
    display: flex;
    flex-direction: column;
	align-items: flex-start;
	padding-inline: 2rem;
}

.products-menu ul.menu li {
	display: none;
}
.products-menu ul.menu li.current_page_item,
.products-menu ul.menu li.current_page_ancestor,
.products-menu ul.menu li.current_page_item li,
.products-menu ul.menu li.current_page_ancestor li {
  display: block;
	
}

.products-menu ul.menu > li.menu-item-object-page > a {
  display: inline-block;
	margin-bottom: .5rem;
	font-size: 1.7rem;
	font-weight: 300;
	letter-spacing: 2px;
}
.products-menu ul.menu li.current-menu-item > a {
	color: var(--red);
}

.products-menu a {
	display: inline-block;
  font-weight: 400;
  color: var(--dark-gray);
}

.products-menu a:hover {
  color: var(--red);
}

/* 2nd level */
.products-menu ul ul.sub-menu {
	padding-inline: 0;
}
.products-menu ul ul.sub-menu > li {
	margin-inline: .25rem;
}
.products-menu ul ul.sub-menu > li a {
	padding-block: .25rem;
	margin-bottom: .25rem;
}

/* 3rd level */
.products-menu ul ul ul.sub-menu {
	padding-inline: 1rem;
}
.products-menu ul ul ul.sub-menu > li {
	margin-bottom: .25rem;
}
.products-menu ul ul ul.sub-menu > li a {
	font-size: .9rem;
}

.menu-title {
  text-transform: uppercase;
  font-weight: 300 !important;
  color: var(--dark-gray);
  font-size: var(--fs-md);
}

.products-items {
  padding-block: 1rem;
  padding-inline: 2rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}

.products-subitems {
  padding-block: 1rem;
  padding-inline: 2rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
  background-color: var(--white);
}

.products-subitems a:not(:last-child) {
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 10px;
}

.need-help {
  background-color: var(--red);
  border-radius: var(--border-radius);
  padding: var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.need-help p {
  color: var(--white);
}

.help-title {
  font-weight: 600;
  margin-bottom: 0;
}

.help-content {
  color: var(--white);
  margin-bottom: 0;
  width: 20ch;
  font-weight: 300;
}

.phone-call {
  margin-bottom: 1rem;
}
/* Scrolled */
.inner-container p {
  color: var(--black);
  padding: 0;
  margin: 0 0 1rem 0;
}

.inner-container {
  max-width: var(--max-w-content);
  margin: 0 auto;
  padding: 3rem;
}

.entry-header,
.entry-footer {
  display: none;
}

@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .inner-container {
    padding: 2rem;
  }
}

@media (max-width: 500px) {
  .inner-container {
    padding: 2rem;
  }

  .inside-hero-wrapper {
    padding-block: 8rem;
  }
}

/* Kadence */

/* Embedded Link */
.seed-guide iframe {
  width: 100%;
}

/* Kadence Slide */
.partner-slide .kb-advanced-slide-inner-wrap {
	padding: 1rem 2rem!important;
}

.partner-slider .splide__arrow--prev {
    left: -1rem!important;
}

.partner-slider .splide__arrow--next {
    right: -1rem!important;
}

/* Edit Button */

/* === 404 Error Page === */
.upcoming-events-wrapper {
  position: relative;
  background-color: var(--white);
}

.error-page {
  text-align: center;
}

/* === Keyframes === */
/* Fade Up */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Live Fixes === */

/* === Testimonials ===  */

/* === Skip Links === */
.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* === Gravity Forms === */
.gform_heading {
	display: none;
}

.gform-footer {
	padding: 0!important;
}

.gform_button {
	margin-bottom: 0 !important;
	border-radius: 5px !important;
	border: none !important;
	background-color: var(--red) !important;
}

/* Gravity Forms Inputs */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper textarea,
.gform_wrapper select {
  padding: 1rem !important;
  background-color: var(--lightgray) !important;
  color: var(--dark-gray) !important;
  border: none;
  border-radius: var(--border-radius);
  font-family: inherit;
}

/* Remove harsh default focus glow */
.gform_wrapper input:focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus {
  outline: none;
  border-color: var(--red);
}

.gform_wrapper textarea {
	height: 8rem !important;
}