* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: #fff;
  color: #000;
}

/* Use Inter everywhere as the fallback for sans-serif */
html,
body {
  font-family: "Inter", sans-serif;
}

/* ========== SECTION 1: NAVIGATION ========== */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  z-index: 10;
  color: white;
}

.nav-logo {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-link {
  display: flex;
  align-items: center;
}

.menu-button {
  background: black;
  border: 2px solid black;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  width: 100px; /* force consistent button width */
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-button span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.4s ease;
  opacity: 0;
}

.menu-text.active {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.close-text.active {
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

/* Fullscreen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: #111;
  color: #fff;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  z-index: 99;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-overlay.active {
  transform: translateX(0);
}

.menu-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 60px;
}

.menu-links {
  display: flex;
  flex-direction: column;
}

.menu-links a {
  font-size: 4rem;
  color: white;
  text-decoration: none;
  padding: 20px 0;
  border-bottom: 1px solid #333;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.5s ease forwards;
  animation-delay: calc(var(--i) * 0.1s);
  position: relative;
  transition: transform 0.3s ease, color 0.3s ease;
}

.menu-links a:hover {
  transform: translateY(-3px) scale(1.02);
  color: #ddd;
}

.menu-overlay:not(.active) .menu-links a {
  animation: none;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.menu-footer a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}
.menu-footer a:hover {
  color: white;
}

/* ========== OVERLAY HEADER (MATCH HEADER LAYOUT) ========== */
.overlay-header {
  position: absolute;
  top: 20px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

/* ===== Overlay-specific logo and button color ===== */
.menu-overlay .logo {
  color: white;
}

.menu-overlay .menu-button {
  border-color: black;
  color: white;
}

.menu-overlay .menu-button:hover {
  background: black;
  color: white;
}

/* ========== SECTION 2: HERO ========== */
.hero-media-container .hero-overlay {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  white-space: nowrap;
  z-index: 10;
}

/* ===== SECTION 3: About Konetiq ===== */
.section.about-konetiq {
  background: #ffffff;
  padding: 140px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-content {
  max-width: 1500px;
  width: 100%;
  color: #000;
  font-family: "Helvetica Neue", sans-serif;
}

.about-content h1 {
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 60px;
}

.about-content h5 {
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: none;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 1500px;
  color: #333;
}

/* ===== SECTION 4: Case Studies ===== */
.section.case-studies {
  background-color: #f8f8f8;
  padding: 120px 40px;
  color: #000;
  font-family: "Helvetica Neue", sans-serif;
}

.case-studies-header {
  max-width: 1500px;
  margin: 0 auto 60px auto;
}

.case-studies-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.case-studies-header hr {
  border: none;
  border-bottom: 2px solid #000;
  width: 60px;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1500px;
  margin: 0 auto;
}

.case-item {
  text-align: left;
}

.case-item img {
  width: 90%;
  height: 320px;
  border-radius: 10px;
  display: block;
}

.case-item p {
  font-size: 0.95rem;
  margin-top: 12px;
  color: #111;
}

/* ============================================================================
   7) “Latest Work” → Detail Panel Slide-In (updated blur overlay)
   ============================================================================ */

/* 1) GRID LAYOUT (already in place, but ensure it shows 4 columns on desktop) */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto 80px auto;
}

.case-item {
  cursor: pointer;
  width: max-content;
  justify-self: center;
  text-align: center;
}

.case-item img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.case-item img:hover {
  transform: scale(1.03);
}

.case-item p {
  margin-top: 12px;
  font-size: 1rem;
  color: #111;
}

/* 2) BLUR OVERLAY (sits under the slide-in panel) */
#panelOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(5px); /* blur strength */
  -webkit-backdrop-filter: blur(5px); /* Safari fallback */
  opacity: 0; /* hidden by default */
  pointer-events: none; /* clicks pass through when hidden */
  transition: opacity 0.4s ease;
  z-index: 190; /* just below the panel (panel is 200) */
}

#panelOverlay.overlay-open {
  opacity: 1;
  pointer-events: auto; /* catch clicks when visible */
}

/* 3) ASIDE PANEL (initially hidden off-screen) */
#casePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 0; /* start closed */
  height: 100vh;
  background-color: #fff;
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  transition: width 0.4s ease;
  z-index: 200; /* above overlay */
}

/* When “open,” span most of the screen (e.g. 40%–60% width) */
#casePanel.case-panel-open {
  width: 40%;
  min-width: 320px;
  max-width: 600px;
}

