﻿/* Reset default styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --starbucks-green: #017143;
  --primary-color: #12ac8e;
  --primary-color-dark: #0d846c;
  --primary-color-light: #e9f7f7;
  --secondary-color: #fb923c;
  --text-dark: #333333;
  --text-light: #767268;
  --white: #ffffff;
  --max-width: 1200px;
}
/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    position: relative;
    min-height: 100vh;
    background-color: white; /* White background for everything else */
    overflow-x: hidden;
}

    body::before {
        content: none;
    }

/* -------------------------------------- Back to top --------------------- */
#backToTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 40px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
}

    #backToTopBtn:hover {
        background-color: #555555e4;
    }
/* ------------------------- end Back to top --------------------- */
/*-------------------------- Header Styling ----------------------------------------------*/
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-image: url('../images/landingpage-img - overlay.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    border-bottom: 1px solid rgba(68, 68, 68, 0.466);
    position: relative;
}

/* Logo */
.logo img {
    max-height: 60px;
}

/* Navigation Menu */
nav {
    position: relative;
}

.nav-list {
    display: flex;
    gap: 30px;
    background: rgba(173, 216, 230, 0); /* Light blue with transparency */
    padding: 10px 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    list-style: none;
    border-top: 1px solid #12ac8e7c;
    border-bottom: 3px solid #12ac8e7c;
    box-shadow: 0 1px 6px #12ac8e7c;
}

    .nav-list li a {
        text-decoration: none;
        color: #222;
        font-weight: 500;
        font-size: 19px;
        transition: color 0.3s ease;
    }

        .nav-list li a:hover {
            color: #ffffff; /* Dark green hover like "Manhattan" */
        }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive (optional) */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 40px;
        background-color: rgb(196, 191, 191, 0.50);
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        z-index: 9999; /* Ensures it appears in front */
    }

    .menu-toggle {
        display: block;
    }

    .nav-list.active {
        display: flex;
    }
}
/*-------------------------- end Header Styling ------------------------------------*/

/*-- our facilities index section */
.services-section { /* Dark Blur Effect */
    position: relative;
    background: url('../images/FMIMC_logo2-1.png') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 40px;
    background-color: white; /* White background after the image */
    z-index: 1; /* Ensures the section content stays on top */
}

    /* Dark overlay */
    .services-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(64, 64, 64, 0.6); /* Dark overlay */
        backdrop-filter: blur(5px); /* Blur effect */
        z-index: 0; /* Ensure it's behind the text content */
    }

/* Text content */
.services-content {
    position: relative;
    color: white;
    max-width: 800px;
    z-index: 1; /* Ensure it's on top of the overlay */
}

    .services-content h2 {
        font-size: 45px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 3px;
        background: linear-gradient(90deg, #ffffff, #bbbbbb);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline; /* Fix for gradient text not being inline */
    }

    .services-content p {
        font-size: 17px;
        margin-top: 10px;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.9);
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
        margin-left: 70px;
    }

/* Services Boxes */
.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px 10%;
    margin-top: -100px; /* Overlap effect */
}

.hero-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    width: 600px;
    height: fit-content;
    text-align: center;
    position: relative;
    z-index: 10;
}

    .hero-content img {
        width: 500px;
        margin-bottom: 10px;
    }

    .hero-content h3 {
        color: #333333;
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: 600;
        font-size: 2rem;
    }

    .hero-content p {
        max-width: 600px;
        color: #56544f;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        align-self: center;
        margin-bottom: 8px;
        line-height: 20px;
    }

/* Button styles */
.btn-services {
    padding-top: 10px;
}

    .btn-services a {
        border: 2px solid #a5e3d5;
        transition: color 0.3s ease-in-out, border-color 0.3s ease-in-out;
        padding: 10px 20px 10px 20px;
        align-items: center;
        border-radius: 5px;
        text-decoration: none;
        color: #333;
        background-color: transparent;
        outline: none;
        font-weight: 500;
        font-size: 1.1rem;
        white-space: nowrap;
        cursor: pointer;
    }

        .btn-services a:hover {
            color: #ffffff;
            background-color: #3a8171;
            border: 2px solid #a5e3d5;
        }

