/* ============================================
   CSS VARIABLES & ROOT
============================================= */
:root {
  /* Colors */
  --clr-bg: #DEDEDE;
  --clr-surface: #212121;
  --clr-surface-2: #1a1a1a;
  --clr-surface-3: #222222;
  --clr-border: #000000;
  --clr-border-hover: rgba(255, 255, 255, 0.15);
  --clr-text: #000000;
  --clr-text-muted: #999999;
  --clr-text-dim: #666666;
  --clr-purple: #6b4dea;
  --clr-purple-light: #a78bfa;
  --clr-purple-dark: #5b21b6;
  --clr-green: #2dfeaa;
  --clr-white: #fff;
  --clr-green-light: #34d399;

  /* Gradients */
  --grad-purple: linear-gradient(135deg, #6b4dea 0%, #5b21b6 100%);

  /* Spacing */
  --section-py: 45px;
  --section-py-mobile: 30px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET & BASE
============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  background-color: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: var(--section-py) 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px 18px 28px;
  background: transparent;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 500;
  color: var(--clr-text);
  transition: all var(--transition-base);
  position: relative;
  min-width: 220px;
}

.btn-cta:hover {
  background: var(--clr-white);
  border-color: var(--clr-purple);
}

.btn-cta:hover .btn-arrow {
  background: var(--clr-purple);
}

/* ============================================
   SECTION LABEL
============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-text);
}

.label-dot {
  width: 10px;
  min-width: 10px;
  height: 10px;
  background: var(--clr-text);
  border-radius: 50%;
  display: inline-block;
}

/* ============================================
   BUTTONS
============================================= */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-white);
  transition:
    transform var(--transition-base),
    background var(--transition-base);
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text);
  background: transparent;
  transition: all var(--transition-base);
}

.btn-outline-dark:hover {
  border-color: var(--clr-text);
  background: rgba(255, 255, 255, 0.05);
}

.btn-outline-dark:hover .btn-arrow {
  transform: translateX(4px);
}

.about-top .btn-cta {
  position: relative;
  top: -10px;
}

/* ============================================
   HEADER / NAVIGATION
============================================= */
.navbar-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 35px 0 25px;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(217, 217, 217, 0.5);
}

.navbar-main.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

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

.main-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--clr-white);
  transition: color var(--transition-fast);
  position: relative;
  text-transform: uppercase;
}

.main-menu a::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-purple);
  transition: width var(--transition-base);
}

.main-menu a:hover,
.main-menu .current-menu-item a {
  color: var(--clr-white);
}

.main-menu a:hover::after,
.main-menu .current-menu-item a::after {
  width: 100%;
}

header .btn-cta {
  background: var(--clr-purple);
  border-color: var(--clr-purple);
  text-transform: uppercase;
  color: var(--clr-white);
  padding: 13px 40px 13px 35px;
  min-width: 190px;
  font-size: 14px;
}

header .btn-cta:hover {
  background: var(--clr-white);
  border-color: var(--clr-purple);
  color: var(--clr-text);
}

header .btn-cta:hover .btn-arrow {
  background: var(--clr-purple);
}

header .btn-arrow {
  width: 44px;
  height: 44px;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.toggle-bar {
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active .toggle-bar {
  background: var(--clr-white);
}

.nav-toggle.active .toggle-bar:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}

.nav-toggle.active .toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 140px 20px 60px;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-slow);
  z-index: 999;
  height: 100vh;
}

.btn-mobile-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 3px 3px 3px 40px;
  background: var(--clr-purple);
  color: var(--clr-white);
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 18px;
  transition: background var(--transition-base);
  position: relative;
  min-width: 220px;
  justify-content: space-between;
}

.btn-mobile-cta .btn-arrow {
  position: static;
  transform: none;
  width: 50px;
  height: 50px;
  background: var(--clr-white);
}

.btn-mobile-cta:hover {
  background: var(--clr-purple-dark);
}

/* ============================================
   HERO SECTION
============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--grad-hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.hero-text {
  max-width: 100%;
  flex: 1;
}

.hero-heading {
  font-size: 96px;
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -3.8px;
  padding-bottom: 5rem;
  margin-bottom: 0;
  color: var(--clr-white);
}

.hero-heading-indent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* padding-left: 40px; */
  /* text-align: center; */
  /* padding-top: 12px; */
  gap: 32px;
}
.hero-heading-indent-inner{grid-column: 2 / 4;}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.22;
  color: var(--clr-white);
  margin-bottom: 0;
  grid-column: 2 / 4;
}

