﻿/* Section Background */
.ssc-services-section {
background: #f8f5f2;
  padding: 100px 0;
  text-align: center;
  width: 100vw !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
}

/* Top Label */
.ssc-top-label {
  font-size: 14px;
  letter-spacing: 2px;
  /* color: #0b6b60; */
  margin-bottom: 5px;
}

/* Card Styling */
.ssc-service-card {
  background: var(--theme-color-light);
  border-radius: 22px;
  padding: 35px 25px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s;
  height: 100%;
}

.ssc-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

/* Illustration */
.ssc-img {
  width: 80%;
  max-width: 230px;
  display: block;
  margin: auto;
  margin-bottom: 20px;
}

/* Paragraph */
.ssc-service-card p {
  font-size: 15px;
  margin-bottom: 20px;
}
.ssc-btn:hover {
  background: var(--ssc-color1);
  color: var(--theme-color-light);  
}

/* gap issue */

.ssc-service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    padding: 30px;
}

.ssc-service-card p {
    flex-grow: 1; /* pushes button to bottom evenly */
}

.ssc-btn {
    align-self: center; /* button stays centered */
}

html body div.page-wrapper div.container.py-5 section.ssc-services-section div.container div.row.justify-content-center.g-4 div.col-md-7.col-lg-5{
  max-width: 96%;
}

html body div.page-wrapper section.page-section.testimonial-section-three{
  margin-top: -52px;
  margin-bottom: 52px;
}

/* new services  */

/* MAIN SECTION */
.ssc-workwithus {
    position: relative;
    padding: 100px 0;
    color: var(--theme-color-light);
    text-align: center;
    overflow: hidden;
}

/* BACKGROUND IMAGE FROM HTML */
.ssc-work-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

/* DARK OVERLAY */
.ssc-workwithus::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

/* HEADER */
.ssc-work-header h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--theme-color-light);
}

.ssc-work-header p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 50px;
}

/* GRID OF CARDS */
.ssc-work-cards {
    display: grid;
    grid-template-columns: repeat(4, 400px); /* controlled size */
    gap: 30px;
    justify-content: center;
}

.ssc-card {
    width: 350px;
  height: 350px;
    perspective: 1000px;
}


/* CARD INNER */
.ssc-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
    border-radius: 16px;
    margin-left: 20px;
}

/* HOVER EFFECT */
.ssc-card:hover .ssc-card-inner {
    transform: rotateY(180deg);
}

/* FRONT + BACK OF CARD */
.ssc-card-front,
.ssc-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 25px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* FRONT STYLE */
.ssc-card-front {
    background: var(--theme-color-light);
    color: var(--theme-color-black);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.ssc-card-back p{
    color: var(--theme-color-light);
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .ssc-work-cards {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 20px;
    }
}

@media (max-width: 576px) {
    .ssc-work-cards {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

html body div.page-wrapper section.page-section.testimonial-section-three{
  margin-top: 0;
}

/* for the new service section */

.new-services-section {
  /* background: linear-gradient(180deg, #2a183b, #3b2453); */
  padding: 80px 20px;
}

.services-container {
  max-width: 1300px;
  margin: auto;
}

.services-title {
  text-align: center;
  color: var(--theme-color-black);
  font-size: 36px;
  margin-bottom: 50px;
}

/* 2*2 grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* Card */
.services-card {
  background: #f3f1f6;
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.card-header img {
  width: 60px;
  height: 60px;
}

.card-header h3 {
  margin: 0;
  font-size: 22px;
}

.card-header p {
  margin: 4px 0 0;
  font-size: 16px;
}

.services-card h4 {
  font-size: 15px;
  text-transform: uppercase;
  margin: 18px 0 10px;
}

.services-card ul {
  padding-left: 18px;
  margin-bottom: 15px;
}

.services-card ul li {
  font-size: 16px;
  margin-bottom: 6px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.badges span {
  background: var(--ssc-color1);
  color: var(--theme-color-light);
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 6px;
}

.desc {
  font-size: 16px;
  margin-bottom: 15px;
}

.link {
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-title {
    font-size: 28px;
    line-height: 40px;
  }
}

/* inner cards  */
.inner-info-card {
    /* background: linear-gradient(180deg, #f1edf7, #e9e3f2); */
    border-radius: 10px;
    padding: 16px 18px;
    margin: 15px 0;
   /* box-shadow: 0 12px 30px rgba(0,0,0,0.2);*/
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    border: 1px solid #d6cfe6;
}

/* naics list style  */
.inner-info-card ul {
  padding-left: 18px;
  margin-bottom: 10px;
}

/* bullet in brown  */
/* .inner-info-card ul li::marker {
  color: #b58a45;
} */

/* Badges inside inner card */
.inner-info-card .badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  margin-top: auto;
}


/* Push Learn More to bottom */
.services-card .desc {
  margin-bottom: auto;
}

/* Learn more */
.services-card .link {
  margin-top: 20px;
  align-self: first baseline;
}
/* learn more button  */

.link {
  display: inline-block;
  background-color:var(--ssc-orange-color);
  color: var(--theme-color-light);
  padding: 12px 26px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* Hover effect */
.link:hover {
  background-color: var(--ssc-orange-color);
  color: var(--theme-color-light);
  transform: translateY(-2px);
}

/* new sliding logo  */
.agency-slider {
    max-width: 1300px;
    margin: 0 auto;
}

/* Smooth slow slide */
.carousel-item {
    transition: transform 1.2s ease-in-out;
}

.carousel-control-next {
    right: -22px;
}

/* Inactive dots */
.carousel-indicators [data-bs-target] {
    background-color: var(--ssc-border);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 1;
}

/* Active dot */
.carousel-indicators .active {
    background-color: var(--ssc-light1);
}


.carousel-control-prev,
.carousel-control-next {
    height: 44px;
    background: var(--theme-color-light);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    z-index: 2;
}

/* Move arrows OUTSIDE logo content */
.carousel-control-prev {
    left: -45px;
}

.carousel-control-next {
    right: -45px;
}
.carousel-indicators {
  margin-bottom: -16px;
}

.carousel-inner {
    min-height: 160px;   
}

/* Logos */
.agency-logo {
    height: 70px;
    width: auto;
    max-width: none;
    object-fit: contain;
    flex-shrink: 0;
}


/* Hover effect */
.agency-logo:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Carousel buttons polish */
.carousel-control-prev,
.carousel-control-next {
  width: 45px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

/* Dots */
.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/*new */
.agency-slider {
    position: relative;
    max-width: 1300px;
    margin: auto;
}

/* Logo strip */
.logos-scroll {
    display: flex;
    align-items: center;
    gap: 40px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 20px 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

    /* Hide scrollbar */
    .logos-scroll::-webkit-scrollbar {
        display: none;
    }

.logos-scroll {
    scrollbar-width: none;
}

/* Logos */
.agency-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

    .agency-logo:hover {
        transform: scale(1.08);
    }

/* Arrows */
.logo-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 5;
}

    .logo-nav.prev {
        left: -20px;
    }

    .logo-nav.next {
        right: -20px;
    }

/* Tablet */
@media (max-width: 991px) {
    .agency-logo {
        height: 65px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .logos-scroll {
        padding: 20px 20px;
    }

    .agency-logo {
        height: 60px;
    }
}
