:root {
    --besl-bright-green: #30a024;
    --besl-dark-green: #205c14;
    --besl-white: #ffffff;
    --light-bg: #f5f7f3;
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: #333;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--besl-dark-green);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.section-title h2::before,
.section-title h2::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background-color: var(--besl-bright-green);
}

.section-title h2::before {
    left: -80px;
}

.section-title h2::after {
    right: -80px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--besl-bright-green), var(--besl-dark-green));
    margin: 15px auto 0;
}


.row {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.col-lg-3 {
    width: 25%;
    padding: 15px;
}

.team-member {
    background: var(--besl-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid var(--besl-bright-green);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.member-img {
    position: relative;
    overflow: hidden;
}

.member-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--besl-bright-green), var(--besl-dark-green));
    z-index: 1;
}

.member-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-img img {
    transform: scale(1.05);
}

.social {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(to right, var(--besl-bright-green), var(--besl-dark-green));
    padding: 15px 0;
    transition: var(--transition);
}

.team-member:hover .social {
    bottom: 0;
}

.social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--besl-white);
    border-radius: 50%;
    color: var(--besl-dark-green);
    transition: var(--transition);
}

.social a:hover {
    background: var(--besl-dark-green);
    color: var(--besl-white);
    transform: translateY(-3px);
}

.member-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.member-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25px;
    width: 50px;
    height: 3px;
    background-color: var(--besl-bright-green);
}

.member-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--besl-dark-green);
}

.member-info span {
    display: inline-block;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--besl-bright-green);
    font-weight: 600;
    position: relative;
}

.member-info p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-top: auto;
}

