:root {
  --bg: #FFFFFF;
  --bg-card: #f9fafb;
  --bg-card-hover: #f3f4f6;
  --text-main: #000000;
  --text-muted: #52525b;
  --accent-vivid: #F13223;
  --accent-pale: #FA6559;
  --border: #e4e4e7;
  --radius: 0px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Tab Navigation Bar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 8%;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  max-width: 170px;
  display: block;
  object-fit: contain;
}

/* Square & Wide Tabs (Now Anchor Links) */
.tabs-container {
  display: flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: 0;
  border: 1px solid var(--border);
  gap: 4px;
  overflow-x: auto;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.65rem 1.6rem;
  min-width: 110px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background: #000000;
  color: #ffffff;
}

.tab-btn.active {
  background: var(--text-main);
  color: #ffffff;
  font-weight: 600;
}

.tab-btn.active:hover {
  background: #000000;
  color: #ffffff;
}

/* Main Content Wrapper */
.content-wrapper {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Overview / Home Hero Section */
.hero-gif-container {
  position: relative;
  width: 100%;
  height: calc(100vh - 85px);
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('images/homeGIFV3.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
}

.giant-hero-title {
  font-size: clamp(3rem, 6.0vw, 6.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

.giant-hero-subtitle {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: #ffffff;
  margin-top: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}
html {
  scroll-behavior: smooth;
}

/* =========================================
   HERO SCROLL-DOWN BUTTON
   ========================================= */
.hero-scroll-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: heroBounce 2s infinite ease-in-out;
}

.scroll-chevron-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
}

.hero-scroll-btn:hover {
  opacity: 0.75;
}

/* Gentle floating animation matching the prompt indicator */
@keyframes heroBounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 8px);
  }
}

/* Ensure sticky navigation bar offset is accounted for */
.mission-section {
  scroll-margin-top: 85px;
}
/* =========================================
   OUR MISSION SECTION (HOME PAGE)
   ========================================= */
.mission-section {
  position: relative;
  width: 100%;
  min-height: 30vh;
  background-color: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 8%;
  border-bottom: 1px solid var(--border);
  overflow: hidden; /* Prevents arrows from overflowing viewport edges */
}

/* Stylistic Arrowhead SVGs */
.mission-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: clamp(90px, 15vw, 160px);
  width: auto;
  fill: #000000;
  stroke: #000000;
  stroke-width: 6;
  stroke-linejoin: round; /* Matches the soft rounded bevels of your reference */
  pointer-events: none;
  z-index: 1;
}

.mission-arrow-left {
  left: clamp(1.5rem, 5vw, 5rem);
}

.mission-arrow-right {
  right: clamp(1.5rem, 5vw, 5rem);
}

.mission-container {
  position: relative;
  z-index: 2; /* Keeps text layered cleanly above arrowheads */
  max-width: 820px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.mission-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #000000;
  letter-spacing: -0.01em;
  margin: 0.25rem 0 1rem;
}

.mission-desc {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: #000000;
  font-weight: 400;
  margin-bottom: 0;
  max-width: 720px;
}

/* Mobile Screen Adjustment */
@media (max-width: 768px) {
  .mission-arrow {
    opacity: 0.12; /* Fades arrows to subtle watermarks so text remains legible */
    height: 110px;
  }
}

/* =========================================
   WHAT IS ROBOMASTER SECTION
   ========================================= */
.robomaster-section {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 6rem 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #1a1a1a;
}

.robomaster-container {
  max-width: 1150px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.25fr auto 1fr; /* Swapped: wider column on left for text */
  align-items: center;
  gap: 3.5rem;
}

/* Image Column */
.robomaster-image-wrapper {
  width: 100%;
}

.robomaster-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid #27272a;
}

/* Vertical Red Accent Divider */
.robomaster-divider {
  width: 3px;
  align-self: stretch;
  background-color: var(--accent-vivid);
}

/* Text Content Column */
.robomaster-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.robomaster-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--accent-vivid);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.robomaster-text p {
  color: #f4f4f5;
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.75;
}

/* Responsive Collapse for Tablets and Mobile */
@media (max-width: 900px) {
  .robomaster-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .robomaster-divider {
    width: 60px;
    height: 3px;
    align-self: flex-start;
  }
}

/* Page Inner Layout */
.inner-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 4.5rem 2rem 4rem;
  width: 100%;
}

h1.page-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.lead {
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.capability-item, .info-box, .contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 1.5rem 2rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.capability-item:hover, .info-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-pale);
}

