/* =========================================================
    VINCULUM STYLE ENHANCEMENTS (Final Optimized Version)
    Safe with mainstyle.css — no layout conflicts
    ========================================================= */
/* Shared Variables (uses mainstyle’s system) */
:root {
  --accent-blue: var(--primary-color);
  --accent-orange: var(--accent-color);
  --text-main: var(--text, #0b1220);
  --muted: var(--muted, #667);
  --bg-glass: rgba(255, 255, 255, 0.55);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);

  /* FIXED: Use relative path (./) to find the image in the same folder */
  --hero-bg-image: url("./image_3345.jpg");
}

/* =============================
    1️⃣ HERO-ALT SECTION
    ============================= */
.hero-alt {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  padding: 80px 10%;

  /* Text color is dark for contrast with the light overlay */
  color: var(--text-main);

  /* FIXED: Increased Light Overlay Opacity (80% opaque white) */
  background:
    /* 1. Translucent White Overlay (80% opaque) to heavily dim the image */
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    /* 2. Background image (using the relative path) */
    var(--hero-bg-image) no-repeat center center;

  background-size: cover;
}

/* Ensure paragraph text uses the muted dark color */
.hero-alt p {
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.hero-alt .hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
}

.hero-alt h1 {
  /* FIXED: Change the font family here */
  font-family: 'Inter', sans-serif;

  font-size: 3.2rem; /* Adjusted size for impact */
  font-weight: 700;
  margin-bottom: 16px;

  /* Safeguard: ensures text is uppercase, regardless of HTML input */
  text-transform: uppercase;

  background: linear-gradient(90deg, var(--accent-blue), #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: neonGlow 2s ease-in-out infinite alternate;
}

/* Refined CTA Secondary Button (Outline → Gradient on Hover) */
.hero-alt .hero-cta .cta-secondary {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.35s ease;
}

.hero-alt .hero-cta .cta-secondary:hover {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(47,123,246,0.25);
}

/* Right side cards */
.hero-alt .hero-right {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* =============================
    2️⃣ HERO FEATURE CARD
    ============================= */
.hero-feature-card {
  position: relative;
  background: var(--bg-glass-strong);
  border-radius: 12px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 30px rgba(11,18,32,0.08);
  backdrop-filter: blur(8px);
  transition: all 0.4s ease;
  cursor: pointer;
}

.hero-feature-card:hover {
  background: var(--accent-blue);
  color: #fff;
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(47,123,246,0.25);
}

.hero-feature-card h4 {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.hero-feature-card p {
  color: var(--muted);
  transition: color 0.3s ease;
}

.hero-feature-card:hover h4,
.hero-feature-card:hover p {
  color: #fff;
}

/* Icon setup */
.hero-feature-card .icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(47,123,246,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  transition: background 0.4s ease;
}

.hero-feature-card .icon {
  width: 26px;
  height: 26px;
  fill: var(--accent-blue);
  transition: fill 0.4s ease;
}

.hero-feature-card:hover .icon-wrapper {
  background: rgba(255,255,255,0.25);
}

.hero-feature-card:hover .icon {
  fill: white;
}

/*
 * CSS STYLES FOR POP EFFECT (All necessary for the new timeline and values)
 */
body {
  box-sizing: border-box;
}

.timeline-line {
  background: linear-gradient(to bottom, #3b82f6, #1d4ed8, #1e40af);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-bg {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
}

/* Enhanced Card Hover Effect */
.card-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Springy transition */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-hover:hover {
  transform: translateY(-12px) scale(1.02); /* More lift and a slight zoom */
  box-shadow: 0 25px 50px rgba(66, 153, 225, 0.3), 0 0 10px rgba(0,0,0,0.05); /* Blue glow shadow */
}

/* Custom glow for the active 'Looking Ahead' card */
.looking-ahead-glow {
  box-shadow: 0 0 0 0 rgba(66, 153, 225, 0);
  transition: box-shadow 1s ease-out;
}

.looking-ahead-glow.visible {
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.7); /* Strong purple/blue glow */
}

/* Key action buttons pop */
.action-button-pop {
  transition: all 0.3s ease;
}

.action-button-pop:hover {
  background-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Gradient Text for Headings */
.text-gradient-pop {
  background-image: linear-gradient(45deg, #1d4ed8, #3b82f6, #8b5cf6); /* Deep blue to purple */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); /* Soft shadow for depth */
}

/* =============================
    11️⃣ NAME MEANING WRAPPER & COVERAGE WRAPPER (FINAL FIX)
    ============================= */
/* Base styles applied to both wrappers for consistency */
.name-meaning-wrapper,
.coverage-wrapper {
  max-width: 1400px;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  margin-top: 5px;
  margin-bottom: 5px;

  /* Highlight Animation Setup */
  transition: all 0.35s ease-in-out;
  cursor: pointer;

  /* PADDING: Must be generous enough to contain all internal content */
  padding: 60px;
}

.name-meaning .vinculum-word {
  font-weight: 700;
  font-size: 1.4em;

  /* The core gradient code */
  background: linear-gradient(90deg, var(--accent-blue), #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Highlight Animation (applies to both) */
.name-meaning-wrapper:hover,
.coverage-wrapper:hover {
  box-shadow: 0 4px 20px rgba(47, 123, 246, 0.15);
  transform: translateY(-4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Specific Margins for Separation */
.name-meaning-wrapper {
 margin: 30px auto 20px auto; /* Reduced from 80px to 40px to move it up */
}

.coverage-wrapper {
  margin: 20px auto 60px auto; /* Separates the two wrappers nicely */
}

/* =============================
    4️⃣ NAME MEANING & COVERAGE (INTERNAL FIXES & CONSOLIDATION)
    ============================= */

/* Name Meaning Content (Centered Text) */
.name-meaning {
  margin: 0;
  padding: 0;
  text-align: center;
}

/* National Coverage Section (Content inside wrapper) */
#coverage {
  margin: 0;
  padding: 0;
}

/* FIX: This is the grid container for the 3 cards in your HTML */
.coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  /* Adds space between the P tag above and the cards */
  margin-top: 20px;
  margin-bottom: 0;
  padding: 0;
}

/* Ensures the paragraph under the header doesn't have excessive bottom margin */
#coverage p {
  margin-bottom: 20px;
}

/* The .item styles remain correct for the card appearance */
.coverage .item {
  text-align: center;
  border-radius: 12px;
  padding: 24px;
  color: #fff;
  font-weight: 600;
  transition: all 0.35s ease;
  cursor: pointer;
}

.coverage .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(11,18,32,0.2);
  opacity: 0.95;
}

.coverage .item:nth-child(1) {
  background: linear-gradient(135deg, var(--accent-blue), #00bfff);
}

.coverage .item:nth-child(2) {
  background: linear-gradient(135deg, var(--accent-orange), #e8771b);
}

.coverage .item:nth-child(3) {
  background: linear-gradient(135deg, #00C9A7, #00997e);
}

/* =============================
    5️⃣ FLOATING ACTION BUTTON
    ============================= */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-orange));
  color: white;
  box-shadow: 0 16px 40px rgba(47,123,246,0.12);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.fab:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(47,123,246,0.3);
}

/* =============================
    6️⃣ ANIMATIONS
    ============================= */
@keyframes neonGlow {
  from {
    text-shadow:
      0 0 10px rgba(47,123,246,0.3),
      0 0 20px rgba(47,123,246,0.1);
  }
  to {
    text-shadow:
      0 0 15px rgba(47,123,246,0.5),
      0 0 30px rgba(47,123,246,0.3);
  }
}

/* =============================
    7️⃣ RESPONSIVE HERO
    ============================= */
@media (max-width: 1024px) {
  .hero-alt {
    flex-direction: column;
    text-align: center;
    padding: 60px 8%;
  }

  .hero-alt .hero-right {
    order: -1;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .hero-alt .hero-left {
    max-width: 100%;
  }
}

/* =========================================================
    MOBILE OVERRIDES (max-width: 768px)
    ========================================================= */
@media screen and (max-width: 768px) {

  /* Global Mobile Centering and Padding */
  .hero-alt {
    padding: 40px 5%; /* Less padding on small screens */
  }

  /* 1. Reorder the .hero-alt Children (Left Block (Title) and Right Block (Cards)) */
  .hero-alt {
    flex-direction: column;
  }

  /* VINCULUM TECHNOLOGIES (Title/Description) - Hero Left - STAYS AT THE TOP */
  .hero-alt .hero-left {
    order: 1;
    max-width: none; /* Allows it to take full mobile width */
    text-align: center; /* Center the text content within the block */
  }

  /* Nationwide Partnership (Cards/Image) - Hero Right - MOVES BELOW */
  .hero-alt .hero-right {
    order: 2;
    max-width: none;
  }

  /* 2. Reduce Font Size of the Overlapping Title */
  .hero-alt h1 {
    /* Fluid scaling size: Minimum 1.8em, scales up to 6vw, maximum 2.8em */
    font-size: clamp(1.8em, 6vw, 2.8em);
    line-height: 1.1;
    margin-bottom: 10px; /* Reduce space below title */
  }

  /* 3. Center CTA button/link */
  .hero-alt .hero-cta {
    text-align: center;
    margin-top: 15px; /* Add some margin above the CTA */
  }

  /* 4. Center text inside hero-left */
  .hero-alt .hero-left p {
    text-align: center;
  }

  /* =============================
    COVERAGE SECTION MOBILE FIX
    (Ensuring it stacks if it's a flex/grid desktop layout)
    ============================= */
  .coverage {
    grid-template-columns: 1fr; /* Force single column on mobile */
    gap: 25px;
    padding: 0; /* Wrapper already has padding */
  }

  /* Ensure individual coverage items take up full width */
  .coverage .item {
    width: 100%;
    max-width: none;
  }
}
