/* =========================================================
   HERO SECTION - FULLY RESPONSIVE
========================================================= */
.hero {
    width: 100%;
    height: 670px;
    overflow: hidden;
    position: relative;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================================================
   TAB HEADER - FULLY RESPONSIVE
========================================================= */
.tabHeader {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    padding: 1.5rem 3rem;
    border-radius: 8px;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
    max-width: 90%;
    text-align: left;
    box-sizing: border-box;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS - HERO & TAB HEADER
========================================================= */

/* Large Desktop (1920px - 1440px) */
@media (max-width: 1920px) and (min-width: 1440px) {
    .hero {
        height: 670px;
    }

    .tabHeader {
        font-size: 2.5rem;
        padding: 1.5rem 3rem;
    }
}

/* Desktop (1440px - 1024px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .hero {
        height: 550px;
    }

    .tabHeader {
        font-size: 2.2rem;
        padding: 1.3rem 2.5rem;
    }
}

/* Tablet Landscape (1024px - 768px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .hero {
        height: 450px;
    }

    .tabHeader {
        font-size: 2rem;
        padding: 1.2rem 2.2rem;
        letter-spacing: 1.2px;
    }
}

/* Tablet Portrait (768px - 425px) */
@media (max-width: 767px) and (min-width: 426px) {
    .hero {
        height: 350px;
    }

    .tabHeader {
        font-size: 1.8rem;
        padding: 1rem 2rem;
        letter-spacing: 1px;
        white-space: normal;
        max-width: 85%;
    }
}

/* Mobile (425px - 375px) */
@media (max-width: 425px) and (min-width: 376px) {
    .hero {
        height: 250px;
    }

    .tabHeader {
        font-size: 1.5rem;
        padding: 0.9rem 1.5rem;
        letter-spacing: 0.8px;
        white-space: normal;
        max-width: 80%;
        line-height: 1.3;
    }
}

/* Small Mobile (375px - 320px) */
@media (max-width: 375px) {
    .hero {
        height: 200px;
    }

    .tabHeader {
        font-size: 1.3rem;
        padding: 0.8rem 1.2rem;
        letter-spacing: 0.5px;
        white-space: normal;
        max-width: 85%;
        line-height: 1.2;
    }
}

/* Extra Small Mobile (< 320px) */
@media (max-width: 320px) {
    .hero {
        height: 180px;
    }

    .tabHeader {
        font-size: 1.1rem;
        padding: 0.7rem 1rem;
        letter-spacing: 0.3px;
        white-space: normal;
        max-width: 90%;
        line-height: 1.2;
    }
}


/* =========================================================
   ABOUT SECTION
========================================================= */
.zigzag-section {
    max-width: 1200px !important;
    margin: 80px auto !important;
    padding: 0 20px;
}

.zigzag-block {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 80px;
    gap: 40px;
}

.zigzag-block.reverse {
    flex-direction: row-reverse;
}

/* Image */
.zigzag-image img {
    width: 420px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

/* Text content */
.zigzag-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #3e89c1;
    margin-bottom: 15px;
}

.zigzag-content p {
    font-size: 16px;
    line-height: 28px;
    color: #333;
    text-align: justify;
}

/* Mobile stack */
@media (max-width: 992px) {

    .zigzag-block,
    .zigzag-block.reverse {
        flex-direction: column;
        text-align: center;
    }

    .zigzag-image img {
        width: 100%;
        height: auto;
    }
}



.about-bold-h3 {
    font-weight: bold;
    padding-bottom: 10px;
    color: rgb(77, 77, 77);
}

.mySlides {
    display: none;
}

.slideshow-container {
    width: 420px;
    height: 400px;
}

/* Fix slideshow responsiveness ONLY on tablet */
@media (min-width: 768px) and (max-width: 1024px) {

    .zigzag-image {
        display: flex;
        justify-content: center;
        /* Center the slideshow */
        align-items: center;
        width: 100%;
    }

    .slideshow-container {
        width: 100% !important;
        max-width: 500px;
        /* Keep slideshow a normal size */
        margin: 0 auto !important;
        /* Center inside parent */
        display: block;
    }

    .slideshow-container img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .slideshow-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
    }
}



@media (max-width: 425px) {
    .slideshow-container {
        width: 100% !important;
        height: auto !important;
    }
}

.slideshow-container img {
    width: 420px;
    height: 400px;
    object-fit: scale-down;
    padding: 100px;
    border-radius: 12px;
}

.fade {
    animation-name: fadeEffect;
    animation-duration: 1s;
}

@keyframes fadeEffect {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

img {
    max-width: none;
}

.section {
    padding: 0px 0;
}

@media (max-width: 375px) {
    .product-container {
        max-width: 90%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Scoped Fullwidth Layout - Fix for Nav Alignment */
.page-fullwidth .container {
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.page-fullwidth.container {
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.page-fullwidth .container-full {
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* Scoped Product Card Image Sizing */
.page-fullwidth .product-thumb {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    display: block;
    aspect-ratio: 4 / 3;
    max-height: 360px;
}

.page-fullwidth .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .page-fullwidth .product-thumb {
        aspect-ratio: 4 / 3;
        max-height: 300px;
    }
}

@media (max-width: 575px) {
    .page-fullwidth .product-thumb {
        aspect-ratio: 1 / 1;
        max-height: 220px;
    }
}