/* index.css — Homepage only ─────────────────────────────────────────── */

/* ── HERO SECTION ───────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

/* Subtle dot-grid background */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Radial gradient glow behind hero content */
.hero-glow {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 70%;
  height: 100%;
  background: radial-gradient(ellipse 60% 60% at 40% 45%, rgba(0, 153, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 4rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 6rem;
  position: relative;
  z-index: 1;
}

/* ─ Hero Content ─ */
.hero-content {
  max-width: 600px;
}

.hero-tag {
  margin-bottom: 1.75rem;
  gap: 0.6rem;
  display: inline-flex;
  align-items: center;
}

.tag-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(0, 153, 255, 0.6);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 153, 255, 0.6);
  }

  50% {
    opacity: 0.5;
    box-shadow: 0 0 4px rgba(0, 153, 255, 0.3);
  }
}

.hero-headline {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero-accent-line {
  background: linear-gradient(90deg, var(--primary), #00cc52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-400);
  line-height: 1.75;
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 2.25rem;
}

.hero-sub strong {
  color: var(--gray-100);
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.btn-glow {
  box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
  animation: btn-pulse 3s ease-in-out infinite;
}

@keyframes btn-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 153, 255, 0);
  }

  50% {
    box-shadow: 0 0 24px rgba(0, 153, 255, 0.35);
  }
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--gray-100);
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  padding: 0 1.5rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast);
  text-decoration: none;
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.proof-avatars {
  display: flex;
}

.proof-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a3a28, #0d2018);
  border: 2px solid var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  margin-left: -10px;
}

.proof-avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ─ Hero Metrics Card ─ */
.hero-card-wrap {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
}

.hero-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
}

.hero-card-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.hero-card-metrics {
  display: flex;
  align-items: center;
  padding: 1.75rem 1.5rem 1.5rem;
  gap: 0;
}

.hcm-item {
  flex: 1;
  text-align: center;
}

.hcm-value {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.hcm-label {
  font-size: 0.68rem;
  color: var(--gray-400);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hcm-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* Mini bar chart */
.hero-mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 80px;
  padding: 0 1.5rem 1.5rem;
}

.hmc-bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px 3px 0 0;
}

.hmc-bar.accent {
  background: linear-gradient(to top, rgba(0, 153, 255, 0.12), var(--primary));
}

.hero-card-foot {
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.hcf-tag {
  font-size: 0.72rem;
  color: var(--gray-400);
}

.hcf-tag strong {
  color: var(--white);
}

/* ── SOCIAL PROOF TICKER ──────────────────────────────────────────────── */
.ticker-outer {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  overflow: hidden;
  padding: 0;
}

.ticker-inner {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  padding: 1rem 0;
  animation: ticker-scroll 30s linear infinite;
  width: max-content;
}

.ticker-track span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ticker-dot {
  color: var(--primary) !important;
  font-size: 0.5rem !important;
}

@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ── BENTO GRID ───────────────────────────────────────────────────────── */
.section-label-row {
  margin-bottom: 0.75rem;
}

.section-header-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.25rem;
  grid-template-areas:
    "large large social"
    "video ppc webdev"
    "wide wide wide";
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-decoration: none;
  color: var(--white);
  transition: border-color var(--t-med), transform var(--t-med), background var(--t-med);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.0), transparent);
  transition: background var(--t-med);
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--bg-card-alt);
}

.bento-card:hover::before {
  background: linear-gradient(90deg, transparent, rgba(0, 153, 255, 0.3), transparent);
}

.bento-large {
  grid-area: large;
  background: linear-gradient(135deg, rgba(0, 153, 255, 0.04) 0%, var(--bg-card) 60%);
  border-color: rgba(0, 153, 255, 0.1);
}

.bento-tall {
  grid-area: social;
}

.bento-wide {
  grid-area: wide;
  grid-column: span 3;
}

.bento-webdev {
  grid-area: webdev;
}

/* Map non-named cards */
.bento-grid>.bento-card:nth-child(2) {
  grid-area: video;
}

