/* Global CSS Variables */
:root {
  /* Colors */
  --color-primary: #310070;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-accent: #00bfff;
  --color-highlight: #1e9dde;
  --color-gray-light: #cccccc;
  --color-gray-dark: #666666;
  --color-overlay: rgba(0, 0, 0, 0.95);
  --color-gray-border: #333333;

  /* Font sizes */
  --font-size-base: 18px;
  --font-size-h1: 8.75rem;
  --font-size-h2: 6.875rem;
  --font-size-h3: 3.125rem;
  --font-size-h4: 1.625rem;
  --font-size-menu: clamp(1.3rem, 4vw, 3.2rem);

  /* Spacing */
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 50px;
  --spacing-xl: 60px;
  --spacing-xxl: 100px;
  --spacing-side: 50px;
  /* Transitions */
  --transition-standard: all 0.3s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden; /* prevent horizontal scroll from 100vw/fixed elements */
}

body {
  font-family: "Anton", sans-serif;
  line-height: 1.6;
  color: var(--color-white);
  background-color: var(--color-black);
  overflow-x: hidden;
  /* overscroll-behavior-y: none; */
}

.theme-container{
  max-width: 1160px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 50px;
}

.theme-np-container{
  max-width: 1160px;
  width: 100%;
  margin-inline: auto;
}

/* Hybrid animation utility classes */
.will-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.will-reveal[data-reveal="fade-up"] {
  transform: translateY(60px);
}
.will-reveal[data-reveal="zoom"] {
  transform: scale(0.9);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Custom cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  transition: background 0.25s;
  will-change: transform;
}
.custom-cursor.cursor-hover {
  background: var(--color-accent);
}
@media (max-width: 1024px) {
  .custom-cursor {
    display: none;
  }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(
    90deg,
    var(--color-accent),
    var(--color-highlight)
  );
  z-index: 3000;
  transition: width 0.15s linear;
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .will-reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
  .custom-cursor {
    display: none !important;
  }
  .scroll-progress {
    transition: none;
  }
}

p {
  margin-bottom: 20px;
  font-size: 1.125rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  color: var(--color-white);
}
span {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
}
a {
  text-decoration: none;
  color: var(--color-white);
}
b,
strong {
  font-weight: bold;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
  font-weight: normal;
  color: var(--color-white);
}
h1{
  font-size: var(--font-size-h1);
}
h2{
  font-size: var(--font-size-h2);
}
h3{
  font-size: var(--font-size-h3);
}
h4{
  font-size: var(--font-size-h4);
}
.wp-block-heading{
  padding-bottom: 20px;
}
.page-hero-section {
  position: relative;
  /* min-height: 80vh; */
  display: flex;
  align-items: end;
  justify-content: flex-start;
  background: var(--color-black);
  padding: 7rem 0 5rem 0;
  margin: 0;
}
.page-body{
  padding-bottom: 100px;
}
.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.w-66{
  width: 66%;
}
.opening_details {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
      min-width: 320px;
    max-width: 900px;
}
.col-50 {
  width: 50%;
  box-sizing: border-box;
}
/* Slide-in animation (used on template pages) */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}
.slide-in-left.active {
  opacity: 1;
  transform: translateX(0);
}

/* Mirror animation: slide in from right */
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}
.slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}
/* Header Styles - Non-sticky, positioned at top left */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: 40px 0;
  width: 100%;
}

/* Simple Header - For pages without hero sections */
.site-header-simple {
  position: relative;
  background: var(--color-black);
  padding: 20px 0;
}

.simple-header .page-content {
  padding-top: 0; /* No extra padding needed for simple header */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-inline: 40px;
  width: 100%;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.logo a {
  display: inline-block;
}

.logo img.custom-logo {
  max-height: 40px;
  width: auto;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

/* Burger menu with 2 bars */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 1001;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  align-items: flex-end;
}

.hamburger-line {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, width 0.3s ease, margin 0.3s ease;
}

/* Hamburger animation - transform to X when active */
.menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
  width: 30px;
}

.menu-toggle.active .hamburger-line:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
  width: 30px;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.menu-overlay:has(.submenu-open) {
  overflow-y: auto;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  height: auto;
  width: 100%;
}


.menu-items {
  list-style: none;
  text-align: center;
  font-family: "Anton", sans-serif !important;
  line-height: 1.4;
  width: 100%;
}

.menu-items > li {
  margin: 0;
  position: relative;
}

/* Dropdown icon for menu items with children */
.menu-items .menu-item-has-children > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.menu-items .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.2rem 0 1.2rem 1.8rem;
  border-color: transparent transparent transparent var(--color-white);
  transition: transform 0.3s ease, border-left-color 0.3s ease;
  flex-shrink: 0;
}

.menu-items .menu-item-has-children > a:hover::after {
  border-left-color: var(--color-dark-blue);
}

.menu-items .menu-item-has-children.submenu-open > a::after {
  transform: rotate(90deg);
}

/* Submenu styles */
.menu-items .sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.menu-items .menu-item-has-children.submenu-open .sub-menu {
  display: block;
  max-height: 500px;
  padding: 1rem 0 0 0;
  overflow-y: auto;
}

.menu-items .sub-menu li {
  margin: 0.5rem 0;
}

.menu-items .sub-menu a {
  font-size: 2.5rem;
  color: var(--color-gray-light);
}

.menu-items .sub-menu a:hover {
  color: var(--color-white);
}

.menu-items .current-menu-item .sub-menu a,
.menu-items .current-menu-parent .sub-menu a {
  border-bottom: none;
  line-height: 1.2;
}

/* .menu-items li {
  margin: 20px 0;
} */

.menu-items a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 4.375rem;
  text-transform: uppercase;
  transition: var(--transition-standard);
  position: relative;
  display: inline-block;
  font-family: "Anton", sans-serif;
}

.menu-items .current-menu-item a {
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
  border-bottom: 15px solid var(--color-accent);
  display: inline-block;
  line-height: 0.6;
  margin-top: 0.6rem;
}

.menu-items a:hover {
  color: var(--color-highlight);
}

/* Active menu item with underline */
.menu-items a.active {
  color: var(--color-white);
  border-bottom: 16px solid var(--color-accent);
  line-height: 0.7;
}

.menu-close {
  position: absolute;
  top: 40px;
  right: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  display: none; /* Hide the extra close button */
}

.close-line {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  margin: 6px 0;
  transition: all 0.3s ease;
}

.close-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.close-line:nth-child(2) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  text-align: left;
  z-index: 10;
  position: relative;
  padding: 0 var(--spacing-side);
}

.hero-title p,.hero-title strong{
    font-size: 8.75rem;
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
    letter-spacing: 0px;
    font-family: "Anton", sans-serif;
    font-weight: 400;
    line-height: 1;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(100px);
}

