/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 20px;
}

.logo-container {
    padding: 0;
    margin-right: 40px;
    text-align: left;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

nav {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
}

nav::-webkit-scrollbar {
    display: none;
}

.main-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0;
    white-space: nowrap;
}

.main-menu>li {
    margin: 0 20px;
    position: relative;
}

.main-menu>li>a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-menu>li>a:hover {
    color: #00A693;
    border-bottom-color: #00A693;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 10;
    list-style-type: none;
}

.sub-pseudo-menu {
    list-style-type: none;

}

.main-menu>li:hover .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

.sub-menu li {
    padding: 10px;
}

.sub-menu li a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.sub-menu li a:hover {
    color: #00A693;
    padding-left: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
    padding: 50px 0;
    text-align: center;

}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #000;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.intro-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: slideUp 1s ease;
}

/* Menu Section */
.menu-section {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.pseudo-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
    flex-wrap: wrap;
}

.pseudo-menu li {
    margin: 10px 20px;
}

.pseudo-menu a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.pseudo-menu a:hover {
    background-color: #00A693;
    color: #fff;
    border-color: #00A693;
}

.sub-pseudo-menu {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
    list-style-type: none;
}

.sub-pseudo-menu li {
    margin: 5px 0;
}

.pseudo-menu-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin-top: 20px;
}

.pseudo-menu-details li {
    margin: 5px 10px;
    font-size: 0.9rem;
}

.pseudo-menu-details a {
    text-decoration: none;
    color: #666;
    background-color: #f2f2f2;
    padding: 5px 10px;
    border-radius: 3px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.pseudo-menu-details a:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Sections */
.about-us,
.products,
.services,
.community {
    padding: 60px 0;
    background-color: #fff;
}

.about-us .content,
.products .content,
.services .content,
.community .content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.about-us .image-content,
.products .image-content,
.services .image-content,
.community .image-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 15px;
    flex: 1;
}

.text-content {
    flex: 1;
}

.about-us .text-content,
.products .text-content,
.services .text-content,
.community .text-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

.about-us img,
.products img,
.services img,
.community img {
    max-width: 48%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-us img:hover,
.products img:hover,
.services img:hover,
.community img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.section-1 .about-img-1,
.section-1 .about-img-2,
.section-1 .about-img-3 {
    max-width: 30%;
    height: auto;
}

.section-2 .product-img-1,
.section-2 .product-img-2,
.section-2 .product-img-3,
.section-2 .product-img-4,
.section-2 .product-img-5 {
    max-width: 18%;
    height: auto;
}

.section-3 .service-img-1,
.section-3 .service-img-2,
.section-3 .service-img-3,
.section-3 .service-img-4,
.section-3 .service-img-5,
.section-3 .service-img-6 {
    max-width: 30%;
    height: auto;
}

.section-4 .community-img-1,
.section-4 .community-img-2,
.section-4 .community-img-3,
.section-4 .community-img-4,
.section-4 .community-img-5,
.section-4 .community-img-6,
.section-4 .community-img-7,
.section-4 .community-img-8,
.section-4 .community-img-9,
.section-4 .community-img-10,
.section-4 .community-img-11,
.section-4 .community-img-12,
.section-4 .community-img-13,
.section-4 .community-img-14,
.section-4 .community-img-15,
.section-4 .community-img-16 {
    max-width: 23%;
    height: auto;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background-color: #f8f8f8;
    text-align: center;
}

.contact-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.contact-section form {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-section input[type="email"],
.contact-section textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-section textarea {
    resize: vertical;
}

.contact-section .contact-link {
    background-color: #00A693;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.contact-section .contact-link:hover {
    background-color: #008577;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

footer a {
    color: #00A693;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #007766;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    header .container {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .logo-container {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .main-menu {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }

    .main-menu>li {
        margin: 0 10px;
    }

    .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        width: 100%;
    }

    .main-menu>li:hover .sub-menu {
        display: block;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .pseudo-menu {
        flex-direction: column;
        align-items: center;
    }

    .pseudo-menu li {
        margin: 10px 0;
    }

    .pseudo-menu-details {
        flex-direction: column;
        align-items: center;
    }

    .pseudo-menu-details li {
        margin: 5px 0;
    }

    .about-us .content,
    .products .content,
    .services .content,
    .community .content {
        flex-direction: column;
    }

    .about-us img,
    .products img,
    .services img,
    .community img {
        max-width: 100%;
        margin-bottom: 15px;
    }

    .section-1 .about-img-1,
    .section-1 .about-img-2,
    .section-1 .about-img-3 {
        max-width: 45%;
        height: auto;
    }

    .section-2 .product-img-1,
    .section-2 .product-img-2,
    .section-2 .product-img-3,
    .section-2 .product-img-4,
    .section-2 .product-img-5 {
        max-width: 45%;
        height: auto;
    }

    .section-3 .service-img-1,
    .section-3 .service-img-2,
    .section-3 .service-img-3,
    .section-3 .service-img-4,
    .section-3 .service-img-5,
    .section-3 .service-img-6 {
        max-width: 45%;
        height: auto;
    }

    .section-4 .community-img-1,
    .section-4 .community-img-2,
    .section-4 .community-img-3,
    .section-4 .community-img-4,
    .section-4 .community-img-5,
    .section-4 .community-img-6,
    .section-4 .community-img-7,
    .section-4 .community-img-8,
    .section-4 .community-img-9,
    .section-4 .community-img-10,
    .section-4 .community-img-11,
    .section-4 .community-img-12,
    .section-4 .community-img-13,
    .section-4 .community-img-14,
    .section-4 .community-img-15,
    .section-4 .community-img-16 {
        max-width: 45%;
        height: auto;
    }

    .contact-section form {
        max-width: 90%;
    }

    .text-content {
        text-align: justify;
    }
}

/* Hover effect for images */
.image-content img:hover {
    animation: pulse 1s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    100% {
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    }
}

/* Additional styling for a more polished look */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: #00A693;
    margin: 10px auto;
}

.about-us p strong,
.products p strong {
    color: #00A693;
}