/* Use Betty Angela Personal font for category names */
.betty-angela {
    font-family: 'Betty Angela Personal', cursive, sans-serif;
    font-weight: normal;
    letter-spacing: 0.5px;
}
/* Product screen category button style to match category info screen */
.category button {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5em 1.2em;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5em;
    transition: background 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.category button:hover {
    background: #c0392b;
}
/* Category Info Product Card Grid */
.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3em 2em;
    margin-left: 0.2em;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    margin-right: 2em;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2em 1em 2em 1em;
    min-width: 220px;
    max-width: 320px;
    margin: 0 auto;
        margin-top: auto;
        margin-bottom: 0.2em;
        align-self: center;
}

.product-img {
    width: 180px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1em;
    box-shadow: 0 2px 8px rgba(6,91,119,0.10);
}

.product-card-body {
    text-align: center;
}
        margin-top: auto;
        margin-bottom: 0.2em;
        align-self: center;
.product-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #222;
    margin-bottom: 0.2em;
}
.product-title-ar {
    font-size: 1em;
    color: #065b77;
    margin-bottom: 0.7em;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.product-info-btn {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5em 1.2em;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5em;
    transition: background 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.product-info-btn:hover {
    background: #c0392b;
}

/* MIF SAL Stylesheet */
:root {
    --main-bg: #065b77; /* blue from screen1.png */
    --category-bg: #065b77;
    --main-text: #fff;
    --accent: #e3a23a; /* gold from food images */
    --button-bg: #e3a23a;
    --button-text: #fff;
    --nav-bg: #04445a;
    --nav-hover: #e3a23a;
}
.home-bg {
    background: var(--main-bg) !important;
    color: var(--main-text);
}
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #fff;
    color: #222;
}
header {
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5em 2em 0.5em 2em;
    background: var(--nav-bg);
}
.company-name {
    color: #fff;
    font-size: 1.25em;
    font-weight: bold;
    letter-spacing: 1.5px;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin-right: 1.5em;
    display: flex;
    align-items: center;
    height: 40px;
}
/* Pill-shaped navigation button style for header */
.nav-pills {
    display: flex;
    justify-content: center;
    gap: .5em;
    padding: 0.3em 0 0.3em 0;
    background: var(--nav-bg);
}
.nav-pills li {
    list-style: none;
}
.nav-btn {
    display: inline-block;
    /*background: #faf202;*/
    /*color: #2d04fb;*/;
    background: #fff;
    color: #197d8c;
    font-weight: 350;
    font-size: 1em;
    border: 2px solid #fff;
    border-radius: 10px;
    padding: 0.4em 1em;
    margin: 0 0.1em;
    box-shadow: 0 2px 5px rgba(251, 2, 2, 0.08);
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-decoration: none;
    outline: none;
}
.nav-btn:hover, .nav-btn.active {
    background: #e3a23a;
    color: #FFFFFF;
    font-weight: bold;
    border: 2px solid #197d8c;
    box-shadow: 0 2px 12px rgba(25,125,140,0.12);
}
    background: var(--nav-bg);
    padding: 0.5em 0;
}
nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin: 0 1.0em;
}
nav ul li a {
    color: var(--main-text);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s;
}
nav ul li a:hover {
    color: var(--nav-hover);
}
.hero {
    text-align: center;
    margin: 2em 0;
}
.hero h1 {
    font-size: 2.5em;
    margin-bottom: 0.2em;
    font-style: italic;
}
.hero p {
    font-size: 1.5em;
    margin-bottom: 1.5em;
}
/* Carousel with sliding effect */
.carousel {
    position: relative;
    width: 40vw;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    background: #fff;
    min-height: 350px;
}
.carousel-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.77,0,0.175,1);
    will-change: transform;
}
.carousel-img {
    min-width: 100%;
    width: 100%;
    user-select: none;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6,91,119,0.7);
    color: #fff;
    border: none;
    font-size: 2.5em;
    padding: 0.1em 0.4em;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}
.carousel-btn.left {
    left: 10px;
}
.carousel-btn.right {
    right: 10px;
}
.carousel-btn:hover {
    background: var(--accent);
    color: #065b77;
}
.products {
    padding: 2em 1em;
}
.product-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.category {
    flex: 1 1 calc(33.333% - 2em);
    max-width: 300px;
    min-width: 250px;
    box-sizing: border-box;
    background: var(--category-bg);
    color: #fff;
    border-radius: 16px;
    padding: 1.2em 1em 1.5em 1em;
    box-shadow: 0 4px 16px rgba(6,91,119,0.10);
    margin-bottom: 2em;
    position: relative;
    overflow: hidden;
    border: 2px solid #04445a;
}

@media (max-width: 900px) {
    .product-categories {
        flex-direction: column;
        align-items: center;
    }
    .category {
        flex: 1 1 100%;
        max-width: 95vw;
    }
}
}
}
.category h2 {
    color: #fff;
    margin-top: 0.7em;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.about, .contact {
    max-width: 700px;
    margin: 2em auto;
    background: #fff2e0;
    color: #222;
    border-radius: 10px;
    padding: 2em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1em;
}
.contact-form input, .contact-form textarea {
    padding: 0.7em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}
.contact-form button {
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 0.8em 2em;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}
.contact-form button:hover {
    background: #c98a2b;
}
footer {
    text-align: center;
    padding: 1em 0;
    background: var(--nav-bg);
    color: var(--main-text);
    position: relative;
    bottom: 0;
    width: 100%;
}
@media (max-width: 900px) {
    .product-categories {
        flex-direction: column;
        align-items: center;
    }
    .carousel {
        width: 95vw;
    }
}
