body {
    margin: 0;
    font-family: 'Nunito', 'Nunito Sans', 'Roboto', sans-serif;
    color: #fff;
    /* Changed all text color to white */
    overflow-x: hidden;
    /* Prevent horizontal scroll on mobile menu */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.background-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transition: background-image 1s ease-in-out;
    /* Smooth transition for background images */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px;
    background-color: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background */
    backdrop-filter: blur(10px) brightness(1.1);
    /* Liquiglass effect */
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    /* For Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    /* Navbar is fixed at the top */
    top: 0;
    width: 100%;
    /* Ensure navbar spans full width */
    box-sizing: border-box;
    /* Include padding in the width */
    z-index: 1000;
}

.navbar-logo img {
    height: 80px;
    /* Adjust as needed */
    filter: drop-shadow(-8px -10px 46px rgba(0, 0, 0, 0.5));
    /* Applying a shadow as per reference */
}

.navbar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* Default to flex for desktop */
    transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
    /* Hide on mobile */
    .navbar-links {
        display: none;
    }
}

@media (min-width: 769px) {
    /* Show on desktop */
    .navbar-links {
        display: flex;
    }
}

.navbar-links li {
    margin-left: 30px;
}

.navbar-links a {
    color: #fff;
    /* White text for better contrast on blurred background */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    padding: 2px 0;
    /* Reduced padding for closer text */
    position: relative;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.navbar-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #ff8c00;
    /* Orange hover effect */
    transition: width 0.3s ease;
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-links a:hover {
    color: #ff8c00;
    /* Orange hover effect */
}


/* Mobile Navbar */

.navbar-toggler {
    display: none;
    /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.toggler-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #fff;
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler.open .toggler-icon:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.navbar-toggler.open .toggler-icon:nth-child(2) {
    opacity: 0;
}

.navbar-toggler.open .toggler-icon:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-company-info {
    display: none;
    /* Hidden by default on desktop */
}


/* Responsive adjustments */

@media (max-width: 768px) {
    .navbar-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        /* Off-screen initially */
        width: 70%;
        /* Adjust width as needed */
        max-width: 300px;
        /* Max width for larger mobile screens */
        height: 100vh;
        /* Full viewport height */
        background-color: rgba(255, 255, 255, 0.3);
        /* Increased opacity for better clarity for mobile menu */
        backdrop-filter: blur(10px) brightness(1.1);
        /* Liquiglass effect */
        -webkit-backdrop-filter: blur(10px) brightness(1.1);
        /* For Safari */
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        padding: 20px 0 20px 0;
        /* Adjusted padding for top to make space for title */
        align-items: flex-start;
        /* Align items to the left */
        justify-content: space-between;
        /* Distribute space between items and company info */
        transition: left 0.3s ease-in-out;
        z-index: 999;
        /* Ensure it's above other content but below toggler */
        display: none;
        /* Hide by default on mobile */
    }
    .navbar-links.open {
        left: 0;
        /* Slide in from the left */
        display: flex;
        /* Show when open */
    }
    .navbar-links li {
        margin: 0 10px;
        /* Reduced vertical margin for closer spacing */
        padding: 0;
        /* Removed padding from li to control spacing via anchor tags */
        width: calc(100% - 20px);
        /* Adjusted width */
        text-align: left;
        /* Align text of each link to the left */
    }
    .navbar-links a {
        color: #fff;
        /* Changed to white for consistency */
        width: 100%;
        display: block;
        padding: 0px 0;
        /* Adjusted vertical padding to 8px for closer spacing */
        font-size: 1.7em;
        /* Further increased font size for mobile menu items for better clarity */
    }
    .navbar-links a::after {
        background-color: #ff8c00;
        /* Orange hover effect */
    }
    .navbar-links a:hover {
        color: #ff8c00;
        /* Orange hover effect */
    }
    .navbar-toggler {
        display: block;
        /* Show toggler on mobile */
    }
    /* The previous .navbar-links:not(.open) is now redundant */
    .mobile-company-info {
        display: block;
        /* Show on mobile */
        margin-top: auto;
        /* Push to the bottom */
        padding: 20px;
        /* Add padding to the company info box */
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        /* Full width of the menu */
        box-sizing: border-box;
        /* Include padding in width */
        text-align: left;
        /* Align the company info block to the left */
    }
    .mobile-company-info .company-info {
        display: flex;
        flex-direction: column;
        /* Align logo and text in a column */
        align-items: flex-start;
        /* Align content to the left */
        justify-content: flex-start;
        /* Align content to the top */
        gap: 2px;
        /* Further reduced gap for more compact spacing */
    }
    .mobile-company-info .company-info h3 {
        color: #fdfdfd;
        margin: 0;
        font-size: 1.8em;
        /* Increased font size for company name */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    .mobile-company-info .company-info p {
        color: #fff;
        font-size: 0.8em;
        /* Make text more compact */
        margin: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }
    .mobile-company-info .company-info img {
        display: inline-block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        height: 80px;
        /* Increased size for mobile logo to be more prominent */
        margin-bottom: 80px;
        /* Space between logo and text */
        margin-top: 0;
        /* Reset margin-top */
        margin-right: 0;
        /* Reset margin-right */
        order: -1;
        /* Place logo at the top */
    }
}

h1 {
    text-align: center;
    margin-top: 0;
    padding-top: 20px;
    /* Adjusted for better spacing */
    font-size: 2.5em;
    /* Slightly larger for prominence */
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

h2 {
    text-align: center;
    font-size: 2em;
    color: #ff8c00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 15px;
}

h3 {
    text-align: center;
    font-size: 1.5em;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

p {
    text-align: center;
    color: #fff;
    line-height: 1.6;
    /* Improved readability */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.main-title-apec {
    color: orangered;
    font-size: 4em;
    /* Slightly reduced for better balance */
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 40px auto 20px auto;
    /* Adjusted margins */
    width: fit-content;
    display: block;
}


/* Homepage Layout */

.homepage-content {
    display: flex;
    flex-direction: column;
    /* Changed to column to stack children vertically */
    /* Removed align-items: center to allow children to take full width */
    width: 100%;
    /* Ensure homepage-content takes full width */
    padding: 0;
    /* Remove padding to allow full width for box5 */
    min-height: calc(100vh - 90px);
    box-sizing: border-box;
    padding-top: 110px;
}

.main-layout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto;
    width: 90%;
    max-width: 1200px;
    gap: 20px;
    padding: 20px;
    /* Add back padding for the main content container */
    box-sizing: border-box;
    margin: 0 auto;
    /* Center the container */
}

#box1 {
    grid-column: 1 / 2;
    /* Box 1 spans the first column */
    grid-row: 1 / 3;
    /* Box 1 spans both rows */
    min-height: 60vh;
    /* Make box 1 taller */
    padding: 40px 30px 30px 30px;
    /* Add more top padding, keep other paddings */
    text-align: center;
    /* Ensure content within box1 is centered */
    align-items: center;
    /* Align items to the center of the flex container */
}

#box1 .box-image {
    align-self: center;
    /* Align image to the center of the flex container */
}

#box2 {
    grid-column: 2 / 3;
    /* Box 2 is in the second column */
    grid-row: 1 / 2;
    /* Box 2 is in the first row */
    padding-top: 0;
    /* Set padding-top to 0 for box2 */
}

#box3 {
    grid-column: 2 / 3;
    /* Box 3 is in the second column */
    grid-row: 2 / 3;
    /* Box 3 is in the second row */
    display: flex;
    flex-direction: column;
    /* Arrange children horizontally */
    align-items: center;
    justify-content: space-between;
    padding: 0;
    /* Remove padding from box3 itself, will be handled by children */
    min-height: 500px;
    /* Ensure box3 has a minimum height for the carousel */
    padding-top: 0;
    /* Set padding-top to 0 for box3 */
}

