.no-webp .img-head {
    background-repeat: no-repeat;
    background-image: url(/img/banner-img3.jpg) !important;
}

/* Banner zoom effect styles */
.banner-zoom {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide fallback image by default */
.banner-fallback {
    display: none;
}

/* Image zoom animation */
.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    transform: scale(1);
    animation: zoomInSmooth 6s ease-out forwards;
}

@keyframes zoomInSmooth {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

/* Overlay for better text readability */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    pointer-events: none;
}

/* Heading wrapper for positioning */
.banner-heading-wrapper {
    position: absolute;
    top: 50%;
    left: 38%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 90%;
    max-width: 800px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Heading drop-in animation */
.banner-heading-format {
    color: white;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    font-family: "Carnac Extra Bold", "CarnacBold", Arial, sans-serif;
}

.banner-heading-drop {

    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: dropIn 0.8s ease-out 0.5s forwards;
}


@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .banner-heading-wrapper {
        left: 0;
        transform: translateY(-50%);
        padding-left: 75px;
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .banner-zoom {
        min-height: 300px;
    }

    .banner-heading-drop {
        font-size: clamp(1.5rem, 5vw, 2.5rem);
    }
    
    .banner-heading-wrapper {
        left: 0;
        transform: translateY(-50%);
        width: 85%;
        padding: 0 20px;
        padding-left: 75px;
        text-align: left;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .banner-zoom {
        min-height: 250px;
    }
    
    .banner-heading-wrapper {
        left: 0;
        transform: translateY(-50%);
        width: 90%;
        padding: 0 15px;
        padding-left: 75px;
    }
}

/* Fallback for older browsers without webp support */
.no-webp .banner-image:first-of-type {
    display: none;
}

.no-webp .banner-fallback {
    display: block !important;
}

@media (prefers-reduced-motion: reduce) {
    .banner-image {
        animation: none;
        transform: scale(1);
    }

    .banner-heading-drop {
        animation: none;
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICE CARDS COMPONENT ===== */
/* Service Cards Container */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
    width: 100%;
}

/* Dynamic column classes - 3 columns per row */
.service-cards-container.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Dynamic column classes - 4 columns per row */
.service-cards-container.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Individual Service Card */
.service-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

/*.service-card:hover {*/
/*transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);*/
/*}*/

/* Service Card Image/Icon Area with Big Text Animation */
.service-card-image {
    position: relative;
    /*padding:150px 0px 0px 0px;*/
    width: 100%;
    height: 100px;
    background: #D1EB50;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    transition: none;
}

.service-card:hover .service-card-image {
    background: #2B303A;
}

/* Large Outlined Text that animates */
/*.service-card-big-text {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14rem;
    font-weight: 700;
    font-family: "Roboto", Arial, sans-serif;
    white-space: nowrap;
    color: #D1EB50;
    -webkit-text-stroke: 5px #2B303A;
    text-stroke: 5px #2B303A;
    paint-order: stroke fill;
    margin: 0;
    line-height: 1;
    transform: translateX(50px);*/
/* Normal resting position */
/*pointer-events: none;*/
/* transition: color 0s, -webkit-text-stroke 0s;*/
/*}

.service-card:hover .service-card-big-text {
    color: #2B303A;
    -webkit-text-stroke: 3px #D1EB50;
    text-stroke: 3px #D1EB50;
    animation: marquee 5s linear infinite;
}*/

.service-card-big-text {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 10rem;
    font-weight: 700;
    font-family: "Roboto", Arial, sans-serif;
    white-space: nowrap;
    color: #D1EB50;
    -webkit-text-stroke: 4px #2B303A;
    text-stroke: 4px #2B303A;
    paint-order: stroke fill;
    margin: 0;
    line-height: 1;
    transform: translateX(50px);
    pointer-events: none;
    transition: none !important;
}

.service-card-big-text.animating,
.service-card-big-text.has-been-hovered {
    color: #2B303A;
    -webkit-text-stroke: 4px #D1EB50;
    text-stroke: 4px #D1EB50;
    transition: none !important;
}


/*@keyframes marquee {
    0% {
        transform: translateX(300px);*/
/* Fixed start point - adjust to your card width */
/*}

    100% {
        transform: translateX(-800px);*/
/* Fixed end point */
/*}
}*/

/* Service Card Content Area */
.service-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

/* Service Card Title */
.service-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    font-family: "Carnac Extra Bold", "CarnacBold", Arial, sans-serif;
    color: #2B303A;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

/* Service Card Description */
.service-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #54596f;
    margin: 0;
    flex: 1;
}

/* Service Card Link/Button */
.service-card-link {
    display: inline-block;
    margin-top: 15px;
    color: #D1EB50;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-link {
    color: #2B303A;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    /* 4-column layout collapses to 2 columns on medium screens */
    .service-cards-container.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-big-text {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .service-cards-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 0;
    }

    .service-card-title {
        font-size: 1.5rem;
    }

    .service-card-content {
        padding: 20px;
    }

    .service-card-image {
        height: 120px;
    }

    .service-card-big-text {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .service-cards-container {
        gap: 15px;
        padding: 20px 0;
    }

    .service-card-title {
        font-size: 1.25rem;
    }

    .service-card-content {
        padding: 15px;
    }

    .service-card-description {
        font-size: 0.9rem;
    }

    .service-card-big-text {
        font-size: 2.5rem;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {

    .service-card,
    .service-card-link,
    .service-card-big-text,
    .service-card-image {
        transition: none;
    }
}