/* ============================================================
   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: 350px;
    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);
}

.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: 230px;
    }
    
    .hero-heading {
        font-size: 28px;
    }
}

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

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

/* ---- Header ---- */
.services-header{
  text-align: center;
  margin-bottom: 45px;
}
.services-header .section-title{
  margin: 0 0 14px;
  color: #000;
  font-size: 35px;
  font-weight: 700;
}
.services-header p{
  margin: 0;
  color: #000;
  font-size: 18px;
}

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


.service-card{
  position: relative;

  padding: 12px;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease;
}

/* ---- PREMIUM HOVER: lift + shadow ---- */
.service-card:hover{
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(7, 89, 193, .18);
}

.service-card-link{
  display: block;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

/* ---- Image + zoom + shine sweep ---- */
.service-image-wrapper{
  position: relative;
  overflow: hidden;
}
.service-image-wrapper img{
  width: 100%;
 
  object-fit: cover;
  display: block;
  position: relative; z-index: 1;
  transition: transform .6s ease;
}
.service-card:hover .service-image-wrapper img{
  transform: scale(1.08);
}
.service-image-wrapper::after{
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  z-index: 2;
  pointer-events: none;
  transition: left .7s ease;
}
.service-card:hover .service-image-wrapper::after{
  left: 130%;
}


.service-overlay{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--grad-blue-1), var(--grad-blue-2));
  transform: translateY(102%);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}

.service-overlay::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--secondary);
  transition: width .6s ease .15s;
}
/* Arrow circle – rotate + pop-in */
.service-overlay::after{
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f061";
  flex: 0 0 30px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  transform: rotate(-45deg) scale(.5);
  opacity: 0;
  transition: .4s cubic-bezier(.34,1.56,.64,1) .15s;
}

.service-card-link:hover .service-overlay{
  transform: translateY(0);
}
.service-card-link:hover .service-overlay::before{
  width: 100%;
}
.service-card-link:hover .service-overlay::after{
  transform: rotate(0) scale(1);
  opacity: 1;
}

/* Title – slide + fade in */
.overlay-title{
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .5px;
  transform: translateY(10px);
  opacity: 0;
  transition: .4s ease .12s;
}
.service-card-link:hover .overlay-title{
  transform: translateY(0);
  opacity: 1;
}


.service-image-wrapper.img-fallback{
  min-height: 210px;
  background: #E3ECFA;
  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 orange) ---- */
.srv-toggle-wrap{
  text-align: center;
  padding: 40px 0 0;
}
.srv-toggle-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--secondary);
  color: #fff;
  border: 0;
  padding: 13px 30px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: .3s;
}
.srv-toggle-btn:hover{
  background: var(--primary);
  transform: translateY(-2px);
}
.btn-arrow i{ font-size: 12px; }


@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: 26px; }
  .services-header p{ font-size: 14px; }
  .service-image-wrapper img{ height: 200px; }
  .service-image-wrapper.img-fallback{ min-height: 200px; }
}
@media (max-width: 576px){
  .services-grid{ grid-template-columns: 1fr; }
  .service-image-wrapper img{ height: 220px; }
}/* why choose us */

/* =========================================
   GET AN APPOINTMENT CTA – SITE #53
========================================= */
.appointment-section{
    padding: 60px 0;
}
.appointment-container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* ---- Orange band + left dots image ---- */
.appointment-cta{
    background-color: var(--secondary);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px 45px;
}

/* Text right-shifted – dots image ke oper na aaye */
.appointment-cta > div:first-child{
    padding-left: 260px;
}
.appointment-cta h2{
    margin: 0 0 25px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
}
.appointment-cta p{
    margin: 0;
    color: #fff;
    font-size: 16px;
}

/* ---- CALL NOW button (primary blue) ---- */
.appointment-cta a{
    display: inline-block;
    background: var(--primary);
       border: 2px solid var(--primary);
    color: #fff;
    padding: 16px 35px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
    transition: .3s;
}
.appointment-cta a:hover{
    background: white;
    border: 2px solid var(--primary);
    color: #000;
    transform: translateY(-2px);
}

/* =========================================
   RESPONSIVENESS
========================================= */
@media (max-width: 1024px){
    .appointment-cta{ padding: 35px 30px; }
    .appointment-cta h2{ font-size: 32px; }
    .appointment-cta > div:first-child{ padding-left: 120px; }
}
@media (max-width: 900px){
    .appointment-cta{
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
@media (max-width: 768px){
    .appointment-section{ padding: 45px 0; }
    .appointment-cta h2{ font-size: 28px; }
    .appointment-cta > div:first-child{ padding-left: 80px; }
}
@media (max-width: 480px){
    .appointment-cta{ padding: 30px 20px; }
    .appointment-cta h2{ font-size: 24px; }
    .appointment-cta > div:first-child{ padding-left: 20px; }
    .appointment-cta a{ width: 100%; text-align: center; }
}


/* =========================================
   TESTIMONIALS – SITE #53 (compact)
========================================= */
.testimonials-section{
    background: linear-gradient(135deg, var(--grad-blue-1), var(--grad-blue-2));
    border-top: 3px solid #59A7F4;
    border-bottom: 3px solid #59A7F4;
    padding: 45px 0 40px;               /* reduced padding */
}

.testi-grid{
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;                
}

/* ---- Left ---- */
.testi-left h2{
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}
.testi-left p{
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}

/* ---- Right: slides ---- */
.testi-slider{
    min-height: 170px;                  /* ✅ compact height */
}
.testi-slide{
    display: none;
    text-align: right;
}
.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 0 20px;
    color: #fff;
    font-size: 16px;
    line-height: 1.7;
}
.testi-meta h3{
    margin: 0 0 5px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}
.testi-meta p{
    margin: 0;
    color: var(--secondary);
    font-size: 13px;
}

/* ---- Vertical bars ---- */
.testi-bars{
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    margin-top: 30px;                   /* ✅ reduced */
}
.testi-bar{
    width: 6px;
    border-radius: 4px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: .3s;
}
.testi-bar:nth-child(odd){  height: 12px; }
.testi-bar:nth-child(even){ height: 22px; }
.testi-bar:hover{ background: rgba(255,255,255,.8); }
.testi-bar.active{ background: var(--secondary); }

/* =========================================
   RESPONSIVENESS
========================================= */
@media (max-width:1700px){
  .footer-cta{
    display: none;
  }
}
@media (max-width: 1440px){
  .footer-cta{
    display: none;
  }
}

@media (max-width: 1024px){
  
  .footer-cta{
    display: none;
  }
    .testi-grid{ gap: 40px; }
    .testi-left h2{ font-size: 25px; }
}
@media (max-width: 768px){
    .footer-cta{
    display: none;
  }
    .testimonials-section{ padding: 40px 0 35px; }
    .testi-grid{
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .testi-slide{ text-align: center; }
    .testi-slider{ min-height: 240px; }
    .testi-left h2{ font-size: 23px; }
    .testi-bars{ margin-top: 25px; }
}
@media (max-width: 480px){
    .footer-cta{
    display: none;
  }
    .testi-slider{ min-height: 300px; }
}