.bento-grid>.bento-card:nth-child(3) {
  grid-area: ppc;
}

.bento-grid>.bento-card:nth-child(5) {
  grid-area: webdev;
}

.bento-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 153, 255, 0.08);
  border: 1px solid rgba(0, 153, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.bento-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.bento-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.bento-large .bento-title {
  font-size: 1.3rem;
}

.bento-desc {
  font-size: 0.86rem;
  color: var(--gray-400);
  line-height: 1.65;
  flex-grow: 1;
  font-weight: 300;
}

.bento-metric {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.bento-metric span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 0;
}

.bento-arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 1.1rem;
  color: var(--gray-400);
  transition: color var(--t-fast), transform var(--t-fast);
}

.bento-card:hover .bento-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ── WHY US SECTION ───────────────────────────────────────────────────── */
.why-section {
  padding: 6rem 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.why-header {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3rem;
}

.why-header .section-heading {
  margin: 0;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3.5rem;
  margin-top: 2rem;
}

.why-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.005) 100%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  z-index: 1;
}

.why-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--primary-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: -1;
  pointer-events: none;
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px var(--primary-dim);
}

.why-card:hover::before {
  opacity: 1;
}

.why-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.why-num {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.02);
}

.why-card:hover .why-icon {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 25px var(--primary-glow);
}

.why-card:hover .why-icon svg {
  stroke: #ffffff;
  transform: scale(1.1);
}

.why-icon svg {
  transition: all 0.4s ease;
}

.why-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.why-card p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
}

/* ── VIDEO SECTION ────────────────────────────────────────────────────── */
.video-section {
  position: relative;
}

.video-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 2;
  transition: opacity var(--t-med);
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-play-btn {
  width: 72px;
  height: 72px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  padding-left: 4px;
}

.video-container:hover .video-play-btn {
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(0, 153, 255, 0.4);
}

.video-overlay-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
}

.video-overlay-text strong {
  font-size: 1rem;
  color: var(--white);
}

.video-overlay-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.video-proof-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.vps-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.vps-dot {
  width: 4px;
  height: 4px;
  background: var(--border-strong);
  border-radius: 50%;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────────────── */
.testimonial-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.gmb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gmb-review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.gmb-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.gmb-review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.gmb-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-right: 1rem;
}

.gmb-author-info {
  flex-grow: 1;
}

.gmb-name {
  font-weight: 600;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.2;
}

.gmb-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 0.2rem;
}

