body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", sans-serif;
    background: #f8f9fa;
    /*color: #333;*/
    color: rgb(27 50 87);
    width: 100%;
    height: auto;
    overflow-y: scroll;
}

.content {
    max-width: 92%;
    margin: 0px auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* WebKit Browsers (Chrome, Edge, Safari) */
::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background: rgb(48, 42, 42);
    /* dark pipe track */
    border-radius: 0px;
}

::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: linear-gradient(to right,
            #000 0%,
            #000 30%,
            #00aaff 50%,
            #000 70%,
            #000 100%);
}

header.banner {
    background: url("images/banner.webp") center/cover no-repeat;
    height: auto;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    text-align: start;
    position: relative;
}

header .overlay {
    background: rgba(0, 0, 0, 0);
    margin: 2%;
    width: 68%;
}

.logo {
    background: url("images/logo.png") center/cover no-repeat;
    width: 16vh;
    height: 16vh;
    opacity: 1;
    padding: 2px;
    display: block;
    position: fixed;
    top: 30px;
    right: 30px;
}

header .overlay h1 {
    font-size: 4em;
    padding-left: 0.2em;
}

header .overlay p {
    font-size: 1.5em;
    padding-left: 0.6em;
}

.buttons button {
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border: none;
    background: #1E56A0;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

.about,
.products,
.certification,
.clientele-section {
    padding: 4rem 2rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.about {
    color: rgb(27 50 87);
    display: flex;
    flex-wrap: wrap-reverse;
    gap: 2rem;
    align-items: center;
}

.about h2 {
    font-size: 2.3em;
    display: contents;
}

.certification p,
.about p {
    line-height: 1.6em;
    font-size: 1.1em;
    text-align: justify;
}

.about img {
    width: 100%;
    height: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.about>* {
    flex: 1 1 160px;
}

.products h2,
.certification h2,
.clientele-section h2 {
    font-size: 1.75em;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

/*.product-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}*/

/* Card */
.product-card {

    background: white;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card button {
    background-color: #1E56A0;
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 30, 30, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal Content */
.modal-content {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    max-height: 75vh;
    overflow-y: auto;
    width: 90%;
    position: relative;
    text-align: left;
    animation: fadeIn 0.4s ease-out;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.product-card button.view-details-btn {
    background: none;
    border: none;
    color: #1E56A0;
    text-decoration: underline;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    font-family: inherit;
}

.product-card button.view-details-btn:hover {
    color: #004080;
    text-decoration: none;
}

.product-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.cert-logos {
    display: flex;
    justify-content: start;
    gap: 5rem;
    margin-top: 2rem;
    overflow-x: auto;
}

.cert-logos img {
    height: 120px;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-footer {
    background-color: #1E2B45;
    color: #fff;
    padding: 4rem 2rem;
}

.contact-footer h2 {
    text-align: center;
    color: #1E56A0;
    margin-bottom: 2rem;
}

.contact-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact-left,
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    min-width: 250px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.contact-item a,
.contact-item span {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
}

.contact-item a:hover {
    color: #1E56A0;
}

.client-logos {
    display: flex;
    justify-content: start;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logos img {
    max-width: 120px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logos img:hover {
    filter: none;
}

.client-list {
    list-style: none;
    max-width: 600px;
    text-align: left;
    font-size: 1.1rem;
    line-height: 1.3rem;
}

.client-list li {
    position: relative;
    padding-left: 1.5rem;
}

.client-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    /* Match site theme color */
    font-weight: bold;
}


.warranty-banner {
    background-color: #1E56A0;
    /* Brand color */
    color: #fff;
    text-align: center;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 0.75rem;
    margin: 3rem auto 0 auto;
    max-width: 900px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    will-change: opacity, transform;
}

.warranty-banner.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: auto;
}

.client-track {
    display: flex;
    animation: scroll 30s linear infinite;
    min-width: 200%;
    /* Ensures enough room for both sets */
}

.client-track img {
    width: 125px;
    height: auto;
    margin: 10px;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s ease;
}

.client-slider:hover .client-track {
    animation-play-state: paused;
}

.client-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

#modal-description img {
    height: auto;
    width: 100%;
    max-width: 425px;
    margin: 10px;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}