#box3 .accordion-header {
    padding-top: 0;
    /* Set padding-top to 0 for the accordion header in box3 */
}

.box3-left {
    flex: 1;
    /* Takes up available space */
    padding: 20px;
    /* Add padding inside the left section */
    text-align: center;
    /* Align text to the center */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box3-left img {
    margin-bottom: 10px;
    /* Space between logo and title */
}

.box3-left h2 {
    text-align: center;
    /* Align title to the center */
    padding-top: 0;
}

.box3-left p {
    text-align: center;
    /* Align paragraph to the center */
}

.box3-right {
    flex: 1;
    /* Takes up available space */
    height: 100%;
    /* Ensure iframe takes full height of its container */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Remove padding to allow carousel to take full space */
}

.box3-right iframe {
    border-radius: 10px;
    /* Apply border-radius to the iframe */
}

#box3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 500px;
    /* Ensure box3 has a minimum height */
}

#three-js-container {
    width: 100%;
    height: 400px;
    /* Adjust height as needed */
    background-color: #000;
    /* Black background for the 3D scene */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.video-slider-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.video-slider-button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.video-slider-button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.video-slider-button.active {
    background-color: #ff8c00;
    border-color: #ff8c00;
}

#box4 {
    grid-column: 1 / 3;
    /* Box 4 spans both columns */
    grid-row: 3 / 4;
    /* Box 4 is in the third row */
    display: flex;
    flex-direction: column;
    padding: 0;
    /* Remove padding from box4 itself */
}

