/* ============================================================
   SERVICE INDEX PAGE — service.css
   Matches the design screenshot exactly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&family=Open+Sans:wght@400;500;700&display=swap');

/* ── Tokens ── */
:root {
    --cyan:   #009AB5;
    --yellow: #F8CC00;
    --text:   #111111;
    --gray:   #555555;
    --white:  #ffffff;
    --light:  #f8f9fa;
}



.text-cyan { color: var(--cyan) !important; }


/* Hero Section */
.hero-section {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.hero-text {
    text-align: center;
}

.hero-heading {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-section {
        min-height: 450px;
    }
    
    .hero-heading {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 250px;
    }
    
    .hero-heading {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero-heading {
        font-size: 24px;
    }
}

/* =========================================
   SERVICES SECTION – SITE #52
========================================= */
.services-bg{
  background: #F7F8FA;
  padding: 30px 0 60px;
}

/* ---- Header: title + bar + description ---- */
.services-header{
  text-align: center;
  margin-bottom: 30px;
}
.services-header .section-title{
  margin: 0;
  color: #000;
  font-size: 35px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.services-header .section-title::after{
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: #C9C9C9;
  margin: 16px auto 0;
}
.services-header p{
  margin: 18px 0 0;
  color: #000;
  font-size: 18px;
  line-height: 1.8;
}

/* ---- Grid ---- */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.service-card-link{
  display: block;
  text-decoration: none;
}
.service-image-wrapper{
  position: relative;
  overflow: hidden;
}
.service-image-wrapper img{
  width: 100%;
  
  object-fit: cover;
  display: block;
}

/* ---- Hover overlay: white pill slide-up mid par ---- */
.service-overlay{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, 30%);
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 50px;
  padding: 10px 12px 10px 22px;
  white-space: nowrap;
  z-index: 2;
  transition: transform .4s ease, opacity .4s ease, visibility .4s, background .3s;
}
.service-card-link:hover .service-overlay{
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.service-overlay:hover{
  background: var(--secondary);
}
.service-overlay:hover .overlay-title{
  color: #fff;
}
.service-overlay:hover .service-overlay::after,
.service-overlay:hover::after{
  background: #fff;
  color: var(--secondary);
}
.overlay-title{
  margin: 0;
  color: #111;
  font-size: 16px;
  font-weight: 600;
  transition: .3s;
}
/* Right arrow black circle */
.service-overlay::after{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f061";
  flex: 0 0 26px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  transition: .3s;
}
/* Click par pill secondary se fill */
.service-card-link:active .service-overlay{
  background: var(--secondary);
}
.service-card-link:active .overlay-title{
  color: #fff;
}
.service-card-link:active .service-overlay::after{
  background: #fff;
  color: var(--secondary);
}

/* ---- Image fail hone par title text ---- */
.service-image-wrapper.img-fallback{
  min-height: 230px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-image-wrapper.img-fallback::before{
  content: attr(data-title);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  word-break: break-word;
}

/* ---- View All Services button (secondary pill) ---- */
.srv-toggle-wrap{
  text-align: center;
  padding: 40px 0 70px;
}
.srv-toggle-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #fff;
  border: 0;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}
.srv-toggle-btn:hover{
  background: var(--primary);
}
.btn-arrow i{ font-size: 12px; }

/* =========================================
   RESPONSIVENESS
========================================= */
@media (max-width: 1024px){
  .services-grid{ gap: 20px; }
  
}
@media (max-width: 900px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px){
  .services-bg{ padding: 50px 0 45px; }
  .services-header .section-title{ font-size: 24px; }
  .services-header p{ font-size: 14px; }
  .service-overlay{ padding: 8px 10px 8px 18px; gap: 10px; }
  .overlay-title{ font-size: 14px; }
 
  .service-image-wrapper.img-fallback::before{ font-size: 16px; }
  .srv-toggle-wrap{ padding: 30px 0 50px; }
}
@media (max-width: 576px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-image-wrapper img{ height: 220px; }
}/* why choose us */

/* =========================================
   CTA BANNER – SITE #52
========================================= */
.cta-section{
  background: var(--primary);          /* primary blue band */
  padding: 45px 0;
}

.cta-wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-text h2{
  margin: 0 0 8px;
  color: #fff;                        
  font-size: 36px;
  font-weight: 700;
}
.cta-text p{
  margin: 0;
  color: #fff;
  font-size: 18px;
}

.cta-btn{
  display: inline-block;
  background: var(--secondary);         
  color: #fff;
  border: 2px solid #fff;               
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: .3s;
}
.cta-btn:hover{
  background: #fff;
  color: #000;
  border: 2px solid var(--secondary);
}

/* =========================================
   RESPONSIVENESS (sirf isi section ki)
========================================= */
@media (max-width: 1024px){
  .cta-text h2{ font-size: 30px; }
}
@media (max-width: 768px){
  .cta-section{ padding: 35px 0; }
  .cta-wrap{ flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .cta-text h2{ font-size: 26px; }
}

/* =========================================
   TESTIMONIALS – SITE #52
========================================= */
.testimonials-section{
  background-size: cover;
  background-position: center;
  background-attachment: fixed;         
  position: relative;
  padding: 90px 0;
  text-align: center;
}
.testimonials-section::before{          /* dark overlay */
  content: "";
  position: absolute; inset: 0;
  background: rgba(40, 45, 55, .55);
}
.testimonials-section .container-1200{ position: relative; z-index: 1; }

.testi-title{
  margin: 0 0 30px;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
}

/* ---- Slides ---- */
.testi-slider{ min-height: 170px; }
.testi-slide{ display: none; }
.testi-slide.active{ display: block; animation: testiFade .7s ease; }
@keyframes testiFade{
  from{ opacity: 0; transform: translateY(12px); }
  to{   opacity: 1; transform: translateY(0); }
}

.testi-quote{
  margin: 0 auto 22px;
  max-width: 800px;
  color: #fff;
  font-size: 18px;
  font-style: italic;
  line-height: 1.8;
}
.testi-divider{
  width: 60px; height: 2px;
  background: rgba(255,255,255,.8);
  margin: 0 auto 18px;
}
.testi-author{ margin: 0; color: #fff; font-size: 16px; }
.testi-name{ color: var(--primary); }      
/* ---- Dots ---- */
.testi-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 35px;
}
.testi-dot{
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #C9C9C9;
  transition: .3s;
}
.testi-dot.active{ background: var(--primary); }   

/* =========================================
   RESPONSIVENESS
========================================= */
@media (max-width: 1024px){
  .testi-title{ font-size: 30px; }
}
@media (max-width: 768px){
  .testimonials-section{ padding: 60px 0; background-attachment: scroll; } 
  .testi-title{ font-size: 26px; }
  .testi-slider{ min-height: 260px; }
  .testi-quote{ font-size: 16px; }
}
@media (max-width: 576px){
  .testi-slider{ min-height: 320px; }
}
