.hero-landing {
  background-image: url("/assets/hero-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
}

.hexagon-shape {
  width: clamp(500px, 28vw, 500px);
  height: auto;
  max-width: none;
  pointer-events: none;
}

.input-style {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ffffff40;
  border-radius: 8px;
  background: #ffffff08;
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
  outline: white;
}

@media (max-width: 640px) {
  .hexagon-shape {
    width: clamp(120px, 36vw, 220px);
  }
}

.site-header .brand,
.site-header .nav a {
  color: #000000;
}

.site-header .nav a {
  transition: color 0.2s ease;
}
.site-header .nav a:hover {
  color: var(--btn-secondary-bg);
}
.site-header.scrolled .nav a:hover {
  color: var(--btn-secondary-bg);
}

.site-header.scrolled .brand,
.site-header.scrolled .nav a {
  color: #ffffff;
}

/* Who We Are */
#who-we-are {
  background: var(--bg);
  padding: 60px 0 80px;
}

.who-inner {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.who-title {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 16px;
  font-weight: 700;
}

.who-sub {
  color: var(--muted);
  margin: 0 0 50px;
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Who Cards Grid */
.who-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 100px;
  margin: 0 auto 50px;
  padding: 0 20px;
  justify-items: center;
  max-width: 1400px;
}

/* Central Progress Bar */
.progress-bar-container {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 1;
}

.progress-bar {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(116, 80, 204, 0.2) 0%,
    rgba(116, 80, 204, 0.1) 100%
  );
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(116, 80, 204, 0.15) 50%,
    transparent 100%
  );
  animation: progressShimmer 4s ease-in-out infinite;
}

@keyframes progressShimmer {
  0%,
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    transform: translateY(100%);
    opacity: 1;
  }
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(
    180deg,
    #7450cc 0%,
    #639cd9 30%,
    #ffffff 50%,
    #639cd9 70%,
    #7450cc 100%
  );
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(116, 80, 204, 0.6), 0 0 40px rgba(99, 156, 217, 0.3),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
  animation: progressGlow 3s ease-in-out infinite alternate;
}

@keyframes progressGlow {
  0% {
    box-shadow: 0 0 20px rgba(116, 80, 204, 0.6),
      0 0 40px rgba(99, 156, 217, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 30px rgba(116, 80, 204, 0.8),
      0 0 60px rgba(99, 156, 217, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.3);
  }
}

/* Timeline Items */
.timeline-item {
  position: relative;
  margin: 120px 0;
  display: flex;
  align-items: center;
}

.timeline-item.left {
  justify-content: flex-end;
  padding-right: 10px;
}

.timeline-item.right {
  justify-content: flex-start;
  padding-left: 10px;
}

.timeline-content {
  max-width: 350px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.right .timeline-content {
  transform: translateX(50px);
}

.timeline-content.animate {
  opacity: 1;
  transform: translateX(0);
}

/* Timeline Dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #7450cc, #639cd9);
  border: 4px solid var(--bg);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(116, 80, 204, 0.2);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-dot.active {
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 8px rgba(116, 80, 204, 0.4),
    0 0 20px rgba(116, 80, 204, 0.6), 0 0 40px rgba(99, 156, 217, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* Enhanced Hexagonal Cards */
.hex-card {
  background-image: url("/assets/who-we-are/polygon.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 400px;
  height: 400px;
  transition: all 0.3s ease;
}

.hex-card:hover {
  filter: drop-shadow(0 30px 60px rgba(116, 80, 204, 0.4));
  scale: 1.01;
}

.hex-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
  position: relative;
}

.hex-card:hover .hex-icon {
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

/* Invert icon colors for SVGs placed inside .hex-icon */
.hex-icon-img {
  width: 50px;
  height: 50px;
  filter: invert(1);
}

.hex-title {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.3;
  color: #1a1a2e;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hex-body {
  color: #2a2a3e;
  font-size: 16px;
  line-height: 1.6;
  max-width: 280px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.who-foot {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.who-cta {
  display: inline-flex;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #who-we-are {
    padding: 40px 0 60px;
  }

  .who-cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0px;
  }

  .hex-card {
    max-width: 320px;
    height: 320px;
  }

  .hex-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .hex-body {
    font-size: 14px;
  }
}

.who-title,
.who-sub,
.timeline-content,
.who-foot,
.who-cta {
  opacity: 1;
  transform: none;
}

/* Hexagon Shape Styling */
.hexagon-shape {
  filter: hue-rotate(240deg) brightness(0.6);
  z-index: 1;
  pointer-events: none;
  animation: hexagonFloat 25s ease-in-out infinite;
}

.hexagon-shape:nth-child(1) {
  animation: hexagonFloat1 20s ease-in-out infinite;
}

.hexagon-shape:nth-child(2) {
  animation: hexagonFloat2 30s ease-in-out infinite reverse;
}

.hexagon-shape:nth-child(3) {
  animation: hexagonFloat3 22s ease-in-out infinite;
}

.hexagon-shape:nth-child(4) {
  animation: hexagonFloat4 28s ease-in-out infinite reverse;
}

@keyframes hexagonFloat1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, -30px) rotate(180deg);
  }
  75% {
    transform: translate(-30px, 20px) rotate(270deg);
  }
}