.box4-top {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    /* Allow items to wrap on smaller screens */
    padding: 20px;
    flex: 1;
    /* Take up remaining space */
}

.box4-top-left,
.box4-top-center,
.box4-top-right {
    flex: 1;
    min-width: 250px;
    /* Minimum width for each column */
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box4-top-left img,
.box4-top-center img,
.box4-top-right img {
    margin-bottom: 10px;
}

.box4-top-left h2,
.box4-top-center h2,
.box4-top-right h2 {
    text-align: center;
    color: #ff8c00;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.box4-top-left p,
.box4-top-center p,
.box4-top-right p {
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.main-title-vr360 {
    font-size: 3em;
    /* Increased font size for the VR360 title */
}

.box4-bottom {
    width: 100%;
    height: 70vh;
    /* 30% of viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.0);
    backdrop-filter: blur(10px) brightness(1.1);
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 10px 10px;
    /* Rounded bottom corners */
}

@media (max-width: 768px) {
    .box4-top {
        flex-direction: column;
    }
    .box4-top-left,
    .box4-top-center,
    .box4-top-right {
        min-width: unset;
        width: 100%;
    }
    .box4-bottom {
        height: 20vh;
        /* Adjust height for mobile */
    }
}

.box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) brightness(1.1);
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ff8c00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#box1 h1,
#box1 h2,
#box1 p {
    text-align: center;
    align-self: center;
    /* Align text to the center of the flex container */
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

#box1 h1 {
    font-size: 4em;
    /* Adjusted for better balance */
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#box1 h2 {
    font-size: 2.2em;
    /* Adjusted for better balance */
    margin-bottom: 20px;
    color: #ff8c00;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#box1 h3 {
    font-size: 1.6em;
    /* Adjusted for better balance */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

#box1 p {
    font-size: 1.05em;
    /* Slightly smaller for better balance */
    line-height: 1.7;
    /* Increased line height for readability */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.box .box-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
    /* Add transition for scaling effect */
    transition: transform 0.5s ease-in-out;
}


/* Accordion styles for box3 */

.accordion-container {
    width: 100%;
    max-width: 600px;
    /* Adjust as needed */
    margin: 20px auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px) brightness(1.1);
    -webkit-backdrop-filter: blur(5px) brightness(1.1);
}

.accordion-header {
    background-color: rgba(255, 255, 255, .0);
    color: #ff8c00;
    padding: 20px 20px;
    cursor: pointer;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.2em;
    font-weight: 700;
    transition: background-color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.accordion-content {
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.02);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.accordion-content.active {
    max-height: 500px;
    /* Adjust to a value larger than expected content height */
    padding: 15px 20px;
    transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.accordion-content p,
.accordion-content ul {
    color: #fff;
    text-align: left;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.accordion-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.accordion-content li {
    margin-bottom: 5px;
    cursor: pointer;
    /* Indicate clickable items */
    transition: color 0.2s ease;
}

.accordion-content li:hover {
    color: #ff8c00;
    /* Highlight on hover */
}


/* Video Modal Styles */

.video-modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    /* Limit video height */
    border-radius: 8px;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #ff8c00;
    text-decoration: none;
    cursor: pointer;
}

#box2 .box-image:hover {
    transform: scale(1.1);
    /* Scale up by 10% on hover */
}

#box5 {
    grid-column: 1 / 3;
    width: 100%;
    background-color: black;
    padding: 20px;
    box-sizing: border-box;
    margin-left: 0;
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    /* Adjust height as needed */
}

.box5-content {
    display: flex;
    width: 90%;
    max-width: 1200px;
    gap: 20px;
    align-items: center;
}

.box5-left {
    flex: 1;
    text-align: center;
    padding-right: 20px;
}

