/* ligh blue accents */
:root {
  --primary-light-blue: #0e96d8;
  --primary-blue: #3360f2;
  --primary-dark: #0d3b7a;
  --accent-green: #89bc77;
  --accent-teal: #2a9d8f;
  --text-dark: #1a2332;
  --text-light: #ffffff;
  --text-muted: #5a6a7a;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --gradient-blue: linear-gradient(135deg, #1a5fb4 0%, #0d3b7a 100%);
  --gradient-premium: linear-gradient(
    135deg,
    #0d3b7a 0%,
    #3b65f9 50%,
    #93c47d 100%
  );
  --shadow-sm: 0 2px 8px rgba(13, 59, 122, 0.08);
  --shadow-md: 0 4px 20px rgba(13, 59, 122, 0.12);
  --shadow-lg: 0 8px 32px rgba(13, 59, 122, 0.16);
  --shadow-glow: 0 0 40px rgba(26, 95, 180, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  /* background: linear-gradient(
    135deg,
    #0c0c1d 0%,
    #1a1a3a 25%,
    #2d1f4a 50%,
    #1a1a3a 75%,
    #0c0c1d 100%
  ); */
  background: linear-gradient(
    135deg,
    #010d41 0%,
    #041250 25%,
    #081a50 50%,
    #041250 75%,
    #010d41 100%
  );
  background-attachment: fixed;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/clouds.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.navbar {
  background: transparent;
  height: 70px;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.navbar:has(.nav-links.active),
.navbar.scrolled {
  background: rgba(12, 12, 29, 0.3); /* semi-transparent dark blue */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(13, 59, 122, 0.08);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  display: flex;
  margin: 8px auto 0 auto;
  max-width: 1200px;
  padding: 0 24px;
  justify-content: space-between;
}

.logo {
  font-size: 1px;
  /* line-height: 48px; */
}

.logo img {
  height: 48px;
  background: transparent;
  border-radius: 8px;
  padding: 4px 8px 4px 0;
}

.nav-links {
  /* align-items: center; */
  display: flex;
  gap: 32px;
  line-height: 1;
  list-style: none;
  margin-top: 18px;
  /* padding-bottom: 10px; */
}

.nav-links a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-light);
}

.nav-links a:hover {
  color: var(--accent-green);
}

.nav-links a.active {
  color: var(--primary-blue);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--accent-green);
}

.navbar.scrolled .nav-links a.active {
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn span {
  background: var(--text-light);
}

.hero {
  align-items: center;
  background: transparent;
  justify-content: center;
  min-height: auto;
  padding: 150px 0 100px;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transition: left 0.5s ease;
}

.btn:hover::after {
  left: 100%;
}

.btn-primary {
  background: var(--primary-light-blue);
  color: var(--text-light);
  /* box-shadow: 0 4px 15px rgba(61, 158, 66, 0.3); */
}

.btn-primary:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  /* box-shadow: 0 6px 20px rgba(61, 158, 66, 0.4); */
}

.section {
  min-height: 100vh;
  padding: 50px 0 100px 0;
  position: relative;
}

.section-header {
  position: relative;
  z-index: 10;
}

.section-header h1,
.section-header h2 {
  color: var(--text-light);
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: clamp(2rem, 4vw, 3rem);
  margin-bottom: 24px;
  padding-top: clamp(calc(57px * 0.7), calc(12vw * 0.7), calc(180px * 0.7));
  text-align: center;
}

.section-background-text {
  color: transparent;
  font-family: Georgia, serif;
  font-size: clamp(57px, 12vw, 180px);
  font-weight: 700;
  left: 50%;
  letter-spacing: 0.08em;
  line-height: clamp(57px, 12vw, 180px);
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 0) 85%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 0) 85%
  );
  pointer-events: none;
  position: absolute;
  -webkit-text-stroke: 2px rgba(14, 150, 216, 1);
  text-stroke: 2px rgba(14, 150, 216, 1);
  text-transform: uppercase;
  top: 0;
  transform: translateX(-50%);
  -webkit-user-select: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.section .container {
  position: relative;
  z-index: 1;
}

.container-approach h2 {
  color: var(--text-light);
  font-family: Georgia, serif;
  font-size: 3rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 3rem;
  margin-bottom: 24px;
}

.container-approach .next-section-button-container {
  text-align: left;
}

.next-section-button-impact {
  display: none;
}

