/* Building Engineering Section with Override Styles */
.building-engineering-custom-section {
    width: 100% !important;
    position: relative !important;
}

.building-engineering-custom-section .custom-image-container {
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.building-engineering-custom-section .custom-responsive-image {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.building-engineering-custom-section .custom-text-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important; /* Changed from center to flex-end to position at bottom */
}

.building-engineering-custom-section .custom-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px 50px 30px !important; /* Added bottom padding of 50px */
}

/* Using unique class name with !important */
.custom-engineering-title {
    color: #FFF !important;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25) !important;
    font-family: Manrope, sans-serif !important;
    font-size: 72px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 96.303% !important; /* 69.338px */
    letter-spacing: -3.6px !important;
    /* Reset any other styles */
    margin: 0 !important;
    padding: 0 !important;
    text-transform: none !important;
    border: none !important;
    background: none !important;
}

/* Large screens adjustment */
@media screen and (max-width: 1800px) {
    .custom-engineering-title {
        font-size: 66px !important;
        letter-spacing: -3.3px !important;
    }
}

@media screen and (max-width: 1600px) {
    .custom-engineering-title {
        font-size: 60px !important;
        letter-spacing: -3px !important;
    }
}

@media screen and (max-width: 1400px) {
    .custom-engineering-title {
        font-size: 54px !important;
        letter-spacing: -2.7px !important;
    }
}

@media screen and (max-width: 1200px) {
    .custom-engineering-title {
        font-size: 50px !important;
        letter-spacing: -2.5px !important;
    }
}

@media screen and (max-width: 992px) {
    .custom-engineering-title {
        font-size: 46px !important;
        letter-spacing: -2.3px !important;
    }
}

/* Mobile-only adjustments */
@media screen and (max-width: 768px) {
    .building-engineering-custom-section .custom-image-container {
        min-height: 400px !important; /* Added height for mobile */
    }
    
    .building-engineering-custom-section .custom-responsive-image {
        height: 100% !important;
        object-fit: cover !important; /* Makes image cover the container */
        position: absolute !important; /* Position absolute to fill container */
    }
    
    .custom-engineering-title {
        font-size: 42px !important;
        letter-spacing: -2.1px !important;
    }
    
    .building-engineering-custom-section .custom-container {
        padding: 0 20px 40px 20px !important; /* Adjusted padding for medium screens */
    }
}

@media screen and (max-width: 576px) {
    .building-engineering-custom-section .custom-image-container {
        min-height: 350px !important; /* Slightly reduced height for smaller mobile */
    }
    
    .custom-engineering-title {
        font-size: 36px !important;
        letter-spacing: -1.8px !important;
    }
    
    .building-engineering-custom-section .custom-container {
        padding: 0 15px 30px 15px !important; /* Adjusted padding for small screens */
    }
}

@media screen and (max-width: 400px) {
    .building-engineering-custom-section .custom-image-container {
        min-height: 300px !important; /* Further reduced height for very small screens */
    }
    
    .custom-engineering-title {
        font-size: 32px !important;
        letter-spacing: -1.6px !important;
    }
}


/* New Section with Gray Background */
.building-services-description {
    background-color: #E8ECEF !important;
    padding: 60px 0 !important;
    width: 100% !important;
}