.box5-left h1 {
    font-size: 2.2em;
    /* Adjusted for better balance */
    color: #ff8c00;
    margin-bottom: 10px;
    text-align: center;
    padding-top: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.box5-left p {
    font-size: 1.05em;
    /* Slightly smaller for better balance */
    line-height: 1.7;
    /* Increased line height for readability */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.box5-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Create the overflow block */
    border-radius: 10px;
    position: relative;
    height: 500px;
    /* Increased height for the slider container */
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-image {
    position: absolute;
    width: 100%;
    /* Fit images within the container */
    height: 100%;
    /* Fit images within the container */
    object-fit: contain;
    /* Ensure the entire image is visible */
    border-radius: 10px;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.5s ease-in-out, z-index 0s;
    z-index: 1;
    /* Default z-index */
}

.slider-image.active {
    opacity: 1;
    transform: scale(1);
    /* No scaling for active image */
    z-index: 2;
    /* Bring active image to front */
}

.box5-right:hover .slider-image {
    transform: scale(1);
    /* No scaling on hover */
}

.box5-right:hover .slider-image:not(.active) {
    opacity: 0;
    /* Ensure non-active images remain hidden on hover */
}

#box6 {
    grid-column: 1 / 3;
    width: 100%;
    background-color: black;
    padding: 20px;
    box-sizing: border-box;
    margin-left: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    /* Stack children vertically */
    align-items: center;
    justify-content: space-between;
    /* Distribute space between children */
    min-height: 60vh;
}

.box6-content {
    display: flex;
    width: 90%;
    max-width: 1200px;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    /* Space between content and map */
}

.box6-left {
    flex: 1;
    text-align: center;
    padding-right: 20px;
}

.box6-left h1 {
    font-size: 2.2em;
    /* Adjusted for better balance */
    color: #ff8c00;
    margin-bottom: 10px;
    text-align: center;
    padding-top: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.box6-left p {
    font-size: 1.05em;
    /* Slightly smaller for better balance */
    line-height: 1.7;
    /* Increased line height for readability */
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.map-container {
    width: 100%;
    height: 400px;
    /* Fixed height for the map */
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    /* Space between map and logos */
}

.map-container iframe {
    width: 50%;
    height: 100%;
    border: 0;
    border-radius: 50px
}

.logo-container {
    display: flex;
    flex-direction: row;
    /* Arrange logos horizontally */
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: auto;
    /* Allow height to adjust to content */
    padding: 10px 20px;
    /* Add padding around logos */
    box-sizing: border-box;
    flex-shrink: 0;
    background-color: rgba(255, 255, 255, 0.1);
    /* Add a background to the logo container */
    backdrop-filter: blur(5px) brightness(1.1);
    -webkit-backdrop-filter: blur(5px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.box6-logo {
    max-width: 30%;
    /* Adjust logo size to fit horizontally */
    max-height: 20em;
    /* Set a max height for logos to prevent them from being too large */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}


/* Remove .box6-right as it's no longer needed */

.box6-right {
    display: none;
}


/* Read More/Read Less styles */

.more-text {
    display: none;
    /* Hidden by default */
}

.read-more-btn {
    background-color: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background */
    backdrop-filter: blur(10px) brightness(1.1);
    /* Liquiglass effect */
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    /* For Safari */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    color: #ff8c00;
    /* Orange text */
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    margin-top: 15px;
    z-index: 10;
    /* Ensure button is on top */
    position: relative;
    /* Needed for z-index to work */
}

.read-more-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ff8c00;
    color: #fff;
}


/* Responsive adjustments for the new layout */

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
        /* Smaller for mobile */
        padding-top: 15px;
    }
    h2 {
        font-size: 1.5em;
        /* Smaller for mobile */
    }
    h3 {
        font-size: 1.2em;
        /* Smaller for mobile */
    }
    p {
        font-size: 0.95em;
        /* Smaller for mobile */
        line-height: 1.5;
    }
    .main-title-apec {
        font-size: 2.5em;
        /* Smaller for mobile */
        margin: 20px auto 10px auto;
    }
    .main-layout-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        width: 100%;
        padding: 0 10px;
    }
    #box1,
    #box2 {
        grid-column: auto;
        grid-row: auto;
        min-height: unset;
    }
    #box1 h1 {
        font-size: 2.5em;
        /* Adjusted for mobile */
    }
    #box1 h2 {
        font-size: 1.8em;
        /* Adjusted for mobile */
    }
    #box1 h3 {
        font-size: 1.3em;
        /* Adjusted for mobile */
    }
    #box1 p {
        font-size: 0.95em;
        /* Adjusted for mobile */
    }
    #box4 {
        grid-column: auto;
        grid-row: auto;
        min-height: unset;
        flex-direction: column;
        padding: 0;
        margin-top: 20px;
    }
    .box4-top {
        flex-direction: column;
        padding: 10px;
    }
    .box4-top-left,
    .box4-top-center,
    .box4-top-right {
        min-width: unset;
        width: 100%;
        padding: 5px;
    }
    .box4-bottom {
        height: 20vh;
    }
    #box3 {
        grid-column: auto;
        grid-row: auto;
        min-height: unset;
        flex-direction: column;
        padding: 20px;
    }
    .box3-left,
    .box3-right {
        width: 100%;
        padding: 0;
    }
    .box3-left {
        align-items: center;
        text-align: center;
    }
    .box3-left h2,
    .box3-left p {
        text-align: center;
    }
    #box5 {
        min-height: unset;
        /* Reset min-height for mobile */
    }
    .box5-content {
        flex-direction: column;
        width: 100%;
    }
    .box5-left {
        padding-right: 0;
        text-align: center;
    }
    .box5-left h1 {
        font-size: 1.8em;
        /* Adjusted for mobile */
    }
    .box5-left p {
        font-size: 0.95em;
        /* Adjusted for mobile */
    }
    .box5-right {
        height: 300px;
        /* Adjusted height for mobile */
    }
    #box6 {
        margin-left: 0;
        width: 100%;
        padding: 20px 10px;
        min-height: unset;
        /* Reset min-height for mobile */
    }
    .box6-content {
        flex-direction: column;
        width: 100%;
    }
    .box6-left {
        padding-right: 0;
        text-align: center;
    }
    .box6-left h1 {
        font-size: 1.8em;
        /* Adjusted for mobile */
    }
    .box6-left p {
        font-size: 0.95em;
        /* Adjusted for mobile */
    }
    .box6-right {
        height: 300px;
    }
    .logo-container {
        flex-direction: column;
        /* Stack logos vertically on mobile */
        gap: 15px;
        /* Add some space between stacked logos */
    }
    .box6-logo {
        max-width: 60%;
        /* Make logos larger on mobile when stacked */
    }
}

