/* CSS for Our Roots Page SproutSong */

:root {
    --primary-blue: #2b2b2b;
    --accent-orange: #f37335;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F9FAFB;
}

/* Roots & Map Section */
.roots-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.header-icon-box {
    width: 50px;
    height: 50px;
    background-color: #fff5e6;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.5rem;
    box-shadow: none !important;
}

.map-container {
    padding: 20px;
    text-align: center;
}

.map-container img {
    max-width: 100%;
    height: auto;
}

.story-content {
    padding-left: 40px;
}

.story-tag {
    color: var(--accent-orange);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.story-content h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: #cecece;
}

.story-content h2 span {
    color: var(--accent-orange);
}

.story-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.feature-list-item:hover {
    transform: translateY(-8px);
    box-shadow: none !important;
    border-color: var(--accent-orange);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: #fff5e6;
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #2b2b2b;
}

.feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-light);
}

.feature-horizontal-container {
    background: #f9fafb;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: none !important;
}

.feature-list.horizontal {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-list.horizontal .feature-list-item {
    flex: 1;
    margin-bottom: 0;
    flex-direction: column;
    text-align: center;
    align-items: center;
}

.feature-list.horizontal .feature-text {
    padding-left: 0;
    margin-top: 15px;
}

.stats-row {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    gap: 30px;
    box-shadow: none !important;
}

.stat-item {
    text-align: center;
    padding: 10px 20px;
    min-width: 120px;
    background: #eef6ee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
    box-shadow: none !important;
}

.stat-item:nth-child(2) {
    background: #fff5e6;
}

.stat-item:nth-child(3) {
    background: #e6f7f5;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-center-locate {
    background: linear-gradient(90deg, #f37335 0%, #fdc830 100%);
    color: white !important;
    padding: 14px 40px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 10px;
    box-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-decoration: none;
}

.btn-center-locate i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.btn-center-locate:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: none !important;
    color: white !important;
    background: linear-gradient(90deg, #e6631f 0%, #fdc830 100%);
}

/* City Badges Grid */
.city-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.city-badge {
    background: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.city-badge:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
    border-color: #cbd5e1;
}

.city-badge i {
    color: #3b82f6;
    font-size: 0.9rem;
}

.city-badge.highlight i {
    color: var(--accent-orange);
}

/* Responsive adjustments for city badges */
@media (max-width: 991px) {
    .city-badges-grid {
        margin-bottom: 40px;
    }
}

@media (max-width: 576px) {
    .city-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 400px) {
    .city-badges-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .feature-list.horizontal {
        flex-direction: column;
    }

    .stats-row {
        flex-direction: column;
        align-items: center;
    }
}

/* Custom Map Placeholder */
.gujarat-map-placeholder {
    background-color: #e9ecef;
    width: 100%;
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-weight: bold;
    background-image: url('../img/gujarat-map-simple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ================================
   GUJARAT SVG MAP
================================ */

.gujarat-map-wrapper {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.gujarat-svg-mount svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Gujarat base map */
.gj-map {
  fill: #f5f7fb;
  stroke: #d7dee8;
  stroke-width: 1.2;
}

/* City markers */
.gj-city {
  stroke: #ffffff;
  stroke-width: 2.4;
  cursor: pointer;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,0.15));
  transition: transform 0.2s ease;

  /* 🔑 CRITICAL FIX */
  transform-box: fill-box;
  transform-origin: center;
}

.gj-city:hover {
  transform: scale(1.25);
}

/* Brand colors */
.city-gandhinagar { fill: #f37335; } /* Origin */
.city-ahmedabad   { fill: #2f80ed; }
.city-vadodara    { fill: #27ae60; }
.city-bhavnagar   { fill: #f2c94c; }
.city-rajkot      { fill: #9b51e0; }
.city-surat       { fill: #eb5757; }


/* ================================
   GUJARAT CITIES LEGEND
================================ */

.gujarat-cities-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-top: 18px;
  font-size: 14px;
  color: #2b2b2b;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  white-space: nowrap;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}

/* Reuse SAME color classes */
.legend-dot.city-gandhinagar { background: #f37335; }
.legend-dot.city-ahmedabad   { background: #2f80ed; }
.legend-dot.city-vadodara    { background: #27ae60; }
.legend-dot.city-bhavnagar   { background: #f2c94c; }
.legend-dot.city-rajkot      { background: #9b51e0; }
.legend-dot.city-surat       { background: #eb5757; }

.feature-horizontal-container {
  background: #fafbfc;
  border-radius: 18px;
  padding: 32px 24px;
}

.feature-list.horizontal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.feature-list-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-list-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff4ec; /* soft sprout orange tint */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #f37335;
  font-size: 18px;
}

.feature-text h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2b2b2b;
}

.feature-text p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.stat-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 16px 22px;
  min-width: 140px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.04);
}

.stat-number {
  font-size: 22px;
  font-weight: 700;
  color: #f37335;
  display: block;
}

.stat-label {
  font-size: 13px;
  color: #6b7280;
}

.btn-sprout-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid #f37335;
  background: transparent;
  color: #f37335;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-sprout-primary i {
  font-size: 16px;
}

.btn-sprout-primary:hover {
  background: #f37335;
  color: #ffffff;
}


/* ===============================
   OUR ROOTS – COMPACT GRID
================================ */

.our-roots-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr;
  gap: 32px;
  align-items: center;
}

/* LEFT SIDE */
.roots-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.roots-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.roots-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff3e8;
  color: #f37335;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.roots-card h4 {
  margin-bottom: 6px;
  font-weight: 700;
}

.roots-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

/* RIGHT SIDE */
.roots-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.roots-stat {
  background: #f9fafb;
  border-radius: 14px;
  padding: 18px;
  text-align: center;
}

.roots-stat.highlight {
  background: #fff3e8;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #f37335;
}

.stat-label {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 991px) {
  .our-roots-grid {
    grid-template-columns: 1fr;
  }

  .roots-stats {
    flex-direction: row;
  }

  .roots-stat {
    flex: 1;
  }
}
