/* ================================
   M&S Gebäudereinigung Custom Styles
   ================================ */

/* Logo Text Styles */
.logo-text {
    font-family: var(--secondary-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--heading-color);
    text-decoration: none;
    transition: all 300ms ease;
}

.logo-text:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.sticky-header .logo-text {
    font-size: 20px;
}

.footer-logo-text {
    font-family: var(--secondary-font);
    font-size: 22px;
    font-weight: 700;
    color: var(--white-color);
    text-decoration: none;
}

.footer-logo-text:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Header Button Fix */
.main-header .outer-box .btn-box {
    margin-top: 28px;
    float: left;
}

/* WhatsApp Button */
.whatsapp-btn {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

.whatsapp-btn:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 18px;
}

/* Banner CTA Buttons */
.banner-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.banner-btn .link-btn i {
    margin-right: 10px;
    font-size: 18px;
}

/* WhatsApp CTA Button - Standalone Styles */
.whatsapp-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    font-family: var(--secondary-font);
    font-weight: 700;
    font-size: 16px;
    color: #fff;
    background-color: #25D366;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 300ms ease;
}

.whatsapp-cta:hover {
    background-color: #128C7E;
    color: #fff;
    text-decoration: none;
}

.whatsapp-cta i {
    margin-right: 10px;
    font-size: 24px;
}

@media only screen and (max-width: 576px) {
    .banner-btn {
        flex-direction: column;
    }
    
    .banner-btn .link-btn,
    .banner-btn .whatsapp-cta {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.main-header .nav-outer {
    float: right;
    display: flex;
    align-items: center;
}

/* Navigation underline fix */
.main-menu .navigation > li > a:before {
    bottom: -36px;
}

/* Services Section Grid Layout */
.choose-section {
    margin-bottom: 80px;
}

.services-grid {
    margin-top: 40px;
}

.services-grid .single-column {
    margin-bottom: 30px;
}

.services-grid .choose_inner-box {
    margin-left: 0;
    margin-top: 0;
}

.services-grid .choose_inner-box .single-item {
    margin: 0;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 25px 50px;
}

.services-grid .choose_inner-box .single-item .icon-img-box {
    margin-bottom: 20px;
}

.services-grid .choose_inner-box .single-item .single-item-title {
    margin: 15px 0 10px;
    font-size: 20px;
}

.services-grid .choose_inner-box .single-item .choose_sub-title {
    margin: 0 0 20px;
    text-align: center;
    flex-grow: 1;
}

.services-grid .choose_inner-box .single-item a {
    position: absolute;
    bottom: -17px;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
}

/* Contact Number Link Color */
.contact-number a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 300ms ease;
}

.contact-number a:hover {
    color: var(--secondary-color);
}

/* Why Choose Us Section - 4 columns */
.service-works .inner-box {
    margin-bottom: 30px;
}

.service-works .inner-box h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-works .inner-box p {
    font-size: 14px;
    line-height: 1.6;
}

/* Adjust icon box for 4 columns */
.service-works .col-lg-3 .service-works__icon-box {
    width: 200px;
    height: 185px;
    line-height: 185px;
    margin: 0 auto 20px;
}

.service-works .col-lg-3 .service-works__icon {
    left: 0;
    background-size: contain;
}

.service-works .col-lg-3 .service-works__hover-icon {
    left: 0;
    background-size: contain;
}

.service-works .col-lg-3 .circle-text {
    right: 10px;
    top: 40px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    line-height: 50px;
}

.service-works .col-lg-3 .circle-text.one,
.service-works .col-lg-3 .circle-text.two,
.service-works .col-lg-3 .circle-text.three {
    right: 10px;
    top: 40px;
}

.service-works .col-lg-3 .icon-box_one,
.service-works .col-lg-3 .icon-box_two,
.service-works .col-lg-3 .icon-box_three {
    margin-left: 0;
    text-align: center;
}

/* Hide arrows for 4 column layout */
.service-works .arrow-one,
.service-works .arrow-two {
    display: none;
}

/* High quality section margin */
.high-quality {
    margin-top: 80px;
}

/* Location section spacing */
.our-loaction {
    padding-bottom: 80px;
}

/* Touch section adjustments */
.touch-section {
    margin-top: 0;
}

/* Responsive Adjustments */
@media only screen and (max-width: 1200px) {
    .service-works .col-lg-3 .service-works__icon-box {
        width: 180px;
        height: 166px;
        line-height: 166px;
    }
    
    .service-works .col-lg-3 .circle-text {
        width: 45px;
        height: 45px;
        font-size: 20px;
        line-height: 45px;
    }
}

@media only screen and (max-width: 991px) {
    .services-grid .choose_inner-box .single-item {
        min-height: 260px;
    }
    
    .service-works .col-lg-3 .service-works__icon-box {
        width: 220px;
        height: 200px;
        line-height: 200px;
    }
    
    .service-works .col-lg-3 .circle-text {
        right: 30px;
    }
    
    .main-header .outer-box .btn-box {
        margin-top: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .logo-text {
        font-size: 18px;
    }
    
    .services-grid .choose_inner-box .single-item {
        min-height: auto;
        padding: 30px 20px 40px;
    }
    
    .contact-number {
        font-size: 40px !important;
        line-height: 50px !important;
    }
    
    .text-content .sub-title {
        font-size: 20px !important;
        line-height: 28px !important;
    }
    
    .main-header .outer-box .btn-box {
        display: none;
    }
}

@media only screen and (max-width: 480px) {
    .contact-number {
        font-size: 28px !important;
    }
    
    .footer-logo-text {
        font-size: 18px;
    }
}
