/* Ajwani Caterers performance, responsive and conversion improvements */
html,
body {
    overflow-x: hidden;
}

/* Gallery refresh */
.ajwani-gallery-card {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ajwani-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.ajwani-gallery-card .image {
    height: 230px;
    margin: 0;
    overflow: hidden;
    background: #f3f3f3;
}

.ajwani-gallery-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.ajwani-gallery-card:hover .image img {
    transform: scale(1.045);
    filter: saturate(1.05) contrast(1.03);
}

.ajwani-gallery-card .zoom-btn {
    opacity: 1;
}

/* Catering services */
.ajwani-service-intro {
    max-width: 820px;
    margin: 0 auto 35px;
    color: #666;
    font-size: 16px;
    line-height: 1.75;
    text-align: center;
}

.ajwani-service-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
}

.ajwani-service-card-wrap {
    display: flex;
    padding: 0 12px 25px;
}

.ajwani-service-card {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.ajwani-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .18);
}

.ajwani-service-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.ajwani-service-card .text {
    min-height: 165px;
    padding: 20px 22px 22px;
}

.ajwani-service-card h3 {
    margin: 0 0 10px;
    color: #333;
    font-size: 21px;
    font-weight: 700;
}

.ajwani-service-card p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.65;
}

.ajwani-service-link {
    display: inline-block;
    margin-top: 14px;
    color: #b48b28;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .35px;
}

.ajwani-service-link:hover,
.ajwani-service-link:focus {
    color: #8c6818;
    text-decoration: underline;
}