@keyframes hexagonFloat2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-25px, 25px) rotate(120deg);
  }
  66% {
    transform: translate(35px, -15px) rotate(240deg);
  }
}

@keyframes hexagonFloat3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  40% {
    transform: translate(20px, 30px) rotate(144deg);
  }
  80% {
    transform: translate(-25px, -20px) rotate(288deg);
  }
}

@keyframes hexagonFloat4 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  30% {
    transform: translate(-30px, -25px) rotate(108deg);
  }
  60% {
    transform: translate(25px, 35px) rotate(216deg);
  }
}

/* Animated Hexagon Backgrounds */
.hexagon-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}

.hexagon-bg {
  position: absolute;
  background-image: url("/assets/hexagon-shape.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.3;
  filter: hue-rotate(240deg) brightness(0.8);
}

/* Hero Section Hexagons */
.hexagon-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 15%;
  animation: float1 20s ease-in-out infinite;
  border: 2px solid red; /* Temporary debug border */
}

.hexagon-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 20%;
  animation: float2 25s ease-in-out infinite reverse;
}

.hexagon-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 70%;
  animation: float3 30s ease-in-out infinite;
  opacity: 0.06;
}

.hexagon-4 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 25%;
  animation: float4 18s ease-in-out infinite reverse;
}

.hexagon-5 {
  width: 100px;
  height: 100px;
  top: 5%;
  right: 5%;
  animation: float5 22s ease-in-out infinite;
  opacity: 0.08;
}

/* Who We Are Section Hexagons */
.hexagon-6 {
  width: 90px;
  height: 90px;
  top: 15%;
  left: 10%;
  animation: float6 28s ease-in-out infinite;
}

.hexagon-7 {
  width: 130px;
  height: 130px;
  bottom: 25%;
  right: 15%;
  animation: float7 24s ease-in-out infinite reverse;
  opacity: 0.07;
}

.hexagon-8 {
  width: 70px;
  height: 70px;
  top: 50%;
  right: 8%;
  animation: float8 20s ease-in-out infinite;
}

.hexagon-9 {
  width: 110px;
  height: 110px;
  bottom: 10%;
  left: 5%;
  animation: float9 26s ease-in-out infinite reverse;
  opacity: 0.05;
}

/* Floating Animations */
@keyframes float1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -20px) rotate(90deg);
  }
  50% {
    transform: translate(-20px, -40px) rotate(180deg);
  }
  75% {
    transform: translate(-40px, 20px) rotate(270deg);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-25px, 30px) rotate(120deg);
  }
  66% {
    transform: translate(40px, -15px) rotate(240deg);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(20px, 25px) rotate(72deg);
  }
  40% {
    transform: translate(-30px, 10px) rotate(144deg);
  }
  60% {
    transform: translate(15px, -35px) rotate(216deg);
  }
  80% {
    transform: translate(-10px, -20px) rotate(288deg);
  }
}

