﻿/* General Body and Resets */
body {
    margin: 0;
    font-family: 'Nunito Sans', sans-serif;
    color: #616161;
    background-color: #ffffff;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

a {
    color: #05c3de;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.main-content {
    padding-top: 90px;
}


/* Header and Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    z-index: 1000;
    border-bottom: 1px solid #e9e9e9;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    padding: 0 10px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo-wrapper {
    display: flex;
    flex-direction: column;
}

.nav-logo img {
    height: 45px;
}

.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    position: relative;
    margin-left: 32px;
}

.nav-link {
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: none;
    border: none;
}

    .nav-link i {
        font-size: 16px;
        width: 16px;
        text-align: center;
    }

    .nav-link:hover, .dropdown.is-open > .nav-link {
        color: #05c3de;
    }

.arrow-icon {
    font-size: 12px !important;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.dropdown.is-open .arrow-icon {
    transform: rotate(180deg);
}

.dropdown-content {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background-color: #2c3e50;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1001;
    padding: 10px 0;
    border-radius: 8px;
    border-top: 3px solid #05c3de;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s;
    pointer-events: none;
}

.dropdown.is-open > .dropdown-content {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.dropdown-content a {
    color: #ecf0f1;
    padding: 12px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

    .dropdown-content a i {
        width: 16px;
        color: #05c3de;
        transition: color 0.3s;
    }

    .dropdown-content a:hover {
        background-color: #05c3de;
        color: white;
    }

        .dropdown-content a:hover i {
            color: white;
        }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #222;
    transition: all 0.3s ease-in-out;
}


/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

    .slide.active {
        opacity: 1;
        z-index: 2;
    }

    .slide .container {
        position: relative;
        z-index: 3;
    }

    .slide h1 {
        color: white;
        font-size: 3rem;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    }

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 4;
    padding: 0 2rem;
}

.prev-slide, .next-slide {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.7);
    color: #222;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 1.5rem;
    user-select: none;
}

.slide-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 4;
}

/* Products Section */
.products-section {
    padding: 60px 0;
    text-align: center;
}

    .products-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
}

    .product-card img {
        width: 100%;
        display: block;
    }

.product-info {
    padding: 20px;
}

    .product-info h5 {
        font-size: 1.4rem;
        color: #000;
    }

    .product-info p {
        font-weight: bold;
        color: #989898;
        font-size: 0.9rem;
    }

/* Leader Section */
.leader-section {
    padding: 60px 0;
    background: #f8f9fa;
    text-align: center;
}

    .leader-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

.leader-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas:
        "c1 img c4"
        "c2 img c5"
        "c3 img c6";
    gap: 20px;
    align-items: center;
}

.leader-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: left;
}

    .leader-card h4 {
        color: #05c3de;
        margin-bottom: 0.5rem;
    }

.leader-image {
    grid-area: img;
}

    .leader-image img {
        border-radius: 10px;
    }

.leader-grid .leader-card:nth-child(1) {
    grid-area: c1;
}

.leader-grid .leader-card:nth-child(2) {
    grid-area: c2;
}

.leader-grid .leader-card:nth-child(3) {
    grid-area: c3;
}

.leader-grid .leader-card:nth-child(5) {
    grid-area: c4;
}

.leader-grid .leader-card:nth-child(6) {
    grid-area: c5;
}

.leader-grid .leader-card:nth-child(7) {
    grid-area: c6;
}

/* CTA Section */
.cta-section {
    background-color: #05c3de;
    padding: 40px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    background: #05c3de;
    border-radius: 10px;
    overflow: hidden;
}

.cta-image {
    flex: 0 0 40%;
}

    .cta-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.cta-text {
    padding: 40px;
    color: white;
    flex: 1;
}

    /* --- THIS IS THE FIX FOR THE CTA TEXT WRAPPING --- */
    .cta-text h5 {
        font-size: 1.8rem;
        white-space: nowrap; /* Prevents the text from wrapping to a new line */
    }