.capability-item h3, .info-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.capability-item p, .info-box p, .contact-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  margin-top: 1.25rem;
  background: var(--accent-vivid);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background: #000000;
}

/* =========================================
   FOUR-LAYER 50/50 ALTERNATING SHOWCASE
   ========================================= */
.split-showcase-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
}

.split-row {
  display: flex;
  width: 100%;
  min-height: 400px;
  max-height: 400px;  
  align-items: stretch;
}

/* Reverses alternating rows: text on left, image on right */
.split-row.reverse {
  flex-direction: row-reverse;
}

/* 50% / 50% Column Widths */
.split-col {
  flex: 0 0 50%;
  width: 50%;
  display: flex;
  position: relative;
}

/* Image Box - Seamless edge-to-edge fitting */
.split-image-col {
  overflow: hidden;
  background-color: #0f1115;
}

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

/* Text Box - White background, black centered typography */
.split-text-col {
  background-color: #FFFFFF;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 8%;
}

.split-text-inner {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.split-title {
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1.5rem;
}

.split-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: #000000;
  font-weight: 400;
}

/* Responsive Stacking for Tablets & Mobile */
@media (max-width: 860px) {
  .split-row,
  .split-row.reverse {
    flex-direction: column;
    min-height: auto;
  }

  .split-col {
    flex: 0 0 100%;
    width: 100%;
  }

  .split-image-col {
    height: 320px;
  }

  .split-text-col {
    padding: 3.5rem 1.75rem;
  }
}

/* =========================================
   JOIN US PAGE HERO
   ========================================= */
.join-hero-section {
  position: relative;
  width: 100%;
  height: calc(100vh - 85px);
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Replace URL with 'images/your-team-photo.jpg' when ready */
  background-image: url('images/genericGoodPhotos/robotRevealLineUp.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* Dark translucent overlay for crisp text readability */
.join-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 15, 25, 0.62);
  z-index: 1;
}

.join-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.join-hero-title {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.6);
}

.join-hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: #e2e8f0;
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Pill-shaped Green Apply Button matching reference */
.btn-apply {
  display: inline-block;
  margin-top: 0.75rem;
  background-color: #000000; /* Vibrant emerald green from reference */
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.85rem 2.75rem;
  border-radius: 50px;       /* Pill shape */
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.15);
}

.btn-apply:hover {
  background-color: #F13223; /* Slightly lighter red on hover */
  transform: translateY(-2px);
}

/* =========================================
   DARK FOOTER (WHITE TEXT + SOCIAL ICONS)
   ========================================= */
.site-footer {
  width: 100%;
  background-color: #0e1013;
  color: #FFFFFF;
  padding: 4.5rem 8% 2.5rem;
  border-top: 1px solid #1e2229;
}

.footer-container {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

/* Left: Address & Email */
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-address {
  color: #FFFFFF;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.footer-email a {
  color: #FFFFFF;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-email a:hover {
  color: var(--accent-pale);
}

/* Right: Social Media Icons */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  fill: #FFFFFF;
  transition: fill 0.2s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
}

.social-icon:hover svg {
  fill: var(--accent-vivid); /* Turns vivid red on hover */
}

/* Bottom: Centered Copyright */
.footer-bottom {
  max-width: 1150px;
  margin: 0 auto;
  border-top: 1px solid #1c2026;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: #a1a1aa;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }
}

/* =========================================
   THIN FLEET BANNER (OUR ROBOTS PAGE)
   ========================================= */
.fleet-banner {
  position: relative;
  width: 100%;
  height: clamp(200px, 26vh, 260px); /* Letterbox style, thinner than hero sections */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Replace with your robot lineup image (e.g. 'images/fleet-banner.jpg') */
  background-image: url('images/robotRevealBackground.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Darkened overlay for high-contrast text legibility */
.fleet-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.fleet-banner-content {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
}

/* Centered White "OUR FLEET" Title */
.fleet-banner-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

/* =========================================
   SIX-ROBOT SHOWCASE (TEXT LEFT, IMAGE RIGHT)
   ========================================= */
.fleet-list-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 5rem 8% 6rem;
  display: flex;
  justify-content: center;
}

.fleet-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Individual Robot Row */
.robot-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr; /* Text Left (53%), Image Right (47%) */
  align-items: center;
  gap: 4rem;
  padding-bottom: 4.5rem;
  border-bottom: 1px solid var(--border);
}