@keyframes float4 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(35px, -30px) rotate(180deg);
  }
}

@keyframes float5 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(-20px, 35px) rotate(90deg);
  }
  50% {
    transform: translate(25px, 20px) rotate(180deg);
  }
  75% {
    transform: translate(30px, -25px) rotate(270deg);
  }
}

@keyframes float6 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  30% {
    transform: translate(40px, -20px) rotate(108deg);
  }
  60% {
    transform: translate(-15px, 35px) rotate(216deg);
  }
}

@keyframes float7 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  40% {
    transform: translate(-35px, -25px) rotate(144deg);
  }
  80% {
    transform: translate(20px, 30px) rotate(288deg);
  }
}

@keyframes float8 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(25px, 20px) rotate(90deg);
  }
  50% {
    transform: translate(-30px, -15px) rotate(180deg);
  }
  75% {
    transform: translate(15px, -40px) rotate(270deg);
  }
}

@keyframes float9 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  35% {
    transform: translate(-25px, 40px) rotate(126deg);
  }
  70% {
    transform: translate(45px, -10px) rotate(252deg);
  }
}

/* Responsive Hexagons */
@media (max-width: 768px) {
  .hexagon-bg {
    opacity: 0.05;
  }

  .hexagon-1,
  .hexagon-3,
  .hexagon-7,
  .hexagon-9 {
    width: 60px;
    height: 60px;
  }

  .hexagon-2,
  .hexagon-4,
  .hexagon-6,
  .hexagon-8 {
    width: 40px;
    height: 40px;
  }

  .hexagon-5 {
    width: 50px;
    height: 50px;
  }
}

/* Projects Home Section Styles */
.projects-home-section {
  background-color: #342056;
  color: white;
  min-height: 100vh;
  display: flex;
}

.projects-home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.projects-home-header {
  margin-bottom: 40px;
  text-align: center;
}

.projects-home-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
}

.projects-home-subtitle {
  font-size: 1.2rem;
  color: #ffffff;
  font-weight: 300;
}

.projects-home-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}

.project-home-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-home-cta {
  align-self: flex-start;
}

.project-home-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.project-home-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 20px;
  transition: background 0.5s ease;
  z-index: 1;
  opacity: 0.9;
  filter: blur(40px);
  box-shadow: 0 0 60px rgba(255, 255, 255, 0.3),
    0 0 120px rgba(255, 255, 255, 0.2), inset 0 0 60px rgba(255, 255, 255, 0.1);
}

.project-home-image-container {
  position: relative;
  z-index: 2;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.project-home-main-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.project-home-main-image:hover {
  transform: scale(1.02);
}

.project-home-navigation {
  display: flex;
  justify-content: center;
}

.project-home-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.project-home-icons .project-icon {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.project-home-icons .project-icon img {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.project-home-icons .project-icon.active {
  opacity: 1;
  transform: scale(1.1);
}

.project-home-icons .project-icon.inactive {
  opacity: 0.4;
  position: relative;
}

.project-home-icons .project-icon.inactive::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(52, 32, 86, 0.6);
  z-index: 1;
}

.project-home-icons .project-icon:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.project-home-icons .project-icon.active:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Responsive Design for Projects Home Section */
@media (max-width: 768px) {
  .projects-home-section {
    padding: 40px 0 30px;
  }

  .projects-home-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .project-home-visual {
    order: -1;
    min-height: 300px;
  }

  .project-home-icons {
    gap: 15px;
  }

  .project-home-icons .project-icon {
    width: 50px;
    height: 50px;
  }

  .projects-home-header {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .projects-home-container {
    padding: 0 15px;
  }

  .project-home-visual {
    min-height: 250px;
  }

  .project-home-icons .project-icon {
    width: 45px;
    height: 45px;
  }

  .project-home-icons {
    gap: 10px;
  }
}