/* 4) CLOSE BUTTON (“×”) */
.panel-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #222;
}

.panel-close-btn:hover {
  color: #000;
}

/* 5) PANEL CONTENT LAYOUT */
.panel-content {
  padding: 80px 40px 40px 40px;
  box-sizing: border-box;
  color: #111;
  font-family: "Inter", sans-serif;
}

.panel-client {
  display: block;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: #555;
}

.panel-title {
  font-size: 2.5rem;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.panel-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 24px;
  border-radius: 8px;
}

.panel-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #333;
}

/* 6) “View →” LINK */
.panel-link {
  display: inline-block;
  font-size: 1.1rem;
  text-decoration: none;
  color: #111;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.panel-link:hover {
  color: #000;
  border-color: #111;
}

/* ===== SECTION 5.5: Photo Carousel ===== */
.photo-carousel-section {
  padding: 2rem 0;
  background: #ffffff;
  overflow: hidden; /* hide any overflow during updates */
}

.carousel-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem; /* spacing between images */
  max-width: 1400px; /* optional: limit width */
  margin: 0 auto; /* center it */
}

.carousel-image {
  width: 450px;
  height: 300px; /* fix the height you like */
  object-fit: cover; /* scale & crop to fill */
  display: block;
  border-radius: 8px;
}

/* ===== SECTION 6: Trusted by Leading Brands (scroll + left-aligned text) ===== */
.trusted-section {
  padding: 100px 40px 60px;
  background: #ffffff;
  overflow: hidden;
}

.trusted-header {
  max-width: 1500px;
  margin: 0 auto 40px auto;
  text-align: left;
}

.trusted-header h2 {
  font-size: 2rem;
  font-weight: 400;
  color: #111;
  font-family: "Inter", sans-serif; /* Or 'Helvetica Neue' */
  letter-spacing: -0.5px;
}

.destination-container {
  display: flex;
  gap: 20px;
  animation: scroll 40s linear infinite;
  animation-delay: 1s; /* delay scroll start */
  animation-fill-mode: forwards;
  width: max-content;
  position: relative;
}

