/*bg section images starts*/
.abtsecbg {
    background-image: url(img/sylph/bg3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

/*bg images css ends*/
h2.abthead {
    font-family: "FuturaMedium";
    text-align: left;
    margin-top: 0px;
    line-height: 40px;
    color: #d2aa68;
}

img.gallery-img {
    cursor: pointer;
    border: 2px solid #d2aa68;
}

.img1-center {
    padding: 10px;
}


/* Style for gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    text-align: left;
}

.gallery-img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.gallery-img:hover {
    transform: scale(1.05);
}

/* Modal styles */
.modal1 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    text-align: center;
}

.modal1-content {
    max-width: 80%;
    max-height: 80vh;
    margin-top: 8%;
    border-radius: 5px;
}

/* Close button */
.close1 {
    position: absolute;
    top: 100px;
    right: 125px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}

/* Navigation buttons */
.prevgal,
.nextgal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prevgal {
    left: 10px;
}

.nextgal {
    right: 10px;
}

.prevgal:hover,
.nextgal:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media only screen and (max-width: 767px) {
    .modal1 {

        padding-top: 230px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

}

p.repimg {
    text-align: right;
    margin-top: -30px;
    margin-right: 25px;
    font-size: 10px;
    margin-bottom: 0px;
    color: #000;
}

.section-subtitle.relative img {
    display: block;
    margin: 0 auto;
    width: 15%;
}

@media only screen and (min-device-width: 820px) and (max-device-width: 1180px) and (orientation: portrait) {
    .portraitipad {
        display: none !important;
    }
}

@media (min-width: 1920px) and (max-width: 2560px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    }
}


.container1 {
    width: 100%;
    overflow: hidden;
    padding-left: 31px;
}

@media only screen and (max-width: 767px) {
    .container1 {
        padding: 20px;
    }
    .contactmobile {
    padding: 15px 5px !important;
    margin: 0px;
}
}

/*sidebar widgets start*/
.sidebar-widgets {
    position: fixed;
    z-index: 99999999999;
    bottom: 15%;
    right: 15px;
    background: linear-gradient(90deg, #d2aa68 10%, #bb977a 100%);
    padding: 10px 10px;
    border-radius: 38px;
}

.sidebar-widgets ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    border: 1px solid #fff;
    text-align: center;
    border-radius: 38px;
}

.sidebar-widgets ul li button,
.sidebar-widgets ul li a {
    color: #fff !important;
    padding: 10px 10px 10px 10px;
    background-color: #0000ff00;
    border: none;
    font-size: 16px;
    outline: none;
}

.sidebar-widgets ul li button i,
.sidebar-widgets ul li a i {
    margin-right: 5px;
    font-size: 22px;
}

.sidebar-widgets ul li button span,
.sidebar-widgets ul li a span {
    color: #fff;
    font-size: 10px;
    display: block;
}