.robot-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Left Column: Robot Copy & Specs */
.robot-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.robot-index {
  font-size: 1.50rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.robot-name {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin: 0.5rem 0 1.25rem;
}

.robot-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Technical Specification List */
.robot-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  border-left: 2px solid var(--accent-pale);
  padding-left: 1.25rem;
}

.robot-specs li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.robot-specs strong {
  color: var(--text-main);
}

/* Right Column: Robot Image Box */
.robot-image-col {
  width: 100%;
  height: 100%;
  min-height: 380px;
  background-color: #ffffff;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border-radius: 20px;
}

.robot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.robot-image-col:hover .robot-img {
  transform: scale(1.03);
}

/* Robot Ranking Text */
.robot-ranking {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #000000;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.robot-ranking strong {
  font-weight: 800;
  color: #000000;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .robot-row {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 3.5rem;
  }

  .robot-image-col {
    min-height: 280px;
    height: 280px;
  }
}

/* =========================================
   OUR TEAM PAGE SHOWCASE
   ========================================= */
.team-showcase-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 5rem 8% 7rem;
  display: flex;
  justify-content: center;
}

.team-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem; /* Clean vertical spacing between each of the 7 sections */
}

/* Individual Team Block Wrapper */
.team-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Centered Photo Wrapper with Light Black Border */
.team-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.team-img {
  width: 100%;
  max-width: 1000px; /* Large edge-to-edge frame */
  height: auto;
  aspect-ratio: 16 / 10; /* Keeps all 7 placeholders uniform */
  display: block;
  object-fit: cover;
  border: 4px solid #27272a;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

.team-img2 {
  width: 100%;
  max-width: 700px; /* Large edge-to-edge frame */
  height: auto;
  aspect-ratio: 16 / 9; /* Keeps all 7 placeholders uniform */
  display: block;
  object-fit: cover;
  border: 4px solid #27272a;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}

/* Text Content Area */
.team-text-content {
  max-width: 860px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.team-title {
  font-size: clamp(2.5rem, 4.5vw, 3.5rem); /* Extra large heading */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
}
.team-title2 {
  font-size: clamp(1.5rem, 2.5vw, 3.5rem); /* Extra large heading */
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
}

.team-desc {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 400;
}

/* =========================================
   VERTICAL IMAGE SCROLL GALLERY (NO GAPS)
   ========================================= */
.gallery-scroll-section {
  width: 100%;
  background-color: #FFFFFF;
  padding: 5rem 8% 6rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-header {
  text-align: center;
  max-width: 750px;
  margin-bottom: 2.5rem;
}

.gallery-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* Framed Outer Box - no inner padding or fading overlays */
.gallery-scroll-frame {
  width: 100%;
  max-width: 980px;
  border: 4px solid #27272a;
  border-radius: 20px;
  overflow: hidden; /* Clips the child images cleanly to the rounded border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  background-color: #000000;
}

/* Scroll Window: 0 padding so images touch the outer border edges */
.gallery-scroll-box {
  width: 100%;
  height: 450px;
  max-height: 450px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #a1a1aa transparent;
}

.gallery-scroll-box::-webkit-scrollbar {
  width: 6px;
}

.gallery-scroll-box::-webkit-scrollbar-track {
  background: transparent;
}

.gallery-scroll-box::-webkit-scrollbar-thumb {
  background-color: #71717a;
}

/* 2-Column Grid with zero gap */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  width: 100%;
}

/* Flush Image Cards */
.gallery-card {
  width: 100%;
  height: 380px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
  cursor: default;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.scroll-hint {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Mobile responsive view */
@media (max-width: 680px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-scroll-box,
  .gallery-card {
    height: 280px;
    max-height: 280px;
  }
}

/* =========================================
   SPONSORSHIP BENEFITS & PACKAGE SECTION
   ========================================= */
.sponsorship-section {
  width: 100%;
  background-color: #16181d; /* Deep charcoal background matching reference */
  color: #FFFFFF;
  padding: 6rem 8% 7rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #27272a;
}

.sponsorship-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
  gap: 5rem;
}

/* Left Column: Text & Benefits */
.sponsorship-text-col {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* =========================================
   SPONSORS HEADER (WHITE BACKGROUND)
   ========================================= */
.sponsors-header-section {
  width: 100%;
  background-color: #ffffff;
  padding: 4.5rem 8% 1rem;
  display: flex;
  justify-content: center;
  text-align: center;
}

.sponsors-header-container {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sponsors-main-title {
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main); /* Pure black */
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

/* Adjust top padding on tiers section to sit flush */
.sponsor-tiers-section {
  width: 100%;
  background-color: #ffffff;
  padding: 2rem 8% 6rem;
  display: flex;
  justify-content: center;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.01em;
}

.benefit-desc {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #d4d4d8;
  font-weight: 400;
}

/* Right Column: Download Card */
.sponsorship-media-col {
  display: flex;
  justify-content: center;
  width: 100%;
}

.package-download-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 440px;
  background-color: #0b0d11;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid #27272a;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.package-download-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7);
}

.package-image-wrapper {
  width: 100%;
  overflow: hidden;
  background-color: #000000;
}

.package-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.package-download-card:hover .package-img {
  transform: scale(1.02);
}

/* Red Download Action Banner */
.package-download-banner {
  background-color: var(--accent-vivid); /* Vivid red accent matching site palette */
  color: #FFFFFF;
  padding: 1rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: background-color 0.2s ease;
}

.package-download-card:hover .package-download-banner {
  background-color: #d62517;
}

.download-icon {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
  transition: transform 0.2s ease;
}

.package-download-card:hover .download-icon {
  transform: translateY(2px);
}

/* Responsive Stacking */
@media (max-width: 960px) {
  .sponsorship-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .sponsorship-media-col {
    justify-content: flex-start;
  }

  .package-download-card {
    max-width: 480px;
  }
}
/* =========================================
   SPONSOR TIERS DISPLAY (DIAMOND -> BRONZE)
   ========================================= */
.sponsor-tiers-section {
  width: 100%;
  background-color: var(--bg);
  padding: 1rem 8% 7rem;
  display: flex;
  justify-content: center;
}

.sponsor-tiers-container {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.sponsor-tier-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Tier Header with top and bottom dividers matching reference */
.tier-divider {
  width: 100%;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 0;
  margin-bottom: 2.75rem;
  text-align: center;
}

.tier-name {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

/* Flexbox wrapper for logo rows */
.tier-logos-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem 4rem;
}

.sponsor-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sponsor-logo-item:hover {
  transform: scale(1.05);
}

.sponsor-logo-img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* Scaled Logo Dimensions per Tier */
.diamond-grid .sponsor-logo-img {
  height: clamp(65px, 12vw, 200px);
  max-width: 400px;
}

.gold-grid .sponsor-logo-img {
  height: clamp(40px, 10vw, 140px);
  max-width: 350px;
}

.silver-grid .sponsor-logo-img {
  height: clamp(40px, 7vw, 120px);
  max-width: 210px;
}

.bronze-grid .sponsor-logo-img {
  height: clamp(40px, 7vw, 90px);
  max-width: 200px;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .sponsor-tiers-container {
    gap: 2.5rem;
  }

  .tier-divider {
    margin-bottom: 1.75rem;
  }

  .tier-logos-grid {
    gap: 2rem 2.5rem;
  }
}
/* =========================================
   CONTACT US SECTION & FORM
   ========================================= */
.contact-section {
  width: 100%;
  background-color: var(--bg);
  padding: 5.5rem 8% 7rem;
  display: flex;
  justify-content: center;
}

.contact-container {
  max-width: 1150px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 4.5rem;
  align-items: flex-start;
}

/* Left Column: Direct Details */
.contact-info-col {
  display: flex;
  flex-direction: column;
}

.contact-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-vivid);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.contact-main-title {
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2.75rem;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-channel-card:hover {
  background-color: var(--bg-card-hover);
  border-color: var(--text-main);
}

.channel-icon-wrapper {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

.channel-icon {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
}

.channel-details h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.channel-details p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.channel-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent-vivid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.channel-link:hover {
  color: #000000;
}

.channel-text {
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

/* Right Column: Form Container Card */
.form-container-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 3rem 2.5rem;
  border: 1px solid #27272a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.form-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4d4d8;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #121418;
  border: 1px solid #27272a;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 0;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-vivid);
  background-color: #181b20;
}

.form-group select {
  cursor: pointer;
}

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

.submit-btn {
  width: 100%;
  margin-top: 0.5rem;
  background-color: var(--accent-vivid);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.submit-btn:hover {
  background-color: #d62517;
}

/* Form Status Messages */
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  border-radius: 0;
}

.form-status.success {
  background-color: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid #22c55e;
}

.form-status.error {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid #ef4444;
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .form-container-card {
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 560px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}