.hero-gradient-bg {
    background: linear-gradient(135deg, #21529d 0%, #53b4c3 80%, #daf1fa 100%);
    padding-top: 0;
    padding-bottom: 0;
    min-height: 720px;
    position: relative;
    overflow: hidden;
    border-bottom-left-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Make content sit closer to bottom */
}

.hero-content-carpet {
    padding: 90px 0 60px 0;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    /* Align items to the bottom */
    flex-wrap: wrap;
    gap: 0 30px;
}

.hero-text-area {
    color: #fff;
    max-width: 650px;
    z-index: 2;
    animation: heroFadeInLeft 1s;
}

.hero-text-area h1 {
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: .8px;
    background: linear-gradient(90deg, #fff 60%, #90caf9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text-area h2 {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin-bottom: 16px;
    color: #e1ecfa;
}

.hero-text-area p {
    font-size: 1.1rem;
    color: #f5fafd;
    margin-bottom: 22px;
}

.hero-btns {
    margin-top: 18px;
}

.hero-btns .btn {
    font-weight: 700;
    border-radius: 40px;
    margin-right: 10px;
    box-shadow: 0 5px 20px #19429018;
}

.hero-btns .btn-primary {
    background: linear-gradient(90deg, #21529d, #53b4c3);
    border: none;
}

.hero-btns .btn-outline-light {
    color: #21529d;
    background: #fff;
    border: 2px solid #fff;
    transition: background 0.2s, color 0.2s;
}

.hero-btns .btn-outline-light:hover {
    background: #21529d;
    color: #fff;
}

.hero-image-area {
    flex: 1 1 330px;
    display: flex;
    align-items: flex-end;
    /* Place image at the bottom */
    justify-content: flex-end;
    min-width: 260px;
    min-height: 250px;
    z-index: 2;
    position: relative;
    animation: heroFadeInRight 1.1s 0.3s both;
}

.carpet-img-illus {
    width: 320px;
    max-width: 85vw;
    filter: drop-shadow(0 22px 32px #0b466833);
    animation: herofadeup 1.4s cubic-bezier(.35, .85, .58, 1.2);
}

@keyframes heroCarpetSpin {
    0% {
        transform: rotate(-3deg) scale(1);
    }

    60% {
        transform: rotate(5deg) scale(1.03);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

@keyframes heroFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* Responsive */
@media (max-width: 991.98px) {
    .hero-content-carpet {
        flex-direction: column;
        text-align: center;
        gap: 30px 0;
        align-items: flex-end;
        /* Keep text/image at bottom in column layout */
        justify-content: flex-end;
    }

    .hero-image-area {
        justify-content: center;
        align-items: flex-end;
    }

    .hero-gradient-bg {
        padding-bottom: 50px;
        justify-content: flex-end;
    }
}

@media (max-width:600px) {
    .hero-text-area h1 {
        font-size: 2.1rem;
    }

    .carpet-img-illus {
        width: 180px;
    }

    .hero-content-carpet {
        padding-bottom: 44px;
    }
}




.service-item {
    background: white;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e9ecef;
}

.service-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 10px 28px rgba(33, 82, 157, 0.15), 0 1.5px 5px #53b4c355;
    border-left: 4px solid #53b4c3;
}

.service-btn {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #21529d 0%, #53b4c3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px #21529d22;
}

.nav-pills .nav-link {
    background: white;
    color: #21529d;
    border: 2px solid #21529d;
    border-radius: 25px;
    padding: 10px 28px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1.13rem;
    box-shadow: 0 2px 6px #dee5e9;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:focus {
    background: linear-gradient(135deg, #21529d 0%, #53b4c3 100%);
    color: white;
    border-color: #21529d;
    box-shadow: 0 2px 14px #53b4c366;
}

.nav-pills .nav-link:hover:not(.active) {
    background: #e9ecef;
    border-color: #21529d;
    color: #53b4c3;
}

.service-content a {
    color: #21529d;
    text-decoration: none;
    transition: color 0.3s;
}

.service-content a:hover {
    color: #53b4c3;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .col-lg-2.col-xl-4 {
        margin: 24px 0;
    }
}



.footer-contact a:hover {
    color: #53b4c3 !important;
    text-decoration: underline !important;
}

.back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #21529d 0%, #53b4c3 100%);
    border: none;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(33, 82, 157, 0.4);
}

.list-unstyled a:hover {
    opacity: 1 !important;
    color: #53b4c3 !important;
    transform: translateX(5px);
    transition: all 0.3s ease;
}