.hero-underline {
  display: grid;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
      grid-template-columns: repeat(3, 1fr);
}

.hero-section .btn-cta {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--clr-purple);
  color: var(--clr-white);
  font-size: 1rem;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  padding: 18px 40px 18px 20px;
  backdrop-filter: blur(10px);
  border: none;
  justify-self: start;
}

.hero-section .btn-cta:hover {
  background: var(--clr-white);
  color: var(--clr-text);
}

.hero-section .btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #2DFEAA, #000);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.hero-section .btn-cta .btn-arrow {
  background: var(--clr-green) !important;
  right: 5px
}


/* ============================================
   ABOUT SECTION
============================================= */

.about-section {
  padding: 135px 0 45px;
}

.about-top {
  display: grid;
      grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  margin-bottom: 60px;
}

.about-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
  justify-content: space-between;
  align-items: flex-start;
}

.about-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--clr-text);
  transition: color 0.5s ease;
  letter-spacing: -1.92px;
}

/* Character-by-character typing color reveal on hover */
.text-highlight-char {
  -webkit-text-fill-color: var(--clr-text);
}

 .highlight-sweep .text-highlight-char {
  animation: charReveal 0.02s ease forwards;
  animation-delay: calc(var(--char-i) * 0.020s);
}

@keyframes charReveal {
  to {
    -webkit-text-fill-color: var(--clr-purple);
  }
}

.cta-card .text-highlight-char {
  -webkit-text-fill-color: var(--clr-white);
}

.cta-card .highlight-sweep .text-highlight-char {
  animation: charRevealGreen 0.02s ease forwards;
  animation-delay: calc(var(--char-i) * 0.020s);
}

@keyframes charRevealGreen {
  to {
    -webkit-text-fill-color: var(--clr-green);
  }
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  grid-column: 2 / 4;
}

/* About Image Cards */
.about-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-img-card {
  overflow: hidden;
}

.img-wrapper {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.img-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.about-img-card:hover .img-wrapper img {
  transform: scale(1.08);
}

/* ============================================
   SOLUTIONS SECTION
============================================= */

.solutions-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.solutions-header .btn-cta {
  max-width: 220px;
}

.solutions-title-row {
  display: flex;
  flex-direction: column;
  gap: 35px;
  grid-column: 2 / 4;
}

.solutions-header .section-label {
  padding-top: 8px;
}

.solutions-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 500px;
}

/* Carousel */
.solutions-carousel.swiper {
  overflow: hidden;
  padding: 60px 40px 40px;
  position: relative;
}

.solutions-carousel .swiper-button-prev,
.solutions-carousel .swiper-button-next {
  width: 44px;
  height: 44px;
  color: var(--clr-text);
  transition: all var(--transition-base);
  position: absolute;
  top: 22px;
  border-radius: 50%;
}

.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 40px);
  right: auto;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 40px);
  left: auto;
}

.solutions-carousel .swiper-button-prev::after,
.solutions-carousel .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

.solutions-carousel .swiper-button-prev:hover,
.solutions-carousel .swiper-button-next:hover {
  background: var(--clr-green);
  color: #000;
}

.solutions-carousel .swiper-button-disabled {
  opacity: 0.3 !important;
}

.solution-card-inner {
  background: #818181;
  border-radius: var(--radius-xl);
  padding: 50px 55px;
  height: 100%;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.solution-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, #2DFEAA, #6B4DEA);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.solution-card-inner:hover {
  background: #818181;
  transform: translateY(-4px);
}

.solution-icon-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.icon-circle.purple {
  background: var(--clr-green);
  color: #000;
}

.icon-circle.green {
  background: var(--clr-green);
  color: #000;
}

.solution-title {
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  line-height: 1.22;
  color: #DEDEDE;
}

.solution-desc {
  font-size: 1.25rem;
  color: #DEDEDE;
  line-height: 1.22;
  margin-top: auto;
  font-weight: 300;
  margin-bottom: 0;
}

/* ============================================
   WHY TRIPHOS SECTION
============================================= */
.why-section {
  background: var(--clr-white);
  position: relative;
}

.why-section::before {
  background: var(--clr-bg);
  height: 25%;
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100%;
}

.why-wrapper {
  position: relative;
  background: #212121;
  border-radius: 15px;
  z-index: 1;
  overflow: hidden;
  min-height: 810px;
}

.why-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  will-change: width;
  overflow: hidden;
  border-radius: 15px;
}

.why-image-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 25px;
  justify-content: space-between;
  margin-left: 50%;
  position: relative;
  z-index: 1;
}

