/* ========================================= SERVICE PAGE CUSTOM STYLES (MATCHED TO IMAGE) ========================================= */
:root {
  --bg-light-blue: #ceedff;
  --card-bg: #ceedff;
  --text-dark: #1a1a1a;
}
.section-padding {
  padding: 80px 0;
}
.section-padding-top {
  padding-top: 80px;
}
.section-padding-bottom {
  padding-bottom: 80px;
}
.section-title {
  color: var(--text-dark);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
}
.text-left {
  text-align: left;
}
.mt-4 {
  margin-top: 30px;
}
.sp-subtitle {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 13px;
  display: block;
  margin-bottom: 10px;
}
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: #0482d6;
  box-shadow: 0 4px 12px rgba(5, 158, 255, 0.3);
}
.service-page-hero {
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-page-hero .hero-title {
  color: #ffffff;
  font-size: 40px;
  font-weight: 900;
  margin: 0;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 0.9),
    0px 0px 20px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
  text-align: center;
}

@media(max-width: 576px){
    .service-page-hero .hero-title {
        font-size: 30px;
    }
}


/* ========================================
   SERVICE SECTION - UPDATED STYLES
   ======================================== */

/* Service section */
.services-section {
    padding: 80px 20px;
    background-color: #fff;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ===== Service Card Wrapper ===== */
.service-card-wrapper {
    perspective: 1000px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-wrapper:hover .service-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ===== Image Wrapper ===== */
.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
    transition: transform 0.5s ease;
}

.service-card-wrapper:hover .service-img-wrapper img {
    transform: scale(1.1);
}

/* ===== Service Overlay ===== */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 2;
}

.service-card-wrapper:hover .service-overlay {
    opacity: 1;
    visibility: visible;
}

/* ===== Dark Side Panels (Left & Right) ===== */
.service-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(-100%);
    transition: transform 0.4s ease 0.1s;
}

.service-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.4s ease 0.1s;
}

.service-card-wrapper:hover .service-overlay::before {
    transform: translateX(0);
}

.service-card-wrapper:hover .service-overlay::after {
    transform: translateX(0);
}

/* ===== Blue Diamond Box ===== */
.service-icon {
    position: relative;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.95) 0%, rgba(37, 99, 235, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg) scale(0);
    transition: transform 0.5s ease 0.2s;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
    z-index: 3;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.service-icon span {
    display: inline-block;
    transform: rotate(-45deg);
    transform-origin: center;
    width: 100%;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}


.service-card-wrapper:hover .service-icon {
    transform: rotate(45deg) scale(1);
}

/* ===== Service Text Inside Diamond ===== */
.service-icon {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
}
 .service-icon {
    transform: rotate(46deg) scale(1);
}
/* ===== Arrow Icon ===== */


@keyframes arrowPulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.7;
    }
}

/* ===== View All Button ===== */
.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    padding: 15px 40px;
    background-color: #3b82f6;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

/* ===== No Services ===== */
.no-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-icon {
        width: 150px;
        height: 150px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .service-img-wrapper {
        height: 280px;
    }
    
    .service-icon {
        width: 140px;
        height: 140px;
        font-size: 15px;
    }
}












/* ========================================
   CALL TO ACTION SECTION - CORRECTED
   ======================================== */

/* ===== CTA Section ===== */
.cta-section {
    padding: 60px 20px;
    background-color: #3974EC;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

/* ===== Left Content ===== */
.cta-content {
    flex: 1;
}

.cta-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color:  #FFFFFF;

    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.cta-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 500px;
}

/* ===== Right Button ===== */
.cta-action {
    flex-shrink: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background-color: #74DF23;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    background-color: white;
    color: #000000;
    border: 2px solid  #74DF23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(123, 150, 48, 0.4);
}

.btn-cta svg {
    transition: transform 0.3s ease;
}

.btn-cta:hover svg {
    transform: translateX(5px);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .cta-description {
        max-width: 100%;
    }
    
    .cta-title {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .cta-section {
        padding: 40px 15px;
    }
    
    .cta-title {
        font-size: 22px;
    }
    
    .cta-description {
        font-size: 14px;
    }
    
    .btn-cta {
        padding: 12px 24px;
        font-size: 14px;
    }
}






/* CTA ENDS */

.services-section {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.services-section p {
  font-size: 20px;
  color: #000;
  margin-bottom: 30px;
}

.services-section > .container-1200 > p:first-of-type::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 3px;
  background: #f5a623;
  border-radius: 2px;
}

/* Heading */
.services-section > .container-1200 > h2 {
  font-size: 32px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

/* Services Grid */
.services-section > .container-1200 > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.services-section > .container-1200 > ul > li > a {
  display: block;
  text-decoration: none;
}

.services-section > .container-1200 > ul > li > a > img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 4px solid white;
  position: relative;
  z-index: 2;
}

.services-section > .container-1200 > ul > li > a > h3 {
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  text-align: center;
  margin: 0;
  padding: 10px 15px;
  background: #662d91;
  position: relative;
  z-index: 2;
}

.services-section > .container-1200 > ul > li.no-service {
  grid-column: 1 / -1;
  background: #f8f9fa;
  padding: 60px 20px;
}

.services-section > .container-1200 > ul > li.no-service > p {
  color: #666;
  font-size: 18px;
  margin: 0;
}






.service-overlay-link {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.service-overlay-link:hover {
    text-decoration: none;
}

/* Optional: Hover effect on overlay */
.service-card-wrapper:hover .service-overlay-link {
    opacity: 1;
}










/* ===== View All Button ===== */
.view-all-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    display: inline-block;
    padding: 15px 40px;
    background-color: #74DF23;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background-color: white;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
    border: 2px solid #000000;

}


@media (max-width: 576px) {
  .services-section {
    padding: 60px 0;
  }

  .services-section > .container-1200 > ul {
    grid-template-columns: 1fr;
  }

  .services-section > .container-1200 > ul > li > a > img {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 768px) {
  .services-section > .container-1200 > h2 {
    font-size: 26px;
  }
}
@media (max-width: 992px) {
  .services-section > .container-1200 > ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

.btn-view-all {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

#servicesGrid li a {
  display: block;
  border-radius: 0;
  border-bottom: 1px solid #000;
  padding-bottom: 30px;
}

#servicesGrid li a img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
