* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/*Banner*/
.banner-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.banner-slider .slide,
.section-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.banner-slider .slide.active,
.section-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    z-index: 2;
}

.banner-slider .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.banner-bars {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.banner-bars .bar {
    width: 30px;
    height: 6px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.banner-bars .bar.active {
    background-color: #fff;
    box-shadow: 0 0 5px rgba(255,255,255,0.8);
    transform: scaleX(1.2);
}

/*Section Slider*/
.section-slider {
    position: relative;
    height: 1200px;
    overflow: hidden;
}

.section-slide.slide-in-left  {
    transform: translateX(-100%);
}

.section-slide.slide-in-right {
    transform: translateX(100%);
}

.section-slide.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.section-slide.slide-out-right{
    transform: translateX(100%);
    opacity: 0;
}

/* Section Navigation Arrows */
.section-prev, .section-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    color: black;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    padding: 0 10px;
    user-select: none;
    box-shadow: 0 0 5px black;
    border: outset;
}

.section-prev {
    left: 20px;
}

.section-next {
    right: 20px;
}

.section-prev:hover, .section-next:hover {
    color: #555;
    transform: translateY(-50%) scale(1.1);
    transition: transform 0.2s, color 0.2s;
}

/*Section*/
.section {
    padding: 60px 20px;
    width: 80%;
    max-width: 80%;
    min-height: 900px;
    margin: 20px auto;
    text-align: center;
    border: groove 7px;
    box-shadow: 5px 5px 5px grey;
    border-radius: 10px;
    background-color: #eaeaea;
}

.section-title {
    display: inline-block;
    margin: 0 auto 15px;
    font-size: 2rem;
    font-weight: 600;
}

.section-text p {
    width: 90%;
    margin: 0 auto;
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

.section-bars {
    position: relative; /* remove absolute positioning */
    bottom: auto;
    left: auto;
    transform: none;
    margin: 20px auto; /* space below section */
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.section-bar {
    width: 30px;
    height: 5px;
    background: rgba(0,0,0,0.3);
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.section-bar.active {
    background: black;
    transform: scaleX(1.3);
}

/*About*/
.about-img img {
    height: 600px;
    margin-top: 20px;
    padding: 5px;
    border-radius: 10px 50px 10px 50px;
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.4),
                inset -3px -3px 6px rgba(255,255,255,0.6);
}

/*Feature & Provide*/
.feature-box,
.provide-box {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-box {
    flex: 1 1 280px;
    max-width: 600px;
    text-align: center;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    background: #fafafa;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-box p {
    font-size: 0.95rem;
    color: #555;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 20px auto 80px auto;
    padding: 10px;
    border-radius: 15px;
    box-shadow: inset 0 0 3px #dcdcdc;
}

.feature-box img.box-icon {
    margin: 0 auto;
}

.provide-section .provide-wrapper {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    align-items: stretch;
    flex-wrap: nowrap;
}

.provide-text {
    flex: 0 0 350px;
    max-width: 350px;
    text-align: left;
}

.provide-text .section-title {
    margin-left: 15px;
}

.provides-grid {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    overflow: auto;
    padding: 5px;
    border-radius: 0 15px;
    box-shadow: inset 0 0 3px #dcdcdc;
}

.provide-box {
    flex: 1 1 150px;
    min-width: 100px;
    text-align: left;
    cursor: pointer;
    justify-content: flex-start;
    overflow: hidden;
}

.provide-box h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

.provide-box p {
    font-size: 0.95rem;
    color: #555;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.provide-box.expanded {
    flex: 0 0 350px;
    padding: 20px 20px;
    background: #fafafa;
}

.provide-box.expanded p {
    opacity: 1;
    max-height: 200px;
}

/*Feature & Provide Icons*/
img.box-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px !important;
}

.about-img img,
.features-grid,
.provide-section .provide-wrapper,
.gallery-section, .videos-section {
    width: 90%;
    max-width: 1200px;
}

/*Gallery*/
.gallery-section, .videos-section {
    margin: 0 auto 30px;
    padding: 10px 0;
}

.gallery-wrapper {
    width: 100%;
    height: 65vh;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px 50px 10px 10px;
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.4),
                inset -3px -3px 6px rgba(255,255,255,0.6);
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    align-items: flex-start;
    background-color: #f4f4f4;
}

.gallery-wrapper::-webkit-scrollbar, .videos-grid::-webkit-scrollbar{
    height:12px;
}

.gallery-wrapper::-webkit-scrollbar-thumb, .videos-grid::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
}

.gallery-wrapper::-webkit-scrollbar-thumb:hover, .videos-grid::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.gallery-wrapper::-webkit-scrollbar-track, .videos-grid::-webkit-scrollbar-track {
    background-color: #eaeaea;
    border-radius: 6px;
}

.gallery-grid {
    display: flex;
    gap: 10px;
    height: 100%;
    flex-wrap: nowrap;
    align-items: stretch;
}

.gallery-grid > * {
    flex: 0 0 auto;
}

.gallery-grid a img {
    border: solid 2px #fff;
    border-radius: 2px;
    transition: transform 0.3s ease;
    object-fit: cover;
}
.gallery-grid a img:hover {
    transform: scale(1.1);
}

/* First big image (left) */
.gallery-grid > a:first-child {
    height: 100%;
    overflow: hidden;
    flex: 0 0 clamp(420px, 60%, 900px);
}
.gallery-grid > a:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.other-images {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: clamp(220px, 24vw, 320px);
    gap: 10px;
    height: 100%;
    flex: 0 0 auto;
}

.other-images a {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.other-images a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/*Videos*/
.videos-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    width: 100%;
    padding: 15px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 50px 10px 10px 10px;
    box-shadow: inset 3px 3px 6px rgba(0,0,0,0.4),
                inset -3px -3px 6px rgba(255,255,255,0.6);
}

.video-box{
    flex: 0 0 auto;
    width: 400px;
    height: 225px;
    display: flex;
    justify-content: center;
}

.video-box iframe {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: none;
}

.video-box iframe:hover {
    transform: scale(1.02);
    box-shadow: 6px 6px 12px rgba(0,0,0,0.3),
                -6px -6px 12px rgba(255,255,255,0.4);
}

/* Social buttons */
.social-toggle {
    position: fixed;
    bottom: 20px;
    right: 18px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-toggle:hover{
    box-shadow: 0 6px 10px rgba(0,0,0,0.4);
}

.social-toggle img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.social-toggle.zoomed img {
    transform: scale(1.1);
}

.social-buttons {
    position: fixed;
    bottom: 80px;
    right: 21px;
    display: none;
    flex-direction: column;
    gap: 10px;
    z-index: 9998;
}

.social-buttons.show {
    display: flex;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
    padding: 5px;
}

.social-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.social-btn:hover img {
    transform: scale(1.1);
}

@media (min-width: 769px) {
.desktop-section-slide {
    display: flex;
    flex-direction: column;
}
    
.mobile-section-slide  {
    display: none;
}}

@media (max-width: 768px) {
/* Banner */
.banner-container {
    height: 400px;
}
    
/* Section Slider */
.section-slider {
    height: auto;
    min-height: 1000px;
}

.section-slide.mobile-section-slide {
    height: auto;
    min-height: 400px;
    justify-content: flex-start;
    align-items: stretch;
}

/* Sections */
.section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto;
    padding: 40px 15px;
    min-height: 500px;
}

.section-text { 
    flex: 1 1 100%;
    max-width: 100%;
}

.section-text p {
    width: 100% !important;
    font-size: 0.95rem;
}
    
.section-prev, .section-next {
    display: none;
}

/* About */
.about-img img { 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
}

/* Features & Provide */
.features-grid {
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.feature-box {
    width: 100%;
}

.provide-section .provide-wrapper {
    flex-wrap: wrap;
}

.provide-text {
    text-align: center;
    max-width: 600px;
}

.provides-grid {
    flex-direction: column;
    overflow: visible;
    width: 100%;
    gap: 15px;
}

.provide-box {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
}

.provide-box.expanded {
    flex: 1 1 auto;
    width: 100%;
    padding: 20px;
}

/* Gallery */
#gallery-mobile.gallery-section {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

#gallery-mobile .gallery-wrapper {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 5px;
    border-radius: 50px 10px 10px 10px;
}

#gallery-mobile .gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#gallery-mobile .gallery-grid > a {
    width: 100%;
    display: block;
    height: auto;
}

#gallery-mobile .gallery-grid > a:first-child {
    flex: 0 0 auto;
    height: auto;
}

#gallery-mobile .other-images {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: auto;
}

#gallery-mobile .other-images a {
    width: 100%;
    height: auto;
}

#gallery-mobile .gallery-grid img, #gallery-mobile .other-images img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Videos */
.videos-grid {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}

.video-box {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.desktop-section-slide {
    display: none;
}

.mobile-section-slide  {
    display: flex;
    flex-direction: column;
}}