.services-content {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

.services-heading {
    color: #292C2F !important;
    font-family: Manrope, sans-serif !important;
    font-size: 39.81px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 100% !important; /* 39.81px */
    letter-spacing: -1.791px !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.services-subheading {
    color: #8D9FB2 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 19.2px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments for new section */
@media screen and (max-width: 992px) {
    .services-heading {
        font-size: 34px !important;
        letter-spacing: -1.5px !important;
    }
    
    .services-subheading {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 768px) {
    .building-services-description {
        padding: 50px 0 !important;
    }
    
    .services-heading {
        font-size: 30px !important;
        letter-spacing: -1.3px !important;
    }
    
    .services-content {
        padding: 0 20px !important;
    }
}

@media screen and (max-width: 576px) {
    .building-services-description {
        padding: 40px 0 !important;
    }
    
    .services-heading {
        font-size: 26px !important;
        letter-spacing: -1.1px !important;
    }
    
    .services-subheading {
        font-size: 16px !important;
    }
    
    .services-content {
        padding: 0 15px !important;
    }
}


/* New Section with bd-img Image - Full Width */
.building-engineering-full-width-image {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.bd-img-full {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Services Overview Section (bd-img) */
.services-overview-section {
    width: 100% !important;
    background-image: url('../images/building/bd-img.png') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 70px 0 !important;
    position: relative !important;
}

.services-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 150px !important;
}

.services-left-content {
    flex: 1 !important;
    min-width: 300px !important;
    max-width: 500px !important;
}

.services-subtitle {
    color: #2BA88A !important;
    font-family: Manrope, sans-serif !important;
    font-size: 23.04px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.461px !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.services-main-heading {
    color: #4D6273 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 45.78px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -2.389px !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.services-description {
    color: #757575 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.talk-expert-button {
    display: inline-block !important;
    border-radius: 2px !important;
    background: #2BA88A !important;
    color: #FFF !important;
    text-align: center !important;
    font-feature-settings: 'liga' off, 'clig' off !important;
    font-family: Manrope, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    padding: 15px 30px !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
}

.talk-expert-button:hover {
    background: #249879 !important;
}

.services-right-content {
    flex: 1 !important;
    min-width: 300px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}

.service-box {
    border-radius: 4px !important;
    background: #FFF !important;
    padding: 20px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 20px !important;
}

.service-icon {
    width: 50px !important;
    flex-shrink: 0 !important;
}

.service-icon img {
    width: 100% !important;
    height: auto !important;
}

.service-info {
    flex: 1 !important;
}

.service-title {
    color: #61707E !important;
    font-family: Manrope, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.service-text {
    color: #61707E !important;
    font-family: Manrope, sans-serif !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
    .services-main-heading {
        font-size: 40px !important;
        letter-spacing: -2px !important;
    }
    
    .services-subtitle {
        font-size: 20px !important;
    }
}

@media screen and (max-width: 992px) {
    .services-container {
        flex-direction: column !important;
        gap: 40px !important;
    }
    
    .services-left-content {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .services-overview-section {
        padding: 0px 0 !important; /* Reduced from 60px to 40px */
    }
    
    
    .services-container {
        padding: 0px 15px 25px 15px !important;
    }
    
    .services-main-heading {
        font-size: 36px !important;
        letter-spacing: -1.8px !important;
    }
    
    .services-subtitle {
        font-size: 18px !important;
    }
}

@media screen and (max-width: 576px) {
    .services-overview-section {
        padding: 0px 0 !important; /* Reduced from 40px to 30px */
    }
    
    .services-container {
        padding: 0px 15px 25px 15px !important;
        gap: 30px !important;
    }
    
    .services-main-heading {
        font-size: 30px !important;
        letter-spacing: -1.5px !important;
    }
    
    .service-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }
    
    .service-icon {
        width: 40px !important;
    }
}

/* Hover Effects for Service Boxes */
.service-box {
    transition: box-shadow 0.3s ease !important;
}

/* Digital BIM Content Development */
.service-box:nth-child(1):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(241, 143, 1, 0.23), 0px 4px 12px 0px #E8ECEF !important;
}

/* BIM Project Development */
.service-box:nth-child(2):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(153, 196, 72, 0.23), 0px 4px 12px 0px #E8ECEF !important;
}

/* BIM Documentation */
.service-box:nth-child(3):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(151, 71, 255, 0.23), 0px 4px 12px 0px #E8ECEF !important;
}

/* Digital Twin Modelling */
.service-box:nth-child(4):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(189, 30, 30, 0.23), 0px 4px 12px 0px #E8ECEF !important;
}




/* Why Acufore Section */
.why-acufore-section {
    width: 100% !important;
    background-image: url('../images/building/why-acufore.png') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.why-acufore-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    /* padding: 0 30px !important; */
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 204px !important;
}

.why-acufore-image {
    flex: 1 !important;
    min-width: 300px !important;
    max-width: 550px !important;
}

.why-acufore-image img {
    width: 616px !important;
    height: 319px !important;
    border-radius: 4px !important;
    display: block !important;
    object-fit: cover !important; /* This ensures the image covers the area without distortion */
}

.why-acufore-content {
    flex: 1 !important;
    min-width: 300px !important;
}

.why-acufore-subtitle {
    color: #2BA88A !important;
    font-family: Manrope, sans-serif !important;
    font-size: 23.04px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.461px !important;
    margin: 0 0 5px 0 !important;
    padding: 0 !important;
}

.why-acufore-heading {
    color: #FFF !important;
    font-family: Manrope, sans-serif !important;
    font-size: 47.78px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -2.389px !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
}

.why-acufore-button {
    display: inline-block !important;
    border-radius: 2px !important;
    background: #2BA88A !important;
    color: #FFF !important;
    text-align: center !important;
    font-family: Manrope, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    padding: 15px 30px !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    box-shadow: 0px 4px 12px 0px rgba(41, 44, 47, 0.25) !important;
}

.why-acufore-button:hover {
    background: #249879 !important;
}

/* Responsive adjustments */

@media screen and (max-width: 1500px) {
    .why-acufore-container {
        gap: 190px !important; 
        padding: 0 20px !important;
    }
}

@media screen and (max-width: 1200px) {
    .why-acufore-heading {
        font-size: 42px !important;
        letter-spacing: -2.1px !important;
    }

    .why-acufore-container {
        flex-direction: column-reverse !important;
        gap: 40px !important; /* Reduced from 140px to 40px */
        padding: 0 20px !important;
    }
}
/* Adjust the gap in why-acufore-container for mobile */
@media screen and (max-width: 992px) {
    .why-acufore-container {
        flex-direction: column-reverse !important;
        gap: 40px !important; /* Reduced from 140px to 40px */
        padding: 0 30px !important;
    }
    
    .why-acufore-image {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 768px) {
    .why-acufore-section {
        padding: 60px 0 !important;
    }
    
    .why-acufore-container {
        padding: 0 30px !important;
        gap: 30px !important; /* Further reduced for smaller screens */
    }
    
    .why-acufore-heading {
        font-size: 36px !important;
        letter-spacing: -1.8px !important;
    }
    
    .why-acufore-subtitle {
        font-size: 20px !important;
    }

    .why-acufore-image img {
        width: 100% !important; /* Full width on smaller screens */
        height: auto !important; /* Auto height to maintain aspect ratio */
        max-height: 319px !important; /* Maximum height same as desktop */
    }
}

@media screen and (max-width: 576px) {
    .why-acufore-section {
        padding: 40px 0 !important;
    }
    
    .why-acufore-container {
        padding: 0 15px !important;
        gap: 25px !important; /* Even smaller gap for very small screens */
    }
    
    .why-acufore-heading {
        font-size: 30px !important;
        letter-spacing: -1.5px !important;
    }
    
    .why-acufore-subtitle {
        font-size: 18px !important;
    }
}


@media screen and (max-width: 768px) {
    .why-acufore-image iframe {
        width: 100% !important; /* Make iframe full width of container */
        height: auto !important; /* This alone won't maintain aspect ratio */
        aspect-ratio: 16/9 !important; /* Maintain video aspect ratio */
        max-height: 319px !important; /* Keep max height same as desktop */
    }
}

@media screen and (max-width: 576px) {
    .why-acufore-image iframe {
        width: 100% !important;
        aspect-ratio: 16/9 !important;
        max-height: 250px !important; /* Slightly smaller for very small screens */
    }
}



/* Success Stories Section Styles */
.success-stories-section {
    width: 100% !important;
    background-color: #E8ECEF !important;
    padding: 70px 0 !important;
}

.success-stories-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

.success-stories-heading {
    color: #4D6273 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 32px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.96px !important;
    margin-bottom: 40px !important;
}

/* Image Cards Row */
.success-stories-images {
    display: flex !important;
    justify-content: space-between !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
}

.success-story-image-card {
    width: calc(33.333% - 14px) !important;
}

.success-story-link {
    display: block !important;
    text-decoration: none !important;
    color: inherit !important;
    width: 100% !important;
}

.success-story-image-container {
    position: relative !important;
    width: 100% !important;
    height: 0 !important;
    padding-bottom: 66% !important; /* Aspect ratio for image */
    overflow: hidden !important;
    border-radius: 4px !important;
}

.success-story-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.success-story-category {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
    padding: 8px 15px !important;
    font-family: Manrope, sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    text-align: center !important;
}


.success-story-category:hover {
    background-color: rgba(53, 53, 53, 0.5) !important;
}

/* Content Sections Row */
.success-stories-content-row {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 30px !important;
}

.success-story-content-section {
    width: 50% !important;
    padding: 0 15px !important;
    position: relative !important;
}

.success-story-content-section:first-child {
    padding-left: 0 !important;
    padding-right: 30px !important;
}

.success-story-content-section:last-child {
    padding-right: 0 !important;
    padding-left: 30px !important;
}

.success-story-content-section:first-child::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    width: 1px !important;
    background-color: #D1D9E2 !important;
}

.success-story-percentage {
    color: #2BA88A !important; /* Green color shown in image */
    font-family: Manrope, sans-serif !important;
    font-size: 23.04px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.461px !important;
    margin-bottom: 8px !important;
}

.success-story-description {
    color: #465E75 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
}

.success-stories-disclaimer {
    color: #8D9FB2 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-align: left !important;
    margin-top: 20px !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .success-stories-heading {
        font-size: 28px !important;
        letter-spacing: -0.84px !important;
    }
    
    .success-stories-images {
        flex-wrap: wrap !important;
    }
    
    .success-story-image-card {
        width: calc(50% - 10px) !important;
    }
    
    .success-story-image-card:nth-child(3) {
        margin-top: 20px !important;
        width: 100% !important;
    }
    
    .success-stories-content-row {
        flex-direction: column !important;
    }
    
    .success-story-content-section {
        width: 100% !important;
        padding: 15px 0 !important;
    }
    
    .success-story-content-section:first-child {
        padding-right: 0 !important;
        border-bottom: 1px solid #D1D9E2 !important;
    }
    
    .success-story-content-section:first-child::after {
        display: none !important;
    }
    
    .success-story-content-section:last-child {
        padding-left: 0 !important;
    }
}

@media screen and (max-width: 768px) {
    .success-stories-section {
        padding: 50px 0 !important;
    }
    
    .success-stories-heading {
        font-size: 26px !important;
        letter-spacing: -0.78px !important;
    }
    
    .success-stories-container {
        padding: 0 20px !important;
    }
    
    .success-story-image-card {
        width: 100% !important;
        margin-bottom: 15px !important;
    }
    
    .success-story-image-card:nth-child(3) {
        margin-top: 0 !important;
    }
}

@media screen and (max-width: 576px) {
    .success-stories-section {
        padding: 40px 0 !important;
    }
    
    .success-stories-heading {
        font-size: 24px !important;
        letter-spacing: -0.72px !important;
        margin-bottom: 30px !important;
    }
    
    .success-stories-container {
        padding: 0 15px !important;
    }
    
    .success-stories-disclaimer {
        font-size: 12px !important;
    }
}

@media screen and (min-width: 1200px) and (max-width: 4000px) {
    .success-stories-disclaimer {
        width: 827px;    
    }
}
  




/* Services Overlay Section Styles */
.services-overlay-section {
    width: 100% !important;
    padding: 60px 0 !important;
    /* background: url('../images/building/bg-bim.png') no-repeat center center !important; */
    background-size: cover !important;
    position: relative !important;
}

.services-overlay-section::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.services-containers {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
}

.services-title {
    color: var(--Cool-grey, #4c4c4c) !important;
    text-align: center !important; /* This was already there */
    font-family: Manrope, sans-serif !important;
    font-size: 32px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.96px !important;
    width: 100% !important; /* Ensure it takes full width */
    display: block !important; /* Make it a block element */
}

.services-categories {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important; /* This centers the flex items */
    gap: 15px !important;
    width: 100% !important; /* Ensure it takes full width */
}

.service-category {
    padding: 10px 20px !important;
    cursor: pointer !important;
    text-align: center !important;
}

.service-category.active {
    background: #E8EEF3 !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
    border-radius: 3px !important;
    border: 2px solid rgba(255, 255, 255, 0.61) !important;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

.service-category.active .category-name {
    color: #2BA88A !important;
}

.category-name {
    color: #61707E !important;
    font-family: Manrope, sans-serif !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: normal !important;
    transition: color 0.3s ease !important;
}

.service-cards {
    width: 100% !important;
}

.service-cards.hidden {
    display: none !important;
}

.service-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

.service-row:last-child {
    margin-bottom: 0 !important;
}

.service-card {
    flex: 1 !important;
    min-width: calc(33.333% - 20px) !important;
    border-radius: 6px !important;
    background: var(--Cool-grey, #8D9FB2) !important;
    overflow: hidden !important;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.service-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.card-image {
    height: 111px !important;
    overflow: hidden !important;
}

.card-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.card-content {
    padding: 20px !important;
    color: #FFFFFF !important;
}

.card-title {
    font-family: Manrope, sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
}

.card-description {
    font-family: Manrope, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

/* Hide the original full-width-bim-section since we now overlay on it */
.full-width-bim-section {
    display: none !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    .service-card {
        min-width: calc(33.333% - 20px) !important;
    }
}

@media screen and (max-width: 992px) {
    .services-title {
        font-size: 28px !important;
    }
    
    .service-row {
        gap: 20px !important;
    }
    
    .service-card {
        min-width: calc(50% - 10px) !important;
    }
}

@media screen and (max-width: 768px) {
    .services-overlay-section {
        padding: 40px 0 !important;
    }
    
    .services-title {
        font-size: 24px !important;
    }
    
    .services-categories {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .service-category {
        width: 100% !important;
        max-width: 300px !important;
        text-align: center !important;
    }
    
    .service-card {
        min-width: 100% !important;
    }
}

@media screen and (max-width: 576px) {
    .services-containers {
        padding: 0 15px !important;
    }
    
    .services-title {
        font-size: 22px !important;
    }
    
    .card-image {
        height: 100px !important;
    }
}






/* Testimonials Section */
.testimonials-section {
    width: 100% !important;
    background-image: url('../images/building/grey-bg.png') !important;
    background-size: cover !important;
    background-position: center !important;
    padding: 60px 0 !important;
}

.testimonials-container {
    width: 100% !important;
    max-width: 1250px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

.testimonials-heading {
    color: #4D6273 !important;
    font-family: Manrope, sans-serif !important;
    font-size: 32px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -1.75px !important;
    margin: 0 0 40px 0 !important;
}

.testimonials-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 25px !important;
}

.testimonial-card {
    height: 130px !important;
    border-radius: 4px !important;
    background: #FFF !important;
    box-shadow: 0px 4px 12px 0px #E8ECEF !important;
    padding: 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    overflow: hidden !important;
}

.testimonial-avatar {
    display: flex !important;
    width: 58px !important;
    height: 58px !important;
    padding: 7px !important;
    justify-content: center !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.testimonial-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

.testimonial-content {
    flex: 1 !important;
    overflow: hidden !important;
}

.testimonial-name {
    color: #61707E !important;
    font-family: Inter, sans-serif !important;
    font-size: 18px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: normal !important;
    margin-bottom: 5px !important;
}

.testimonial-text {
    color: #61707E !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
}

.testimonials-note {
    color: #61707E !important;
    font-family: Inter, sans-serif !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: 1fr !important;
    }
    
    .testimonial-card {
        height: auto !important;
        min-height: 130px !important;
    }
}

@media screen and (max-width: 768px) {
    .testimonials-section {
        padding: 40px 0 !important;
    }
    
    .testimonials-container {
        padding: 0 20px !important;
    }
    
    .testimonials-heading {
        font-size: 32px !important;
        margin-bottom: 30px !important;
    }
}

@media screen and (max-width: 576px) {
    .testimonials-section {
        padding: 30px 0 !important;
    }
    
    .testimonials-container {
        padding: 0 15px !important;
    }
    
    .testimonials-heading {
        font-size: 28px !important;
        margin-bottom: 25px !important;
    }
    
    .testimonial-card {
        padding: 15px !important;
    }
}

/* Add these hover effects to your existing CSS */
.testimonial-card:nth-child(1):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(151, 71, 255, 0.23), 0px 4px 12px 0px #E8ECEF !important;
    transition: box-shadow 0.3s ease !important;
}

.testimonial-card:nth-child(2):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(153, 196, 72, 0.23), 0px 4px 12px 0px #E8ECEF !important;
    transition: box-shadow 0.3s ease !important;
}

.testimonial-card:nth-child(3):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(189, 30, 30, 0.23), 0px 4px 12px 0px #E8ECEF !important;
    transition: box-shadow 0.3s ease !important;
}

.testimonial-card:nth-child(4):hover {
    box-shadow: 0px 0px 24.5px 0px rgba(241, 143, 1, 0.23), 0px 4px 12px 0px #E8ECEF !important;
    transition: box-shadow 0.3s ease !important;
}


.navbar{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hd-heading {
    display: none;
  }