/* Responsive mobile */
@media (max-width: 768px) {
    .services-section {
        height: auto;
        padding: 20px;
        background-size: cover;
        background-position: center;
        text-align: center;
        flex-direction: column;
    }

    .services-content {
        max-width: 100%;
        padding: 10px;
    }

        .services-content h2 {
            font-size: 32px;
            letter-spacing: 1px;
        }

        .services-content p {
            font-size: 15px;
            margin-left: 0;
            text-align: center;
        }

    .services-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 5%;
        margin-top: 20px;
    }

    .hero-content {
        width: 100%;
        padding: 15px;
    }

        .hero-content img {
            width: 100%;
            height: auto;
            object-fit: cover; /* or 'contain', depending on the layout goal */
            max-width: 100%;
        }

        .hero-content h3 {
            font-size: 1.5rem;
        }

        .hero-content p {
            font-size: 14px;
            text-align: center;
        }

    .btn-services {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

        .btn-services a {
            font-size: 1rem;
            padding: 10px 16px;
        }
}
/*-- end our facilities index section */

/*--- Clients ---*/
.section__container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section__header {
    margin-bottom: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
}

/*-- mobile view --*/
.why__container {
    grid-template-columns: repeat(1, 1fr);
}

.why__content {
    text-align: center;
}

.why__grid {
    text-align: left;
}

.why__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .why__image img {
        max-width: 100%;
        height: auto;
    }
/*--- end Clients ---*/

/*-----------------------  facility.html slider  top Company container -------------------------*/
.next-button {
    position: absolute;
    right: -30px; /* Moves button next to the last card */
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 10;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: fit-content; /* Adjust to fit the visible cards */
    justify-content: center;
    margin: auto; /* Ensures horizontal centering */
}

.company-track {
    display: flex;
    gap: 40px;
    transition: transform 0.3s ease-in-out;
    width: calc(300px * 4 + 40px * 3); /* Full width of only 4 cards */
}

.company-card {
    background-color: #12ac8e;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 300px;
    height: fit-content;
    flex: 0 0 auto; /* Prevent shrinking */
    border-radius: 8px;
}
    .company-card img {
        width: 100%;
        height: 200px; /* Or any fixed height for consistent layout */
        object-fit: contain; /* Ensures the image fills and crops if necessary */
        border-radius: 8px; /* Optional */
        display: block;
    }

    /* Remove margin for last card to avoid extra spacing */
    .company-card:last-child {
        margin-right: 0;
    }

.slider-btn {
    position: absolute;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent dark background */
    color: #fff; /* White text */
    border: none;
    width: 30px; /* Square width */
    height: 30px; /* Square height */
    cursor: pointer;
    font-size: 18px; /* Adjust icon size */
    border-radius: 5px; /* Slightly rounded edges */
    transition: background 0.3s ease, transform 0.2s ease-in-out;
    z-index: 10; /* Keep buttons above other elements */
    display: flex;
    align-items: center;
    justify-content: center;
}

#prevBtn {
    left: -40px; /* Adjust left button position */
}

#nextBtn {
    right: -40px; /* Adjust right button position */
}

/* Hover effect */
.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1); /* Slight zoom effect */
}

