/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
  /* Colors */
  --primary-color: #ed5c37;
  --work-color: #ed5c37;
  --primary-dark: #d95332;
  --primary-light: #ff8c5a;
  --secondary-color: #0f172a;
  --secondary-dark: #1e293b;
  --secondary-light: #2a3f6b;
  --text-primary: #334155;
  --text-secondary: #0f172a;
  --text-light: #4b5563;
  --text-gray: #9ca3af;
  --text-white: #ffffff;
  --bg-white: #ffffff;
  --bg-dark: #0f172a;
  --bg-more-dark: #0b1221;
  --bg-light: #f5f7fa;
  --border-color: #e0e0e0;
  --secondary-hero-bg: #0b1120;
  --tertiary-hero-bg: #111827;
  --tertiary-color: #f05a28;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

  /* Typography */
  --font-primary: "Inter 18pt", sans-serif;
  --font-secondary: "Inter 24pt", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.5rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-normal: 1.4;
  --line-height-relaxed: 1.6;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Layout */
  --container-max-width: 1400px;
  --container-padding: 1.5rem;
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-primary);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.owl-carousel .owl-dots .owl-dot {
  border: 2px solid #bcbcbc;
}

@font-face {
  font-family: Feather;
  src: url(../../fonts/feather/Feather.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.fe {
  font-family: Feather !important;
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.thankyou_content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 40px;
  gap: 20px;
}

.thankyou_text {
  text-align: center;
}

.wpcf7 form.invalid .wpcf7-response-output {
  border-color: #ff0000;
  color: red;
}

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.text-black {
  color: #000000 !important;
}

/* ============================================
   PRIMARY BUTTON
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10.5px 20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  font-size: var(--font-size-sm);

  border-radius: 7px;
  letter-spacing: 0;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  line-height: 1.35;
  gap: 7px;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Secondary Button */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9.5px 20px;
  background-color: transparent;
  color: var(--text-white);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  border-radius: 7px;
  border: 1px solid var(--text-white);
  letter-spacing: 0;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ============================================
   HEADER TOP BAR
   ============================================ */
.header-top {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  background-color: var(--bg-white);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
}

.header-top-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

a.header-top-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  vertical-align: middle;
  color: #ed5c37;
  text-decoration: none;
}

a.header-top-link:hover {
  text-decoration: underline;
}

.header-top-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-top-right a.header-top-link {
  gap: 10px;
}

.header-top-right a.header-top-link img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.header-top-left a.header-top-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ============================================
   HEADER
   ============================================ */
.header {
  background-color: var(--bg-white);
  padding: 12px 0;
  position: fixed;
  top: 37px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

#wrapper {
  padding-top: 107px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  flex-shrink: 0;
}

.logo img.logo-image {
  height: 46px;
  width: auto;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
}

/* Mega menu parent: position static so mega menu is full width */
li.nav-item.dropdown.dropdown-mega {
  position: static;
}

.nav-link {
  color: var(--text-primary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-base);
}

.grecaptcha-badge {
  z-index: 9999;
}

@media (hover: hover) {
  .nav-link:hover {
    color: var(--primary-color);
  }

  .nav-link:hover::after {
    width: 100%;
  }
}

li.nav-item.dropdown.active .nav-link {
  color: var(--primary-color);
}

.dropdown-arrow {
  display: inline-block;
  margin-left: 0.25rem;
  line-height: 1;
  height: 7px;
  position: relative;
  top: -6.5px;
}

.nav-item.dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
  top: 7px;
}

/* ============================================
   SIMPLE DROPDOWN MENU
   ============================================ */
.dropdown-menu {
  background-color: var(--bg-white);
  position: absolute;
  top: calc(100% + 17px);
  left: 0;
  min-width: 136px;
  padding: 20px 23px;
  border: 1px solid #e5e7eb;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: 1000;
  list-style: none;
}

.nav-item.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0 0 10px;
}

.dropdown-menu a {
  display: block;
  padding: 0;
  color: #000 !important;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
  position: relative;
  line-height: 1.5;
  text-decoration: none;
}

@media (min-width: 992px) {
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item.dropdown:hover .nav-link {
    color: var(--primary-color);
  }

  .nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    top: 7px;
  }
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu li.current-menu-item a,
.dropdown-menu a:hover {
  color: var(--primary-color) !important;
}

