:root {
  --brand-green: #22272b;
  --brand-offwhite: #fcfbf7;
  --brand-orange: #d67608;
  --fill-color: rgba(134, 149, 132, 0.25);
  --fill-color-hover: rgba(134, 149, 132, 0.6);
}

body {
  background-color: var(--brand-offwhite);
  font-family: "Anybody", sans-serif;
}

/* Header Styles */
.site-title a {
  color: var(--brand-offwhite);
  font-size: 2rem;
}

/* Custom menu styling */
.pill-menu a {
  border: 2px solid white;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.pill-menu a:hover,
.pill-menu a:focus {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
}

.navbar-toggler {
  border: 2px solid white;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/*--------------------------------------------------------------
# Footer Styles
--------------------------------------------------------------*/

.site-footer {
  background-color: var(--brand-green);
  color: var(--brand-offwhite);
}

/* Footer Headings */
.footer-heading {
  letter-spacing: 1px;
}

/* Quick Links Menu */
.site-footer li a {
  color: var(--brand-offwhite) !important;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.site-footer li a:hover {
  text-decoration: underline;
}

/* Contact Information */
.book-call-link {
  letter-spacing: 0.5px;
}

/* Footer Logo */
header .logo,
.footer-logo img {
  max-height: 90px;
  width: auto;
}

/* Email Signup */
.email-signup-form {
  max-width: 90%;
}

.email-input {
  background-color: transparent;
  border-color: var(--brand-green);
  color: var(--brand-green);
  font-size: 1.1rem;
}

.email-input,
.subscribe-btn {
  height: 60px;
  padding: 0 24px;
}

.orange-btn {
  background-color: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--brand-offwhite);
  font-size: 0.9rem;
  line-height: 0.9rem;
  letter-spacing: 0.1rem;
  padding: 0.75rem;
}

.orange-btn svg {
  background-color: var(--brand-offwhite);
  border-radius: 50%;
  color: var(--brand-orange);
  padding: 6px;
}

.orange-btn:hover {
  background-color: color-mix(in srgb, var(--brand-orange) 80%, black);
  color: var(--brand-offwhite);
  cursor: pointer;
}

/* Sections */
.offwhite-section {
  background-color: var(--brand-offwhite);
  color: var(--brand-green);
}

.offwhite-section h2,
.green-section h2 {
  font-weight: 600;
}

.green-section {
  background-color: var(--brand-green);
  color: var(--brand-offwhite);
}

.green-section .lead {
  color: var(--brand-orange);
}

/* Full Capabilities */
.capability-btn {
  background-color: var(--fill-color);
  border: none;
  color: var(--brand-green);
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.capability-btn:hover {
  background-color: var(--fill-color-hover);
  color: var(--brand-green);
}

.capability-arrow {
  background-color: var(--brand-orange);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.capability-arrow svg {
  width: 20px;
  height: 20px;
}

/* Services */
.service-card {
  background-color: var(--fill-color);
}

.service-text {
  flex-grow: 1;
}

.service-card h3 {
  color: var(--brand-green);
  font-size: 2rem;
  text-transform: uppercase;
}

.service-card p {
  color: var(--brand-green);
  font-size: 1.1rem;
  font-style: italic;
}

.section-subtitle {
  color: var(--brand-green);
  font-size: 1.3rem;
  font-weight: 500;
}

.border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Hero Section */
.hero-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.hero-icon-text {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.hero-icon-list {
  max-width: 280px;
}

.hero-icon-item {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Partner Logos */
.partner-logo-container {
  height: 200px;
  /* Fixed height for consistency */
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo-container .partner-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Ensures full logo is visible */
}

/* Post Styling */
body.archive main a,
body.post-template-default main a {
  color: var(--brand-orange);
}

/* Sliders */
.stakt-slider {
  background: var(--brand-offwhite);
  overflow: hidden;
}

.stakt-slider-title .highlight {
  color: var(--brand-orange);
  font-style: italic;
}

.stakt-slider-content {
  min-height: 120px;
}

.stakt-slide {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.stakt-slide.active {
  display: block;
  opacity: 1;
}

.stakt-slide-text {
  color: var(--brand-green);
  line-height: 1.6;
}

.stakt-pagination-dot {
  width: 12px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--brand-orange);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stakt-pagination-dot.active {
  background: var(--brand-orange);
}

.stakt-pagination-dot:hover {
  transform: scale(1.1);
}

.stakt-nav-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-orange);
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stakt-nav-arrow:hover {
  background: #d55a16;
  transform: scale(1.05);
}

.stakt-nav-arrow:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.stakt-slider-slide-title {
  color: var(--brand-green);
}

.slider-content {
  margin-top: -5rem;
}

/* Media Queries */
@media (max-width: 575.98px) {
  .footer-logo img {
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .stakt-slider {
    margin-bottom: 2rem;
  }

  .stakt-slider-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 991.98px) {
  .hero-icon-list {
    max-width: none;
    margin: 3rem auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-icon-item {
    flex: 0 0 calc(50% - 0.5rem);
    padding: 1rem !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .hero-icon-item {
    flex: 0 0 100%;
  }

  .partner-logo-container {
    height: 150px;
    padding: 10px;
  }
}

@media (min-width: 992px) {
  .slider-image {
    max-height: 48vw;
    object-fit: cover;
    width: 100%;
  }

  .partner-logo-container {
    height: 220px;
    padding: 20px;
  }
}

@media (min-width: 1170px) {
  .slider-image {
    max-height: 44vw;
  }

  body.home #masthead {
    background-color: var(--brand-green);
  }
}

@media (min-width: 1400px) {
  .slider-image {
    max-height: 28vw;
  }
}

.no-top-left {
  border-top-left-radius: 0 !important;
}

#get-stakt-headline {
  font-size: clamp(48px, 10vw, 145px);
  line-height: 1;
  margin-bottom: 0;
  padding-bottom: 0;
}

#get-stakt-subtext {
  font-size: clamp(1.5rem, 2.5vw, 3.25rem);
  line-height: 1.4;
}

@media (min-width: 992px) {
  #home-hero {
    margin-bottom: 420px;
  }

  #agency-cover {
    bottom: -50%;
    left: 50%;
    transform: translate(-50%);
  }
}
