body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #031716;
    background-image: url('https://media.gettyimages.com/id/1299875027/photo/mount-fuji-aerial-view.jpg?s=612x612&w=0&k=20&c=GRxzRrP0K3ykDS9iLcVwvLnUzBj_5giSwRPMwg6U6QM=');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

header {
    background-color: rgba(244, 244, 244, 0.7);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    backdrop-filter: blur(0.5px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #0C969C;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #032F30;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0A7075;
}

/* --- Hotline Styling --- */
.hotline-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto; /* Pushes the hotline to the right if next to nav links */
    margin-right: 20px; /* Space before the hamburger menu */
}

.hotline-icon {
    width: 48px;
    height: 48px;
    border: 3px solid #0066b2; /* Matches the image's blue */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotline-icon svg {
    width: 22px;
    height: 22px;
    fill: #0066b2;
    transform: scaleX(-1); /* Flips the phone to match the angle in your image */
}

.hotline-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hotline-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: -2px; /* Pulls the number closer to the top text */
}

.hotline-text {
    font-size: 0.8rem;
    color: #888;
    font-weight: 500;
}

.hotline-line {
    flex-grow: 1;
    height: 1px;
    background-color: #d3d3d3;
    min-width: 60px; /* Ensures the line is visible */
}

.hotline-number {
    font-size: 1.8rem;
    font-weight: 800; /* Extra bold */
    color: #0066b2;
    text-decoration: none;
    line-height: 1;
    letter-spacing: 0.5px;
}

/* Ensure mobile responsiveness */
@media screen and (max-width: 768px) {
    .hotline-container {
        display: none; /* You might want to hide this on mobile and put it in the dropdown menu instead */
    }
}


main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(5px);
}

h2 {
    text-align: center;
    color: #031716;
    border-bottom: 2px solid #0C969C;
    padding-bottom: 10px;
    margin-bottom: 20px;
}


/* Hero Image Styling */
.hero-image-container {
    margin-top: 2rem;
    width: 100%;
    text-align: center;
}

.hero-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.hero h1 {
    font-size: 3rem; /* Default size for larger screens */
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Gallery Styling */
.gallery-container {
    position: relative;
    width: 100%; /* FIX 1: Changed from 300% to fit the parent container/screen */
    max-width: 800px;
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.gallery-slider img {
    flex: 0 0 100%; /* FIX 2: Prevents flexbox from squishing the images */
    width: 100%;
    
    /* FIX 3: Choose ONE of the following height strategies to prevent vertical jumping */
    aspect-ratio: 16 / 9; /* Modern approach: locks the ratio */
    /* height: 500px; */ /* Alternative: a fixed height */
    
    object-fit: cover; /* FIX 4: Crops the image to fill the space without distortion */
    display: block;
}

.prev-button, .next-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.5rem;
    line-height: 1;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.prev-button {
    left: 10px;
}

.next-button {
    right: 10px;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
/* Ensure images below the gallery stay below it */
.history-section p {
    margin-top: 2rem;
}
.history-section p {
    line-height: 1.6;
    text-align: center;
}

.team-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 450px;
    padding: 30px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}

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

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #0C969C;
    margin-bottom: 20px;
}

.description-box {
    margin-top: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    text-align: center;
    box-shadow: none;
    backdrop-filter: none;
}

.description-box h3 {
    margin-top: 0;
    color: #0A7075;
    font-size: 1.8em;
    margin-bottom: 5px;
}
.description-box p {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #032F30;
}

.products-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px;
    text-align: center;
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.product-card {
    width: 40%;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: white;
    border-radius: 10px;
    border: 3px solid #6BA3BE;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.chemicals {
    background-image: url('https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQNV6GZlvQ43Yf3fGFZQx2G_oONR-LAruPLSA&s');
    background-size: cover;
}

.beauty {
    background-image: url('https://t4.ftcdn.net/jpg/10/59/01/67/360_F_1059016737_Dl7efVbLeDAOq2TyBrqJPtk3irdVDMon.jpg');
    background-size: cover;
}

.product-card a {
    color: white;
    text-decoration: none;
    font-size: 2em;
    font-weight: bold;
    text-shadow: 2px 2px 5px #000000;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
}

.product-card a:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.product-list {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #6BA3BE;
    border-radius: 8px;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    backdrop-filter: blur(5px);
}

.product-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #0C969C;
    flex-shrink: 0;
}

.product-description {
    flex: 1;
}

.product-description h3 {
    margin-top: 0;
    color: #0A7075;
}

.survey-container {
    width: 80%;
    margin: 50px auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
}

.survey-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #031716;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #031716;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #6BA3BE;
    border-radius: 4px;
    box-sizing: border-box;
    color: #031716;
}

.form-group textarea {
    resize: vertical;
    height: 100px;
}

.submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #274D60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0C969C;
}

footer {
    background-color: rgba(3, 23, 22, 0.7);
    color: #f4f4f4;
    padding: 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    backdrop-filter: blur(5px);
}

.footer-left, .footer-right, .footer-middle {
    flex: 1;
    min-width: 200px;
}

.footer-left h4, .footer-right h4 {
    margin-bottom: 10px;
}

.footer-middle {
    text-align: center;
}

.highlight-button {
    background-color: #274D60;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.highlight-button:hover {
    background-color: #0C969C;
}

/* Style for the Google Translate widget */
#google_translate_element {
    margin-left: 20px;
    /* Adjust alignment for a cleaner look */
    display: flex;
    align-items: center;
}

.goog-te-gadget {
    font-family: inherit;
    font-size: inherit;
    color: #032F30;
    border: 2px solid #0C969C;
    border-radius: 5px;
    padding: 5px 10px;
    background-color: rgba(255, 255, 255, 0.8);
}

.goog-te-combo {
    font-size: 1em;
    border: none;
    background-color: transparent;
    color: #032F30;
}

/* Hamburger menu button */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2em;
    color: #032F30;
    /* This will be the hamburger icon */
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle::before {
    content: '\2261'; /* Unicode for hamburger menu icon */
}

/* Responsive Media Queries */
/* Large screens (1600px and up) */
@media (max-width: 1600px) {
    main {
        max-width: 1400px;
    }
}

/* Medium screens (1200px and up) */
@media (max-width: 1200px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        margin-top: 10px;
    }

    main {
        padding: 10px;
    }

    .products-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .product-card {
        width: 80%;
    }

    .team-section {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .team-member {
        max-width: 80%;
    }

    footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Small screens (900px and up) */
@media (max-width: 900px) {
    .products-section,
    .team-section {
        padding: 40px 10px;
    }

    .product-card,
    .team-member {
        width: 90%;
    }
}

/* Extra small screens (500px and up) */
@media (max-width: 500px) {
    header {
        position: relative;
        z-index: 10;
        padding: 10px;
    }

    nav {
        flex-direction: row; /* Change back to row for mobile */
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block; /* Show hamburger button */
    }

    .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Position below header */
        right: 10px;
        background-color: rgba(244, 244, 244, 0.95);
        border: 1px solid #0C969C;
        border-radius: 5px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 10;
        width: 150px;
        padding: 10px;
    }

    .nav-links.active {
        display: flex; /* Show nav links when active */
    }

    .nav-links li {
        margin: 5px 0;
    }

    .nav-links a {
        display: block;
        padding: 10px;
        text-align: left;
    }

    .logo {
        font-size: 1.2em;
    }

    footer,
    main {
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem; /* Smaller size for tablets and smaller desktops */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem; /* Even smaller size for mobile phones */
    }
}