/* ============================================
   MEGA MENU
   ============================================ */
.dropdown-menu.mega-menu {
  z-index: 1;
  left: 0;
  margin-left: 0;
  width: 100%;
  min-width: unset;
  padding: 20px 15px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: absolute;
  transform: none !important;
  top: 100%;
  border: 1px solid #e5e7eb;
  min-height: 350px;
  border-left: none;
  border-right: none;
}

.mega-menu-close {
  display: none;
  position: absolute;
  top: 5px;
  right: 10px;
  width: auto;
  height: auto;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: var(--border-radius-md);
  transition: color var(--transition-fast);
  z-index: 10;
}

.mega-menu-close:hover {
  color: var(--primary-color);
}

@media (min-width: 992px) {
  .dropdown-menu.mega-menu .mega-menu-close {
    display: flex;
  }
}

.mega-menu-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 28px;
  position: relative;
  grid-template-columns: repeat(4, 1fr);
}

.mega-menu-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: #000;
  margin-bottom: 15px;
  padding: 0;
  line-height: 1.5;
}

/* Leaf heading is a direct link — keep it black like the heading */
.mega-menu-heading a {
  color: #000 !important;
  text-decoration: none;
  font-weight: inherit;
  font-size: inherit;
}

@media (hover: hover) {
  .mega-menu-heading a:hover {
    color: var(--primary-color) !important;
  }
}

.mega-menu-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-menu-col ul li {
  margin: 0 0 10px;
}

.mega-menu-col ul li a {
  display: block;
  padding: 0;
  color: #000 !important;
  font-size: 12px;
  font-weight: var(--font-weight-medium);
  line-height: 1.46;
}

@media (hover: hover) {
  .mega-menu-col ul li a:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    padding-left: 0;
  }
}

/* ============================================
   HEADER CTA & MOBILE TOGGLE
   ============================================ */
.header-cta {
  flex-shrink: 0;
}

a.header-cta {
  text-decoration: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: auto;
  padding: 0;
  background: transparent;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-secondary);
  transition: all var(--transition-base);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--secondary-color);
  color: var(--text-white);
  padding: 4.4rem 0 1.35rem;
  border-top: 1px solid #1e293b;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  margin-bottom: 1.25rem;
}

img.footer-logo-img {
  width: 45px;
  height: auto;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1.25rem;
  font-weight: 400;
  font-size: 12.3px;
  line-height: 19.91px;
  letter-spacing: 0;
  vertical-align: middle;
}

.footer-social {
  display: flex;
  gap: 0.875rem;
  align-items: center;
  flex-wrap: wrap;
}

.social-link {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition-fast);
  background: rgb(255 255 255 / 10%);
  border-radius: 50%;
}

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

.footer-heading {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.3rem;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10.5px;
}

.footer-links a {
  color: #9ca3af;
  transition: color var(--transition-fast);
  font-weight: 400;
  font-size: 13.3px;
  line-height: 17.5px;
  letter-spacing: 0;
  vertical-align: middle;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: var(--font-size-sm);
  color: #9ca3af;
  border-top: 1px solid #1e293b;
}

/* ============================================
   COMMON STYLES
   ============================================ */
.common-padding-28 {
  padding-left: 28px;
  padding-right: 28px;
}

.common-section {
  padding: 5.25rem 0;
}

.bg-gray {
  background-color: #f9fafb;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  margin-bottom: 2.65rem;
}

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.61px;
  margin-bottom: 0.45rem;
}

