/* Global Basics */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #f3f6ff;
}

/* SECTION */
.chimney-services {
  padding: 60px 20px;
  background: #f3f6ff;
}

.chimney-services__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADING */
.chimney-services__heading {
  text-align: center;
  margin-bottom: 32px;
}

.chimney-services__heading h2 {
  font-size: 28px;
  color: #0f172a;
  margin: 0 0 6px;
}

.chimney-services__heading p {
  font-size: 10px;
  color: #64748b;
  margin: 0;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* CARD */
.service-card {
  background: #ffffff;
  padding: 26px;
  border-radius: 1px;
  border: 1px solid transparent;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND IMAGE FROM ICON */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
}



/* CONTENT ABOVE IMAGE */
.service-card > * {
  position: relative;
  z-index: 2;
}

/* CARD HOVER EFFECT */
.service-card:hover {
  transform: translateY(-6px);
  border-color: #1d4ed8;
  box-shadow: 0 26px 65px rgba(29, 78, 216, 0.18);
}

/* ICON + TITLE INLINE */
.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

/* ICON IMAGE (CIRCLE) */
.card-icon-img {
  width: 56px;
  height: 56px;
  border-radius: 10%;
  object-fit: cover;
  border: 2px solid #1d4ed8;
}

/* TEXT */
.service-card h3 {
  margin: 0;
  font-size: 16px;
  color: #0f172a;
}

.service-card p {
  margin: 0 0 16px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* LINK */
.service-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  transition: 0.3s;
}

.service-link:hover {
  padding-left: 4px;
}

/* TABLET */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .chimney-services {
    padding: 34px 12px;
  }
  .chimney-services__heading h2 { font-size: 20px; }
  .chimney-services__heading p { font-size: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 18px; border-radius: 1px; }
  .card-icon-img { width: 46px; height: 46px; }
  .service-card h3 { font-size: 16px; }
  .service-card p { font-size: 10px; }
  .service-link { font-size: 13px; }
}
















/* Service Area Section */

:root{
  --main:#183a98dc;
  --bg:#f5fbf8;
  --card:#ffffff;
  --border:#e3eee9;
}

/* WRAPPER */
.gas-adv{
  max-width:1200px;
  margin:auto;
  padding:22px 12px;
  font-family:system-ui,Segoe UI;
}

/* TITLE */
.gas-adv h4{
  text-align:center;
  font-size:18px;
  margin-bottom:14px;
  color:#134b36;
  letter-spacing:.3px;
}

/* SEARCH */
.gas-adv-search{
  display:flex;
  justify-content:center;
  margin-bottom:16px;
}
.gas-adv-search input{
  width:100%;
  max-width:320px;
  padding:8px 14px;
  font-size:12.5px;
  border-radius:18px;
  border:1px solid #ccc;
  transition:.3s;
}
.gas-adv-search input:focus{
  border-color:var(--main);
  box-shadow:0 0 0 3px rgba(27,127,90,.18);
}

/* GRID */
.gas-adv-grid{
  display:grid;
  grid-template-columns:repeat(8,1fr);
  gap:8px;
  list-style:none;
  padding:0;
  margin:0;
}

/* CARD */
.gas-adv-grid li{
  opacity:0;
  transform:translateY(16px) scale(.96);
  animation:cardIn .5s ease forwards;
}

.gas-adv-grid a{
  display:block;
  padding:7px 6px;
  font-size:10.8px;
  text-align:center;
  color:#1f1f1f;
  text-decoration:none;
  border-radius:8px;
  background:var(--card);
  border:1px solid var(--border);
  transition:.35s cubic-bezier(.4,0,.2,1);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  position:relative;
}

/* ADVANCED HOVER */
.gas-adv-grid a::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(127, 27, 27, 0),transparent);
  opacity:0;
  transition:.4s;
}
.gas-adv-grid a:hover::after{opacity:1}

.gas-adv-grid a:hover{
  background:var(--main);
  color:#fff;
  transform:translateY(-3px) scale(1.04);
  box-shadow:0 10px 22px rgba(0,0,0,.22);
}

/* BUTTON */
.gas-adv-more{
  text-align:center;
  margin-top:18px;
}
.gas-adv-more button{
  padding:7px 22px;
  font-size:12px;
  border-radius:18px;
  border:none;
  background:var(--main);
  color:#fff;
  cursor:pointer;
  transition:.3s;
}
.gas-adv-more button:hover{
  transform:scale(1.08);
}

/* RESPONSIVE */
@media(max-width:992px){
  .gas-adv-grid{grid-template-columns:repeat(5,1fr);}
}
@media(max-width:768px){
  .gas-adv-grid{grid-template-columns:repeat(3,1fr);}
}
@media(max-width:480px){
  .gas-adv-grid a{font-size:10px;padding:6px}
}

/* ANIMATION */
@keyframes cardIn{
  to{opacity:1;transform:none}
}


















/* ===== ISOLATED SERVICE AREA CSS (NO GLOBAL IMPACT) ===== */

.area-card{
  margin:20px 12px;
  padding:16px 14px 20px;
  background:#7697c3;
  border-radius:2px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.area-card h3{
  font-size:18px;
  margin-bottom:14px;
  color:#0b1f3a;
}

/* SEARCH */
.area-search{
  margin-bottom:14px;
}
.area-search input{
  width:100%;
  padding:10px 14px;
  border-radius:22px;
  border:1px solid #d6dbe5;
  font-size:14px;
  outline:none;
}

/* GRID – MOBILE FIRST */
.area-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr); /* 📱 mobile = 3 */
  gap:8px;
}

/* AREA CHIP */
.area-grid a{
  display:block;
  padding:7px 6px;
  background:#f1f5f9;
  border-radius:2px;
  font-size:11px;
  text-align:center;
  color:#111;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;

  /* animation base */
  transition:
    background-color .25s ease,
    color .25s ease,
    transform .25s ease,
    box-shadow .25s ease;
  will-change: transform;
}

/* ===== HOVER EFFECT ===== */
.area-grid a:hover{
  background:#000000;       /* black bg */
  color:#ffffff;            /* white text */
  transform:scale(1.06);    /* zoom */
  box-shadow:0 6px 14px rgba(0,0,0,.35);
}

/* ===== ACTIVE (MOBILE TAP SAFE) ===== */
.area-grid a:active{
  transform:scale(0.97);
}

/* TABLET */
@media(min-width:768px){
  .area-grid{
    grid-template-columns:repeat(6,1fr);
  }
  .area-grid a{
    font-size:12px;
    padding:8px 6px;
  }
}

/* LAPTOP / DESKTOP */
@media(min-width:1200px){
  .area-grid{
    grid-template-columns:repeat(9,1fr);
  }
  .area-grid a{
    font-size:13px;
    padding:9px 6px;
  }
}

/* BUTTON */
.area-btn{
  text-align:center;
  margin-top:16px;
}
.area-btn button{
  padding:9px 26px;
  border:none;
  border-radius:22px;
  background:#0b1f3a;
  color:#ffffff;
  font-size:13px;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
}

.area-btn button:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 14px rgba(0,0,0,.25);
}