.why-content .section-label {
  color: var(--clr-white);
  padding-left: 30px;
}

.why-content .label-dot {
  background: var(--clr-white);
}

/* Accordion */
.why-accordion {
  display: flex;
  flex-direction: column;
  padding-bottom: 90px;
}

.accordion-item {
  border-bottom: 1px solid #818181;
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 26px 30px;
  background: none;
  border: none;
  color: var(--clr-white);
  font-size: 36px;
  font-weight: 500;
  cursor: default;
  transition: all var(--transition-base);
  text-align: left;
  letter-spacing: -1.44px;
  line-height: 122%;
}


.accordion-arrow {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--clr-green);
  font-size: 26px;
  transition: all var(--transition-base);
  flex-shrink: 0;
  color: var(--clr-green);
}

.accordion-item.active .accordion-arrow {
  background: var(--clr-green);
  border-color: var(--clr-green);
  color: #000;

}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height var(--transition-smooth),
    padding var(--transition-smooth);
}

.accordion-item.active .accordion-body {
  max-height: 200px;
  padding-bottom: 16px;

}

.accordion-body p {
  font-size: 1.25rem;
  color: #A6A6A6;
  line-height: 1.22;
  margin-bottom: 0;
  padding-left: 30px;
}

/* ============================================
   INDUSTRIES SECTION
============================================= */
.industries-section {
  background: var(--clr-white);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.industry-card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-bg);
  border-radius: 10px;
  padding: 16px 24px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color var(--transition-base);
  pointer-events: none;
}

.industry-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
  border-color: var(--clr-purple);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.industry-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.industry-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 50px;
  gap: 2px;
}

.industry-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.22;
  margin: 0;
}

.industry-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: var(--clr-green);
  color: #000;
}



.industry-desc {
  font-size: 1.25rem;
  color: var(--clr-text);
  line-height: 1.22;
  margin-top: auto;
  font-weight: 300;
}

/* Industry Card Stagger Animation */
.industry-card-anim {
  opacity: 0;
  transform: translateY(80px) scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.industry-card-anim.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Explore Card */
.explore-card {
  display: flex;
  align-items: flex-end;
  background: transparent;
  border: none;
  padding: 0;
}

.explore-card:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.explore-card::before {
  display: none;
}

.explore-card .btn-cta {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
}

.explore-card .btn-cta .btn-arrow {
  background: var(--clr-border);
}

.explore-card .btn-cta:hover {
  background: transparent;
  border-color: var(--clr-purple);
}

.explore-card .btn-cta:hover .btn-arrow {
  background: var(--clr-purple);
}

/* ============================================
   CTA SECTION
============================================= */
.cta-section {
  background: var(--clr-surface);
}

.cta-card {
  position: relative;
  background: linear-gradient(180deg, #000 0%, #6B4DEA 100%);
  border-radius: var(--radius-lg);
  padding: 120px 25px;
  display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
  justify-content: flex-start;
  grid-column: 2 / 4;
}

.cta-card .about-heading {
  color: var(--clr-white);
  margin: 0;
  letter-spacing: -1.92px;
}

.cta-card .about-heading span {
  transition: color 0.5s ease;
}

.cta-card .about-heading span {
  color: var(--clr-green);
}


.cta-section .btn-cta {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  color: var(--clr-white);
  padding-left: 45px;
  background: rgba(107, 77, 234, 0.20);
  position: relative;
  border: none;
}

.cta-section .btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, #818181, #000);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.cta-section .btn-cta:hover {
  background: var(--clr-white);
  color: var(--clr-text);
}

.cta-section .btn-cta .btn-arrow {
  background: var(--clr-purple);
  right: 5px;
}



/* ============================================
   FOOTER
============================================= */
.site-footer {
  background: var(--clr-surface);
  padding: 0px 0 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
}

.footer-heading {
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  color: #818181;
  margin-bottom: 0;
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-menu, .company-menu {
  display: grid;
  gap: 4px;
}

.footer-menu li , .company-menu li{
  display: inline-flex;
}

footer li a {
  font-size: 15px;
  color: var(--clr-white);
  transition: color var(--transition-fast);
  display: inline-flex;
  line-height: 1.6;
  text-transform: capitalize;
}

footer li a:hover{
  color: var(--clr-purple);
}

/* Footer Brand */
.footer-brand {
  display: flex;
  align-items: flex-end;
  margin-bottom: 50px;
}

.logo-img-lg {
  height: 175px;
  width: auto;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  background: url('../images/footer-bg.png') no-repeat center/cover;
  border-radius: var(--radius-lg);
  padding: 35px 60px;

}

.footer-badge-right {
  margin-left: auto;
  max-width: 100%;
  width: 700px;
}


/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 32px 0;
  border-top: 1px solid var(--clr-white);
  border-bottom: 1px solid var(--clr-white);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  transition: color var(--transition-fast);
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.footer-social a img {
  opacity: 0.5;
}

.footer-social a:hover img {
  opacity: 1;
}

.footer-bottom p{
  font-size: 14px;
  color: var(--clr-white);
  margin: 0;
  line-height: 1.5;
}

.footer-credit {
  font-size: 14px;
  color: var(--clr-white);
  line-height: 1.5;
  margin: 0;
}

.footer-bottom-right a {
  color: var(--clr-white);
  transition: color var(--transition-fast);
  position: relative;
}

.footer-bottom-right a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-white);
  transition: width var(--transition-base);
}

