/* Common Sticky Button Styles */
/* .sticky-btn {
    position: fixed;
    right: 40px;
    font-size: 14px;
    padding: 5px 10px;
    z-index: 9999;
    transform: rotate(-90deg);
    transform-origin: right top;
    background-color: #321c4D !important;
    color: #ffffff !important;
    text-transform: uppercase;
    border: 1px solid #000 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.sticky-btn:hover {
    background-color: #321c4D !important;
    color: #fff !important;
    border-color: #000 !important;
}

.sticky-enquire {
    top: 188px;
}

.sticky-brochure {
    top: 324px;
} */

/* Common Sticky Button Styles */
.sticky-btn {
    position: fixed;
    right: 40px;
    font-size: 14px;
    padding: 5px 10px;
    z-index: 9999;
    transform: rotate(-90deg);
    transform-origin: right top;
    text-transform: uppercase;
    border: 1px solid #000 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Desktop Buttons */
.sticky-enquire {
    top: 145px;
    background-color: #321c4D !important;
    color: #ffffff !important;
}

.sticky-brochure {
    top: 324px;
    background-color: #321c4D !important;
    color: #ffffff !important;
}

.sticky-btn:hover {
    background-color: #321c4D !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Mobile Buttons */
.sticky-enquire-mobile {
    top: 141px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #321c4D !important;
    border: 1px solid #321c4D !important;
}

.sticky-brochure-mobile {
    top: 327px;
    background: rgba(255, 255, 255, 0.2) !important;
    color: #321c4D !important;
    border: 1px solid #321c4D !important;
}

.sticky-enquire-mobile:hover,
.sticky-brochure-mobile:hover {
    background-color: #321c4D !important;
    color: #fff !important;
    border-color: #000 !important;
}

/* Responsive: Hide desktop sticky on mobile, show mobile sticky only on mobile */
@media (max-width: 767.98px) {
    .sticky-btn.d-none.d-md-block {
        display: none !important;
    }

    .sticky-btn.d-block.d-md-none {
        display: block !important;
    }
}

@media (min-width: 768px) {
    .sticky-btn.d-none.d-md-block {
        display: block !important;
    }

    .sticky-btn.d-block.d-md-none {
        display: none !important;
    }
}


/*  */
/* --- Sticky Bottom Form --- */
/* Sticky Form Container */
.sticky-bottom-form {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: all 0.4s ease;
    font-family: "Arial", sans-serif;
}

/* Toggle button */
.sticky-toggle {
    background-color: #333333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    /* border-top-left-radius: 8px;
    border-top-right-radius: 8px; */
}

/* Collapse inner form */
.sticky-bottom-form.collapsed .sticky-bottom-form-inner {
    display: none;
}

/* Inner form container */
.sticky-bottom-form-inner {
    padding: 10px 20px;
}

/* Form Row Layout */
.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Fields */
.form-group {
    flex: 0.3;
}

.sm-form-control {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Submit Button */
.submitBtn {
    background: #321c4D;
    color: #fff;
    border: none;
    padding: 11px 64px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submitBtn:hover {
    background-color: #321c4D;
}

/* Error Message */
.error-msg1 {
    color: #321c4D;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Missed Call section in same row */
.missed-call {
    flex: 1;
    font-size: 16px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .form-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .form-group,
    .submit-wrapper,
    .missed-call {
        width: 100%;
        text-align: center;
        justify-content: center;
        flex-direction: column;
    }

    .missed-call {
        white-space: normal;
        flex-direction: column;
    }

    .submitBtn {
        width: 100%;
    }

    .sticky-toggle {
        font-size: 14px;
        padding: 8px;
    }
}


/*  */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-items {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    transition: all 0.5s ease;
    text-align: center;
    padding: 0;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-caption {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    transition: opacity 0.4s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    white-space: normal;
    overflow: visible;
    opacity: 0;
    z-index: 2;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.carousel-caption h5 {
    font-size: 18px;
    margin: 5px 0 2px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.carousel-caption p {
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    z-index: 10;
}

.carousel-dots span {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background-color: #ced4da;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-dots span.active {
    background-color: #321c4D;
}

@media (max-width: 768px) {
    .carousel-container {
        height: 300px;
    }

    .carousel-item {
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
    }

    .carousel-item img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        border-radius: 15px;
    }

    .carousel-caption {
        border-bottom-left-radius: 15px;
        border-bottom-right-radius: 15px;
    }

    .carousel-caption h5 {
        font-size: 14px;
    }

    .carousel-caption p {
        font-size: 12px;
    }
}


/*  */
.masterplan-container {
    position: relative;
    display: inline-block;
    width: 80%;
    max-width: 300px;
}

.masterplan-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
    filter: blur(1.5px) grayscale(80%) brightness(0.95);
    transition: all 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 1.5px 6px rgba(0, 0, 0, 0.12);
}

.masterplan-container:hover .masterplan-img {
    filter: blur(0px) grayscale(0%) brightness(0.6);
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.download-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 120px;
    padding: 8px 16px;
    text-align: center;
    background: #321c4D;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.masterplan-container:hover .download-btn {
    opacity: 1;
    pointer-events: auto;
}


/*  */
.text-orange {
    color: #321c4D !important;
}

.smaller #mainmenu a {
    color: #321c4D !important;
}

.text-white-h {
    color: #ffffff !important;
    font-size: 40px !important;
    line-height: 45px !important;
}

/*  */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: inline-block;
    background-color: #25d366;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

/*  */
/* Button Styling */
.btn-enquire-custom {
    display: inline-block;
    background-color: #321c4D;
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.btn-enquire-custom:hover {
    background-color: #d34f20;
}

/* Popup Modal */
.popup-custom-modal {
    display: none;
    position: fixed;
    z-index: 10010;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

/* Popup Content */
.popup-custom-content {
    background: #fff;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.popup-custom-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

/* Title */
.popup-custom-title {
    margin-bottom: 20px;
    color: #321c4D;
}

/* Inputs & Textarea */
#customEnquiryForm input,
#customEnquiryForm textarea {
    width: 100%;
    padding: 10px 5px;
    margin-bottom: 16px;
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    font-size: 15px;
    background: transparent;
    outline: none;
    transition: border-color 0.3s ease;
}

#customEnquiryForm input:focus,
#customEnquiryForm textarea:focus {
    border-bottom: 2px solid #321c4D;
}

/* Submit Button */
.popup-custom-submit {
    background-color: #321c4D;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
}

.popup-custom-submit:hover {
    background-color: white;
    color: #321c4D;
    border: 2px solid #321c4D;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/*  */
input::placeholder,
textarea::placeholder {
    color: #000 !important;
    opacity: 1;
    /* Ensure full visibility in all browsers */
}

/* For cross-browser compatibility */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #000 !important;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #000 !important;
}

/*  */

.call-float {
    position: fixed;
    bottom: 80px;
    /* sits just above WhatsApp */
    left: 20px;
    z-index: 10000;
    display: inline-block;
    background-color: #321c4D;
    /* brand orange */
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.call-float:hover {
    transform: scale(1.1);
}

.call-float i {
    font-size: 28px;
    color: #fff;
}

.call-float {
    display: none;
}

/* Only show on mobile */
@media (max-width: 768px) {
    .call-float {
        display: block;
    }
}

/*  */
#preloader {
    position: fixed;
    z-index: 9999;
    background-color: #ffffff;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader img {
    width: 100px;
    height: auto;
    animation: fadeInZoom 1.5s ease-in-out infinite alternate;
}

@keyframes fadeInZoom {
    from {
        opacity: 0.4;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Filter items styling */
.filter-item {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 5px;
    background-color: #321c4D;
    /* Red background */
    color: white !important;
    /* White text */
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #321c4d;
}

.filter-item:hover {
    background-color: #321c4D;
    /* Darker red on hover */
    color: white !important;
}

.filter-item.active {
    background-color: white;
    /* Dark background for active item */
    color: #321c4D !important;
    border-color: #321c4D;
}

/* If you need to specifically target the text inside */
.filter-item .item-name {
    color: inherit;
    /* Inherits the white color from parent */
}

.w-1001 {
    width: 103% !important;

}



/*  */

.bg-align {
    /* background-repeat: no-repeat; */
    background-position: 0% 80%;
}

/*  */
a.btn-custom-slide {
    background: var(--primary-color);
    color: var(--btn-color);
    font-family: var(--btn-font-family);
    font-size: var(--btn-font-size);
    font-weight: var(--btn-font-weight);
    letter-spacing: var(--btn-letter-spacing);
    padding: var(--btn-padding);
    text-decoration: var(--btn-text-decoration);
    text-transform: var(--btn-text-transform);
    border-radius: var(--btn-rounded);
    border: none;
    position: relative;
    display: inline-block;
    text-align: center;
    outline: 0;
    overflow: hidden;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

a.btn-custom-slide::before {
    content: attr(data-hover);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    background-color: #000;
    opacity: 0;
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

a.btn-custom-slide:hover {
    background-color: #000;
    color: #fff;
}

a.btn-custom-slide:hover::before {
    opacity: 1;
    transform: translateY(0);
}

.sam {
    line-height: 59px !important;
}

.colorfix {

    color: white;
}



.amenities-section {
    padding: 10px 0;
    background-color: #f9f9f9;
}

.amenities-title {
    font-size: 36px;
    margin-bottom: 25px;
    color: #321C4D;
}

.amenities-swiper-container {
    padding: 35px 40px;
    position: relative;
}

.amenity-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.amenity-card:hover {
    transform: translateY(-5px);
}

.amenity-img-container {
    height: 200px;
    width: 200px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 10px 10px 0 0;
}

.amenity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.amenity-name {
    padding: 5px;
    margin: 0;
    font-size: 16px;
    color: #333;
    background: white;
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenities-swiper-container .swiper-slide {
    height: 300px;
    padding: 10px;
    width: 240px !important;
}



.amenities-swiper-button-next,
.amenities-swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #321C4D;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.amenities-swiper-button-next:hover,
.amenities-swiper-button-prev:hover {
    background: #321C4D;
    transform: scale(1.1);
}

.amenities-swiper-button-next {
    right: 10px;
}

.amenities-swiper-button-prev {
    left: 10px;
}

.amenities-swiper-button-next::after,
.amenities-swiper-button-prev::after {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid white;
    border-right: 3px solid white;
}

.amenities-swiper-button-next::after {
    transform: rotate(45deg);
    margin-left: -5px;
}

.amenities-swiper-button-prev::after {
    transform: rotate(-135deg);
    margin-right: -5px;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {

    .amenities-swiper-button-next,
    .amenities-swiper-button-prev {
        display: none;
    }

    .mbl-view-txt-clr {
        color: #914848 !important;
    }

    .product-category-list-item h4:first-of-type {
        padding: 24px 0 0 0;
        justify-content: center;
        text-align: center;
    }


}

.image-height {
    height: 223px !important;
}

.footer-info-box {
    display: flex;
    align-items: flex-start;
    /* aligns top of icon and text */
    gap: 10px;
    /* optional spacing between icon and text */
}

.footer-info-box p {
    margin: 0;
    /* remove default margin */
}

.product-category-list-item {
    background-color: #321C4D;
    /* or any color like #f9f9f9 */
    border-radius: 10px;
    /* optional: to round corners */
    padding: 15px;
    /* optional: space inside */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* optional: subtle shadow */
}

.font-sm {
    font-weight: 400 !important;
    ;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
@media screen and (max-width: 767.98px) {
    .w-10000 {
        width: 300px;
        height: 150px;
    }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
   #sisf-page-header-inner {
    background-color: #321c4D;
    position: relative;
    height: 100%;
    padding: -1px 45px;
   }
}
    /*  */
.form-area {
    position: absolute;
    top: 19%;
    right: 100px;
    width: 340px;
    z-index: 99;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.text-light .form-underline,
.dark-scheme .form-underline {
    color: #000000;
    border-bottom-color: rgb(0 0 0 / 37%);
}


@media (max-width: 768px) {
    .form-area {
        display: none;
    }
}

/* Show mobile form only on mobile */
.form-area-mobile {
    display: none;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

@media (max-width: 768px) {
    .form-area-mobile {
        display: block;
    }
}
media (min-width: 1193px) and (max-width:1278px) {
    .form-area {
        position: absolute;
        top: 22%;
        right: 47px;
        width: 320px;

    }
}

@media (min-width: 1158px) and (max-width:1192px) {
    .form-area {
        position: absolute;
        top: 17%;
        right: 46px;
        width: 280px;

    }
}



/* Show mobile form and mobile images only between 786px and 1158px */
@media (min-width: 786px) and (max-width: 1158px) {
    .form-area {
        display: none !important;
    }

    .form-area-mobile {
        display: block !important;
    }

    /* .swiper-inner[data-bgimage*="HM1.jpg"],
    .swiper-inner[data-bgimage*="HM2.jpg"] {
        display: block !important;
    } */



    .form-area-mobile {
        display: block !important;
        width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

element.style {
    background-size: cover;
    background-repeat: no-repeat;
}
.form-area {
    position: absolute;
    top: 18%;
    right: 100px;
    width: 340px;
    z-index: 99;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
.form-area {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  max-width: 420px;
  margin: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-area h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.field-set {
  margin-bottom: 15px;
}

.form-underline {
  width: 100%;
  border: none;
  border-bottom: 2px solid #ccc;
  padding: 10px 5px;
  font-size: 16px;
  background: transparent;
  transition: border-color 0.3s;
}

.form-underline:focus {
  outline: none;
  border-bottom-color: #321C4D;
}

.btn-main {
  background-color: #321C4D;
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-main:hover {
  background-color: #321C4D;
}

.success,
.error {
  margin-top: 15px;
  font-size: 14px;
  display: none;
}

.success {
  color: green;
}

.error {
  color: red;
}

/* Responsive */
@media (max-width: 576px) {
  .form-area {
    padding: 20px;
    max-width: 100%;
  }
}
@media only screen and (min-width: 993px) and (max-width: 1063px) {
	/* Hide normal desktop nav */
	.desktop-nav {
		display: none !important;
	}

	/* Show mobile nav (right side) */
	.mobile-nav {
		display: block !important;
		position: fixed;
		right: 0;
		top: 0;
		width: 250px;
		height: 100%;
		background-color: #fff;
		box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
		z-index: 9999;
	}
}
#sisf-page-header-inner {
   border-bottom: 0.5px solid #c7c0c0;
}
.gap-30{
    gap: 0.5 rem !important;
}
 <style>
        .sisf-m-content {
            margin-top: 60px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }
        .info-grid {
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
        }
        .sisf-m-title-inner {
            padding: 15px 10px;
            min-height: 100%;
            display: flex;
            align-items: center;
        }
        .icons {
            /* width: 40px;
            height: 40px; */
            flex-shrink: 0;
        }
        .sisf-m-title-inner p {
            font-size: 15px;
            line-height: 1.4;
            margin: 0;
            margin-left: 12px;
        }
        
        /* Borders for large screens */
        .grid-item:not(:last-child) .sisf-m-title-inner {
            border-right: 3px solid #e0e0e0;
        }
        
        /* Medium screens - remove right borders */
        @media (max-width: 991.98px) {
            .grid-item:nth-child(3) .sisf-m-title-inner,
            .grid-item:nth-child(5) .sisf-m-title-inner {
                border-right: none;
            }
            .grid-item .sisf-m-title-inner {
                border-bottom: 3px solid #e0e0e0;
            }
            .grid-item:last-child .sisf-m-title-inner {
                border-bottom: none;
            }
        }
        
        /* Small screens - stack vertically */
        @media (max-width: 767.98px) {
            .grid-item .sisf-m-title-inner {
                border-right: none !important;
                border-bottom: 3px solid #e0e0e0;
            }
            .grid-item:last-child .sisf-m-title-inner {
                border-bottom: none;
            }
            .grid-item:nth-child(3) .sisf-m-title-inner {
                border-bottom: 3px solid #e0e0e0;
            }
        }

        <style>
      /* Image Popup Styles */
      #imageModal .modal-dialog {
         max-width: 90%;
         margin: auto;
      }

      #imageModal .modal-content {
         background: transparent;
         border: none;
      }

      #imageModal .modal-body {
         padding: 0;
         position: relative;
      }

      #imageModal img {
         max-height: 80vh;
         width: auto;
         margin: 0 auto;
         transition: transform 0.3s ease;
         cursor: pointer;
         border-radius: 10px;
         box-shadow: 0 5px 15px rgba(0,0,0,0.3);
         display: block;
      }

      #imageModal img:hover {
         transform: scale(1.02);
      }

      /* Click indicator styles */
      .click-indicator {
         position: absolute;
         bottom: 20px;
         left: 0;
         right: 0;
         text-align: center;
         color: white;
         font-weight: bold;
         text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
         animation: pulse 2s infinite;
         pointer-events: none;
      }

      @keyframes pulse {
         0% { transform: scale(1); }
         50% { transform: scale(1.1); }
         100% { transform: scale(1); }
      }

      /* Backdrop click area */
      .modal-backdrop {
         cursor: pointer;
      }

      @media (max-width: 768px) {
         #imageModal .modal-dialog {
            max-width: 95%;
         }
         
         #imageModal img {
            max-height: 60vh;
            width: 100%;
         }
      }
   .sam2{
    color: #fff !important;
   }
   .mb-90
   {
        margin-bottom: 3.5rem !important;
   }
.mb-95 {
    margin-bottom: 2.5rem !important;
}
.zoom-text {
  position: absolute;
  bottom: 20px; /* Adjust to place it lower or higher */
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 20px;
  font-weight: bold;
  z-index: 10;
  animation: zoomInOut 2s infinite;
  white-space: nowrap;
  cursor: pointer; /*
}

/* Zoom in and out animation */
@keyframes zoomInOut {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.1);
  }
}
/*************close button*****/
/* Close Button Styles */


/* Cross Mark Close Button */
/* Cross Mark Close Button - Keep existing desktop styles */
.popup-custom-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    background: transparent;
    border: none;
    padding: 0;
}

.popup-custom-close::before,
.popup-custom-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #333;
    transform-origin: center;
    transition: all 0.3s ease;
}

.popup-custom-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup-custom-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.popup-custom-close:hover::before,
.popup-custom-close:hover::after {
    background: #000;
    width: 22px;
}

/* Mobile Styles - Only for the specific button */
@media (max-width: 767px) {
    button.position-absolute[data-bs-dismiss="modal"] {
        top: 10px !important;
        left: 10px !important;
        right: auto !important;
        width: 25px;
        height: 25px;
        background-color: #321c4D !important;
        color: #fff !important;
    }
    
    /* Adjust the icon size if needed */
    button.position-absolute[data-bs-dismiss="modal"] i.fa-xmark {
        font-size: 16px;
    }
}