.section-title {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  color: var(--text-primary);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-link {
  color: var(--secondary-color);
  font-weight: var(--font-weight-semibold);
  font-size: 14px;
  white-space: nowrap;
  transition: color var(--transition-fast);
  line-height: 21px;
}

.section-link:hover {
  color: var(--primary-dark);
}

.blog-hero {
  padding: 9.65rem 0 5.25rem;
  text-align: center;
  background: var(--bg-white);
  border-bottom: 1px solid #f3f4f6;
}

.blog-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.blog-hero-title {
  font-weight: var(--font-weight-bold);
  color: #0b1120;
  margin-bottom: 1.3rem;
  font-size: 46px;
  line-height: 1.15;
  letter-spacing: -1.31px;
  text-align: center;
  vertical-align: middle;
}

.blog-hero-desc {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.33;
  margin-bottom: 1.75rem;
  font-weight: 300;
}

.blog-hero-contact {
  color: #f05a28;
  font-weight: var(--font-weight-medium);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
  line-height: 1.5;
}

.blog-hero-contact:hover {
  color: var(--primary-dark);
}

/* ============================================
   RESPONSIVE - HEADER & FOOTER
   ============================================ */
@media (max-width: 1400px) {
  .container {
    max-width: 1200px;
  }

  .blog-hero {
    padding: 6.65rem 0 5.25rem;
  }
}

@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer {
    padding: 3rem 0 1.35rem;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .common-padding-28 {
    padding-left: 0;
    padding-right: 0;
  }

  .common-section {
    padding: 4rem 0;
  }

  .blog-hero {
    padding: 5rem 0 3.5rem;
  }
}

@media (max-width: 991px) {
  .footer-content {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2.5rem 2rem;
  }

  .footer {
    padding: 3rem 0 1.35rem;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .common-padding-28 {
    padding-left: 0;
    padding-right: 0;
  }

  .common-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: var(--font-size-5xl);
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta-section .btn-primary {
    padding: 11px 28px;
  }

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

  .blog-hero {
    padding: 5rem 0 3.5rem;
  }

  .careers-contact-inner {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .careers-contact-title {
    font-size: 30px;
  }

  .header-content {
    gap: 1rem;
    position: relative;
  }

  /* Drawer overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity var(--transition-base),
      visibility var(--transition-base);
  }

  body.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Drawer: slide in from right */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 75%;
    height: 100dvh;
    background-color: #fff;
    padding: 2rem 1.5rem 1.5rem;
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .nav.active {
    transform: translateX(0);
    padding: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    margin-top: 100px;
    height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 0px 30px 30px;
    -webkit-overflow-scrolling: touch;
  }

  .mega-menu-heading {
    margin-bottom: 15px;
  }

  .nav-item {
    width: 100%;
    margin: 0 0 5px;
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    display: flex;
    width: 100%;
    padding: 0.5rem 0;
    justify-content: space-between;
    font-size: 16px;
  }

  .dropdown-arrow {
    margin-left: auto;
  }

  .dropdown-menu {
    width: 100%;
    top: 100%;
  }

  .dropdown-menu.mega-menu {
    width: 100%;
    margin-left: 0;
    left: 0;
    padding: 0;
    position: static;
    display: none;
  }

  .mega-menu-inner {
    padding: 1rem 0rem 1rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
    min-height: unset;
  }

  .nav-item.dropdown.active > .nav-link {
    color: var(--primary-color);
  }

  .nav-item.dropdown.active > .nav-link::after {
    width: 100%;
  }

  .dropdown-menu a:active {
    background-color: var(--bg-light);
    color: var(--primary-color);
  }

  .mega-menu-col ul li:last-child {
    margin-bottom: 0;
  }

  @media (hover: hover) {
    .dropdown-menu a:hover {
      background-color: var(--bg-light);
      color: var(--primary-color);
      padding-left: 2.5rem;
    }
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .mobile-menu-toggle span {
    transition: all var(--transition-base);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

  .header-cta {
    margin-left: auto;
    margin-right: 15px;
  }
}

@media (max-width: 767.98px) {
  .footer-content {
    gap: 2rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .section-header-row {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .section-header-row {
    flex-direction: column;
  }

  .hero-subtitle {
    font-size: var(--font-size-base);
  }

  .hero-title {
    font-size: var(--font-size-5xl);
  }

  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .insight-card {
    padding: 1.5rem;
  }

  .blog-hero-title {
    font-size: 36px;
  }

  .blog-hero-desc {
    font-size: 16px;
    margin-bottom: 1.5rem;
  }

  .careers-contact-inner {
    gap: 3rem;
    grid-template-columns: 1fr;
  }

  .careers-contact-title {
    font-size: 26px;
  }

  .careers-apply-form .careers-form-row {
    gap: 0px;
  }

  .careers-contact-inner {
    gap: 2rem;
  }

  .careers-apply-form .careers-form-row {
    grid-template-columns: 1fr;
  }

  .careers-apply-card {
    padding: 1.35rem;
  }

  .nav {
    max-width: 85%;
  }
}

@media screen and (max-width: 600px) {
  .mega-menu-inner {
    grid-template-columns: repeat(1, 1fr);
  }

  .common-section {
    padding: 3rem 0;
  }

  .section-header-row {
    gap: 1.2rem;
  }

  .section-header {
    margin-bottom: 2.4rem;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons .btn-primary {
    font-size: 14px;
    padding: 10px 16px;
  }

  .hero-buttons .btn-secondary {
    padding: 10px 16px;
    font-size: 14px;
  }

  .final-cta-title {
    font-size: 1.75rem;
  }

  .final-cta-description {
    font-size: 1rem;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .footer-content {
    grid-template-columns: 1fr;
  }

  .logo img.logo-image {
    height: 38px;
  }

  .btn-primary {
    padding: 9px 16px;
  }

  .nav {
    top: 0px;
  }

  .section-title {
    font-size: var(--font-size-2xl);
  }

  .hero-title {
    font-size: var(--font-size-3xl);
  }

  .final-cta-title {
    font-size: 1.5rem;
  }

  .final-cta-description {
    font-size: 14px;
  }

  .blog-hero-title {
    font-size: 2rem;
  }

  .blog-hero {
    padding: 3.5rem 0 3rem;
  }

  .careers-contact-title {
    font-size: 22px;
  }

  .careers-contact-desc {
    font-size: 14px;
  }

  .careers-apply-card {
    padding: 1rem;
  }

  .header-top-content {
    flex-direction: column;
  }

  button.mobile-menu-toggle.active {
    position: fixed;
    top: 30px;
    right: 25px;
  }

  .nav {
    max-width: 90%;
  }
}

/* ============================================
   CUSTOM MODAL (CALENDLY)
   ============================================ */
.custom-modal {
  display: flex !important;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  justify-content: center;
  align-items: center;
  padding: 15px;
}

.custom-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.custom-modal .modal-content {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 1200px;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  padding: 40px;
  transform: translateY(30px);
  transition: all var(--transition-base);
  max-height: 90vh;
  overflow-y: auto;
}

.custom-modal.is-visible .modal-content {
  transform: translateY(0);
}

.custom-modal .close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background-color: #f1f5f9;
  color: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.custom-modal .h2 {
  display: block;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: 12px;
  text-align: center;
  line-height: 1.2;
}

.custom-modal p {
  font-size: var(--font-size-base);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 30px;
}

.custom-modal iframe {
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
}

@media (max-width: 767.98px) {
  .custom-modal .modal-content {
    padding: 30px 20px 20px;
  }

  .custom-modal .h2 {
    font-size: var(--font-size-2xl);
  }

  .custom-modal iframe {
    height: 500px;
  }
}

/* ============================================
   HERO SECTION (GLOBAL)
   ============================================ */
.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-image-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-content-home {
  margin: 0;
  text-align: left;
}

@media (max-width: 991px) {
  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .hero-image-wrapper {
    display: none;
  }
}

/* ============================================
   404 PAGE STYLES
   ============================================ */
.error-404 {
  padding: var(--spacing-4xl) 0 10px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-white);
}

.error-404-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-404-number {
  font-size: 140px;
  font-weight: 900;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: var(--spacing-sm);
  display: block;
}

.error-404-inner {
  position: relative;
  z-index: 1;
}

.error-404-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-tight);
}

.error-404-desc {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-bottom: var(--spacing-2xl);
  line-height: var(--line-height-relaxed);
}

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-4xl);
}

.error-404-useful {
  border-top: 1px solid var(--border-color);
  padding-top: var(--spacing-2xl);
}

.error-404-useful-title {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
}

.error-404-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  list-style: none;
  padding: 0;
}

.error-404-links li a {
  display: inline-block;
  font-size: var(--font-size-base);
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-base);
  text-decoration: underline;
}

.error-404-links li a:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .error-404-number {
    font-size: 80px;
  }

  .error-404-title {
    font-size: var(--font-size-3xl);
  }
}