.footer-bottom-right a:hover::after {
  width: 100%;
}

/* ============================================
   ANIMATIONS
============================================= */

/* Scroll-triggered animation base states */
.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-scale-in {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade-up {
  transform: translateY(40px);
}

.anim-fade-left {
  transform: translateX(40px);
}

.anim-fade-right {
  transform: translateX(-40px);
}

.anim-scale-in {
  transform: scale(0.92);
}

/* Active states */
.anim-fade-up.in-view,
.anim-fade-left.in-view,
.anim-fade-right.in-view,
.anim-scale-in.in-view {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger Delays */
.anim-delay-1 {
  transition-delay: 0.15s;
}

.anim-delay-2 {
  transition-delay: 0.3s;
}

.anim-delay-3 {
  transition-delay: 0.45s;
}

/* ============================================
   TEXT REVEAL — Word-by-word slide up
============================================= */
.text-reveal .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 6px;
}

.text-reveal .word-inner {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.text-reveal.in-view .word-inner {
  transform: translateY(0);
}

/* Word-by-word fade in */
.text-fade-in .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.text-fade-in .word-inner {
  display: inline-block;
  opacity: 1;
  /* transform: translateY(8px); */
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.text-fade-in.in-view .word-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Line-by-line slide up */
.line-slide-up {
  overflow: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.line-slide-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Split text reveal — words from alternating directions */
.split-reveal .word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 4px;
}

.split-reveal .word-inner {
  display: inline-block;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.split-reveal .word-inner.from-left {
  transform: translateX(-40px);
}

.split-reveal .word-inner.from-right {
  transform: translateX(40px);
}

.split-reveal .word-inner.from-top {
  transform: translateY(-30px);
}

.split-reveal .word-inner.from-bottom {
  transform: translateY(30px);
}

.split-reveal.in-view .word-inner {
  opacity: 1;
  transform: translate(0);
}

/* ============================================
   ACCESSIBILITY
============================================= */
@media (prefers-reduced-motion: reduce) {

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

  html {
    scroll-behavior: auto;
  }

  .anim-fade-up,
  .anim-fade-left,
  .anim-fade-right,
  .anim-scale-in {
    opacity: 1;
    transform: none;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--clr-purple);
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: rgba(124, 58, 237, 0.3);
  color: var(--clr-text);
}

/* ============================================
   ABOUT PAGE
============================================= */
.abt-hero-sec {
  min-height: 75vh;
}

.abt-hero-sec .hero-heading {
  padding-bottom: 0;
  grid-column: 2 / 4;
}

.abt-hero-sec .hero-heading-indent {
  padding-left: 0;
  text-align: left;
  grid-template-columns: 1fr;
}
.abt-hero-sec .hero-heading-indent-inner{grid-column: 1 / 2;}
.abt-hero-sec .hero-text {
     display: grid;
    align-items: center;
    gap: 32px;
    margin-top: 24px;
    grid-template-columns: repeat(3, 1fr)
}

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

.energy-shift-wrapper {
  background: var(--clr-purple);
  border-radius: 0;
  padding: 130px 25px 40px;
  overflow: hidden;
}

.energy-shift-top {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 120px;
  align-items: flex-start;
}

.energy-shift-wrapper .section-label {
  color: var(--clr-white);
  padding-top: 8px;
}

.energy-shift-wrapper .label-dot {
  background: var(--clr-white);
}

.energy-shift-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.17;
  color: var(--clr-white);
  grid-column: 2 / 4;
  letter-spacing: -1.92px;
}

.energy-shift-heading span {
  display:block;
  text-align: right;
}

.energy-shift-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.energy-shift-bottom-inner {
    grid-column: 2 / 4;
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 1fr;
}
.energy-shift-image img{width: 100%;}

.energy-shift-text p {
  font-size: 1.25rem;
  color: var(--clr-white);
  line-height: 1.22;
  margin: 0;
}

.energy-shift-section {
  padding-bottom: 0;
}

.bento-section {
  background: var(--clr-white);
  padding-top: 90px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.bento-card--large {
  grid-column: span 3;
}

.bento-card--icon {
  grid-column: span 3;
}

.bento-card--text,
.bento-card--featured {
  grid-column: span 2;
}

.bento-card {
  background: #DEDEDE;
  border-radius: 10px;
  position: relative;
  min-height: 260px;
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.bento-card-content {
  backface-visibility: hidden;
}

.bento-card--large {
  position: relative;
}

.bento-card--large .bento-card-image {
  position: absolute;
  inset: 0;
}

.bento-card--large .bento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card--large .bento-card-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  display: grid;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  grid-template-columns: 1fr auto;
  gap: 16px;
  height: 100%;
  min-height: 445px;
  background: #212121;
  border-radius: 10px;
}

.bento-card--large .bento-card-title {
  color: var(--clr-white);
}

.bento-card--large .bento-hover-overlay {
  background: #212121;
}

.bento-card--large .bento-hover-body {
  color: var(--clr-white);
}

.bento-card--large .bento-hover-label {
  color: var(--clr-white);
}

.bento-card--large .label-dot {
  background: var(--clr-white);
}

.bento-hover-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #DEDEDE;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  border-radius: 10px;
  backface-visibility: hidden;
  transform: rotateY(180deg);
}

.bento-card.overlay-active {
  transform: rotateY(180deg);
}

.bento-card.overlay-active .bento-hover-overlay {
  pointer-events: auto;
}

.bento-hover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-hover-label {
  color: var(--clr-text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bento-hover-close.green {
  background: var(--clr-green, #00c896);
  color: var(--clr-surface, #1a1a2e);
}

.bento-hover-body {
  color: var(--clr-text);
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 117%;
  letter-spacing: -0.8px;
}

.bento-hover-body p {
  margin: 0 0 16px;
}

.bento-hover-body p:last-child {
  margin-bottom: 0;
}

.bento-hover-body h3 {
  font-size: 2rem;
  letter-spacing: -1.28px;
  line-height: 117%;
  font-weight: 400;
  margin: 0;
}

.bento-card--icon .bento-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.bento-card-bottom {
  display: grid;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  grid-template-columns: 1fr auto;
}

.bento-card--text .bento-card-content {
  padding: 30px;
  display: grid;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
  grid-template-columns: 1fr auto;
  min-height: 475px;
}

.bento-card--featured {
  position: relative;
}

.bento-card--featured .bento-card-image {
  position: absolute;
  inset: 0;
}

.bento-card--featured .bento-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card--featured .bento-card-content,
.bento-card--featured .bento-hover-overlay {
  background: linear-gradient(180deg, #212121 0%, #6B4DEA 100%);
  border-radius: 10px;
}

.bento-card--featured .bento-hover-body {
  color: var(--clr-white);
}

.bento-card--featured .bento-hover-label {
  color: var(--clr-white);
}

.bento-card--featured .label-dot {
  background: var(--clr-white);
}

.bento-card--featured .bento-card-title {
  color: var(--clr-white);
}

.bento-card-title {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.22;
  margin: 0;
  color: var(--clr-text);
  letter-spacing: -1.44px;
}

.bento-card-arrow,
.bento-hover-close {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  cursor: pointer;
}

.bento-card-arrow.green {
  background: var(--clr-green);
  color: #000;
}

.bento-card-arrow.green-border,
.bento-hover-close.green-border {
  background: var(--clr-surface);
  color: var(--clr-white);
  border: 1px solid var(--clr-green);
}

.bento-card--large .bento-card-arrow,
.bento-card--text .bento-card-arrow {
  align-self: flex-end;
}

.bento-card--text .bento-card-content {
  gap: 16px;
}

.bento-card-overlay .bento-card-arrow {
  align-self: flex-end;
}

/* Why Triphos — About Page */
.why-triphos-section {
  background: var(--clr-bg);
  padding-top: 120px;
}

.why-triphos-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--clr-text);
  margin-top: 24px;
  margin-bottom: 50px;
  text-align: right;
  letter-spacing: -1.92px;
}

.why-triphos-heading .text-highlight {
  display: block;
}

.why-triphos-heading.text-fade-in .word-mask {
  display: inline;
}

.why-carousel-wrapper {
  position: relative;
}

.why-carousel-nav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
}

.why-carousel-nav .why-nav-btn {
  pointer-events: auto;
}

.why-nav-btn {
  height: 52px;
  border-radius: 50%;
  border: none;
  background:transparent;
  color: #404040;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.why-nav-btn:hover {
  color: #000;
}

.why-carousel.swiper {
  padding-top: 110px;
  overflow: hidden;
}

.why-carousel .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
}

.why-slide {
  border-radius: 15px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-slide-title {
  font-size: 20px;
  font-weight: 400;
  color: var(--clr-text);
  margin: 0;
  max-width: 350px;
}

.why-slide-bars {
  --bar-fill: 0;
  width: 100%;
  height: 349px;
  position: relative;
  background-image:
    linear-gradient(0deg, #000 0%, #000 100%),
    repeating-linear-gradient(90deg,
      rgba(129, 129, 129, 0.7) 0px,
      rgba(129, 129, 129, 0.7) 1px,
      transparent 1px,
      transparent 20px);
  background-size:
    1px 100%,
    calc(100% - 20px) 60%;
  background-position:
    left bottom,
    20px bottom;
  background-repeat: no-repeat;
}

.why-slide-bars::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(0deg, #000 0%, #000 100%),
    repeating-linear-gradient(90deg,
      #000 0px,
      #000 1px,
      transparent 1px,
      transparent 20px);
  background-size:
    1px 100%,
    calc(100% - 20px) 60%;
  background-position:
    left bottom,
    20px bottom;
  background-repeat: no-repeat;
  clip-path: var(--wave-clip, polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%));
  transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-slide-content {
  position: absolute;
  left: 23px;

}
.why-slide-title{
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.swiper-slide-active .why-slide-title {
  opacity: 1;
  transform: translateY(0);
}

/* Looking Ahead */
.looking-ahead-section {
  background: var(--clr-bg);
  padding-bottom: 0;
}

.looking-ahead-section .about-right {
  gap: 40px;
  grid-column: 2 / 4;
}

.looking-ahead-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  margin-bottom: 60px;
  align-items: flex-start;
}

.looking-ahead-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--clr-text);
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: -1.92px;
}

.looking-ahead-heading.purprle {
  color: var(--clr-text);
  transition: color 0.5s ease;
}

.about-right:hover .looking-ahead-heading.purprle {
  color: var(--clr-purple);
}

/* Icons Strip */
.icons-strip-section {
  background: var(--clr-purple);
  padding: 60px 0;
}

.icons-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.icon-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.strip-icon {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--clr-white);
}

.strip-label {
  font-size: 25px;
  font-weight: 400;
  color: var(--clr-white);
  text-transform: capitalize;
  letter-spacing: -1px;
}

/* ============================================
   CONTACT PAGE
============================================= */
.contact-hero-section {
  padding: 180px 0 60px;
  background: var(--clr-bg);
}

.contact-hero-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  align-items: flex-start;
}

.contact-hero-left {
  padding-top: 8px;
}

.contact-heading {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.17;
  color: var(--clr-text);
  margin: 0;
  letter-spacing: -1.92px;
}

.contact-heading .text-highlight{
  display: block;
}

/* .contact-hero-right:hover .contact-heading .text-purple {
  color: var(--clr-purple);
} */

.contact-form-section {
  padding: 60px 0 0;
  background: var(--clr-bg);
  padding-bottom: 0!important;
}
  .contact-form-wrapper{padding-bottom: 80px;}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  align-items: flex-end;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0;
  justify-self: start;
}
.contact-hero-right {
    grid-column: 2 / 4;
}

.contact-info-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-text);
}