.gmb-google-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.gmb-stars {
  color: #FBBC04;
  font-size: 1.25rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.gmb-text {
  font-size: 0.95rem;
  color: var(--gray-100);
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 768px) {
  .gmb-reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FINAL CTA ────────────────────────────────────────────────────────── */
.final-cta-section {
  position: relative;
}


.final-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-glow-left {
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse 60% 60% at 0% 50%, rgba(0, 153, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-glow-right {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 40%;
  height: 100%;
  background: radial-gradient(ellipse 60% 60% at 100% 50%, rgba(0, 153, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-footnote {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── HOMEPAGE RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-card-wrap {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: 100%;
  }

  .why-cards {
    grid-template-columns: 1fr 1fr;
  }

  .section-header-split {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-header {
    flex-direction: column;
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "large large"
      "video ppc"
      "social wide";
    gap: 1rem;
  }

  .bento-wide {
    grid-column: span 2;
    grid-area: auto;
  }

  .bento-tall {
    grid-area: auto;
  }
}

@media (max-width: 640px) {

  /* Hero */
  .hero-headline {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-inner {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  /* Bento grid — strict single column */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 0.875rem;
    overflow-x: hidden;
  }

  /* Reset ALL named grid-area assignments (including nth-child) */
  .bento-large,
  .bento-tall,
  .bento-wide,
  .bento-grid>.bento-card:nth-child(2),
  .bento-grid>.bento-card:nth-child(3) {
    grid-area: auto;
    grid-column: auto;
    grid-row: auto;
  }


  /* Why section */
  .why-cards {
    grid-template-columns: 1fr;
  }

  .why-header {
    flex-direction: column;
    gap: 1rem;
  }

  .why-header .tag {
    display: inline-flex;
  }

  /* Video */
  .video-proof-strip {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .vps-dot {
    display: none;
  }

  /* Cards */
  .hero-card-metrics {
    gap: 0;
  }

  .hcm-value {
    font-size: 1.5rem;
  }

  /* Metrics card */
  .hero-mini-chart {
    height: 60px;
  }
}

@media (max-width: 420px) {
  .hero-headline {
    font-size: 1.9rem;
  }

  .hero-card-metrics {
    flex-direction: column;
    gap: 1rem;
  }

  .hcm-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "large"
      "social"
      "video"
      "ppc"
      "webdev"
      "wide";
  }

  .bento-wide {
    grid-column: span 1;
  }
}

/* ── BLOG SECTION ────────────────────────────────────────────────────── */
.blog-section {
  padding: 10rem 0 8rem 0;
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.03);
}

.blog-img-wrap {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-card:hover .blog-img {
  transform: scale(1.08);
}

.blog-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-title:hover {
  color: var(--primary);
}

.blog-excerpt {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-read-more {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.blog-read-more:hover {
  gap: 0.75rem;
  color: var(--primary);
}

/* ── GALLERY SECTION (SCROLLABLE OVERLAPPING) ────────────────────────── */
.gallery-section {
  padding: 10rem 0 8rem 0;
  position: relative;
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: 0;
  padding: 4rem 10vw; 
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; 
  scrollbar-width: none; 
  scroll-behavior: smooth;
  margin-top: 1rem;
  justify-content: center;
}

.gallery-scroll::-webkit-scrollbar {
  display: none; 
}

.gallery-card {
  flex: 0 0 320px; 
  scroll-snap-align: center;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.gallery-card:active {
  cursor: grabbing;
}

/* True Fanned Out effect */
.gallery-card {
  margin-left: -60px;
}

.gallery-card:first-child {
  margin-left: 0;
}

.gallery-card:nth-child(1) {
  transform: translateY(40px) rotate(-12deg);
  z-index: 1;
}

.gallery-card:nth-child(2) {
  transform: translateY(15px) rotate(-6deg);
  z-index: 2;
}

.gallery-card:nth-child(3) {
  transform: translateY(0px) rotate(0deg) scale(1.05);
  z-index: 3;
}

.gallery-card:nth-child(4) {
  transform: translateY(15px) rotate(6deg);
  z-index: 2;
}

.gallery-card:nth-child(5) {
  transform: translateY(40px) rotate(12deg);
  z-index: 1;
}

.gallery-card:hover {
  transform: translateY(-20px) rotate(0deg) scale(1.1) !important;
  z-index: 20 !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
}

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

.gallery-pill {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: #000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-pill {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .gallery-scroll {
    justify-content: flex-start;
    gap: 1rem;
  }
  .gallery-card {
    margin-left: 0;
    flex: 0 0 280px;
  }
  /* Fallback to simple zig-zag for mobile horizontal scrolling */
  .gallery-card:nth-child(odd) { transform: translateY(-10px) rotate(-2deg); }
  .gallery-card:nth-child(even) { transform: translateY(10px) rotate(2deg); }
  /* Override the desktop 3rd child center scaling on mobile */
  .gallery-card:nth-child(3) { transform: translateY(-10px) rotate(-2deg) scale(1); }
}

/* ── RESPONSIVE UTILITIES ────────────────────────────────────────────── */
.section-xl {
  padding: 10rem 0 8rem 0;
  position: relative;
}
.heading-xl {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 0;
  text-align: center;
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 768px) {
  .gallery-card {
    flex: 0 0 260px;
  }
  .gallery-img {
    height: 380px;
  }

  /* Responsive Scaling */
  .section-xl {
    padding: 5rem 0 4rem 0 !important;
  }
  .heading-xl {
    font-size: 2.2rem !important;
  }
  .partners-grid {
    gap: 1.5rem !important;
  }
  .blog-section, .gallery-section {
    padding: 5rem 0 4rem 0 !important;
  }
}