.company-container {
    display: flex;
    overflow: hidden;
    width: fit-content; /* Dynamically fits exactly 4 cards */
    background: linear-gradient(to right, #edf1ed, #c2eec2);
    padding: 15px;
    margin-bottom: 50px;
    border-radius: 8px;
}

.company-list {
    display: flex;
    overflow: hidden;
    width: calc(300px * 4 + 10px * 3); /* 4 cards + spacing */
    justify-content: center;
}

.company-title-card {
    display: flex;
    justify-content: center;
    padding: 30px;
    flex-wrap: wrap;
    flex-direction: column;
}

.statistics h2 {
    color: #343F52;
    text-align: center;
    font-size: 40px;
    padding-top: 20px;
    font-weight: 500;
    margin: 0;
}

.company-title-card h2 {
    color: #333333;
    line-height: 40px;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.company-title-card p {
    max-width: 600px;
    color: #767268;
    font-size: 17px;
    font-weight: 600;
    text-align: center;
    align-self: center;
}

.card img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.employer-profile-container {
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Prevents any overflow */
}

    .employer-profile-container img {
        width: 100%;
        height: 100%;
        object-fit: fill; /* Ensures the image fully covers the container */
    }

/*=============== CARD ===============*/
.card__article {
    position: relative;
    overflow: hidden;
}

.card__data {
    width: 290px;
    background-color: #F8F7F0;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    border-radius: 1rem;
    position: absolute;
    bottom: -9rem;
    left: 0;
    right: 0;
    margin-inline: auto;
    opacity: 0;
    transition: opacity 1s 1s;
}

.card__description {
    display: block;
    font-size: 25px;
    font-weight: 700;
    color: #017143;
}

.card__title {
    font-size: var(--h2-font-size);
    font-weight: 500;
    color: var(--title-color);
    margin-bottom: .75rem;
}


/* Naming animations in hover */
.card__article:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    transition: opacity .3s;
}

.card__article:hover {
    animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
    animation: show-overflow 2s forwards;
}

    .card__article:not(:hover) .card__data {
        animation: remove-data 1s forwards;
    }

/* Card animation */
@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(-7rem);
    }
}

@keyframes remove-overflow {
    to {
        overflow: initial;
    }
}

@keyframes remove-data {
    0% {
        transform: translateY(-7rem);
    }

    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(.5rem);
    }
}

@keyframes show-overflow {
    0% {
        overflow: initial;
        pointer-events: none;
    }

    50% {
        overflow: hidden;
    }
}

/*facility.html last pic*/
.green-section {
    width: 100%;
    margin-bottom: 100px;
}

.green-section-container {
    padding-bottom: 50px;
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.section-title {
    width: 100%;
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: white;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.facility-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.facility-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
    background: linear-gradient(to right, #edf1ed, #c2eec2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    padding: 10px;
}

    .facility-card img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
        border-radius: 8px;
        transition: transform 0.3s ease-in-out;
    }


    .facility-card:hover img {
        transform: scale(1.1);
    }

    .facility-card .content {
        padding: 15px;
        text-align: center;
    }

    .facility-card h3 {
        color: #006400;
        font-size: 22px;
        margin-bottom: 10px;
    }

    .facility-card p {
        font-size: 16px;
        color: #555;
        margin-bottom: 10px;
    }
.facility-services-header h2 {
    font-size: 50px;
    color: #118c4f;
}

/* Meat Cutting Section */
.meat-cutting {
    width: 100%;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    background-size: cover;
    background-position: center;
    animation: changeBg 10s infinite alternate;
}

.meat-header h1 {
    font-size: 3.5rem; /* Bigger and more impactful */
    font-weight: 800; /* Extra bold for emphasis */
    color: #ffffff; /* Clean white */
    text-transform: uppercase; /* Gives a premium look */
    letter-spacing: 2px; /* Adds spacing for elegance */
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8); /* Stronger shadow for contrast */
    margin-bottom: 15px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2); /* Subtle highlight */
    padding: 10px 20px;
    border-radius: 8px;
}

/*mobile display*/
@media screen and (max-width: 768px) {
    .green-section-container {
        padding-bottom: 30px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        margin-top: 30px;
    }

    .facility-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
        gap: 15px;
        padding: 0 10px;
    }

    .facility-card {
        height: auto;
        padding: 10px;
    }

        .facility-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
        }

        .facility-card h3 {
            font-size: 18px;
        }

        .facility-card p {
            font-size: 14px;
        }

    .meat-cutting {
        height: 400px;
        font-size: 1.5em;
        padding: 0 15px;
    }

    .meat-header h1 {
        font-size: 2rem;
        padding: 8px 15px;
        letter-spacing: 1px;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    }
}
.facility-services-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.chiller-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #118c4f; /* Dark green tone */
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/*-- end company section - facility.html */