.hero-buttons {
  display: flex;
  gap: 30px;
  justify-content: left;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Button Styles - Improved */
.btn {
  display: inline-block;
  padding: 8px 16px;
  font-size: 1.125rem;
  text-transform: uppercase;
  text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 3.6px;
  border-radius: 7px;
  transition: var(--transition-standard);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
  padding-right: 40px;
  height: fit-content;
}

.btn::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 12px;
  width: 18px;
  height: 18px;
  background-size: contain;
  transition: transform 0.3s, background-image 0.3s;
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.btn:hover::after {
  transform: translateY(-50%) translateX(5px) scale(1.1);
}

/* Primary Button */
.btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-primary::after {
  background: url("../images/btn-colored-arrow.svg") no-repeat center center;
}
.btn-primary:hover::after {
  background: url("../images/btn-white-arrow.svg") no-repeat center center;
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Secondary Button */
.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}
.btn-secondary::after {
  background: url("../images/btn-white-arrow.svg") no-repeat center center;
}
.btn-secondary:hover::after {
  background: url("../images/btn-colored-arrow.svg") no-repeat center center;
}
.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Services Section */
.services-section {
  padding: 120px 0;
  background: #000000;
  width: 100%;
}

.services-content {
  /* max-width: 1400px; */
  margin: 0 auto;
  padding: 0 var(--spacing-side);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  /* align-items: center; */
}

.services-text h3 {
  font-size: 3.125rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;
}

.services-text p{
  width: 400px;
}

.services-icons {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.service-icon-col {
  padding-top: 5px;
}

.service-item {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 0;
  align-items: flex-start;
}

.service-item h4 {
  font-size: 1.625rem;
  margin-bottom: 10px;
}

.service-icon-svg {
  width: 1.5rem;
  height: 1.5rem;
  filter: brightness(0) invert(1);
}

.service-content-col h4 a {
  margin-bottom: 15px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  line-height: 1.2;
}

.service-content-col p {
  line-height: 1.6;
  margin-bottom: 0;
}

/* Logo Section */
.logo-section {
  padding: 80px 0;
  background: #000000;
}

.logo-content {
  margin: 0 auto;
  padding: 0;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.logo-item {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.logo-item:hover {
  opacity: 1;
}

.logo-item img {
  max-width: 100px;
  height: auto;
}

/* Work Section */
.work-section {
  padding: 0 10px 40px;
}
.work-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem; /* Reduce gap to bring items closer */
  margin-bottom: 80px;
  padding: 0;
}
.subwork-section{
	padding-bottom: 50px;
}
.subwork-section .work-header{
  padding: 0;
}

.work-title-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2.5em; /* Small gap between title and subtitle */
  flex: 1;
}

.work-section .work-grid a {
  text-decoration: none;
  color: var(--color-white);
}
.work-section .work-meta-mobile {
  display: none;
}

.work-title {
  font-size: 3.125rem;
  text-transform: uppercase;
  margin-bottom: 0; /* Remove margin if any */
  /* width: 250px; */
}
.services-page .work-title{
  width: 400px;
}

.work-subtitle {
  color: #cccccc;
  line-height: 1.4;
  margin-left: 0; /* Remove margin if any */
  margin-bottom: 0;
  width: 400px;
}
.work-subtitle p{
  margin-bottom: 0;
}
.work-btn {
  flex-shrink: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-item {
  display: flex;
  flex-direction: column;
  aspect-ratio: unset;
  height: 100%;
}

.work-image {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  display: block;
}

.work-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
  transform-origin: center center;
  display: block;
}

.work-placeholder {
  background: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Work Overlay: 95% size, centered, with visible corners */
.work-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 95%;
  height: 95%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 3rem;
  box-sizing: border-box;
}
.work-overlay .work-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  transition: opacity 0.3s;
  pointer-events: none;
  background: #ffffff 0% 0% no-repeat padding-box;
  width: 50px;
  height: 50px;
}

.work-overlay .work-arrow img {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 19px;
  height: 20px;
  /* aspect-ratio: 19 / 20; */
}

.work-item:hover .work-overlay {
  opacity: 1;
}

.work-item:hover .work-image img {
  transition: all 0.3s ease;
  transform: scale(1.05);
}

.work-item h4 {
  padding-top: 1.625rem;
  font-size: var(--font-size-h4);
}

.work-overlay h4 {
  font-size: var(--font-size-h3);
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-white) !important;
}
.work-overlay .work-title {
  opacity: 1 !important;
  visibility: visible;
  margin-bottom: 20px;
  color: var(--color-white) !important;
  transition: none;
  transform: none !important;
}
.work-overlay p {
  font-family: "Archivo", sans-serif;
  color: var(--color-white);
  text-align: left;
}

.work-client {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
}

.work-link {
  color: var(--color-highlight);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Team Section */
.team-section {
  padding: 80px 0 40px;
  background: #000000;
  width: 100%;
}

.team-content {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 60px; /* Reduced gap for better space utilization */
}

.team-text {
  padding: 0 var(--spacing-side) 0 0;

  width: 50%; /* Ensure full width of column */
}

.team-text .h3 p{
  font-size: 3.125rem;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  line-height: 1.2;
  font-weight: 400;
  font-family: 'Anton';
}
.team-text .h3 strong{
  font-weight: 500;
}

/* Team slider styles - matching ebook card pattern */
.team-card {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 100%;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-highlight);
}

.team-card .member-photo {
  width: 100%;
  /* height: 300px; */
  overflow: hidden;
  position: relative;
}

.team-card .team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.team-card:hover .team-img {
  filter: grayscale(0%);
}

.team-card .member-info {
  padding: 30px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-card .slide-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: var(--color-white);
}

