html {
    background: #ffffff;
    color: #151618;
    font-size: 16px;
    line-height: 1.5;
    font-family: 'Montserrat', serif;
}

.about, .why-choose-us, .image-gallery {
    /* background: #f1efec; */
    padding: 2rem 7.5rem;
    color: #151618;
}

.about {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

header h2 {
    /* margin-bottom: 7.5rem; */
    max-width: 70%;
}

header .content{
    max-width: 90%;
    text-align: justify;
    font-size: 1rem;
}

h2,
h3,
.price {
    font-family: "Poppins", serif;
    margin: 0;
}

h2 {
    color: #151618;
    font-size: 3rem;
    font-weight: 600;
    line-height: 120%;
    margin: 2rem 0;
}

h3 {
    font-size: 2.1875rem;
    font-weight: 400;
    line-height: 120%;
    color: white;
}


header p {
    font-size: 1.125rem;
}

p.small {
    color: var(--logo-blue1);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
}


/* static */

/* Why Choose Us Section */
.why-choose-us {
    text-align: center;
    /* padding: 4rem 2rem; */
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.06);
    /* background-color: #f1f1f1; */
}

.why-choose-us header {
    text-align: left;
    width: 100%;
}


.why-choose-us p {
    font-size: 1.2rem;
    font-weight: 400;
    color: #000000;
    /* max-width: 750px; */
    margin: 0 auto;
    line-height: 1.6;
}

/* Customer Count Section */
.customer-count {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    /* padding: 2rem; */
    background: white;
    border-radius: 10px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
    max-width: 400px;
    text-align: center;
    /* margin: 3rem auto; */
    transition: all 0.6s ease-in-out;
}

.customer-col h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--logo-blue1);
}

.customer-col h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #555;
    margin-top: 0.5rem;
}

.customer-icon {
    font-size: 3rem;
    color: var(--logo-blue4);
    margin-top: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .customer-count {
        max-width: 300px;
        padding: 1.5rem;
    }

    .customer-col h1 {
        font-size: 2.4rem;
    }

    .customer-col h3 {
        font-size: 1.2rem;
    }

    .customer-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .customer-count {
        max-width: 90%;
        padding: 1.2rem;
    }

    .customer-col h1 {
        font-size: 2rem;
    }

    .customer-col h3 {
        font-size: 1.1rem;
    }

    .customer-icon {
        font-size: 2rem;
    }
}

/* Hotel & Client Logos */
/* .hotel-partners, .clientele,.package-pricing {
    margin-top: 3rem;
} */

h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--logo-blue3);
    margin: 1rem;
    text-transform: uppercase;
}


/* Clients Carousel Section */
.clients-carousel {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.clients-carousel h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--logo-blue2);
    margin-bottom: 1rem;
}

/* Carousel Wrapper */
.carousel-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

/* Carousel Inner Content */
.carousel {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    white-space: nowrap;
    will-change: transform;
    animation: brandScroll 40s linear infinite; /* Matches brand slider */
}

/* Each Client Name */
.carousel span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    display: inline-block;
}

/* Hover Effect */
.carousel span:hover {
    background: var(--logo-blue4);
    color: white;
    transform: scale(1.1);
}

/* Keyframes for Seamless Scrolling */
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50%)); } /* Moves only half, ensuring no gap */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .clients-carousel {
        padding: 1.5rem;
    }

    .carousel span {
        font-size: 1.2rem;
        padding: 0.7rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .clients-carousel {
        padding: 1rem;
    }

    .carousel span {
        font-size: 1rem;
        padding: 0.6rem 1.3rem;
    }
}

/* Responsive Design */

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
    .why-choose-us {
        padding: 3rem 1.5rem;
    }

    .why-choose-us h2 {
        font-size: 2.3rem;
    }

    .why-choose-us p {
        font-size: 1.1rem;
    }


    .package-list {
        gap: 1.2rem;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 2.5rem 1rem;
    }

    .why-choose-us h2 {
        font-size: 2rem;
    }

    .why-choose-us p {
        font-size: 1rem;
    }

    .package-list {
        flex-direction: column;
        align-items: center;
    }

    .package-list div {
        width: 90%;
    }
}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .why-choose-us {
        padding: 2rem 0.8rem;
    }

    .why-choose-us h2 {
        font-size: 1.8rem;
    }

    .why-choose-us p {
        font-size: 0.95rem;
    }

    .package-list div {
        width: 100%;
    }
}

/* GALLERY */

