/* ══════════════════════════════════════
   SERVICES SECTION — append to style.css
══════════════════════════════════════ */

/* ── STYLE 01 — Card Grid ── */
.services-section {
  position: relative;
  padding: 90px 0 100px;
  overflow: hidden;
}

/* full-page bg image with overlay */
.services-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/servicebg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #e8e4dc;
  z-index: 0;
}
.services-bg::after {
  content: '';
  position: absolute; inset: 0;
  /* background: rgba(235, 231, 223, 0.82); */
}

.services-wrapper {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

/* Section header */
.services-header {
  margin-bottom: 50px;
}
.services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e30613;
  margin-bottom: 12px;
}
.services-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: #e30613;
  display: block;
}
.services-title {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 400;
  color: #1e1c18;
  line-height: 1.1;
}
.services-title em {
  font-style: italic;
  color: #e30613;
}

/* 3x2 card grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Base card */
.svc-card {
  background: #fff;
  padding: 36px 32px 38px;
  border: 1px solid #ffd6d9;
  transition: background 0.32s ease, border-color 0.32s ease, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #e30613;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s ease;
}
/* All cards go dark on hover */
.svc-card:hover {
  background: #2c2b27;
  border-color: #2c2b27;
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card:hover .svc-card-title { color: #fff; }
.svc-card:hover .svc-card-desc  { color: rgba(255,255,255,0.52); }
.svc-card:hover .svc-card-icon  { border-color: rgba(184,168,130,0.25); }

/* Card icon */
.svc-card-icon {
  width: 42px; height: 42px;
  border: 1px solid #e0dbd2;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  color: #e30613;
  flex-shrink: 0;
  transition: border-color 0.32s ease;
}
.svc-card-icon svg { width: 20px; height: 20px; }

.svc-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #1e1c18;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: 0.2px;
  transition: color 0.32s ease;
}
.svc-card-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #8a8278;
  line-height: 1.85;
  letter-spacing: 0.2px;
  transition: color 0.32s ease;
}


/* ── STYLE 03 — List Section ── */
.services-list-section {
  background: #fff;
  padding: 80px 0 90px;
  border-top: 1px solid #ffd6d9;
}

.services-list-header {
  max-width: 1200px;
  margin: 0 auto 55px;
  padding: 0 60px;
}

.services-list-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.svc-list-col {
  padding: 0 36px 0 0;
  border-right: 1px solid #ffd6d9;
  margin-right: 36px;
}
.svc-list-col:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.svc-list-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #1e1c18;
  line-height: 1.6;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 2px solid #e30613;
}