@media (max-width: 768px) {
  .container-approach {
    text-align: center;
  }

  .container-approach .next-section-button-container {
    display: none;
  }

  .next-section-button-impact {
    display: block;
  }
}

.text-center {
  text-align: center;
}

.section-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.125rem;
  max-width: 900px;
  margin: 0 auto 16px;
}

.section-hero {
  background: transparent;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding-top: 40px;
  margin-top: -60px;
}

.section-header .hero-main-heading {
  font-family: Georgia, serif;
  font-size: clamp(6.9rem, 13.8vw, 11.05rem);
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: clamp(6.9rem, 13.8vw, 11.05rem);
  margin-bottom: 0;
  padding-top: clamp(calc(57px * 0.45), calc(12vw * 0.45), calc(180px * 0.45));
  position: relative;
  z-index: 1;
}

.hero-main-heading-second-line {
  display: block;
  margin-top: clamp(-49px, -3.4vw, -30px);
}

.hero-sub-heading {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  font-style: italic;
  color: #0e96d8;
  margin-bottom: 28px;
  margin-top: 18px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.hero-body {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 40px;
}

.flip-card {
  height: 200px;
  margin: 0 auto;
  perspective: 1000px;
  width: 320px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
}

.flip-card-front,
.flip-card-back {
  align-items: center;
  backface-visibility: hidden;
  background-clip: padding-box;
  background-color: rgba(51, 96, 242, 0.25);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: absolute;
  text-align: center;
  width: 100%;
}

.flip-card-front {
  box-shadow:
    0 8px 32px rgba(26, 95, 180, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.1);
  border: 13px solid rgba(51, 96, 242, 0.25);
}

/* .flip-card-front-inner:before {
  content: "";
  border: 13px solid black;
  border-radius: 13px;
  position: absolute;
  top: -13px;
  bottom: -13px;
  right: -13px;
  left: -13px;
} */

.flip-card-front-inner {
  background: rgba(51, 96, 242, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  height: 100%;
  padding: 28px 28px;
  width: 100%;
}

.flip-card-front-inner .more-info-icon {
  height: 24px;
  opacity: 0.8;
  position: absolute;
  right: 10px;
  top: 10px;
}

.flip-card-front-inner svg.more-info-icon path {
  fill: var(--accent-green);
}

.flip-card-back-inner {
  align-items: center;
  background: rgba(51, 96, 242, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  height: 100%;
  padding: 28px 28px;
  width: 100%;
}

.flip-card-back {
  background-clip: padding-box;
  background-color: rgba(51, 96, 242, 0.25);
  color: var(--text-light);
  transform: rotateY(180deg);
  border: 13px solid rgba(51, 96, 242, 0.25);
  box-shadow: 0 8px 32px rgba(26, 95, 180, 0.25);
}

.flip-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #ffffff;
}

.flip-card-icon svg {
  width: 40px;
  height: 40px;
}

.flip-card-front h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.flip-card-front-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.4;
}

.flip-card-back p {
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

@media (max-width: 768px) {
  .hero-container {
    padding-top: 60px;
  }

  .hero-body {
    font-size: 1rem;
    padding: 0 20px;
  }
}

.section-impact {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.section-impact::before {
  display: none;
}

.section-impact::after {
  display: none;
  pointer-events: none;
}

.section-impact .container {
  position: relative;
  z-index: 1;
}

.flip-cards-wrapper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 320px);
  gap: 30px;
  justify-content: center;
  perspective: 1000px;
  position: relative;
  z-index: 1;
  padding: 30px 0;
}

@media (max-width: 1049px) {
  .flip-cards-grid {
    grid-template-columns: repeat(2, 320px);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .flip-cards-wrapper {
    padding: 20px 0;
  }

  .flip-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 10px 0;
  }

  .flip-card {
    height: 220px;
    max-width: 300px;
    width: 100%;
  }

  .flip-card-front,
  .flip-card-back {
    /* padding: 20px; */
  }

  .flip-card-icon {
    /* height: 44px; */
    margin-bottom: 10px;
    /* width: 44px; */
  }

  .flip-card-icon svg {
    width: 24px;
    height: 24px;
  }

  .flip-card-front h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
  }

  .flip-card-front-text {
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .flip-card-back p {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}

.section-approach {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.section-approach::before,
.section-approach::after {
  display: none;
}

.section-approach .container {
  align-items: center;
  display: flex;
  flex-direction: row-reverse;
  gap: 50px;
  margin-top: 100px;
  /* padding: 0 100px; */
  position: relative;
  z-index: 1;
}

.venn-container {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.venn-diagram-layout {
  position: relative;
  width: 480px;
  height: 450px;
}

.venn-flip-card {
  position: absolute;
  width: 270px;
  height: 270px;
  perspective: 1000px;
}

.venn-flip-card .more-info-icon {
  /* bottom: 40px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
   */
  height: 24px;
  margin-top: 15px;
}

.venn-flip-card svg.more-info-icon path {
  fill: var(--accent-green);
}

.venn-card-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.venn-card-2 {
  bottom: 0;
  left: 0;
  z-index: 2;
}

.venn-card-3 {
  bottom: 0;
  right: 0;
  z-index: 3;
}

.venn-flip-inner {
  cursor: pointer;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  width: 100%;
}

.venn-flip-front,
.venn-flip-back {
  align-items: center;
  backface-visibility: hidden;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 8px 32px rgba(26, 95, 180, 0.25),
    0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  position: absolute;
  text-align: center;
  width: 100%;
}

.venn-flip-front {
  /* background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--accent-teal) 100%
  ); */
}

.venn-icon {
  margin: -15px auto 10px auto;
  color: #ffffff;
  opacity: 0.9;
}

.venn-card-2 .venn-icon,
.venn-card-3 .venn-icon {
  margin: 5px auto 10px auto;
}

.venn-flip-front h3 {
  font-size: 1.3rem;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.venn-flip-front-inner {
  align-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.venn-flip-back-inner {
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: 10px 20px;
  width: 100%;
}

.venn-flip-back {
  transform: rotateY(180deg);
}

.venn-flip-back ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.venn-flip-back li {
  font-size: 1rem; /*0.8rem;*/
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 6px;
}

.venn-flip-back li:last-child {
  margin-bottom: 0;
}

.venn-card-1 .venn-flip-front {
  border: 12px solid rgba(12, 104, 149, 0.25);
}

.venn-card-1 .venn-flip-back {
  border: 12px solid rgba(12, 104, 149, 0.25);
}

.venn-card-1 .venn-flip-front-inner {
  background: rgba(12, 104, 149, 0.5);
}

.venn-card-1 .venn-flip-back-inner {
  background: rgba(12, 104, 149, 1);
}

.venn-card-2 .venn-flip-front {
  border: 12px solid rgba(51, 96, 242, 0.25);
}

.venn-card-2 .venn-flip-back {
  border: 12px solid rgba(51, 96, 242, 0.25);
}

.venn-card-2 .venn-flip-front-inner {
  background: rgba(51, 96, 242, 0.5);
}

.venn-card-2 .venn-flip-back-inner {
  background: rgba(51, 96, 242, 1);
}

.venn-card-3 .venn-flip-front {
  border: 12px solid rgba(20, 176, 251, 0.25);
}

.venn-card-3 .venn-flip-back {
  border: 12px solid rgba(20, 176, 251, 0.25);
}

.venn-card-3 .venn-flip-front-inner {
  background: rgba(20, 176, 251, 0.5);
}

.venn-card-3 .venn-flip-back-inner {
  background: rgba(20, 176, 251, 1);
}

@media (max-width: 768px) {
  .section-approach .container {
    display: block;
    padding: 0 24px;
  }
  .venn-diagram-layout {
    height: clamp(300px, 60vw, 450px);
    width: clamp(320px, 60vw, 480px);
  }

  .venn-flip-card {
    height: clamp(180px, 35vw, 270px);
    width: clamp(180px, 35vw, 270px);
  }

  .venn-flip-card .more-info-icon {
    margin-top: clamp(15px, 3vw, 20px);
  }

  .venn-flip-front h3 {
    font-size: 1.2rem;
  }

  .venn-flip-back {
  }

  .venn-flip-back li {
    /* font-size: 0.65rem; */
    font-size: 0.85rem;
    margin-bottom: 3px;
  }
}

/* @media (max-width: 411px) { */
@media (max-width: 500px) {
  .venn-diagram-layout {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: -30px;
  }

  .venn-flip-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 180px;
    height: 180px;
  }

  .venn-flip-card .more-info-icon {
    margin-top: 5px;
  }

  .venn-flip-front h3 {
    font-size: 0.8rem;
  }

  .venn-card-1 {
    transform: none;
    margin-bottom: -20px;
  }

  .venn-card-2 {
    margin-top: -20px;
  }
  .venn-card-3 {
    margin-top: -40px;
  }

  .venn-icon {
    margin: 0 auto 10px auto;
  }

  .venn-card-1 .venn-icon,
  .venn-card-2 .venn-icon,
  .venn-card-3 .venn-icon {
    margin: 0 auto 5px auto;
  }
}

.section-fit {
  background: transparent;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.section-fit::before,
.section-fit::after,
.fit-content::before {
  display: none;
}

.section-fit h2 {
  color: var(--text-light);
}

.section-fit .next-section-button-container {
  position: relative;
  z-index: 10;
}

.fit-content {
  /* display: grid; */
  /* grid-template-columns: 300px auto; */
  /* gap: 64px; */
  align-items: center;
  margin-top: 48px;
  position: relative;
}

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

.next-section-button-container {
  margin-top: 50px;
  text-align: center;
}

#impact .next-section-button-container {
  margin-top: 0;
}

.next-section-button {
  align-items: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: #ffffff;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 500;
  padding: 16px 40px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.next-section-button:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.next-section-button-caret {
  height: 1rem;
  margin-left: 7px;
  margin-top: 1px;
  width: 1rem;
}

.next-section-button:hover .next-section-button-caret path {
  /* filter: brightness(0) saturate(100%) invert(80%) sepia(10%) saturate(1474%)
    hue-rotate(59deg) brightness(87%) contrast(82%); */
  fill: var(--accent-green);
  transition: all 0.3s ease;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(42, 157, 143, 0.1);
  }
  50% {
    box-shadow: 0 0 50px rgba(42, 157, 143, 0.2);
  }
}

.section-about {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.section-about::before,
.section-about::after {
  display: none;
}

.section-about .container {
  position: relative;
  z-index: 1;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-content .lead {
  font-size: 1.4rem;
  color: var(--primary-light-blue);
  margin-bottom: 24px;
  font-weight: 500;
}

.about-content p {
  font-size: 1.125rem;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.85);
}

.logo-carousel-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-carousel-label {
  font-size: 0.875rem;
  font-weight: 300;
  color: rgb(14, 192, 216, 0.9) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.logo-carousel {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.logo-track {
  display: flex;
  gap: 48px;
  animation: about-logo-scroll 25s linear infinite;
  width: max-content;
}

.logo-item {
  flex-shrink: 0;
  width: 120px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0) invert(1);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  opacity: 0.8;
}

@keyframes about-logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-51%);
  }
}

.section-error {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 70px;
  min-height: 55vh;
}

.section-cta {
  background: transparent;
  position: relative;
}

.section-cta::before,
.section-cta::after {
  display: none;
}

.footer {
  background: transparent;
  color: var(--text-light);
  padding: 60px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before,
.footer::after {
  display: none;
}

.footer-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-info {
  margin-bottom: 24px;
}

.footer-company {
  color: rgba(255, 255, 255, 0.7);
  /* font-weight: 600; */
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.footer-address {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 8px;
}

.footer-contact {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.footer-contact a {
  color: var(--primary-light-blue);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Contact Form Styles */
.contact-form-container {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--primary-light-blue);
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(14, 150, 216, 0.08);
  margin: 0 auto;
  max-width: 600px;
  padding: 32px 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-form-error-message {
  color: #ff6b6b;
  display: none;
  font-size: 0.875rem;
}

.contact-form-success-message {
  display: none;
  font-size: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.form-group {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.form-group.full-width {
  flex: 1 1 100%;
}

.contact-form label {
  font-weight: 500;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  color: var(--text-dark);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  padding: 0.5rem 0.75rem;
}

#notes {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 1rem;
  height: 120px;
  padding: 0.5rem 0.75rem;
}

.form-row-submit {
  justify-content: center;
}

@media (max-width: 640px) {
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 992px) {
  .fit-content {
    display: block;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .fit-visual {
    margin-top: 75px;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 70px;
    transition: var(--transition);
  }
  .navbar:has(.nav-links.active) {
    height: 460px;
    transition: var(--transition);
  }

  .nav-container {
    align-items: start;
  }

  .nav-links {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    transform: translateY(-10px);
  }

  .nav-links.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
    visibility: visible;
  }

  .flip-cards-wrapper {
    padding: 30px 0;
  }

  .flip-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flip-card {
    height: 200px;
    max-width: 320px;
    width: 100%;
  }

  .flip-card-front,
  .flip-card-back {
    /* padding: 24px; */
  }

  .flip-card-icon {
    /* height: 44px; */
    margin-bottom: 10px;
    /* width: 44px; */
  }

  .flip-card-front-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .flip-card-front h3 {
    font-size: 1rem;
  }

  .flip-card-front-text {
    font-size: 0.8rem;
  }

  .flip-card-back p {
    font-size: 0.85rem;
  }

  .nav-links a {
    color: var(--text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }

  .mobile-menu-btn {
    display: flex;
    margin-top: 12px;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

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

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

  .section {
    padding: 63px 0;
  }

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

@media (max-width: 411px) {
  .fit-visual {
    margin-top: 75px;
  }
}

/* Apply hover only on devices with hover capability */
@media (hover: hover) and (pointer: fine) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card:hover .flip-card-front {
    box-shadow:
      0 12px 40px rgba(26, 95, 180, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .venn-flip-card:hover {
    z-index: 10;
  }

  .venn-flip-card:hover .venn-flip-inner {
    transform: rotateY(180deg);
  }
}

/* Fallback for touch devices using active state */
@media (hover: none) {
  .flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
  }

  .flip-card.active .flip-card-front {
    box-shadow:
      0 12px 40px rgba(26, 95, 180, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .venn-flip-card.active {
    z-index: 10;
  }

  .venn-flip-card.active .venn-flip-inner {
    transform: rotateY(180deg);
  }
}

/* Insights Carousel Styles */
.insights-carousel-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 48px auto 0 auto;
  max-width: 1200px;
}

.insights-carousel {
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 1000px;
  margin: 0 16px;
}

.carousel-track {
  display: flex;
  gap: 32px;
  padding: 10px 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  align-items: flex-start;
  /* background: rgba(255, 255, 255, 0.04); */
  background: rgba(51, 96, 242, 0.25);
  background-clip: padding-box;
  border: 13px solid rgba(51, 96, 242, 0.25);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(13, 59, 122, 0.1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 0 0 280px;
  max-width: 280px;
  min-width: 280px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item:hover {
  /* border-color: rgba(255, 255, 255, 0.25); */
  box-shadow: 0 2px 10px rgba(26, 95, 180, 0.3);
  transform: translateY(-8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item-image {
  align-items: center;
  background: rgba(51, 96, 242, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  height: 160px;
  justify-content: center;
  object-fit: cover;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-item-image img {
  height: 100%;
  object-fit: cover;
  /* width: 100%; */
}

.carousel-meta {
  padding: 20px 5px 24px 5px;
}
.carousel-topic {
  color: var(--primary-light-blue);
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.carousel-title,
.carousel-title a {
  color: rgb(255, 255, 255);
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.3;
  margin-bottom: 8px;
  text-decoration: none;
}

.carousel-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0px;
}

.carousel-arrow {
  align-items: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  font-size: 2rem;
  height: 48px;
  justify-content: center;
  min-width: 48px;
  position: relative;
  transition: all 0.2s;
  width: 48px;
  z-index: 2;
}
.carousel-arrow:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}
.carousel-arrow:disabled {
  cursor: not-allowed;
  opacity: 0.3;
  transform: none;
}

/* Desktop: 3 full + 1 partial */
@media (min-width: 1025px) {
  .insights-carousel {
    max-width: 1100px;
  }
  .carousel-track {
    gap: 32px;
  }
  .carousel-item {
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 280px;
  }
}

/* Tablet: 2 full + 1 partial */
@media (max-width: 1024px) and (min-width: 641px) {
  .insights-carousel {
    max-width: 700px;
  }
  .carousel-item {
    min-width: 280px;
    max-width: 280px;
    flex: 0 0 280px;
  }
}

/* Mobile: 1 full + 1 partial */
@media (max-width: 640px) {
  .insights-carousel {
    max-width: 340px;
    margin: 0 4px;
  }
  .carousel-item {
    min-width: 246px;
    max-width: 260px;
    flex: 0 0 246px;
  }
  .carousel-meta {
    padding: 14px 12px 18px 12px;
  }
}