.team-card .member-position {
  font-size: 1rem;
  color: #cccccc;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-card .member-linkedin {
  color: var(--color-highlight);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-controls {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.slider-prev,
.slider-next {
  background: transparent;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
  color: #000000;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Team slider wrapper */
.team-slider-wrapper {
  width: 50%;
  overflow: hidden;
}

.team-slider-wrapper .team-slider {
  width: 100%;
  height: auto;
}

.team-slider-wrapper .swiper-slide {
  /* Let Swiper compute width: avoid forcing width that can break loop calculations */
  /* width intentionally not set to preserve Swiper's per-view width math */
  height: auto;
  box-sizing: border-box;
}

.swiper-pagination-bullet {
  background: var(--color-gray-light) !important;
  opacity: 1;
  transition: background 0.3s ease;
}
/* Team slider specific navigation */
.team-slider-wrapper .slider-controls {
  display: flex;
  justify-content: flex-start;
  gap: 0;
  margin-top: 30px;
}

.team-slider-prev,
.team-slider-next {
  background: transparent;
  border: 2px solid var(--color-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.team-slider-prev:hover,
.team-slider-next:hover {
  background: var(--color-highlight);
  border-color: var(--color-highlight);
  transform: scale(1.1);
}

.team-slider-prev img,
.team-slider-next img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.team-slider-prev:hover img,
.team-slider-next:hover img {
  filter: brightness(0) invert(0);
}

.team-slider-prev.swiper-button-disabled,
.team-slider-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.team-slider-prev.swiper-button-disabled:hover,
.team-slider-next.swiper-button-disabled:hover {
  background: transparent;
  border-color: var(--color-white);
  transform: none;
}

/* Contact Section */
.contact-hero-section{
  position: relative;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  background: var(--color-black);
  padding: 7rem 0 0 0;
  margin: 0;
}
.contact-section {
  padding: 50px 0 150px;
  background: #000000;
  text-align: center;
  width: 100%;
}

.contact-content {
  margin: 0 auto;
  padding: 0 var(--spacing-side);
}

.contact-content h2 {
  font-size: 6.875rem;
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  color: var(--color-white);
  text-shadow: 0 0 20px rgba(0, 191, 255, 0.3);
  border-bottom: 16px solid var(--color-accent);
  display: inline-block;
  line-height: 1.2;
}

.contact-content .contact-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-light);
  max-width: 900px;
  margin: 0 auto 20px auto;
}
.contact-content .contact-text p{
  margin-bottom: 0;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  /* border-top: 1px solid var(--color-gray-border); */
  width: 100%;
  position: relative;
  overflow: hidden;
  width: 1160px;
  margin: 0 auto;
}

.footer-content {
  margin: 0 auto;
  padding: 0 0 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

.footer-menu-items {
  list-style: none;
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping to keep in one line */
  gap: 20px; /* Reduce the gap between menu items */
  white-space: nowrap; /* Keep each menu item in a single line */
  overflow-x: auto; /* Add horizontal scroll if needed */
  padding-bottom: 5px; /* Space for potential scrollbar */
  padding-top: 0.75rem;
}

.footer-menu-items a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem; /* Slightly smaller font for better fit */
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.footer-menu-items a:hover {
  color: var(--color-highlight);
}
.footer-social {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  color: #ffffff;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: var(--color-highlight);
}

.footer-copyright p {
  font-size: 1rem;
  font-family: "Arial", sans-serif;
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  align-self: stretch;
}

.footer-logo {
  margin-bottom: 0;
  display: flex;
  align-items: flex-end;
  height: 100%;
}

.footer-logo-img {
  max-width: 100%;
  height: auto;
  opacity: 0.8;
  margin-bottom: 0;
  vertical-align: bottom;
}

/* Ensure text is visible in branding service sections */
.branding-image-grid,
.branding-image-grid h3,
.branding-image-grid p,
.overview-section,
.overview-section h3,
.overview-section p,
.sub-services-section,
.sub-services-section h3,
.sub-services-section h4,
.sub-services-section p,
.grid-col,
.sub-service,
.overview-content {
  color: var(--color-white) !important;
}

/* DEBUG: Force all animate-element elements to be visible */
.animate-element {
  opacity: 1 !important;
  transform: none !important;
}

/* === Branding Service Page Custom Styles === */
.service-hero {
  color: #fff;
  min-height: 60vh;
  height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.service-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  mix-blend-mode: hard-light;
  z-index: 1;
  pointer-events: none;
}
/* .strategy-service-hero::before {
  background: #000 url("../images/strategy/hero.png") center center/cover
    no-repeat;
} */
.branding-service-hero::before {
  background: #000 url("../images/branding/hero.png") center center/cover
    no-repeat;
}
.web-service-hero::before {
  background: #000 url("../images/web/hero.png") center center/cover no-repeat;
}
.service-hero > * {
  position: relative;
  z-index: 2;
}
.service-hero .hero-title,
.service-hero .service-tabs a {
  color: #fff;
}
.services-page .agency-logo {
  z-index: 1;
  position: absolute;
  bottom: 40px;
  right: 0;
  width: 25%;
  height: auto;
}
.service-hero .hero-title {
  /* font-size: clamp(2.5rem, 7vw, 6rem); */
  font-size: 3.5rem;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 2rem;
  transition: font-size 0.3s;
  letter-spacing: 2px;
}
.service-hero .hero-title .hero-line {
  font-size: inherit;
  display: block;
  opacity: 0;
  transform: translateY(100px);
  transition: font-size 0.3s;
}
.service-hero .service-tabs ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  justify-content: center;
  z-index: 2;
}
.service-hero .service-tabs li {
  display: inline-block;
}
.services-page .service-icon-svg {
  width: auto;
  height: auto;
  padding-bottom: 10px;
}
.service-hero .svg-accent {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 320px;
  height: 120px;
  z-index: 1;
  opacity: 0.7;
}

.overview-section {
  background: #000;
  padding: 100px var(--spacing-side);
  text-align: left;
}

.overview-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.overview-content p {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.625rem;
  color: var(--color-gray-light);
  margin-bottom: 0;
}
.overview-content .overview-text {
  margin-bottom: 20px;
}

.branding-image-grid {
  padding: 60px var(--spacing-side);
}
.branding-image-grid .grid-row {
  display: flex;
  gap: 3rem;
  margin-bottom: 30px;
}
.branding-image-grid .grid-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.branding-image-grid img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.branding-image-grid h3 {
  font-size: 3.125rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.branding-image-grid p {
  color: var(--color-gray-light) !important;
  margin: auto 0;
}
.services-page .work-section {
  padding: 120px var(--spacing-side);
}
.sub-services-section {
  background: #000;
  padding: 60px var(--spacing-side);
}
.sub-services-section h3 {
  font-size: 3.125rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.sub-service {
  padding: 30px 20px 20px 0;
}
.sub-service img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}
.sub-service h4 {
  font-size: 1.625rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.sub-service p {
  color: var(--color-gray-light) !important;
}

.testimonials-section {
  border-left: none;
  border-right: none;
  padding: 80px var(--spacing-side);
  /* margin: 0; */
  background: none;
  position: relative;
    border-top: none;
  border-bottom: none;
}
.testimonials-section::before,
.testimonials-section::after {
  content: "";
  display: block;
  position: absolute;
  left: var(--spacing-side);
  right: var(--spacing-side);
  height: 0;
  border-top: 2px solid var(--color-gray-border);
}
.testimonials-section::before {
  top: 0;
}
.testimonials-section::after {
  bottom: 0;
}

.testimonials-section blockquote p {
  font-size: 2.063rem;
  color: var(--color-white);
  font-style: normal;
  padding-top: 1.6rem;
}
.testimonial-company {
  color: var(--color-gray-light);
  letter-spacing: 0;
}
.testimonials-section footer {
  font-size: 1.375rem;
  margin-top: 0.5rem;
}

/* --- SERVICE TABS: SMALLER, UNDERLINE ONLY, SPACING --- */
.service-tabs {
  position: relative;
  left: 0;
  right: 0;
  top: auto;
  bottom: auto;
  z-index: 999;
  background: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  /* margin: 0; */
  /* padding: 0; */
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 32px;
  transition: top 0.35s cubic-bezier(0.77, 0, 0.18, 1), box-shadow 0.25s;
}
.service-tabs.sticky {
  position: fixed;
  top: 0;
  background: #1a1a1a;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 0 0 rgba(0, 0, 0, 0.25);
  transition: background 0.3s, box-shadow 0.3s,
    top 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  width: 100%;
  box-sizing: border-box;
  left: 0;
  right: 0;
  z-index: 1002;
  height: 64px;
  display: flex;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}
.service-tabs ul {
  display: flex;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-tabs li {
  display: inline-block;
  margin: 0 7rem 0 0;
}
.service-tabs a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 0;
  transition: border-bottom 0.3s, color 0.2s;
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 7px solid transparent;
  background: none;
  border-radius: 0;
  line-height: 0.45;
}
.service-tabs a:hover,
.service-tabs .active a {
  border-bottom: 7px solid var(--color-accent);
  padding-bottom: 0;
  margin-bottom: -2px;
}

/* .service-tabs {
  padding-left: var(--spacing-side);
  padding-right: var(--spacing-side);
} */

.work-title-simple {
  display: block;
  margin-top: 1rem;
  font-size: 1.1rem;
  color: var(--color-white);
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  border-color: none;
}

.testimonials-container {
  display: flex;
  align-items: baseline;
  gap: 48px;
}
.testimonials-heading {
  flex: 0 0 220px;
  display: flex;
  /* align-items: center; */
  height: 100%;
}
.testimonials-heading h4 {
  font-size: 1.625rem;
  text-transform: uppercase;
  letter-spacing: 0;
  margin: 0;
}
.testimonials-slider {
  /* flex: 1 1 0; */
  /* position: relative; */
  min-width: 0;
}
.testimonial-slides {
  position: relative;
  width: 100%;
}
.testimonial-slide {
  /* Swiper integration: previously hidden (display:none) until .active added.
    Now using Swiper so slides must be visible for proper width calculation. */
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 120px;
  padding-left: 56px;
  text-align: left;
  width: 100%;
}
.testimonial-quote-icon {
  position: absolute;
  left: 0;
  width: 48px;
  height: 48px;
  z-index: 1;
}
.testimonial-quote-text {
  margin: 0;
  font-size: 1.2rem;
  color: #fff;
  font-style: italic;
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  text-align: left;
  margin-top: 20px;
}
.testimonial-quote-footer {
  margin-top: 12px;
  font-size: 1rem;
  font-style: normal;
  text-align: left;
}

/* Swiper structural fixes for testimonials */
.testimonials-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.testimonials-slider .swiper-slide {
  height: auto;
  display: flex;
}

.work-grid-branding {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Service Tabs Dropdown Styles */
.service-tabs-toggle {
  display: none;
}

/* === Services Landing Page Custom Styles === */

.services-hero-section {
  background: var(--color-black);
  /* height: 180vh; */
  height: auto;
  top: 25vh;
}

.service-hero .hero-subtitle {
  font-size: 3.125rem;
  line-height: 60px;
}
.service-hero-image {
  padding-top: 3rem;
  width: 800px;
  z-index: 4;
  position: relative;
}
.services-hero-section.service-hero .agency-logo {
  bottom: 50%;
}
.our-services-section {
  padding-top: 35vh;
  background: #000;
}
.our-services-section .section-title {
  padding: 0 var(--spacing-side);
  font-size: 6.875rem;
  text-transform: uppercase;
  margin-bottom: 3rem;
  text-align: left;
}
.services-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.service-row {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.service-image {
  flex: 0 0 65%;
  max-width: 65%;
}
.service-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.service-info {
  flex: 1 1 0;
  text-align: left;
  padding: 0 60px;
}
/* .service-info img {
  width: 2rem;
} */
.service-info h3 {
  font-size: 3.125rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.service-info h3 a {
  color: var(--color-white);
  text-decoration: none;
}
.service-info p {
  color: var(--color-gray-light);
  margin-bottom: 1.5rem;
  font-family: "Space Grotesk", sans-serif;
}

/* Brands Section */
.brands-section {
  padding: 80px var(--spacing-side);
  background: #000;
}
.brands-section .section-title {
  font-size: var(--font-size-h3);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-align: center;
}
.brands-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}
.brand-logo,
.logo-item {
  opacity: 0.8;
  transition: opacity 0.3s;
  text-align: center;
}
.brand-logo img,
.logo-item img {
  max-width: 100%;
  height: auto;
}
.brand-logo:hover,
.logo-item:hover {
  opacity: 1;
}

/* Leadership Page Styles */
.leadership-page {
  background: var(--color-black);
  color: var(--color-white);
}
.leadership-hero-section {
  padding: 7rem 0 var(--spacing-md) 0;
  text-align: left;
}
/* .leadership-hero-title {
  font-size: var(--font-size-h1);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
} */
.leadership-hero-desc {

  max-width: 900px;
  /* color: var(--color-gray-light); */
}
.leadership-hero-desc p{
  margin-bottom: 0;
    font-size: 1.625rem;
}
.leadership-page .team-section {
  padding: var(--spacing-lg) 0 var(--spacing-md) 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}
.team-member {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.team-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  margin-bottom: 16px;
  /* Gradient overlay handled by ::before for fade transition */
}

.team-img-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent
    linear-gradient(218deg, #5fceff00 0%, #57c8fb1f 56%, #1e9dde 100%) 0% 0%
    no-repeat padding-box;
  opacity: 0.44;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.5s ease;
}
.team-img-wrapper .team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: filter 0.5s ease, transform 0.5s ease;
  position: relative;
  z-index: 0;
}
.team-member:hover .team-img {
  filter: grayscale(0.2);
}
.team-member:hover .team-img-wrapper::before {
  opacity: 0;
}
.team-arrow {
  position: absolute;
  right: 12px;
  bottom: 12px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  background: #ffffff 0% 0% no-repeat padding-box;
  width: 50px;
  height: 50px;
}
.team-arrow img {
  position: absolute;
  right: 15px;
  top: 15px;
}
.team-member:hover .team-arrow {
  opacity: 1;
}
.team-info {
  margin-top: 0;
}
.team-name {
  color: var(--color-white);
  font-size: 1.625rem;
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.team-position {
  font-size: 1.125rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 300;
  color: var(--color-gray-light);
  margin-top: 2px;
}

.different-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.different-left {
  width: 50%;
  padding-right: 15%;
}
.different-title p{
  font-size: 6.875rem;
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  margin-bottom: 18px;
  line-height: 1;
}
.different-desc {
  font-size: 1.625rem;
  color: var(--color-gray-light);
}
.different-right {
  flex: 2 1 480px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.core-divider {
  padding: 18px 0;
}
.core-value-title {
  font-size: 1.625rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.core-value-desc {
  color: var(--color-gray-light);
}
.core-divider {
  border: none;
  border-top: 1px solid var(--color-gray-border);
  margin: 0;
}

.leadership-page .team-section,
.leadership-page .different-section {
  padding-left: var(--spacing-side);
  padding-right: var(--spacing-side);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.work-portfolio-wrapper {
  padding-bottom: var(--spacing-xl);
}

/* Work Page Hero Section */
.work-hero-section {
  position: relative;
  /* min-height: 80vh; */
  display: flex;
  align-items: end;
  justify-content: flex-start;
  background: var(--color-black);
  padding: 7rem 0 5rem 0;
  margin: 0;
}
.work-hero-description p{
  font-size: 1.625rem;
}
/* .work-hero-title { */
  /* font-size: var(--font-size-h1); */
  /* font-size: 2.5rem;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: 1.05;
} */
.work-hero-dropdown-wrapper {
  width: 49%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  margin-bottom: 2rem;
  position: relative;
}

.work-hero-dropdown-wrapper::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("../images/up-arrow.svg") no-repeat center center;
  background-size: contain;
  pointer-events: none;
  z-index: 1;
  filter: rotate(90deg);
  transition: transform 0.3s ease;
}

/* .work-hero-dropdown-wrapper:hover::after {
  transform: translateY(-100%) rotate(90deg) scale(1.1);
} */

.work-category-dropdown {
  width: 100%;
  font-size: 1.1rem;
  padding: 18px 50px 18px 20px;
  border: none;
  border-bottom: 2px solid var(--color-white);
  border-radius: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  outline: none;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.work-category-dropdown option {
  background: var(--color-black);
  color: var(--color-white);
  padding: 12px 20px;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0;
}

/* Single Portfolio Styles */
.portfolio-hero-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: 7rem 0 3.75rem 0;
  text-align: left;
  display: flex;
  align-items: end;
  /* height: 80vh; */
}
.portfolio-hero-title {
  font-size: var(--font-size-h1);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.portfolio-hero-desc {
  font-size: 1.2rem;
  color: var(--color-gray-light);
  max-width: 900px;
}
.portfolio-featured-image-section {
  background: var(--color-black);
  padding: 0 0 60px;
  text-align: center;
}
.portfolio-featured-image {
  width: 100%;
  height: auto;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}
.portfolio-categories-section {
  padding: 0 var(--spacing-side);
}
.portfolio-challenge-section,
.portfolio-solution-section,
.portfolio-result-section,
.portfolio-more-work-section {
  padding: 0 var(--spacing-side) var(--spacing-side);
}
.portfolio-categories {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.portfolio-category-tag {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid var(--color-white);
  border-radius: 7px;
  background: transparent;
}
h3.portfolio-section-title{
  font-size: 3.125rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
h2.portfolio-section-title{
  font-size: 6.875rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.portfolio-section-text {
  font-size: 1.125rem;
  color: var(--color-gray-light);
  margin-bottom: 2rem;
  max-width: 900px;
  font-family: "Space Grotesk", sans-serif;
}
.portfolio-section-image {
  text-align: center;
  margin-bottom: 2rem;
}
.portfolio-section-image img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.portfolio-solution-images {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.portfolio-solution-image-left,
.portfolio-solution-image-right {
  flex: 1 1 300px;
  max-width: 50%;
}
.portfolio-solution-image-left img,
.portfolio-solution-image-right img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.portfolio-more-work-grid {
  display: flex;
  gap: 40px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.portfolio-more-work-item a {
  text-decoration: none;
}
.portfolio-more-work-item {
  flex: 1 1 240px;
  max-width: 50%;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}
.portfolio-more-work-item img,
.portfolio-more-work-item .wp-post-image {
  width: 100%;
  height: auto;
}
.portfolio-more-work-item h3 {
  font-size: var(--font-size-h3);
  color: var(--color-white);
  margin: 1rem 0;
  text-transform: uppercase;
  text-align: left;
}

/* Careers Page Styles */
.careers-hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: 0;
  background-size: cover;
}
.careers-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0%
    0% no-repeat padding-box;
  z-index: 1;
}
.careers-hero-section .theme-container {
  position: relative;
  z-index: 2;
}
.careers-hero-title {
  font-size: 3.5rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.careers-hero-desc p{
  font-size: 1.625rem;
  color: var(--color-white);
  font-family: "Space Grotesk", sans-serif;
  /* max-width: 700px; */
  margin-bottom: 0;
}

.careers-why-section{
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-side) var(--spacing-lg)
    var(--spacing-side);
}
.careers-why-title {
  font-size: 5.5rem;
  text-transform: uppercase;
  margin-bottom: 5rem;
}
.careers-how-to{
  font-size: 5.5rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.75rem 2.5rem;
}
.careers-benefit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: none;
  padding: 0;
}
.openings-apply-section {
  padding: var(--spacing-xl) var(--spacing-side) 150px
    var(--spacing-side);
}
.openings-apply-section .container {
  width: 60%;
}
.single-opening-page h4 {
  font-size: var(--font-size-h4);
  margin-bottom: 20px;
}
.benefit-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 2rem;
  background: none;
  /* Add icon SVG or image here if needed */
}
.benefit-title {
  font-size: 1.625rem;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.benefit-desc {
  color: var(--color-gray-light);
}

.careers-positions-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: 20vh var(--spacing-side);
}
.careers-positions-container {
  display: flex;
  gap: 10rem;
  align-items: flex-start;
  flex-wrap: wrap;
}
.positions-left {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 50%;
}
.positions-title {
  /* font-size: 5.5rem; */
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.positions-desc {
  font-size: 1.625rem;
  color: var(--color-gray-light);
}
.positions-right {
  flex: 2 1 480px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.position-card {
  padding: 0 0 1.5rem 0;
}
.position-title {
  font-size: 1.625rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.position-desc {
  color: var(--color-gray-light);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}
.position-actions {
  display: flex;
  gap: 18px;
}
.position-apply {
  min-width: 120px;
}
.position-download {
  min-width: 120px;
}
.position-divider {
  border: none;
  border-top: 1px solid var(--color-gray-border);
  margin: 0 0 1.5rem 0;
}

/* Resources Page Styles */
.resources-hero-section {
  background: var(--color-black);
  color: var(--color-white);
  text-align: left;
  padding-top: 7rem;
}
.resources-hero-title {
  font-size: var(--font-size-h1);
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.resources-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.resources-nav-link {
  color: var(--color-white);
  font-size: 1.375rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.resources-nav-link:hover,
.resources-nav-link.active {
  color: var(--color-accent);
}

.featured-image img {
  width: 320px;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-content {
  flex: 1 1 0;
  padding: 2.5rem 2rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-title {
  font-size: var(--font-size-h3);
  text-transform: uppercase;
}
.featured-desc {
  font-size: 1.1rem;
  color: var(--color-gray-light);
  margin-bottom: 0;
}
.featured-actions {
  display: flex;
  align-items: center;
  padding: 2.5rem 2rem 2.5rem 0;
}
.featured-readmore {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 28px;
}
.resources-divider {
  border: none;
  border-top: 2px solid var(--color-gray-border);
  margin: 2.5rem 0;
}
.resources-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: 0 var(--spacing-side) 0 var(--spacing-side);
}
.resources-section-header,
.related-posts-header,
.related-ebooks-header,
.related-podcasts-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
.resources-section-title {
  text-transform: uppercase;
}
.resources-viewall,
.related-posts-viewall,
.related-ebooks-viewall,
.related-podcasts-viewall {
  color: var(--color-white);
  font-size: 1.2rem;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s;
  border-bottom: 1px solid white;
}
.resources-viewall:hover,
.related-posts-viewall:hover,
.related-ebooks-viewall:hover,
.related-podcasts-viewall:hover {
  color: var(--color-highlight);
}
.resources-slider {
  position: relative;
  cursor: grab;
  user-select: none;
  min-height: 300px;
  margin-bottom: 2.5rem;
  overflow: hidden; /* Hide slides that are outside the view */
}

.resources-slider:active {
  cursor: grabbing;
}

.resources-slider-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.resources-slide {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-width: 240px;
  flex: 0 0 240px; /* Changed to flex: 0 0 to prevent flex shrinking */
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
  pointer-events: auto;
  align-items: center;
  text-align: center;
}
.resources-slide img {
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
}

.slider-prev,
.slider-next {
  /* background: #222; */
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--color-accent);
  color: var(--color-black);
}

/* Resources Page - Full Width Featured Image */
.resources-featured {
  display: block;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Featured Slider */
.featured-slider .resources-slide {
  display: none;
  width: 100%;
}

.featured-slider .resources-slide:first-child {
  display: block;
}

.featured-slide {
  width: 100%;
}

.featured-image-full img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Ebook Slider */
.ebooks-slider .resources-slide {
  display: inline-block;
  width: calc(33.333% - 1rem);
  margin-right: 1rem;
  vertical-align: top;
}

.ebook-slide .ebook-card a {
  width: 100%;
}

.featured-content-below {
  display: flex;
  flex-direction: row;
  padding: 2.5rem 0 0;
  text-align: left;
}
.featured-content-below .featured-title-desc {
  flex: 1 1 0;
}
.featured-title-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 2rem;
}
.featured-title-container .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.featured-content-below .featured-title {
  font-size: var(--font-size-h3);
  text-transform: uppercase;
}
.featured-content-below .featured-desc {
  font-size: 1.125rem;
  color: var(--color-gray-light);
  margin-bottom: 0;
  max-width: 900px;
}
.featured-content-below .featured-actions {
  flex: 0 0 180px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0;
  margin-left: 0;
}

/* Ebooks Section Styles */
.ebooks-section {
  padding: 3rem var(--spacing-side);
  background: var(--color-black);
}
.ebooks-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  justify-content: flex-start;
}
/* .ebooks-header .resources-section-title {
  margin-right: 2rem;
} */

.ebook-card {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.ebook-card img {
  width: 100%;
  height: auto;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  margin-bottom: 1.2rem;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.ebook-title {
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.3;
}

.portfolio-slide img,
.podcast-slide img,
.blog-slide img {
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
}

/* Square images for resources page sliders */
.ebook-slide img,
.podcast-slide img,
.blog-slide img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1.2rem;
}

.slide-title{
  font-size: 1.625rem;
  line-height: 2.5rem;
}

/* Single Ebook Styles */
.ebook-hero-section {
  background: url("../images/ebook-hero-bg.png") no-repeat center center;
  background-size: cover;
  color: var(--color-white);
  padding: var(--spacing-side);
  height: 90vh;
  display: flex;
  align-items: center;
}
.ebook-hero-container {
  display: flex;
  align-items: flex-end;
  gap: 60px;
  flex-wrap: wrap;
  z-index: 1;
}
.ebooks-hero-section {
  padding: var(--spacing-side);
}
.ebook-hero-left {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 700px;
}
.ebook-hero-title {
  font-size: 7rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.ebook-hero-tags {
  margin-bottom: 1.5rem;
}

.ebook-download-btn {
  margin-bottom: 5rem;
  min-width: 200px;
}
.ebook-hero-right {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
}
.ebook-hero-image {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}
.ebook-content-section {
  color: var(--color-white);
  padding: 0 var(--spacing-side) var(--spacing-side);
  margin-top: -60vh;
  z-index: 2;
  position: relative;
}
.ebook-content-container {
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;
}
.ebook-content-text{
  font-size: 1.625rem;
}
.ebook-content-desc ul li:before {
    color: #1E9DDE;
    content: "\f00c";
    font-family: Font Awesome\ 5 Free;
    font-size: 21px;
    font-weight: 900;
    left: 0;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.ebook-content-left {
  flex: 1 1 600px;
  min-width: 320px;
  max-width: 60%;
  font-size: 1.1rem;
  color: var(--color-gray-light);
}
.ebook-content-left h1,
.ebook-content-left h2,
.ebook-content-left h3,
.ebook-content-left h4,
.ebook-content-left h5,
.ebook-content-left h6 {
  margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: 1px;
  color: var(--color-white);
}
.ebook-content-right {
  flex: 1 1 0;
  min-width: 0;
}
.ebook-form-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-side);
}
.ebook-form-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.ebook-form-left {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 45%;
}
.ebook-form-title {
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.ebook-form-right {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 50%;
}
.ebook-download-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ebook-download-form input,
.ebook-download-form button {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid var(--color-gray-border);
  background: #181818;
  color: var(--color-white);
  font-family: inherit;
}
.ebook-download-form button {
  background: var(--color-accent);
  color: var(--color-black);
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}
.ebook-download-form button:hover {
  background: var(--color-highlight);
}
.related-ebooks-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-side);
}

.related-ebooks-title {
  font-size: var(--font-size-h2);
  text-transform: uppercase;
}

/* Single Podcast Styles */
.podcast-hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background: url("../images/podcast-hero-bg.png") no-repeat center left;
  background-size: cover;

  padding: var(--spacing-side) var(--spacing-side) 0;
}
.podcast-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}
.podcast-hero-container {
  position: relative;
  z-index: 2;
}
.podcast-hero-left {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 700px;
}
.podcast-hero-title {
  font-size: 7rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.podcast-meta {
  font-size: 1rem;
  color: var(--color-gray-light);
  margin-bottom: 1rem;
}

.podcast-platforms {
  margin: 2.5rem 0;
}
.platform-btn img {
  height: 60px;
  width: auto;
  margin-right: 10px;
}

.podcast-hero-right {
  flex: 0 0 220px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}
.podcast-logo {
  width: 100%;
  height: auto;
  display: block;
}
.podcast-info-section {
  background: transparent;
  color: var(--color-white);
  padding: 0 var(--spacing-side) var(--spacing-side);
  margin-top: -60vh;
  z-index: 2;
  position: relative;
}
.podcast-info-container {
  display: flex;
  gap: 60px;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
}
.podcast-content-left {
  width: 60%;
}
.podcast-content-left h1,
.podcast-content-left h2,
.podcast-content-left h3,
.podcast-content-left h4,
.podcast-content-left h5,
.podcast-content-left h6 {
  margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: 1px;
  color: var(--color-white);
}
.podcast-player-embed {
  flex: 1 1 400px;
  min-width: 320px;
  max-width: 600px;
  margin-bottom: 2rem;
}
.podcast-extra-info {
  flex: 1 1 320px;
  min-width: 260px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.podcast-extra-block {
  margin-bottom: 1.5rem;
}
.podcast-extra-block a {
  color: var(--color-white);
  text-decoration: underline;
  font-family: "Space Grotesk", sans-serif;
}
.podcast-extra-label {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  color: var(--color-white);
}
.podcast-divider {
  border: none;
  border-top: 2px solid var(--color-gray-border);
  margin: 2.5rem 0;
}
.podcast-transcript-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-side);
}
.podcast-transcript-container {
  font-size: 1.1rem;
  color: var(--color-gray-light);
  max-width: 900px;
}
.related-podcasts-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-side);
  border-top: 2px solid var(--color-gray-border);
}
.related-podcasts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.related-podcasts-viewall:hover {
  color: var(--color-highlight);
}

.related-podcast-slide img {
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Single Blog Post Styles */
.post-hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100vh;
  color: var(--color-white);
  padding: 200px 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
  background: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0%
    0% no-repeat padding-box;
}
.post-hero-container {
  position: relative;
  z-index: 2;
  /* max-width: 900px; */
}
.post-hero-title {
  font-size: 7rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.post-meta {
  font-size: 1rem;
  color: var(--color-gray-light);
  margin-bottom: 1rem;
}
.post-author-name,
.podcast-author {
  font-family: "Space Grotesk", sans-serif;
  color: var(--color-white);
  text-decoration: underline;
  text-transform: capitalize;
}
.ebooks-hero-title {
  font-size: var(--font-size-h1);
  text-transform: uppercase;
  margin-bottom: 5rem;
}
.ebooks-hero-section {
  padding-bottom: 1rem;
}
.single-post-page .wp-block-heading {
  margin-bottom: 20px;
}
.single-post-page .post-tags {
  margin-bottom: 1.5rem;
}
.single-post-page .post-tag,
.single-ebook-page .ebook-tag,
.single-podcast-page .podcast-tag {
  display: inline-block;
  color: var(--color-white);
  font-size: 0.875rem;
  padding: 6px 18px;
  border-radius: 7px;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 0.5rem;
  border: 1px solid var(--color-white);
}
.post-excerpt {
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 0;
  max-width: 700px;
}
.post-content-section {
  color: var(--color-white);
  padding: 0 var(--spacing-side) var(--spacing-side);
  margin-top: -75vh;
  z-index: 1;
  background: transparent linear-gradient(180deg, #00000000 0%, #000000 100%) 0%
    0% no-repeat padding-box;
  position: relative;
}
.post-content-container {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.post-content-left {
  flex: 2 1 600px;
  min-width: 320px;
  max-width: 900px;
  font-size: 1.1rem;
  color: var(--color-gray-light);
}
.post-content-left ul,
.post-content-left ol {
  padding-left: 2rem;
  margin: 1rem 0;
}

.post-content-left ul {
  list-style-type: disc;
  list-style-position: outside;
}

.post-content-left ol {
  list-style-type: decimal;
  list-style-position: outside;
}

.post-content-left h1,
.post-content-left h2,
.post-content-left h3,
.post-content-left h4,
.post-content-left h5,
.post-content-left h6 {
  margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: 1px;
  color: var(--color-white);
}

.post-content-left li {
  margin: 0.5rem 0;
  padding-left: 0.5rem;
}
.post-content-right {
  flex: 1 1 260px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.author-info {
  width: 100%;
  text-align: left;
  margin-bottom: 2rem;
}
.author-info img {
  margin-bottom: 1rem;
  height: 100%;
  width: 100%;
}
.author-name {
  font-size: 1.6rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.author-bio {
  font-size: 1rem;
  color: var(--color-gray-light);
  margin-bottom: 1rem;
}
.author-social a {
  color: var(--color-accent);
  font-size: 1rem;
  margin-right: 1rem;
  text-decoration: none;
}
.author-social a img {
  width: 25px;
}
.author-social a:hover {
  color: var(--color-highlight);
}
.related-posts-section {
  background: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-xl) var(--spacing-side) var(--spacing-lg)
    var(--spacing-side);
  border-top: 2px solid var(--color-gray-border);
}

.related-posts-title {
  font-size: var(--font-size-h2);
  text-transform: uppercase;
}

.related-posts-row {
  display: flex;
  gap: 40px;
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.related-post-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  min-width: 240px;
  max-width: 280px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.related-post-card img {
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  background: #f5f5f5;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.related-post-title {
  font-size: 1rem;
  color: var(--color-black);
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.3;
}

/* Leadership template */
.leadership-hero-section {
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
}

/* Portfolio Slider Styles */
.portfolio-slider-container {
  position: relative;
  margin: 2rem 0;
}

.portfolio-slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-slider-btn {
  background: var(--color-black);
  color: var(--color-white);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.portfolio-slider-btn:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
}

.portfolio-slider-btn:disabled {
  background: var(--color-gray-border);
  cursor: not-allowed;
  transform: none;
}

/* Portfolio Work Item Card */
.portfolio-work-item {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.portfolio-work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.portfolio-work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.portfolio-work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-work-item:hover .portfolio-work-image img {
  transform: scale(1.05);
}

.portfolio-work-content {
  padding: 1.5rem;
}

.portfolio-work-content h1,
.portfolio-work-content h2,
.portfolio-work-content h3,
.portfolio-work-content h4,
.portfolio-work-content h5,
.portfolio-work-content h6 {
  margin-bottom: 1.5rem;
	line-height: 1.3;
	letter-spacing: 1px;
  color: var(--color-white);
}

.portfolio-work-title {
  font-size: 1.625rem;
  margin: 10px 0;
  color: var(--text-color);
}

.portfolio-work-title a {
  color: inherit;
  text-decoration: none;
}

.portfolio-work-title a:hover {
  color: var(--color-accent);
}

.portfolio-work-excerpt {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Portfolio Slider */
.portfolio-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: 300px; /* Ensure minimum height */
}

.portfolio-work-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.portfolio-work-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  display: block;
}

.portfolio-work-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.portfolio-work-link:hover .portfolio-work-image img {
  transform: scale(1.1);
}

.portfolio-work-content {
  padding: 1.5rem 0;
}

.portfolio-work-category {
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Slider Navigation */
.portfolio-slider-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio-slider-btn {
  width: 50px;
  height: 50px;
  border: 2px solid var(--text-color);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  position: relative;
}

.portfolio-slider-btn:hover {
  background: var(--text-color);
  color: var(--bg-color);
}

.portfolio-slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.portfolio-slider-btn:disabled:hover {
  background: transparent;
  color: var(--text-color);
}

/* Auto-slide indicator */
.portfolio-slider-container::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 8px;
  height: 8px;
  background: var(--text-color);
  border-radius: 50%;
  opacity: 0.6;
  animation: autoSlideIndicator 5s infinite;
  z-index: 1;
}

@keyframes autoSlideIndicator {
  0%,
  90% {
    opacity: 0.6;
  }
  95%,
  100% {
    opacity: 1;
  }
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper select,
.gform_wrapper textarea {
  background: transparent !important;
  border: 1px solid #d4cfcf;
  color: var(--color-white) !important;
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 1rem !important;
  padding: 25px !important;
  border-radius: 4px;
}
.gform_wrapper .gfield_label {
  color: var(--color-white) !important;
}
.gform_wrapper.gravity-theme .gfield_label {
  font-family: "Space Grotesk", sans-serif !important;
  font-size: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
}
.gform_wrapper input[type="submit"] {
  display: inline-block !important;
  padding: 16px 25px;
  font-size: 18px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  font-family: "Space Grotesk", sans-serif !important;
  letter-spacing: 3.6px !important;
  border-radius: 7px !important;
  transition: var(--transition-standard) !important;
  cursor: pointer !important;
  position: relative !important; /* Ensure relative for pseudo-element */
  overflow: visible !important; /* Allow pseudo-element to be visible */
  min-width: 160px;
  text-align: center !important;
  padding-right: 60px; /* Increase padding for arrow space */
  height: fit-content;
  background: var(--color-white) !important;
  color: var(--color-primary) !important;
  border-color: var(--color-white) !important;
}

/* Gravity Forms enhanced submit button */
.gform-btn-wrapper {
  position: relative;
  display: inline-block;
}
.gform-btn-wrapper input[type="submit"] {
  position: relative;
  z-index: 2;
}
.gform-btn-wrapper .btn-arrow {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: auto;
  height: 15px;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  z-index: 2;
}
.gform-btn-wrapper .btn-arrow {
  transition: transform 0.3s ease;
}
.gform-btn-wrapper:hover .btn-arrow {
  transform: translateY(-50%) translateX(4px);
}

.team-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.team-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.team-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
}
.team-modal__dialog {
  position: relative;
  background: #1e1e1e;
  padding: 40px;
  max-width: 1230px;
  width: 90%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.6);
}
.team-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
}
.team-modal__content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.team-modal__image-wrapper {
  flex: 1 1 260px;
  max-width: 320px;
}
.team-modal__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.team-modal__social-link img{
  width: 24px;
  height: 24px;
}
.team-modal__text {
  flex: 2 1 360px;
  min-width: 260px;
}
.team-modal__name {
  font-size: 2.25rem;
  margin: 0;
  text-transform: uppercase;
}
.team-modal__info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-modal__position {
  font-size: 1.375rem;
  color: var(--color-gray-light);
  margin: 0 0 16px;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0.5px;
}
.team-modal__bio {
  font-size: 1rem;
  color: var(--color-gray-light);
  font-family: "Space Grotesk", sans-serif;
}

button.team-member {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
button.team-member:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 3px;
}

/* === Ebook Archive Page Styles === */

.ebook-archive-page {
  background: var(--color-black);
  color: var(--color-white);
}

.ebooks-hero-section {
  padding: var(--spacing-xl) var(--spacing-side) var(--spacing-lg);
  text-align: left;
}

.ebook-hero-desc {
  font-size: 1.1rem;
  max-width: 700px;
  color: var(--color-gray-light);
  font-family: "Space Grotesk", sans-serif;
}

.ebooks-section {
  padding: 0 var(--spacing-side) var(--spacing-xl);
}

.ebook-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: var(--spacing-lg);
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  padding: 12px 24px;
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.category-btn {
  background: transparent;
  color: var(--color-white);
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  border: none;
}

.category-btn:hover,
.category-btn.active {
  color: var(--color-accent);
}

#ebook-search {
  width: 100%;
  min-width: 300px;
  max-width: 400px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  border-radius: 4px;
}

#ebook-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.ebook-ajax-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.ajax-page-btn,
.ebook-ajax-pagination .current {
  background: transparent;
  color: var(--color-white);
  padding: 10px 16px;
  font-family: "Anton", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.ajax-page-btn:hover,
.ebook-ajax-pagination .current {
  background: #ea0029;
  color: var(--color-white);
}

.loading {
  opacity: 0.5;
  pointer-events: none;
}

.ebooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: var(--spacing-lg);
}

.ebook-archive-page .ebook-card {
  transition: transform 0.3s ease;
  text-align: center;
}

.ebook-archive-page .ebook-card a {
  text-decoration: none;
  color: var(--color-white);
  display: block;
}

.ebook-archive-page .ebook-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.ebook-archive-page .slide-title {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-align: left;
}

.ebook-pagination {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.ebook-cta-section {
  background: #111;
  padding: var(--spacing-xl) var(--spacing-side);
  text-align: center;
}

.cta-title {
  font-size: var(--font-size-h2);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.cta-desc {
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
  color: var(--color-gray-light);
}

.no-ebooks {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.nav_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

/* === Podcast Archive Page Styles === */
.podcasts-nav-wrapper{
  align-items: center;
}
.podcast-archive-page {
  background: var(--color-black);
  color: var(--color-white);
}

.podcasts-hero-section {
  padding: var(--spacing-xl) var(--spacing-side) var(--spacing-lg);
  text-align: left;
}

.podcasts-hero-title {
  font-size: var(--font-size-h1);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.podcasts-section {
  padding: 0 var(--spacing-side) var(--spacing-xl);
}

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: var(--spacing-lg);
}

.podcast-archive-page .podcasts-card {
  transition: transform 0.3s ease;
  text-align: center;
}

.podcast-archive-page .podcasts-card a {
  text-decoration: none;
  color: var(--color-white);
  display: block;
}

.podcast-archive-page .podcasts-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.podcast-archive-page .slide-title {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-align: left;
}

.podcasts-ajax-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.podcasts-ajax-pagination .ajax-page-btn,
.podcasts-ajax-pagination .current {
  background: transparent;
  color: var(--color-white);
  padding: 10px 16px;
  font-family: "Anton", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.podcasts-ajax-pagination .ajax-page-btn:hover,
.podcasts-ajax-pagination .current {
  background: #ea0029;
  color: var(--color-white);
}

.no-podcasts {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

#podcast-search {
  width: 100%;
  min-width: 300px;
  max-width: 400px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  border-radius: 4px;
}

#podcast-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

/* === Blog Archive Page Styles === */

.blog-archive-page {
  background: var(--color-black);
  color: var(--color-white);
}

.blogs-hero-section {
  padding: var(--spacing-xl) var(--spacing-side) var(--spacing-lg);
  text-align: left;
}

.blogs-hero-title {
  font-size: var(--font-size-h1);
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
}

.blogs-section {
  padding: 0 var(--spacing-side) var(--spacing-xl);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: var(--spacing-lg);
}

.blog-archive-page .blog-card {
  transition: transform 0.3s ease;
  text-align: center;
}

.blog-archive-page .blog-card a {
  text-decoration: none;
  color: var(--color-white);
  display: block;
}

.blog-archive-page .blog-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.blog-archive-page .blog-img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.blog-archive-page .blog-img-placeholder span {
  color: var(--color-gray-light);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
}

.blog-archive-page .slide-title {
  font-size: 1.2rem;
  font-weight: normal;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  transition: color 0.3s ease;
  text-align: left;
}

.blog-ajax-pagination {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.blog-ajax-pagination .ajax-page-btn,
.blog-ajax-pagination .current {
  background: transparent;
  color: var(--color-white);
  padding: 10px 16px;
  font-family: "Anton", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
}

.blog-ajax-pagination .ajax-page-btn:hover,
.blog-ajax-pagination .current {
  background: #ea0029;
  color: var(--color-white);
}

.no-blogs {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-xl) 0;
}

#blog-search {
  width: 100%;
  min-width: 300px;
  max-width: 400px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  border-radius: 4px;
}

#blog-search::placeholder {
  color: rgba(255, 255, 255, 0.7);
}
.mill-form .gform_fields{
  row-gap: 1rem !important;
}