.svc-list {
  list-style: none;
  padding: 0;
}
.svc-list li {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #6a6560;
  line-height: 1.5;
  padding: 9px 0;
  border-bottom: 1px solid #ffd6d9;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, padding-left 0.2s;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li:hover { color: #e30613; padding-left: 4px; }

/* bullet dot */
.svc-list li::before {
  content: '';
  width: 4px; height: 4px;
  background: #e30613;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.7;
}
.svc-list li .gold { color: #e30613; }


/* ══ RESPONSIVE ══ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-list-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .svc-list-col:nth-child(2) { border-right: none; margin-right: 0; padding-right: 0; }
  .svc-list-col:nth-child(3) { border-right: 1px solid #ffd6d9; margin-right: 36px; padding-right: 36px; }
}

@media (max-width: 768px) {
  .services-wrapper,
  .services-list-header,
  .services-list-grid { padding: 0 24px; }
  .services-section { padding: 60px 0 70px; }
  .services-list-section { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-list-grid { grid-template-columns: 1fr; }
  .svc-list-col {
    border-right: none; border-bottom: 1px solid #ffd6d9;
    margin: 0; padding: 0 0 30px; margin-bottom: 30px;
  }
  .svc-list-col:last-child { border-bottom: none; margin-bottom: 0; }
  .services-title { font-size: 36px; }
}

@media (max-width: 480px) {
  .services-title { font-size: 30px; }
  .svc-card { padding: 28px 22px; }
}

/* Viaan Infra red brand theme update */
:root{
  --viaan-red:#e30613;
  --viaan-red-dark:#b8000a;
  --viaan-red-soft:#fff2f3;
  --viaan-dark:#181818;
  --viaan-text:#222222;
}
html, body{font-family:'Poppins', Arial, sans-serif !important;background:#ffffff;color:var(--viaan-text);}
h1,h2,h3,h4,h5,h6,.bld-hero-title,.hero-title,.section-title,.about-title{font-family:'Poppins', Arial, sans-serif !important;font-weight:800;letter-spacing:-0.03em;}
p,li,a,span,button,input,textarea,select{font-family:'Poppins', Arial, sans-serif !important;}
.nav-logo img,.footer-logo img{max-height:82px;object-fit:contain;}
.navbar,.nav-header,.header,.main-header{background:#ffffff !important;border-color:#ffd6d9 !important;box-shadow:0 8px 28px rgba(227,6,19,.08) !important;}
.nav-menu a,.nav-link,.mobile-menu a{color:var(--viaan-dark) !important;font-weight:600;}
.nav-menu a:hover,.nav-link:hover,.nav-menu .active,.nav-link.active{color:var(--viaan-red) !important;}
.bld-hero,.hero,.main-hero,.page-banner,.banner,.inner-banner{background-color:var(--viaan-dark) !important;}
.bld-hero::before,.hero::before,.main-hero::before,.page-banner::before,.banner::before{background:linear-gradient(90deg,rgba(24,24,24,.88),rgba(227,6,19,.55),rgba(24,24,24,.25)) !important;}
.bld-hero-overlay,.hero-overlay,.banner-overlay{background:linear-gradient(90deg,rgba(24,24,24,.86),rgba(227,6,19,.52)) !important;}
.bld-hero-title,.hero-title,.banner-title{color:#ffffff !important;text-shadow:0 4px 18px rgba(0,0,0,.35);}
.bld-hero-subtitle,.hero-subtitle,.banner-subtitle{color:#ffe2e4 !important;}
.btn,.button,.theme-btn,.primary-btn,.read-more,.cta-btn,button[type='submit'],input[type='submit']{background:var(--viaan-red) !important;color:#ffffff !important;border-color:var(--viaan-red) !important;border-radius:6px !important;font-weight:700 !important;box-shadow:0 10px 24px rgba(227,6,19,.22) !important;}
.btn:hover,.button:hover,.theme-btn:hover,.primary-btn:hover,.read-more:hover,.cta-btn:hover,button[type='submit']:hover,input[type='submit']:hover{background:var(--viaan-red-dark) !important;border-color:var(--viaan-red-dark) !important;color:#ffffff !important;}
a{color:var(--viaan-red);} a:hover{color:var(--viaan-red-dark);}
.section-label,.eyebrow,.about-hero-eyebrow,.subtitle,.tagline,.logo-tagline{color:var(--viaan-red) !important;font-weight:700 !important;}
.title-underline,.section-title:after,.heading-line,.divider,.bld-hero-divider{background:var(--viaan-red) !important;border-color:var(--viaan-red) !important;}
.card,.project-card,.service-card,.feature-card,.faq-item,.amenity-card,.blog-card,.contact-card,.team-card{border-color:#ffd6d9 !important;box-shadow:0 12px 32px rgba(227,6,19,.08) !important;}
.card:hover,.project-card:hover,.service-card:hover,.feature-card:hover,.blog-card:hover{box-shadow:0 18px 44px rgba(227,6,19,.16) !important;transform:translateY(-3px);}
.icon,.service-icon,.feature-icon,.contact-icon,i{color:var(--viaan-red) !important;}
footer,.footer{background:#181818 !important;color:#ffffff !important;}
footer a,.footer a{color:#ffe2e4 !important;} footer a:hover,.footer a:hover{color:#ffffff !important;}
footer h1,footer h2,footer h3,footer h4,.footer h1,.footer h2,.footer h3,.footer h4{color:#ffffff !important;}
.footer-bottom,.copyright{border-color:rgba(227,6,19,.35) !important;}
.social-icon, .social a{background:rgba(227,6,19,.12) !important;color:#ffffff !important;border-color:rgba(227,6,19,.35) !important;}
.social-icon:hover,.social a:hover{background:var(--viaan-red) !important;}
input:focus,textarea:focus,select:focus{border-color:var(--viaan-red) !important;box-shadow:0 0 0 3px rgba(227,6,19,.12) !important;outline:none;}
.badge,.counter,.count,.project-status,.highlight{background:var(--viaan-red-soft) !important;color:var(--viaan-red) !important;border-color:#ffd6d9 !important;}
::selection{background:var(--viaan-red);color:#ffffff;}
