/* ===========================
   Global / Reset
=========================== */
:root {
  --blue:#083D77;
  --white:#ffffff;

  --chim-accent: #0057a7;
  --chim-muted: #6b7280;
  --chim-bg: #f7f7f8;
  --chim-card-bg: #fff;
  --chim-max-width: 1100px;
  --chim-gap: 18px;

  --red: #0057a7;
  --black: #111;
  --gray: #555;
  --line: #e2e2e2;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: var(--chim-bg);
  color: #111;
}

/* ===========================
   Chimney Hero + Cards
=========================== */
.chim-section {
  max-width: var(--chim-max-width);
  margin: 28px auto;
  padding: 0 18px;
}

.chim-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.chim-hero-img {
  background: #eee;
  border-radius: 1px;
  height: 260px;
  background-size: cover;
  background-position: center;
}

.chim-hero-text {
  font-size: 15px;
  line-height: 1.6;
}

.chim-hero-text h1 {
  text-align: center;
  color: var(--chim-accent);
  margin-bottom: 8px;
  font-size: 20px;
}

.chim-hero-cta { margin-top: 12px; }

.chim-cards-wrap {
  margin-top: 26px;
}

.chim-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--chim-gap);
}

.chim-card {
  background: var(--chim-card-bg);
  border-radius: 1px;
  overflow: hidden;
  border: 1px solid #ccc;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.chim-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.chim-card a {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.chim-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chim-card-content {
  padding: 12px;
}

.chim-title {
  font-weight: bold;
  color: var(--chim-accent);
  font-size: 18px;
  margin-bottom: 8px;
}

.chim-desc {
  color: var(--chim-muted);
  font-size: 14px;
  line-height: 1.5;
}

.chim-btn {
  display: inline-block;
  background: var(--chim-accent);
  color: #fff;
  padding: 10px 14px;
  border-radius: 1px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .chim-section {
    max-width: 100%;
    width: 100vw;
    margin: 28px 0;
    padding-left: 0;
    padding-right: 0;
  }

  .chim-hero {
    grid-template-columns: 1fr;
    padding-left: 12px;
    padding-right: 12px;
  }

  .chim-hero-img { height: 180px; }

  .chim-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 12px 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .chim-card {
    min-width: 82%;
    flex: 0 0 82%;
    scroll-snap-align: center;
  }

  .chim-cards::-webkit-scrollbar{ display:none; }
}

/* ===========================
   Problems Section
=========================== */
section.problem-section {
  width: 100%;
  max-width: 900px;
  margin: 15px auto;
  padding: 0 5px;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  color: var(--black);
}

.section-title {
  text-align: center;
  font-size: 22px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 5px;
}

.section-sub {
  text-align: center;
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 14px;
}

.problem-item {
  padding: 6px 0 10px 0;
  border-bottom: 1px solid var(--line);
}

.problem-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--red);
  margin-bottom: 3px;
}

.problem-content {
  display: block;
  color: var(--gray);
  font-size: 13px;
  line-height: 1.5;
  margin-left: 2px;
  margin-bottom: 4px;
}


/* ===== force smaller title on mobile ===== */
@media (max-width: 768px){
  .problem-section .section-title{
    font-size: 18px !important;   /* 22px ka ~50% */
    line-height: 1.25 !important;
  }
}