.destination {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.destination img {
  height: 70px;
  width: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.destination img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== FOOTER ===== */
.footer {
  background-color: #fff;
  padding: 80px 40px 40px;
  border-top: 1px solid #ddd;
  width: 100%;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 0 60px;
  margin-bottom: 60px;
}

.footer-column {
  flex: 1;
  min-width: 180px;
}

.footer-column.left {
  flex: 2;
}

.footer-column h3 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  font-weight: bold;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-logo-scroller {
  position: relative;
  left: -40px;
  width: calc(100% + 80px);
  overflow: hidden;
  background-color: #fff; /* same as your footer background */
  padding-bottom: 40px; /* preserve existing bottom padding */
}

/* (Leave this exactly as before—no changes needed here.) */
.footer-logo-track {
  display: flex;
  gap: 80px; /* same gap used by “Trusted Brands” row */
  width: max-content; /* track’s natural width = two logos + gap */
  animation: footer-scroll 25s linear infinite;
}

/* (Your existing sizing is correct—no update needed.) */
.footer-logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* (Unchanged) */
@keyframes footer-scroll {
  100% {
    transform: translateX(0);
  }
  0% {
    transform: translateX(-50%);
  }
}
/* Footer links */
.footer a {
  color: #000 !important; /* force black */
  text-decoration: none !important; /* remove underline */
  font-size: 16px; /* make text bigger (default was ~14px) */
}

.footer a:hover {
  color: #000 !important; /* stay black on hover */
  text-decoration: none !important;
}
/* Social icons in footer */
.footer .social-icons {
  display: flex;
  justify-content: flex-start; /* left align under heading */
  align-items: center;
  gap: 24px; /* adjust spacing for bigger size */
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .social-icon {
  width: 60px; /* bigger icons */
  height: 60px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer .social-icon:hover {
  transform: scale(1.1); /* subtle zoom on hover */
}

/* === Strong, video-style scroll animation (append-only) === */
@keyframes reveal-burst {
  from {
    opacity: 0;
    transform: translateY(160px) scale(0.6); /* much bigger move */
    filter: blur(10px); /* adds pop */
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* starting state for non-supporting browsers too */
.view-animate {
  opacity: 0;
  transform: translateY(160px) scale(0.9);
  filter: blur(10px);
  will-change: opacity, transform, filter;
}

/* Use View Timeline when available (Chrome/Edge/Safari recent) */
@supports (animation-timeline: view()) {
  .view-animate {
    animation: reveal-burst ease-out both;
    animation-timeline: view();
    /* start as soon as the section enters; complete after 60% cover */
    animation-range: entry 0% cover 40%;
  }
}

/* (Optional but nice) reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .view-animate {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ========== 




ABOUT PAGE STYLES 




========== */

/* === SECTION 2: HERO IMAGE === */
.about-hero {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* === SECTION 3: CORE CAPABILITIES & VIDEOS === */

/* Overall container for Section 3 */
#section3.core-capabilities {
  margin: 0;
  padding: 0;
}

/* — 1) White header strip */
.capabilities-header-container {
  background: #fff;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid #000;
}
.capabilities-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.capabilities-header .section-number {
  font-size: 0.9rem;
  opacity: 0.6;
  color: #000;
}
.capabilities-header .section-title {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  color: #000;
}

/* — 2) Dropdown toggle bar */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  border-bottom: 1px solid #000;
  padding: 2.5rem 4.3rem;
  font-size: 2rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.dropdown-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: #000;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* When a dropdown is open: toggle bar switches to black/white */
.dropdown[aria-expanded="true"] > .dropdown-toggle {
  background-color: #000;
  color: #fff;
}
.dropdown[aria-expanded="true"] > .dropdown-toggle .dropdown-icon {
  transform: rotate(45deg);
  color: #fff;
}

.dropdown-content {
  position: relative;
  display: grid; /* keep your left/right layout */
  grid-template-columns: 320px 1fr; /* LEFT (animation) | RIGHT (text) */
  column-gap: 4rem; /* same spacing vibe as before */

  /* slide open/close */
  overflow: hidden;
  max-height: 0; /* closed */
  padding: 0 4rem; /* keep horizontal padding as you had */
  opacity: 0;
  transition: max-height 0.5s ease, padding 0.4s ease, opacity 0.4s ease;
  background-color: #1b1a1a;
}

/* Open state (your JS already toggles aria-expanded) */
.dropdown[aria-expanded="true"] > .dropdown-content {
  max-height: 2000px; /* big cap to allow full content */
  padding: 2rem 4rem; /* restore top/bottom padding when open */
  opacity: 1;
}

/* — 4) Left side: video container */
.dropdown-left {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-anim-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 24px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2.6s ease-out, transform 2.6s ease-out;
}

.about-anim-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-anim-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* — 5) Right side: copy text */
.dropdown-right {
  flex: 1;
  padding-left: 20rem;
  font-size: 1.2rem;
  color: #fff;
  line-height: 1.6;
}

.dropdown-right p {
  margin: 0;
}

/* — 6) Reveal-on-scroll (fade-in) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2.6s ease-out, transform 2.6s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================ */
/*                            CASE STUDIES HERO SECTION                          */
/* ============================================================================ */

/* 1) Full-width white background for hero (no container; flush left) */
.casestudies-hero {
  background-color: #fff; /* white background */
  padding: 120px 20px 40px; /* top:120px, sides:20px, bottom:40px */
}

/* 2) First line: large italic serif, flush left */
.hero-italic {
  font-size: 5rem; /* ~51px (adjust if needed) */
  font-style: italic; /* true italic */
  font-weight: 400; /* normal weight */
  line-height: 1.1;
  color: #000; /* pure black */
  margin: 0; /* no default margins */
}

/* 3) Second line: lighter sans, exactly 16px below “What We Connect,”
       and indented under “We” (5ch = width of “What ”) */
.hero-regular {
  font-size: 5rem; /* ~45px (adjust if needed) */
  font-weight: 300; /* light weight */
  line-height: 1.2;
  color: #000; /* pure black */
  margin: 16px 0 0 10ch; /* top:16px gap, left:5ch indent */
}

/* ============================================================================ */
/*                         CASE STUDIES: List View                               */
/* ============================================================================ */

.case-studies-list .container {
  max-width: 1500px;
  margin: 0 auto;
}

.case-list .case-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 24px 0;
}

.case-row .case-thumb {
  flex: 0 0 120px; /* keep the container’s width at 120px */
  width: 120px; /* explicitly fix width */
  height: 120px; /* explicitly fix height so it’s square */
  margin-right: 40px;
  overflow: hidden;
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* The text block (title + meta) */
.case-row .case-info {
  flex: 1;
}

/* Case title in bold, large font */
.case-title {
  font-size: 28px;
  font-weight: bold;
  margin: 0;
}

/* Client & Type text below the title */
.case-meta {
  font-size: 14px;
  color: #555;
  margin: 4px 0 0;
}

/* “View” arrow on the right */
.case-row .case-link {
  flex: 0 0 60px; /* keeps the arrow aligned right */
  text-align: center;
}

.case-link a {
  font-size: 28px;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
}

.case-link a:hover {
  color: #000;
}
.case-row {
  transition: transform 0.3s ease;
}

.case-row:hover {
  transform: translateX(10px); /* slides right */
}

.case-row a {
  text-decoration: none;
  color: #000;
}

.case-row a:hover {
  color: inherit; /* no unwanted color change */
  text-decoration: none;
}
/* Force case study links (title + arrow) to black */
.case-row a,
.case-row a:visited,
.case-row a:active {
  color: #000 !important; /* force black */
  text-decoration: none !important; /* remove underline */
}

.case-row a:hover {
  color: #000 !important; /* stay black on hover */
  text-decoration: none !important;
}

/* Case study text + arrow: black, no underline */

/* =============================== */
/* SECTION: TEAM PAGE STYLES       */
/* =============================== */

/* --- HERO OVERLAY (SECTION 2) --- */
.about-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.about-hero-img {
  width: 100%;
  height: auto;
  display: block;
  /* Add a subtle dark gradient to the image so the button pops */
  filter: brightness(0.7);
  transition: filter 0.5s ease;
}

.about-hero:hover .about-hero-img {
  filter: brightness(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.btn-schedule {
  background-color: #0077cc;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 18px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-schedule:hover {
  transform: translateY(-2px);
  background-color: #005fa3;
}

/* ---- “AT KONETiQ” MISSION SECTION ---- */
.mission-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}
.mission-container {
  max-width: 800px;
  margin: 0 auto;
}
.mission-container h2 {
  font-size: 32px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.mission-text {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}

/* ---- TEAM SECTION WRAPPER ---- */
/* (Wrap the entire CEO in a special container so it can be centered full‐width.) */
.ceo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

/* ---- CEO CARD ---- */
.ceo-wrapper .team-card {
  max-width: 500px; /* center the CEO card and limit its width */
  max-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.2s;
  margin: 0 20px;
  padding-bottom: 20px;
}
.ceo-wrapper .team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 20px;
  border: 4px solid #0077cc;
}
.ceo-wrapper .team-info {
  padding: 20px;
  text-align: center;
}
.ceo-wrapper .team-name {
  font-size: 26px;
  margin-bottom: 4px;
}
.ceo-wrapper .team-title {
  font-size: 18px;
  font-weight: 600;
  color: #555;
  margin-bottom: 12px;
}
.ceo-wrapper .team-bio {
  font-size: 16px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 16px;
}

/* ---- “YOUR TEAM” HEADING ---- */
.section-heading {
  font-size: 30px;
  margin: 40px 20px 24px;
  text-align: center;
  letter-spacing: 1px;
}

/* ---- REMAINING TEAM GRID ---- */
.team-section {
  background-color: #fff;
  padding-bottom: 60px;
}
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.team-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.team-card:nth-child(2) {
  animation-delay: 0.4s;
}
.team-card:nth-child(3) {
  animation-delay: 0.6s;
}
/* (Note: the first card under “Your Team” is nth-child(2) because nth-child(1) is the CEO card.) */

.team-card:hover {
  transform: translateY(0);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-photo {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.team-info {
  padding: 20px;
}
.team-name {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 6px;
}
.team-title {
  font-size: 16px;
  color: #666;
  margin: 0 0 12px;
}
.team-bio {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin: 0 0 12px;
}
.email {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}
.team-phone {
  font-size: 14px;
  color: #333;
  margin: 4px 0;
}

/* ---- ANIMATION KEYFRAMES ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================================
   CONTACT PAGE 
   ============================================================================ */

/* --------------------------------------------
   1) CONTACT HEADER (“Connections Start Here.”)
   -------------------------------------------- */
.contact-header {
  background-color: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contact-heading {
  font-size: 3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: #000;
  margin: 0;
}

/* --------------------------------------------
     2) TWO-COLUMN LAYOUT: ROTATING IMAGES + FORM
     -------------------------------------------- */
.contact-main {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 40px 20px;
}

.contact-images {
  flex: 1 1 300px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.contact-image {
  width: 100%;
  max-width: 320px; /* clamp each image to 320px wide */
  max-height: 300px;
  object-fit: cover; /* crop and cover exactly */
  border-radius: 8px; /* slightly rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 0; /* start hidden; JS will set to 1 */
  transition: opacity 0.5s ease; /* fade in/out over 0.5s */
}

.contact-form-container {
  flex: 1 1 300px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  align-self: flex-start;
  background-color: #000;
  color: #fff;
  padding: 10px 24px;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-form button[type="submit"]:hover {
  background-color: #333;
}

/* ============================================================================
   NGF PARTNERSHIP PAGE 
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1) HERO‐PARTNERSHIP BANNER
   --------------------------------------------------------------------------- */
.hero-partnership {
  position: relative;
  width: 100%;
  height: 60vh; /* 60% of viewport height */
  overflow: hidden;
}

.hero-partnership-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* subtle darkening for overlay contrast */
  transition: filter 0.5s ease;
}

.hero-partnership:hover .hero-partnership-img {
  filter: brightness(0.8);
}

.hero-partnership-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 20px;
  z-index: 2;
}

.partnership-title {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 3rem; /* ~48px */
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  line-height: 1.1;
}

/* NGF page headline styling */
/* 1. Center & constrain the main content */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem;
}

/* 2. Make the headline pop */
.container h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* 3. Improve paragraph readability */
.container p {
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* 4. Polish your links */
.container a {
  color: #006837;
  text-decoration: underline;
}

/* ---------------------------------------------------------------------------
     2) LOGO SECTION (NGF + KONETiQ)
     --------------------------------------------------------------------------- */
.partnership-logos {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.partner-logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo {
  max-height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.plus-sign {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 2rem; /* ~32px */
  font-weight: 700;
  color: #333;
}

/* ---------------------------------------------------------------------------
     3) PARTNERSHIP CONTENT (“Golf is more than a game…”)
     --------------------------------------------------------------------------- */
.partnership-content {
  background-color: #fdfdfd;
  padding: 80px 20px;
}

.partnership-text-container {
  max-width: 900px;
  margin: 0 auto;
}

.section-heading {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 2.5rem; /* ~40px */
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
  text-align: center;
  position: relative;
}

.section-heading::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #0077cc;
  margin: 16px auto 0;
}

.para {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1rem; /* ~16px */
  line-height: 1.6;
  color: #444;
  margin-bottom: 24px;
}

.partnership-bullets {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  margin-bottom: 32px;
}

.partnership-bullets li {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 16px;
  position: relative;
  padding-left: 24px;
}

.partnership-bullets li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0;
  color: #0077cc;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
     4) CTA BUTTON (bottom of content)
     --------------------------------------------------------------------------- */
.partnership-cta {
  display: inline-block;
  background-color: #0077cc;
  color: #fff;
  text-decoration: none;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 16px;
}

.partnership-cta:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------------
     5) FADE‐IN / SLIDE‐UP FOR REVEAL‐ON‐SCROLL
     --------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 2.6s ease-out, transform 2.6s ease-out;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Home Page – Section 1 (Navigation) Mobile Refinements */
@media (max-width: 768px) {
  header {
    height: 44px; /* shrink header slightly */
  }
  .logo-link .nav-logo {
    height: 32px; /* smaller logo */
  }
  #menu-toggle {
    font-size: 1rem; /* a bit smaller text */
    padding: 0.25rem; /* tighter tap area */
  }
}

/* Home Page – Section 2 (Hero) Video Fit on Mobile */
@media (max-width: 768px) {
  .hero-video {
    position: static; /* remove absolute centering */
    width: 100%; /* fill container width */
    height: 100%; /* auto height to show full video */
    object-fit: center; /* fit entire video inside */
    transform: none; /* clear any translate */
  }
  /* Mobile-only: portrait shows, landscape hidden */
  .hero-video--desktop {
    display: none !important;
  }
  .hero-video--mobile {
    display: block !important;
  }
  /* Restore the 9:16 aspect ratio on mobile */
  .hero-video--mobile > div {
    padding-top: 177.78% !important;
  }
}
@media (max-width: 767px) {
  /* Constrain video to viewport and hide overflow */
  .hero-media-container {
    max-height: 100vh;
    overflow: hidden;
  }

  /* Tweak overlay position, size, and padding on mobile */
  .hero-overlay {
    top: 65% !important; /* move up slightly */
    font-size: 1.2rem !important; /* smaller on small screens */
    padding: 0 1rem !important; /* keep text off the edges */
  }
}

/* Home Page – Section 3 (About Konetiq) Mobile Text Scaling */
@media (max-width: 768px) {
  .about-konetiq .about-content h1 {
    font-size: 1.5rem; /* down from desktop size */
    line-height: 1.3; /* tighter spacing */
  }

  .about-konetiq .about-content h5 {
    font-size: 1rem; /* smaller sub-heading */
    margin-top: 0.5rem; /* keep some breathing room */
  }

  .about-konetiq .about-content p {
    font-size: 0.9rem; /* reduce paragraph text */
    line-height: 1.4; /* comfortable readability */
  }
}
/* Home Page – Section 4 (Case Studies) Mobile Stack & Box Resize */
@media (max-width: 768px) {
  /* Stack items vertically */
  .case-studies-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Shrink each case box */
  .case-item {
    width: 90%;
    max-width: 200px;
    margin: 0 auto 1rem;
  }

  /* Ensure images fill the smaller box */
  .case-item img {
    width: 200px;
    height: 200px;
    display: cover;
  }

  /* Tweak title font size */
  .case-item p {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
}

/* Home Page – Section 5.5 (Photo Carousel): Three-up on Mobile */
@media (max-width: 768px) {
  .photo-carousel-section .carousel-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* three equal columns */
    gap: 0.5rem; /* small gutters */
    max-width: 100%; /* allow full-width on mobile */
    width: 100%;
    margin: 0 auto; /* center if needed */
  }

  .photo-carousel-section .carousel-image {
    width: 100%; /* fill each grid cell */
    height: 200px; /* preserve aspect ratio */
    border-radius: 4px; /* slightly smaller corner radius */
  }
}

/* Home Page – Section 6 (Trusted by Leading Brands) Mobile Text Sizing */
@media (max-width: 768px) {
  .trusted-section .trusted-header h2 {
    font-size: 1rem; /* down from desktop size */
    line-height: 1.2; /* tighten spacing */
    margin-bottom: 0.75rem; /* bring content up */
  }

  .trusted-section {
    padding: 1.5rem 1rem; /* reduce vertical padding */
  }
}
/* About Page – Section 2 (About Hero) Mobile */
@media (max-width: 768px) {
  .about-hero {
    /* let the image flow naturally, with minimal vertical padding */
    padding: 0;
    overflow: hidden;
  }

  .about-hero-img {
    width: 100%; /* fill the screen width */
    height: auto; /* maintain aspect ratio */
    display: block;
    object-fit: cover; /* crop if necessary but center on image */
  }
}
/* About Page – Section 3 (Core Capabilities) Mobile Stack & Box Resize */
@media (max-width: 768px) {
  /* 1) Tighter header strip */
  .capabilities-header-container {
    padding: 1.5rem 1rem 0.75rem; /* less top/bottom padding */
  }
  .capabilities-header .section-title {
    font-size: 2.5rem; /* smaller section titles */
  }

  /* 2) Slimmer toggle buttons */
  .dropdown-toggle {
    padding: 1.5rem 1rem; /* less vertical padding */
    font-size: 1.4rem; /* reduced font size */
  }

  /* 3) When open, stack video above text */
  .dropdown[aria-expanded="true"] > .dropdown-content {
    flex-direction: column; /* stack left + right vertically */
    padding: 1rem; /* tighter padding inside panel */
    gap: 1rem; /* space between video & copy */
  }

  /* 4) Make each column full width */
  .dropdown-left,
  .dropdown-right {
    width: 100%; /* each takes full container width */
    padding: 0; /* reset any left padding */
  }

  /* 5) Shrink video container */
  .about-anim-container {
    max-width: 200px; /* smaller thumbnail on mobile */
    margin: 0 auto 1rem; /* center & add bottom spacing */
  }

  /* 6) Tighter copy text */
  .dropdown-right {
    font-size: 1rem; /* smaller paragraph text */
    line-height: 1.4; /* maintain readability */
  }
}
/* Case Studies Page – Section 2 (Hero Banner) Mobile Tweaks */
@media (max-width: 768px) {
  .casestudies-hero {
    padding: 5rem 1rem 1rem; /* tighter vertical padding */
    text-align: center; /* center the headings */
  }
  .casestudies-hero .hero-italic {
    font-size: 1.5rem; /* smaller italic headline */
    line-height: 1.2;
    margin-bottom: 0.25rem;
  }
  .casestudies-hero .hero-regular {
    font-size: 1.25rem; /* smaller sub-headline */
    line-height: 1.3;
  }
}

/* Case Studies Page – Section 3 (List View) Mobile Flex Layout */
@media (max-width: 768px) {
  /* 1) Stack rows and give each row a bottom border for separation */
  .case-studies-list .case-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
  }

  /* 2) Make each row a flex container */
  .case-studies-list .case-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
  }

  /* 3) Shrink & crop the thumbnail */
  .case-studies-list .case-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
  }

  /* 4) Give the title section some breathing room */
  .case-studies-list .case-info {
    flex: 1;
    margin: 0 0.75rem;
  }
  .case-studies-list .case-info .case-title {
    font-size: 1rem;
    line-height: 1.2;
    text-align: left;
    margin: 0;
  }

  /* 5) Enlarge the arrow for easy taps */
  .case-studies-list .case-link a {
    font-size: 1.5rem;
    line-height: 1;
  }
}
@media (max-width: 768px) {
  /* Hero container: less vertical height, keep image visible */
  .about-hero {
    padding: 0;
    position: relative;
  }
  .about-hero-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  /* Schedule button: smaller & tappable */
  .hero-overlay .btn-schedule {
    padding: 10px 20px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .mission-container h2 {
    font-size: 1.5rem; /* down from 32px */
    margin-bottom: 0.5rem;
  }
  .mission-text {
    font-size: 1rem; /* down from 18px */
    line-height: 1.4;
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .team-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem 2rem;
  }
  .team-card {
    display: flex; /* ← make card a flex column */
    flex-direction: column; /* so items stack */
    align-items: center; /* ← centers image and text */
    text-align: center;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 1rem;
  }
  .team-photo {
    width: 120px; /* smaller circle */
    height: 120px;
    margin-top: 1rem;
  }
  .team-name {
    font-size: 1.25rem; /* down from 26px */
    margin: 0.75rem 0 0.25rem;
  }
  .team-title {
    font-size: 1rem; /* down from 18px */
    margin-bottom: 0.5rem;
  }
  .team-bio,
  .email,
  .team-phone {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
}
@media (max-width: 768px) {
  .ceo-wrapper {
    padding: 1rem 0;
  }
  .ceo-wrapper .team-card {
    max-width: 320px; /* narrower on phones */
    margin: 0 auto;
    padding-bottom: 1rem;
    box-shadow: none; /* simplify shadow for mobile */
  }
  .ceo-wrapper .team-photo {
    width: 100px;
    height: 100px;
    margin-top: 1rem;
  }
  .ceo-wrapper .team-name {
    font-size: 1.5rem;
  }
  .ceo-wrapper .team-title {
    font-size: 1rem;
  }
  .ceo-wrapper .team-bio {
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0 0.5rem;
  }
}
/* ——— CONTACT PAGE MOBILE FIXES ——— */
@media only screen and (max-width: 768px) {
  /* 1) Center the header text */
  .contact-header .container {
    padding: 1rem;
    text-align: center;
  }
  .contact-heading {
    font-size: 1.6rem; /* down from desktop size */
    margin: 0;
  }

  /* 3) Make the form full-width and center its fields */
  .contact-form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .contact-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
  }
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    margin-bottom: 1rem;
    padding: 0.75rem;
    font-size: 1rem;
    box-sizing: border-box;
  }
  .contact-form button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.1rem;
  }
}

@media only screen and (max-width: 768px) {
  /* 1) Make the wrapper static & give it bottom margin */
  section.contact-main .contact-images {
    position: static !important; /* cancel any relative/absolute */
    display: flex; /* stack photos vertically */
    flex-direction: column;
    gap: 1rem; /* space between photos */
    margin-bottom: 2rem; /* separate from form */
    padding-left: 6rem;
  }

  /* 2) Reset each img to flow normally */
  section.contact-main .contact-images .contact-image {
    position: static !important; /* let it participate in layout */
    width: 200px !important; /* full container width */
    height: 200px !important; /* natural height */
    object-fit: cover; /* crop if needed */
    display: block !important;
    margin: 0; /* gaps handled by wrapper */
  }
}
@media (min-width: 768px) {
  .hero-video--mobile {
    display: none !important;
  }
  .hero-video--desktop {
    display: block !important;
  }
}

/* toggle which iframe shows 
.hero-video--desktop {
  display: none;
}
.hero-video--mobile {
  display: block;
}

@media (min-width: 768px) {
  .hero-video--desktop {
    display: block;
  }
  .hero-video--mobile {
    display: none;
  }
}
*/
/* aspect-ratio wrappers 
.video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.video-wrapper--mobile {
  padding-top: 177.78%; /* portrait ratio 
}

.video-wrapper--desktop {
  padding-top: 56.25%; /* widescreen ratio 
}

.video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw; /* full‐viewport width 
  height: 100vh; /* full‐viewport height 
  transform: translate(-50%, -50%);
  object-fit: cover; /* crop/fill the container 
  pointer-events: none;
  z-index: -1;
}
*/