/* Team Member Section Modern Slider Styles start*/
.team-slider-container {
    overflow: hidden;
    width: 100%;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.team-slide {
    flex: 0 0 100%;
    width: 100%;
}

.team-slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.slider-btn {
    background: linear-gradient(to right, var(--besl-bright-green), var(--besl-dark-green));
    color: var(--besl-white);
    border: none;
    padding: 10px 15px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 5px;
    transition: var(--transition);
}

.slider-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.prev-btn, .next-btn {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.team-slider-navigation-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.page-indicator {
    display: flex;
    align-items: center;
    background-color: var(--besl-white);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.slider-btn {
    background: transparent;
    color: var(--besl-dark-green);
    border: none;
    cursor: pointer;
    font-size: 24px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.slider-btn:hover:not(.disabled) {
    background-color: rgba(48, 160, 36, 0.1);
    color: var(--besl-bright-green);
}

.slider-btn.disabled {
    color: rgba(32, 92, 20, 0.3);
    cursor: not-allowed;
}

.page-number {
    margin: 0 20px;
    font-weight: 600;
    color: var(--besl-dark-green);
    font-size: 16px;
}

.team-slider-container {
    overflow: hidden;
    width: 100%;
}

.team-slider {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.team-slide {
    flex: 0 0 100%;
    width: 100%;
}

/* Disable user selection for navigation buttons */
.page-indicator {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
                                                                /* Team Member Section Modern Slider Styles end*/

/* Brick pattern background for special elements */
.brick-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background-image: linear-gradient(to right, var(--besl-bright-green) 1px, transparent 1px),
                     linear-gradient(to bottom, var(--besl-bright-green) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
    z-index: 0;
}


/* Wavy divider similar to logo */
.wave-divider {
    height: 50px;
    width: 100%;
    margin: 20px 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%2330a024' d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25'%3E%3C/path%3E%3Cpath fill='%23205c14' d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

/* Responsive styles */
@media (max-width: 1199px) {
    .col-lg-3 {
        width: 33.333%;
    }
}

@media (max-width: 991px) {
    .col-lg-3 {
        width: 50%;
    }
}

@media (max-width: 767px) {
    .col-lg-3 {
        width: 100%;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    .section-title h2::before,
    .section-title h2::after {
        width: 40px;
    }
    
    .section-title h2::before {
        left: -40px;
    }
    
    .section-title h2::after {
        right: -40px;
    }
}

/* slider section start  */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
:root {
--bright-green: #4CAF50;
--dark-green: #2E7D32;
--white: #ffffff;
--black: #212121;
--light-gray: #f5f5f5;
--mid-gray: #e0e0e0;
}

body {
background-color: var(--white);
color: var(--black);
line-height: 1.6;
}

.constructions {
padding: 80px 0;
background-color: var(--light-gray);
}


.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title h2 {
font-size: 32px;
font-weight: 700;
margin-bottom: 15px;
color: var(--dark-green);
}

.section-title h4 {
font-size: 18px;
font-weight: 400;
color: var(--black);
max-width: 700px;
margin: 0 auto;
}

.multi-slider-container {
position: relative;
margin-bottom: 40px;
}

.multi-slider {
display: flex;
gap: 20px;
overflow-x: auto;
scroll-behavior: smooth;
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE and Edge */
padding: 10px 0;
}

.multi-slider::-webkit-scrollbar {
display: none; /* Chrome, Safari, Opera */
}

.service-card {
min-width: calc(33.333% - 14px);
background: var(--white);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 2px solid var(--mid-gray);
}

.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 18px rgba(0,0,0,0.15);
border-color: var(--bright-green);
}

.card-img {
height: 180px;
overflow: hidden;
}

.card-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
transform: scale(1.05);
}

.card-content {
padding: 20px;
}

.card-title-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15px;
}

.card-content h4 {
font-size: 20px;
font-weight: 600;
color: var(--dark-green);
flex: 1;
}

.card-number {
background: var(--bright-green);
color: var(--white);
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
flex-shrink: 0;
margin-left: 10px;
}

.card-content p {
font-size: 15px;
color: var(--black);
margin-bottom: 20px;
}

.slider-nav {
display: flex;
justify-content: center;
margin-top: 30px;
gap: 15px;
}


.nav-btn {
background: var(--white);
border: 2px solid var(--bright-green);
color: var(--dark-green);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 18px;
transition: all 0.3s ease;
}

.nav-btn:hover {
background: var(--bright-green);
color: var(--white);
}

.slider-dots {
display: flex;
justify-content: center;
gap: 8px;
margin: 20px 0;
}

.dot {
width: 12px;
height: 12px;
background: var(--mid-gray);
border-radius: 50%;
cursor: pointer;
transition: background 0.3s ease, transform 0.2s ease;
}

.dot:hover {
transform: scale(1.2);
}

.dot.active {
background: var(--bright-green);
transform: scale(1.2);
}

.read-more {
display: inline-block;
background: var(--dark-green);
color: var(--white);
padding: 8px 15px;
border-radius: 5px;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: background 0.3s ease;
}

.read-more:hover {
background: var(--bright-green);
}

@media (max-width: 992px) {
.service-card {
min-width: calc(50% - 10px);
}
}

@media (max-width: 768px) {
.service-card {
min-width: 100%;
}

.section-title h2 {
font-size: 26px;
}

.section-title h4 {
font-size: 16px;
}
}
/* Slider section end  */

/* PROPERTY MANAGEMENT DUTIES START  */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
--bright-green: #4CAF50;
--dark-green: #2E7D32;
--white: #ffffff;
--black: #212121;
--light-gray: #f5f5f5;
--mid-gray: #e0e0e0;
}

body {
background-color: var(--white);
color: var(--black);
line-height: 1.6;
}

.management-section {
padding: 80px 0;
background-color: var(--light-gray);
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title h2 {
font-size: 32px;
font-weight: 700;
margin-bottom: 15px;
color: var(--dark-green);
}

.section-title p {
font-size: 18px;
font-weight: 400;
color: var(--black);
max-width: 700px;
margin: 0 auto;
}

.slider-container {
position: relative;
overflow: hidden;
margin-bottom: 40px;
}

.slider-track {
display: flex;
transition: transform 0.5s ease-in-out;
}

.slider-slide {
min-width: 100%;
padding: 10px;
}

.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}


.service-item {
background-color: var(--white);
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.08);
padding: 20px;
display: flex;
align-items: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-left: 5px solid var(--bright-green);
height: 100%;
}

.service-item:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.icon {
background-color: rgba(76, 175, 80, 0.1);
width: 60px;
height: 60px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
color: var(--dark-green);
flex-shrink: 0;
transition: background-color 0.3s ease, color 0.3s ease;
}

.service-item:hover .icon {
background-color: var(--bright-green);
color: var(--white);
}

.service-item h3 {
font-size: 18px;
font-weight: 600;
color: var(--dark-green);
margin: 0;
}

.service-description {
margin-top: 10px;
font-size: 14px;
color: #666;
display: none;
}

.service-item:hover .service-description {
display: block;
}

.slider-controls {
display: flex;
justify-content: center;
margin-top: 30px;
gap: 15px;
}

.slider-dots {
display: flex;
gap: 10px;
}

.dot {
width: 12px;
height: 12px;
background-color: var(--mid-gray);
border-radius: 50%;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease;
}

.dot:hover {
transform: scale(1.2);
}

.dot.active {
background-color: var(--bright-green);
transform: scale(1.2);
}

.slider-buttons {
display: flex;
gap: 10px;
margin-left: 20px;
}

.nav-btn {
background: var(--white);
border: 2px solid var(--bright-green);
color: var(--dark-green);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
font-size: 18px;
transition: all 0.3s ease;
}

.nav-btn:hover {
background: var(--bright-green);
color: var(--white);
}

.slider-indicator {
position: absolute;
bottom: 15px;
right: 15px;
background: var(--dark-green);
color: var(--white);
padding: 5px 10px;
border-radius: 15px;
font-size: 14px;
font-weight: 500;
}

@media (min-width: 992px) {
.services-grid {
grid-template-columns: repeat(4, 1fr);
}
}

@media (max-width: 991px) {
.services-grid {
grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 576px) {
.services-grid {
grid-template-columns: 1fr;
}

.section-title h2 {
font-size: 26px;
}

.section-title p {
font-size: 16px;
}
}
/* PROPERTY MANAGEMENT DUTIES END  */ 

/* Footer overall background */
.footer.dark-background {
    background-color: rgba(255, 255, 255, 0.1); /* Dark green */
    color: white;
}

/* Footer top section */
.footer-top {
    background-color: #004D40; /* Dark green */
    color: white;
}

/* Sitename styling */
.footer .sitename {
    color: #4dff88; /* Light green */
    font-weight: bold;
}

/* Footer headings */
.footer-links h4 {
    color: #4dff88; /* Light green */
    border-bottom: 2px solid #4dff88;
    padding-bottom: 10px;
}

/* Footer links */
.footer-links ul li a {
    color: white;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #4dff88; /* Light green on hover */
}

/* Social links */
.social-links a {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    margin-right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s, color 0.3s;
}

.social-links a:hover {
    color: #4dff88; /* Light green on hover */
    background-color: rgba(77, 255, 136, 0.2);
}

/* Copyright section */
.copyright {
    background-color: #0a1f14; /* Very dark green */
    color: white;
    padding: 15px 0;
}

.copyright a {
    color: #4dff88; /* Light green */
    text-decoration: none;
}

.copyright a:hover {
    text-decoration: underline;
}

/* Footer contact information */
.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer contact strong text */
.footer-contact p strong {
    color: white;
}

/* MODERN PICTORIAL SECTION STYLE START  */
:root {
    --portfolio-green-bright: #30a024;
    --portfolio-green-dark: #205c14;
    --portfolio-white: #ffffff;
    --portfolio-bg-light: #f5f7f3;
    --portfolio-text-dark: #333;
    --portfolio-transition: all 0.3s ease;
}

.portfolio-section {
    background-color: var(--portfolio-bg-light);
    padding: 80px 0;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.portfolio-filter-btn {
    background: transparent;
    border: 2px solid var(--portfolio-green-bright);
    color: var(--portfolio-green-dark);
    margin: 0 10px 10px;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--portfolio-transition);
    font-weight: 600;
    text-transform: uppercase;
}

.portfolio-filter-btn.active {
    background: linear-gradient(to right, var(--portfolio-green-bright), var(--portfolio-green-dark));
    color: var(--portfolio-white);
}

.portfolio-filter-btn:hover {
    background: rgba(48, 160, 36, 0.1);
}

/* Revert to original row and column layout */
.row.isotope-container {
    display: flex;
    flex-wrap: wrap;
    margin: -15px; /* Negative margin to offset column padding */
}

.col-lg-4 {
    width: 33.33%;
    padding: 15px;
    box-sizing: border-box;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--portfolio-transition);
    height: 100%; /* Ensure consistent height */
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.portfolio-content {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.portfolio-content img {
    width: 100%;
    height: 300px; /* Fixed height to match original */
    object-fit: cover;
    transition: var(--portfolio-transition);
}

.portfolio-item:hover .portfolio-content img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, var(--portfolio-green-bright), var(--portfolio-green-dark));
    color: var(--portfolio-white);
    padding: 20px;
    transition: var(--portfolio-transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-item:hover .portfolio-info {
    bottom: 0;
}

.portfolio-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.portfolio-info p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.portfolio-info .link-icons {
    display: flex;
    gap: 15px;
}

.preview-link, .details-link {
    color: var(--portfolio-white);
    font-size: 1.5rem;
    transition: var(--portfolio-transition);
}

.preview-link:hover, .details-link:hover {
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .col-lg-4 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .col-lg-4 {
        width: 100%;
    }
}
/* MODERN PICTORIAL SECTION STYLE END  */

                                                /* CSS For mobile view of the topbar links start */
/* Hide the mobile nav toggle by default on larger screens */
.mobile-nav-toggle {
    display: none;
  }
  
  /* Show the mobile nav toggle on smaller screens */
  @media (max-width: 1199.98px) {
    .mobile-nav-toggle {
      display: block;
    }
  
    #navmenu.mobile-nav-active ul li {
      margin: 10px 0;
      text-align: center;
    }
  }
/* CSS For mobile view of the topbar links start */


/* ====
 --------- (5.17) gallery slider section styles start ---------
 ==== */
.gallery {
  background-color: var(--light-bg);
}

.gallery__inner {
  --gallery-gap: 16px;
  --gallery-radius: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.gallery__slider {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: var(--gallery-gap);
  padding: 6px 0;
  -webkit-animation: marquee 20s linear infinite;
          animation: marquee 20s linear infinite;
  -webkit-animation-play-state: running;
          animation-play-state: running;
  will-change: transform;
}

.gallery__slider:hover {
  -webkit-animation-play-state: paused;
          animation-play-state: paused;
}

.gallery__single {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  width: calc(76.9230769231% - var(--gallery-gap));
  height: 240px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--gallery-radius);
  box-shadow: 0 6px 18px rgba(15, 31, 20, 0.14);
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.gallery__single::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(180deg, rgba(32, 92, 20, 0) 35%, rgba(15, 40, 10, 0.82) 100%);
  opacity: 0;
  z-index: 1;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.gallery__single:hover {
  box-shadow: 0 16px 32px rgba(15, 31, 20, 0.24);
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
}
.gallery__single:hover a {
  -webkit-transform: translate(-50%, -50%) scale(1);
      -ms-transform: translate(-50%, -50%) scale(1);
          transform: translate(-50%, -50%) scale(1);
}
.gallery__single:hover::after {
  opacity: 1;
}
.gallery__single:hover img {
  -webkit-transform: scale(1.08);
      -ms-transform: scale(1.08);
          transform: scale(1.08);
}
.gallery__single img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  position: relative;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.gallery__single a {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%) scale(0);
      -ms-transform: translate(-50%, -50%) scale(0);
          transform: translate(-50%, -50%) scale(0);
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background-color: var(--besl-bright-green);
  color: var(--besl-white);
  font-size: 22px;
  z-index: 2;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.gallery__single a:hover {
  background-color: var(--besl-white);
  color: var(--besl-dark-green);
}

@media (min-width: 768px) {
  .gallery__single {
    width: calc(33.3333333333% - var(--gallery-gap));
    height: 260px;
  }
}
@media (min-width: 992px) {
  .gallery__single {
    width: calc(25% - var(--gallery-gap));
    height: 280px;
  }
}
@media (min-width: 1200px) {
  .gallery__single {
    width: calc(20% - var(--gallery-gap));
    height: 300px;
  }
}
@media (min-width: 1600px) {
  .gallery__single {
    width: calc(16.6666666667% - var(--gallery-gap));
    height: 320px;
  }
}
/* Default below: -100% shows all 15 tiles every loop, with a visible snap back to start (no JS needed).
   If you add the duplication script from chat, switch the "to" values below to -50% instead for a seamless loop. */
@-webkit-keyframes marquee {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@keyframes marquee {
  from {
    -webkit-transform: translateX(0);
            transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
}
@-webkit-keyframes marquee-rtl {
  from {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  to {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
}
@keyframes marquee-rtl {
  from {
    -webkit-transform: translateX(-100%);
            transform: translateX(-100%);
  }
  to {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
  }
}
/* ====
 --------- (5.17) gallery slider section styles end ---------
 ==== */