.contact-info-value {
  font-size: 13px;
  color: var(--clr-text);
  font-weight: 400;
  transition: color var(--transition-fast);
  max-width: 365px;
}

a.contact-info-value:hover {
  color: var(--clr-purple);
}

.contact-info-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info-arrow:hover {
  background: var(--clr-purple);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 77, 234, 0.3);
}

.contact-form {
  margin-left: auto;
  width: 100%;
  grid-column: 2 / 4;
}

.form-group {
  margin-bottom: 24px;
}
.form-group p br{display:none;}
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--clr-text);
  margin-bottom: 8px;
}
.screen-reader-response {
    display: none;
}
span.wpcf7-not-valid-tip{color: red;font-size: 12px;display:none}
.form-input.wpcf7-not-valid {
    border-color: red;
}
.wpcf7-response-output{
  font-size: 16px;
}
.form-input {
  width: 100%;
  padding: 16px 25px;
  background: rgba(217, 217, 217, 0.20);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-text);
  transition: all var(--transition-base);
  outline: none;
  resize: none;
}

.form-input::placeholder {
  color: #828282;
  font-weight: 400;
}

.form-input:focus {
  border-color: var(--clr-purple);
  box-shadow: 0 0 0 3px rgba(107, 77, 234, 0.1);
}

