.rex-feature{
    background: initial;
}
.rex-feature:before{
    background: initial;
}

.custom-button-link {
    display: inline-block;
    padding: 8px 20px;
    background: #006699;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #006699;
    cursor: pointer;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-heading-wrapper {
    text-align: center;
    margin-bottom: 30px;
}

.services-main-title {
    font-size: 2.8rem;
    color: #006699;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #006699;
    border-radius: 2px;
}

.services-intro-section {
    max-width: 900px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.services-description-text {
    font-size: 16px;
    color: #555;
    text-align: center;
    line-height: 1.8;
}

.services-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.service-card-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 35px 25px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.service-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #006699;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 102, 153, 0.2);
    border-color: #006699;
}

.service-card-item:hover::before {
    transform: scaleX(1);
}

.service-icon-container {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #006699 0%, #0088cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card-item:hover .service-icon-container {
    transform: rotate(360deg) scale(1.1);
}

.service-feature-icon {
    font-size: 2rem;
    color: #ffffff;
}

.service-title-heading {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 18px;
    font-weight: 600;
}

.service-description-paragraph {
    text-align: center;
    font-size: 17px;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 992px) {
    .services-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .services-main-title {
        font-size: 2.3rem;
    }

    .contact-info {
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .services-container {
        padding: 0 15px;
    }

    .services-main-title {
        font-size: 2rem;
    }

    .services-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .services-description-text {
        font-size: 16px;
    }

    .service-card-item {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 40px 15px;
    }

    .services-main-title {
        font-size: 1.8rem;
    }

    .services-description-text {
        font-size: 15px;
    }

    .service-title-heading {
        font-size: 1.3rem;
    }

    .service-description-paragraph {
        font-size: 15px;
    }
}


/* ---------------Footer------------------- */
.site-footer {
    background: rgba(99, 99, 99, .19);
    color: #ffffff;
    padding: 60px 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.brand-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #111;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #ffffff;
}

.phone-icon {
    width: 18px;
    height: 18px;
}

.footer-links-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111;
}

.nav-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 0px;
}

.nav-link-item a {
    color: #111;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    display: inline-block;
}

.nav-link-item a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-social-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icons-wrapper {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
}

.social-link:hover {
    background: #555555;
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #333333;
    padding-top: 25px;
    text-align: center;
    color: #999999;
    font-size: 14px;
}
.rex-logo img{
    width: 100% !important;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 800px) {
    .rex-logo img{
        width: 60% !important;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .site-footer {
        padding: 40px 20px 20px;
    }
}