.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wrapper {
    display: grid;
    justify-content: center; /* Centers the grid horizontally */
    align-items: center; /* Centers the grid vertically */
}

.wrapper {
    --_gap: .5rem;
    --_offset: 10%;
    --_offset-1: calc(var(--_offset) * 1);
    --_offset-2: calc(var(--_offset) * 2);
    --_offset-3: calc(var(--_offset) * 3);
    --_offset-7: calc(var(--_offset) * 7);
    --_offset-8: calc(var(--_offset) * 8);
    --_offset-9: calc(var(--_offset) * 9);

    width: calc(100% - 4rem);
    width: 100%;
    /* margin: 2rem auto; */
    color: white;
    font-family: system-ui;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 var(--_gap);
    pointer-events: none;
    transform-style: preserve-3d;
}

.wrapper>div {
    position: relative;
    pointer-events: auto;
    aspect-ratio: 1;
    transition: scale 500ms ease-in-out, filter 500ms ease-in-out, clip-path 500ms ease-in-out 500ms;
    clip-path: polygon(var(--_clip-path));
    transform: translate3d(0, 0, 0);
}

.wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wrapper>div:nth-child(n+4) {
    margin-top: calc(var(--_offset-3) * -1 + var(--_gap));
}

/* define clip-path custom properties */
.wrapper>div:nth-child(1) {
    --_clip-path: 0 0, 100% 0, 100% var(--_offset-9), 0 100%;
}

.wrapper>div:nth-child(2) {
    --_clip-path: 0 0, 100% 0, 100% var(--_offset-8), 0 var(--_offset-9);
}

.wrapper>div:nth-child(3) {
    --_clip-path: 0 0, 100% 0, 100% var(--_offset-7), 0 var(--_offset-8);
}

.wrapper>div:nth-child(4) {
    --_clip-path: 0 var(--_offset-3), 100% var(--_offset-2), 100% var(--_offset-8), 0 var(--_offset-7);
}

.wrapper>div:nth-child(5) {
    --_clip-path: 0 var(--_offset-2), 100% var(--_offset-1), 100% var(--_offset-9), 0 var(--_offset-8);
}

.wrapper>div:nth-child(6) {
    --_clip-path: 0 var(--_offset-1), 100% 0%, 100% 100%, 0 var(--_offset-9);
}

.wrapper>div:nth-child(7) {
    --_clip-path: 0 0%, 100% var(--_offset-1), 100% 100%, 0 100%;
}

.wrapper>div:nth-child(8) {
    --_clip-path: 0 var(--_offset-1), 100% var(--_offset-2), 100% 100%, 0 100%;
}

.wrapper>div:nth-child(9) {
    --_clip-path: 0 var(--_offset-2), 100% var(--_offset-3), 100% 100%, 0 100%;
}


.wrapper>div:hover {
    transition: scale 500ms ease-in-out, filter 500ms ease-in-out, clip-path 500ms ease-in-out 500ms;
    scale: 1.3;
    --_clip-path: 0 0, 100% 0, 100% 100%, 0 100%;
    z-index: 100;
    opacity: 1;
}

.wrapper:has(:hover)>div:not(:hover) {
    filter: grayscale(1) blur(3px);
    opacity: .5;
    scale: 0.9;
}

.wrapper>div:not(:hover) {
    /*animation: zIndexHack 1000ms;*/

}

@keyframes zIndexHack {

    0%,
    100% {
        z-index: 100;
    }
}


/* Responsive Design */

/* Large Screens (Desktops) */
@media (max-width: 1200px) {
    .about, .image-gallery  {
        padding: 2rem 6rem;
    }

    .gallery {
        gap: 1.5rem;
        grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 992px) {
    .about, .image-gallery  {
        padding: 3rem;
    }

    header {
        max-width: 85%;
        margin-bottom: 4rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
        grid-auto-rows: 28rem;
    }

    figcaption {
        padding: 2.5rem;
    }
}

/* Small Screens (Mobile) */
@media (max-width: 768px) {
    .about, .image-gallery  {
        padding: 2rem;
    }

    header {
        max-width: 100%;
        margin-bottom: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
        grid-auto-rows: 25rem;
    }

    figcaption {
        padding: 2rem;
    }

}

/* Extra Small Screens (Phones) */
@media (max-width: 480px) {
    .about, .image-gallery  {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
        grid-auto-rows: 20rem;
    }

    figcaption {
        padding: 1.5rem;
    }
}
