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


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

body { font-family: 'Open Sans', sans-serif; color: var(--gray); line-height: 1.6; }

.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.4);
}

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

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

/* ========================================= 3. SERVICES SECTION ========================================= */
/* services-section.css */


.services-bg {
    background: #FFE2F2;      /* simple light background */
    padding: 75px 0 85px;
}

.services-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.container-1200 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

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

/* Service Card */
.service-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-card-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Service Image Wrapper */
.service-image-wrapper {
    position: relative;
    width: 100%;
  
    overflow: hidden;
}

.service-image-wrapper img {
    width: 100%;
  
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrapper img {
    transform: scale(1.05);
}

/* Service Overlay */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #9e1f6385;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: 20px;
}

.service-card:hover .service-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFE2F2;
    text-align: center;
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    text-transform: uppercase;
}

.service-card:hover .overlay-title {
    transform: translateY(0);
}

/* Toggle Button */
.srv-toggle-wrap {
    text-align: center;
    margin-top: 40px;
}

.srv-toggle-btn {
    background: #9E1F63;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
   
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.srv-toggle-btn:hover {
    background: #1D75BC;;
    transform: translateY(-3px);
   
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.srv-toggle-btn[data-expanded="true"] .btn-arrow {
    transform: rotate(180deg);
}

/* Extra Services (Hidden by default) */
.srv-extra {
    display: none;
}

.srv-extra.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* .service-image-wrapper {
        height: 250px;
    }
     */
    .section-title {
        font-size: 26px;
    }
    
    .overlay-title {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    
    
    .overlay-title {
        font-size: 18px;
    }
}
.service-image-wrapper.img-fallback{
  min-height: 230px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-image-wrapper.img-fallback::before{
  content: attr(data-title);
  color: palevioletred;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 20px;
  word-break: break-word;
}
/* =============================================
   FUN FACTS / COUNTERS
============================================= */
.funfact-section {
    background: #f7f9fc;
    padding: 95px 0;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
}
.funfact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.funfact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* Each Item */
.funfact {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 45px 0;
    cursor: default;
}

/* Background Vertical Rectangle */
.funfact-rect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 155px;
    border: 3px solid #ececec;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* Hover → rectangle slowly spin ho kar ruk jaye */
.funfact:hover .funfact-rect {
    animation: rectSpin 2.8s ease-in-out forwards;
}
@keyframes rectSpin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Number (magenta) */
.funfact-number {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 800;
    color: #9E1F63;
    line-height: 1;
}

/* Label (blue) */
.funfact-label {
    position: relative;
    z-index: 1;
    margin-top: 14px;
    font-size: 18px;
    color: #1D75BC;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .funfact-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .funfact-number { font-size: 46px; }
}
@media (max-width: 576px) {
    .funfact-section { padding: 70px 0; }
    .funfact-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .funfact-number { font-size: 36px; }
    .funfact-label { font-size: 15px; }
    .funfact-rect { width: 58px; height: 120px; }
}

/* =============================================
   BLUE CTA STRIP
============================================= */
.cta-blue {
    background: #1D75BC;
    padding: 55px 0;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
}
.cta-blue-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Text */
.cta-blue-text h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
}
.cta-blue-text p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

/* Magenta Call Us Button */
.cta-blue-btn {
    flex-shrink: 0;
    display: inline-block;
    background: #9E1F63;
    color: #fff;
    padding: 18px 42px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease;
}
.cta-blue-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
    border:  2px solid #9E1F63;;
}

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .cta-blue-container { flex-direction: column; text-align: center; gap: 25px; padding: 0 25px; }
    .cta-blue-text h2 { font-size: 19px; }
}
@media (max-width: 576px) {
    .cta-blue { padding: 45px 0; }
    .cta-blue-text h2 { font-size: 17px; }
    .cta-blue-text p { font-size: 13px; }
    .cta-blue-btn { padding: 15px 36px; font-size: 14px; }
}