.form-textarea {
  height: 160px;
}

.btn-submit {
  background: var(--clr-purple);
  border-color: var(--clr-purple);
  color: var(--clr-white);
  padding: 18px 40px 18px 28px;
  min-width: 220px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
}
.btn-submit br{display:none;}

.btn-submit:hover {
  background: var(--clr-white);
  color: var(--clr-text);
}

.btn-submit .btn-arrow {
  background: var(--clr-white);
  width: 50px;
  height: 50px;
}

.contact-map {
  padding: 0 0 40px;
  
}

.map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #c4c4c4;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ============================================
   SOLUTIONS PAGE
============================================= */
.sol-hero-sec {
  min-height: 100vh;
  padding-bottom: 15px;
  flex-direction: column;
  justify-content: flex-end;
}

.sol-hero-sec .hero-heading {
  padding-bottom: 0;
  font-size: 64px;
  letter-spacing: -2.56px;
}

.sol-hero-sec .hero-heading-indent {
  padding-left: 250px;
  text-align: left;
  display:block;
}

.sol-hero-sec .hero-text {
  max-width: 100%;
}

.sol-hero-desc {
  max-width: 690px;
  margin-left: auto;
  margin-top: 24px;
  font-size: 1.25rem;
  line-height: 1.17;
  letter-spacing: -0.8px;
}