/*----------------------------- certificate & permits about-us.html ---------------------------------*/
.certificate-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    align-items: center; /* Center horizontally */
    justify-content: center; /* Center vertically */
    text-align: center; /* Ensures text inside is centered */
}

    .certificate-container h2 {
        color: #146c43;
        font-size: 28px;
    }

    .certificate-container p {
        color: #555;
    }

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.service-box {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

    .service-box:hover {
        transform: translateY(-5px);
    }

    .service-box img {
        border-radius: 10px;
        width: 100%;
        height: 200px;
        object-fit: fill;
        border: 2px solid #dee2e6;
        background: #e9f5f1;
        padding: 5px;
    }

    .service-box h3 {
        margin: 15px 0 0;
        font-size: 18px;
        color: #333333
    }

/*----------------------------- end certificate & permits for about-us.html ---------------------------*/
/*----------------------------- contact & map for reach-us.html ---------------------------------*/
.contact-container {
    display: flex;
    background: white;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    align-content: center;
}

.contact-form-wrapper {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #a09d9d;
    margin-right: 20px;
}

    .contact-form-wrapper h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

.form-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

    .form-group input {
        width: 48%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .form-group.full-width input, .form-group textarea {
        width: 100%;
    }

textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    height: 100px;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info p {
    font-size: 14px;
    color: #555;
}

.contact-info div {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

    .contact-info div img {
        margin-right: 10px;
    }

.contact-info i {
    margin-right: 10px;
}

.map-container {
    margin-left: 20px;
    align-content: center;
}

.contact-map-container {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.contact-style a {
    font-size: 13px;
    font-weight: 500;
    color: rgb(59, 84, 227);
    text-decoration: none;
}

/*mobile view*/
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 20px;
    }

    .contact-form-wrapper {
        padding-right: 0;
        border-right: none;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .form-group {
        flex-direction: column;
    }

        .form-group input,
        .form-group.full-width input,
        .form-group textarea {
            width: 100%;
            margin-bottom: 10px;
        }

    .map-container {
        margin-left: 0;
    }

    .contact-map-container {
        flex-direction: column;
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .submit-btn {
        font-size: 14px;
    }

    .contact-info div {
        flex-direction: row;
        align-items: flex-start;
    }
}

/*----------------------------- end contact & map for reach-us.html ---------------------------*/

/*--------------------------------------- footer -------------------------------------*/
.footer__logo img {
    width: 50%;
}

.footer {
    background-color: var(--primary-color-light);
}

.footer__container {
    display: grid;
    grid-template-columns: 400px repeat(3, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: auto;
    padding: 2rem;
}

.footer__col h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

    .footer__col h3 span {
        color: var(--secondary-color);
    }

.footer__col h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer__col a {
    margin-bottom: 5px;
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
}

.footer-p p {
    color: var(--text-dark);
    font-size: 13px
}


.footer__col i {
    color: var(--primary-color);
}

.footer__bar {
    background-color: var(--primary-color);
}

.footer__bar__content {
    max-width: var(--max-width);
    margin: auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

    .footer__bar__content p {
        font-size: 0.8rem;
        color: var(--white);
    }

.footer__socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    color: var(--white);
    cursor: pointer;
}

    .footer__socials a {
        text-decoration: none;
    }

@media (width < 900px) {
    .service__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .about__container {
        grid-template-columns: repeat(1, 1fr);
    }

    .about__image {
        grid-area: 1/1/2/2;
    }

    .about__content {
        text-align: center;
    }

    .why__container {
        grid-template-columns: repeat(1, 1fr);
    }

    .why__content {
        text-align: center;
    }

    .why__grid {
        text-align: left;
    }

    .doctors__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width < 780px) {
    .nav__links {
        display: none;
    }

    .header__container {
        flex-direction: column;
    }
}

@media (width < 600px) {
    .service__header {
        flex-direction: column;
        text-align: center;
    }

    .service__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .why__grid {
        column-gap: 1rem;
    }

    .doctors__header {
        flex-direction: column;
        text-align: center;
    }

    .doctors__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .footer__bar__content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Background Image Animation */
@keyframes changeBg {
    0% {
        background-image: url('../meat-cutter/first.png');
    }

    50% {
        background-image: url('../meat-cutter/second.png');
    }

    100% {
        background-image: url('../meat-cutter/fourth.png');
    }
}
/* end footer */

    