/* --- END OF FIX --- */


/* Company (Tabs) Section */
.company-section {
    padding: 60px 0;
    text-align: center;
}

    .company-section h2 {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 15px 25px;
    border: 1px solid #e6e6e6;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

    .tab-button.active, .tab-button:hover {
        background-color: #05c3de;
        color: white;
        border-color: #05c3de;
    }

.tab-content {
    display: none;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0,0,0,0.12);
    border-radius: 10px;
    text-align: left;
}

    .tab-content.active {
        display: block;
    }

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.text-content {
    flex: 1;
}

.image-content {
    flex: 1;
}

    .image-content img {
        border-radius: 10px;
    }

.text-content h5 {
    font-size: 1.5rem;
    color: #000;
}

/* Certificates Section */
.certificates-section {
    padding: 60px 0;
    text-align: center;
}

    .certificates-section h2 {
        font-size: 2.5rem;
    }

    .certificates-section > .container > p {
        max-width: 800px;
        margin: 0 auto 40px auto;
    }

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

    .certificate-grid img {
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Footer */
.footer-main {
    background-color: #616161;
    color: #fef3f5;
    padding-top: 60px;
    clear: both;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.address-content {
    display: flex;
    gap: 20px;
}

.address-images img {
    display: block;
    margin-bottom: 15px;
    max-width: 200px;
}

.address-text a {
    color: #05c3de;
    font-weight: bold;
}

.links-wrapper {
    display: flex;
    gap: 40px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .links-col ul li a {
        color: #fef3f5;
        line-height: 2;
    }

.certifications-logos {
    margin-top: 30px;
}

    .certifications-logos img {
        max-width: 250px;
    }

.qr-col .qr-code {
    width: 150px;
}

.social-icons {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #777;
    margin-top: 20px;
}

    .social-icons a {
        color: #fff;
        font-size: 16px;
        margin: 0 10px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #4a4a4a;
        transition: background-color 0.3s, transform 0.3s;
    }

        .social-icons a:hover {
            background-color: #05c3de;
            transform: translateY(-3px);
        }

.footer-bottom {
    background-color: #081219;
    padding: 20px 0;
}

    .footer-bottom .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.footer-bottom-logo {
    height: 40px;
}

.footer-bottom p {
    margin: 0;
    color: #8A9298;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-navigation {
        position: static;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 90px);
        align-items: flex-start;
        text-align: left;
        transition: left 0.3s ease-in-out;
        gap: 0;
        padding: 20px;
        overflow-y: auto;
    }

        .nav-menu.is-open {
            left: 0;
        }

    .nav-item {
        margin: 0;
        width: 100%;
    }

    .nav-link {
        padding: 15px 10px;
        justify-content: flex-start;
        width: 100%;
    }

    .dropdown-toggle {
        justify-content: space-between !important;
    }

        .dropdown-toggle span {
            flex-grow: 1;
        }

    .dropdown-content {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background-color: #f8f9fa;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        padding: 0;
    }

    .dropdown.is-open .dropdown-content {
        max-height: 500px;
    }

    .dropdown-content a {
        color: #333;
        padding-left: 30px;
    }

    .mobile-menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .product-grid, .certificate-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .leader-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "img img"
            "c1 c4"
            "c2 c5"
            "c3 c6";
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-text {
        padding: 20px;
        text-align: center;
    }

        .cta-text h5 {
            font-size: 1.2rem; /* Reduce font size on smaller screens */
            white-space: normal; /* Allow text to wrap on mobile */
        }

    .content-wrapper {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .product-grid, .certificate-grid, .footer-grid {
        grid-template-columns: 1fr;
    }

    .leader-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "c1"
            "c4"
            "c2"
            "c5"
            "c3"
            "c6";
    }

    .slide h1 {
        font-size: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .address-content {
        flex-direction: column;
    }
}