.sol-categories-section {
  padding-top: 25px;
  z-index: 1;
  width: 100%;
}

.sol-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  border-top: 1px solid rgba(217, 217, 217, 0.5);
  padding-top: 25px;
}

.sol-category-card {
  background: var(--clr-white);
  border-radius: 10px;
  padding: 20px 20px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 250px;
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--clr-text);
}

.sol-category-card:hover {
  border-color: var(--clr-purple);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(107, 77, 234, 0.12);
}

.sol-category-title {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.17;
  margin: 0;
  color: var(--clr-text);
  letter-spacing: -0.96px;
}

.sol-category-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #000;
  transition: all var(--transition-base);
  align-self: flex-start;
  margin-left: auto;
}

.sol-category-card:hover .sol-category-arrow {
  background: var(--clr-purple);
  color: var(--clr-white);
}

.sol-details-section {
  background: var(--clr-bg);
  padding: 40px 0;
}

.sol-cards {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.sol-detail-card {
  display: grid;
  grid-template-columns: 455px auto;
  overflow: hidden;
  gap: 35px;
}

.sol-detail-image {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 16px;
}

.sol-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform var(--transition-slow);
}

.sol-detail-card:hover .sol-detail-image img {
  transform: scale(1.05);
}

.sol-detail-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 25px;
  line-height: 1.17;
  color: var(--clr-white);
  margin: 0;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: -1.44px;
}

.sol-detail-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  background: var(--clr-white);
  border-radius: 16px;
}