/* Contact enquiry form */
.ajwani-contact-intro {
    max-width: 760px;
    margin: -8px auto 26px;
    color: #777;
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

.ajwani-contact-form {
    margin: 0 auto 35px;
    padding: 30px;
    border: 1px solid rgba(180, 139, 40, .18);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.ajwani-contact-form .form-group {
    margin-bottom: 18px;
}

.ajwani-contact-form label {
    display: block;
    margin-bottom: 7px;
    color: #3b3b3b;
    font-size: 13px;
    font-weight: 700;
}

.ajwani-contact-form input,
.ajwani-contact-form select,
.ajwani-contact-form textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    color: #444;
    background: #fafafa;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.ajwani-contact-form input:focus,
.ajwani-contact-form select:focus,
.ajwani-contact-form textarea:focus {
    border-color: #b48b28;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(180, 139, 40, .12);
}

.ajwani-contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.ajwani-contact-form .ajwani-form-submit {
    padding: 13px 25px;
    border: 0;
    border-radius: 4px;
    color: #fff;
    background: linear-gradient(135deg, #a77b1c, #d0aa51);
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ajwani-contact-form .ajwani-form-submit:hover,
.ajwani-contact-form .ajwani-form-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(167, 123, 28, .28);
}

@media only screen and (max-width: 767px) {
    .ajwani-gallery-card .image {
        height: 180px;
    }

    .ajwani-service-card img {
        height: 190px;
    }

    .ajwani-service-card .text {
        min-height: 0;
    }

    .ajwani-contact-form {
        padding: 20px 16px;
    }

}

img {
    max-width: 100%;
    height: auto;
}

.main-slider,
.main-slider .tp-banner-container,
.main-slider .tp-banner {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    height: clamp(240px, 41.666667vw, 800px) !important;
    min-height: 220px !important;
    max-height: 800px !important;
    overflow: hidden;
    background: #1c1c1c;
}

.main-slider .tp-banner > ul > li {
    width: 100vw !important;
    max-width: none !important;
    height: clamp(240px, 41.666667vw, 800px) !important;
    min-height: 240px !important;
    max-height: 800px !important;
}

.main-slider .tp-banner > ul > li > img {
    display: block;
    width: 100vw !important;
    max-width: none !important;
    height: clamp(240px, 41.666667vw, 800px) !important;
    min-height: 240px !important;
    max-height: 800px !important;
    object-fit: cover;
    object-position: center;
    background: #1c1c1c;
}

.ajwani-slider-caption {
    width: min(650px, 88vw) !important;
    white-space: normal !important;
    padding: 24px 28px !important;
    text-align: center;
    background: rgba(0, 0, 0, .58);
    border-radius: 4px;
    box-sizing: border-box;
}

.ajwani-slider-caption h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 700;
}

.ajwani-slider-caption p {
    margin: 0 0 18px;
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

.ajwani-slider-caption a {
    display: inline-block;
    padding: 11px 20px;
    color: #fff !important;
    background: #25d366;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.ajwani-slider-caption a:hover,
.ajwani-slider-caption a:focus {
    background: #128c7e;
}

.ajwani-whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    overflow: hidden;
    padding: 12px 18px 12px 15px;
    color: #fff !important;
    background: linear-gradient(135deg, #0f9d58 0%, #25d366 52%, #55e889 100%);
    border-radius: 28px;
    box-shadow: 0 5px 20px rgba(18, 140, 126, .38), 0 0 0 0 rgba(37, 211, 102, .45);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    animation: ajwani-whatsapp-pulse 2.8s infinite;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ajwani-whatsapp-float::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: skewX(-20deg);
    animation: ajwani-whatsapp-shine 4.5s ease-in-out infinite;
}

.ajwani-whatsapp-float .fa,
.ajwani-whatsapp-text {
    position: relative;
    z-index: 1;
}

.ajwani-whatsapp-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.1;
}

.ajwani-whatsapp-text strong {
    font-size: 14px;
    letter-spacing: .1px;
}

.ajwani-whatsapp-text small {
    font-size: 11px;
    font-weight: 600;
    opacity: .92;
    letter-spacing: .15px;
}

.ajwani-whatsapp-float:hover,
.ajwani-whatsapp-float:focus {
    color: #fff !important;
    background: linear-gradient(135deg, #087f4f, #128c7e);
    box-shadow: 0 7px 24px rgba(18, 140, 126, .5);
    transform: translateY(-2px);
    animation-play-state: paused;
}

.ajwani-whatsapp-float .fa {
    font-size: 22px;
    animation: ajwani-whatsapp-icon 2.8s ease-in-out infinite;
}

@keyframes ajwani-whatsapp-pulse {
    0%, 100% { box-shadow: 0 5px 20px rgba(18, 140, 126, .38), 0 0 0 0 rgba(37, 211, 102, .45); }
    50% { box-shadow: 0 5px 20px rgba(18, 140, 126, .38), 0 0 0 8px rgba(37, 211, 102, 0); }
}

@keyframes ajwani-whatsapp-shine {
    0%, 55% { left: -75%; }
    75%, 100% { left: 135%; }
}

@keyframes ajwani-whatsapp-icon {
    0%, 72%, 100% { transform: rotate(0deg) scale(1); }
    78% { transform: rotate(-10deg) scale(1.08); }
    84% { transform: rotate(10deg) scale(1.08); }
    90% { transform: rotate(0deg) scale(1); }
}

@media only screen and (max-width: 767px) {
    .main-slider {
        width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
    }

    .main-slider .tp-banner-container,
    .main-slider .tp-banner {
        width: 100vw !important;
        height: clamp(240px, 41.666667vw, 800px) !important;
        min-height: 240px !important;
        max-height: 800px !important;
    }

    .main-slider .tp-banner > ul > li {
        width: 100vw !important;
        height: clamp(240px, 41.666667vw, 800px) !important;
        min-height: 240px !important;
        max-height: 800px !important;
    }

    .main-slider .tp-banner > ul > li > img {
        width: 100vw !important;
        height: clamp(240px, 41.666667vw, 800px) !important;
        min-height: 240px !important;
        max-height: 800px !important;
        object-fit: cover;
    }

    .ajwani-slider-caption {
        width: 84vw !important;
        padding: 15px 14px !important;
    }

    .ajwani-slider-caption h2 {
        margin-bottom: 6px;
        font-size: 20px;
    }

    .ajwani-slider-caption p {
        margin-bottom: 11px;
        font-size: 13px;
        line-height: 1.35;
    }

    .ajwani-slider-caption a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .ajwani-whatsapp-float {
        right: 12px;
        bottom: 12px;
        padding: 10px 14px 10px 12px;
    }

    .ajwani-whatsapp-float .fa {
        font-size: 20px;
    }

    .ajwani-whatsapp-text strong {
        font-size: 12px;
    }

    .ajwani-whatsapp-text small {
        font-size: 10px;
    }
}
