:root {
  --bg-main: #F3EAFE;          /* soft lavender background */
  --card-bg: #F3EAFE;          /* same as bg for hero */
  --heading: #7C3AED;          /* strong purple */
  --accent: #8B5CF6;           /* buttons, arrows */
  --accent-soft: #EDE9FE;      /* icon circles */
  --text-main: #4C1D95;        /* deep readable purple */
  --text-muted: #6B21A8;       /* secondary text */
  --border: #DDD6FE;
    --shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
  --radius: 24px;
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background: var(--bg);
      color: var(--text-main);
      line-height: 1.5;
    }

    /* NEW: Outer layout wrapper – same logic as IT page (.page-wrap) */
    .page-wrap {
      max-width: 1120px;
      margin: 0 auto;
      padding: 2.2rem 1.4rem 2.8rem;

     
    }

    /* Responsive fallback for laptops / mobile */
    @media (max-width: 1200px) {
      .page-wrap {
        padding-left: 2rem;
        padding-right: 2rem;
      }
    }

    /* MAIN SECTION WRAPPER – now only controlling inner layout, not side gaps */
    .market-section {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 1.8rem;
      max-height: 1500px;
    }

    /* TOP TITLE AREA – LEFT ALIGNED */
    .market-header {
      max-width: 720px;
    }

    .market-title {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.4rem;
    }

    .market-title-icon {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--primary-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .market-header h1 {
      font-size: clamp(1.9rem, 2.6vw, 2.2rem);
      font-weight: 700;
      letter-spacing: 0.02em;
    }

    .market-header p {
      margin-top: 0.2rem;
      font-size: 0.98rem;
      color: var(--text-muted);
    }

    /* IMAGE GALLERY BETWEEN HEADING AND CARDS */
    .market-gallery {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.7rem;
    }

    .gallery-button {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      border: none;
      background: #e5e7eb;
      color: #4b5563;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      cursor: pointer;
      flex-shrink: 0;
    }

    .gallery-button:hover {
      background: #d1d5db;
    }

    .gallery-track-wrapper {
      max-width: 640px;
      width: 100%;
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: thin;
    }

    .gallery-track {
      display: flex;
      gap: 0.7rem;
    }

    .gallery-item {
      min-width: 100%;
      border-radius: var(--card-radius);
      overflow: hidden;
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-soft);
      position: relative;
      background: #fdfdfd;
    }

    .gallery-item img {
      width: 100%;
      display: block;
      object-fit: cover;
      max-height: 260px;
    }

    .gallery-caption {
      position: absolute;
      left: 0.8rem;
      bottom: 0.8rem;
      background: rgba(0, 0, 0, 0.55);
      color: #f9fafb;
      padding: 0.25rem 0.65rem;
      border-radius: 999px;
      font-size: 0.78rem;
      backdrop-filter: blur(4px);
    }

    /* CARD AREA */
    .market-main {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (max-width: 600px) {
      .card-grid {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 480px) {
      .card-grid {
        grid-template-columns: 1fr;
      }
    }

    .info-card {
      background: var(--primary-soft);
      border-radius: var(--card-radius);
      padding: 0.9rem 0.95rem;
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-soft);
      min-height: 110px;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      transition: transform 0.22s ease, box-shadow 0.22s ease;
    }

    /* 1. ZOOM-IN ANIMATION ON HOVER */
    .info-card:hover {
      transform: translateY(-4px) scale(1.03);
      box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    }

    .info-card-icon {
      width: 30px;
      height: 30px;
      border-radius: 999px;
      background: #ffffff;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 1rem;
    }

    .info-card h3 {
      font-size: 0.95rem;
      font-weight: 600;
    }

    .info-card p {
      font-size: 0.86rem;
      color: var(--text-muted);
    }

    /* BOTTOM STRIP */
    .bottom-strip {
      border-radius: 8px;
      background: #f3f4f6;
      padding: 0.55rem 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.9rem;
      color: var(--text-main);
      border: 1px solid #e5e7eb;
    }

    .bottom-strip-icon {
      width: 24px;
      height: 24px;
      border-radius: 999px;
      background: #e0f2fe;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
      font-size: 0.9rem;
      flex-shrink: 0;
    }

    /* TABLE AT END */
    .market-table-wrapper {
      margin-top: 0.7rem;
      border-radius: 10px;
      border: 1px solid var(--border-soft);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      background: #ffffff;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
    }

    thead {
      background: #ecf5ff;
    }

    th,
    td {
      padding: 0.55rem 0.75rem;
      text-align: left;
      border-bottom: 1px solid #e5e7eb;
    }

    th {
      color: #002c3e;
      font-weight: 600;
    }

    tbody tr:nth-child(even) {
      background: #f9fafb;
    }