.sol-detail-top {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.sol-detail-desc {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.17;
  color: var(--clr-text);
  margin: 0;
  flex: 1;
  max-width: 425px;
  letter-spacing: -0.8px;
}

.sol-detail-expand {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #000;
  flex-shrink: 0;
  cursor: pointer;
  transition: all var(--transition-base);
  position: absolute;
  top: 20px;
  right: 20px;
}

.sol-detail-expand:hover {
  background: var(--clr-purple);
  color: var(--clr-white);
}

.sol-detail-pain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-detail-pain-points.sol-pain-5col {
  grid-template-columns: repeat(5, 1fr);
}

.sol-detail-pain-points.sol-pain-3col {
  grid-template-columns: repeat(3, 1fr);
}

.sol-pain-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.sol-pain-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--clr-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-pain-label {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.17;
  color: #6C6C6C;
  letter-spacing: -0.96px;
}

/* Expanded State — Overlay approach */
@keyframes overlaySlideDown {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes overlaySlideUp {
  from {
    clip-path: inset(0 0 0 0);
  }
  to {
    clip-path: inset(0 0 100% 0);
  }
}

.sol-detail-content-wrapper {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sol-detail-content-wrapper .sol-detail-content {
  flex: 1;
}

.sol-detail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--clr-purple);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 30px;
  border-radius: 16px;
  clip-path: inset(0 0 100% 0);
  pointer-events: none;
}

.sol-detail-overlay .sol-detail-top {
  align-items: center;
}

.sol-detail-overlay .sol-detail-expand {
  background: var(--clr-surface-3);
  color: var(--clr-white);
}

.sol-detail-overlay .sol-detail-expand:hover {
  background: var(--clr-green);
  color: #000;
}

.sol-detail-overlay .sol-detail-expanded {
  display: block;
}

.sol-detail-card.expanded .sol-detail-overlay {
  clip-path: inset(0 0 0 0);
  animation: overlaySlideDown 0.5s ease forwards;
  pointer-events: auto;
}

.sol-detail-card.collapsings .sol-detail-overlay {
  animation: overlaySlideUp 0.5s ease forwards;
  pointer-events: none;
}

.sol-detail-card .section-label {
  color: var(--clr-white);
  display: none;
}

.sol-detail-card .section-label .label-dot {
  background: var(--clr-white);
}

.sol-detail-card.expanded .section-label {
  display: block;
}

.sol-expanded-desc {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.17;
  color: var(--clr-white);
  margin: 0;
  letter-spacing: -1.44px;
}

.sol-expanded-desc code {
  color: var(--clr-green);
  font-size: inherit;font-family: inherit;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.header .why-triphos-heading{margin-top: 0;}



.contact .logo-img {
    filter: invert(1) brightness(0);
}
.contact .main-menu a {
    color: var(--clr-text);
}
body.contact[style*="overflow: hidden"] .logo-img, body.contact .navbar-main.scrolled .logo-img{
    filter: none;
}

body.contact .navbar-main.scrolled .main-menu a {
    color: var(--clr-white);
}
.mobile-menu.open:after {
    content: "";
    width: 100%;
    height: 1px;
    background: rgba(217, 217, 217, 0.5);
    top: 92px;
    position: absolute;
    left: 0;
}
body.contact .navbar-main{border-color: rgba(0, 0, 0, 0.3);}
.why-carousel-nav .why-nav-btn{display: none;}

/* ============================================
   PROJECTS GRID
============================================= */
.projects-section {
  background: var(--clr-bg);
}

.projects-section .section-label {
  margin-bottom: 25px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.project-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  background: var(--clr-surface);
  color: var(--clr-white);
}

.project-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-card-img {
  transform: scale(1.05);
}

.project-card-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.project-card-title {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -1.92px;
  margin: 0;
  color: var(--clr-white);
}

.project-card-usecase {
  font-size: 14px;
  letter-spacing: 0.42px;
  text-transform: uppercase;
  color: var(--clr-white);
}

.projects-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  padding: 0;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.42px;
  color: var(--clr-text);
  cursor: pointer;
}

.projects-more[disabled] {
  opacity: 0.5;
  cursor: default;
}

.projects-more-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  transition: transform var(--transition-base);
  rotate: 90deg;
}

.projects-more:hover .projects-more-arrow {
  transform:translate(4px,-4px);
}

/* ============================================
   PROJECT DETAIL
============================================= */
.project-detail-section {
  background: var(--clr-bg);
  padding: 55px 0;
}

.project-detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: stretch;
}

.project-detail-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.project-detail-name {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -1.92px;
  margin: 0;
  color: #000;
}

.project-detail-location {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.42px;
 color: #000;
}

.project-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-spec {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.42px;
}

.project-spec-label {
  color: var(--clr-text);
}

.project-spec-value {
  color: var(--clr-purple);
}

.project-detail-image {
  overflow: hidden;
  border-radius: 8px;
  min-height: 400px;
}

.project-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-blocks {
  margin-top: 45px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 45px;
}

.project-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  padding: 35px 0;
  align-items: start;
}

.project-block-text {
  font-size: 1.25rem;
  line-height: 1.22;
  margin: 0;
}

.project-detail-block-highlight .project-block-text {
  font-size: 48px;
  font-weight: 400;
  line-height: 1.17;
  letter-spacing: -1.92px;
  color: var(--clr-purple);
}

.project-detail-back {
  margin-top: 10px;
}
.projects .hero-heading, .single-cpt-projects .hero-heading{padding-bottom: 0;}
.projects .hero-description, .single-cpt-projects .hero-description{max-width:520px}