.slider-container {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    /* Rounded corners for the slider container */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.image-wrapper {
    display: flex;
    transition: transform 1s ease-in-out;
    /* Smooth transition for sliding */
}

.image-wrapper img {
    width: 100%;
    flex-shrink: 0;
    /* Prevent images from shrinking */
    border-radius: 10px;
    /* Rounded corners for individual images */
    cursor: pointer;
    /* Indicate clickable images */
}


/* Image Pop-up Modal Styles */

.image-modal {
    display: none;
    /* Hidden by default, JavaScript will toggle to 'flex' */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.image-modal-content {
    position: relative;
    background-color: rgba(255, 255, 255, 0.1);
    /* Semi-transparent background */
    backdrop-filter: blur(10px) brightness(1.1);
    /* Liquiglass effect */
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    /* For Safari */
    margin: auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Lighter border */
    width: 90%;
    /* Adjusted width for better responsiveness */
    max-width: 900px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    /* Lighter shadow */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}


/* Slider Navigation Buttons */

.slider-container {
    position: relative;
    /* Needed for absolute positioning of buttons */
}

.slider-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    z-index: 10;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.close-image-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-image-button:hover,
.close-image-button:focus {
    color: #ff8c00;
    text-decoration: none;
    cursor: pointer;
}


/* App Download Pop-up Styles */

.app-download-popup {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    justify-content: center;
    align-items: center;
}

.app-download-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) brightness(1.1);
    -webkit-backdrop-filter: blur(10px) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
}

.app-download-content .close-app-download {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.app-download-content .close-app-download:hover,
.app-download-content .close-app-download:focus {
    color: #ff8c00;
    text-decoration: none;
    cursor: pointer;
}

.app-download-content .app-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

.app-download-content h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #ff8c00;
}

.app-download-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.app-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.app-download-buttons .app-button {
    display: block;
    width: 200px;
    /* Adjust as needed */
    height: auto;
}

.app-download-buttons .app-button img {
    width: 100%;
    height: auto;
}