/* Add custom CSS styles below */ 
/* =========================================
   عفت الغامدي | الصفحة الرئيسية
   Supply Chain & Procurement
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700&display=swap');

:root {
    --cream: #f7f1e9;
    --cream-light: #fbf8f4;
    --beige: #e8ddd0;
    --brown: #5b4636;
    --brown-dark: #3f3026;
    --gold: #a58a68;
    --text: #29231f;
    --muted: #756b63;
    --white: #ffffff;
    --border: #e4d9ce;
    --shadow: 0 8px 30px rgba(63, 48, 38, 0.07);
    --radius: 10px;
}

/* ==============================
   General
   ============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    font-family: "Cairo", sans-serif;
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.8;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* ==============================
   Header
   ============================== */

.main-header {
    background: rgba(251, 248, 244, 0.97);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 20;
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    padding: 16px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    font-family: Georgia, serif;
    font-size: 42px;
    color: var(--brown);
}

.logo-text strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.logo-text span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    color: var(--text);
    transition: 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brown);
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-icons a {
    font-size: 20px;
    color: var(--brown);
}


/* ==============================
   Hero
   ============================== */

.hero {
    min-height: 510px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1400px;
    min-height: 510px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.hero-image {
    height: 510px;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    padding: 50px 70px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.35;
    color: var(--brown-dark);
    margin: 0 0 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 28px;
}

.hero-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.hero-links a {
    font-size: 14px;
    color: var(--brown);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: var(--brown);
    color: white;

    padding: 13px 28px;
    border-radius: 5px;

    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--brown-dark);
    transform: translateY(-2px);
}


/* ==============================
   Section
   ============================== */

.section {
    padding: 75px 30px;
}

.section-container {
    max-width: 1300px;
    margin: auto;
}

.section-heading {
    text-align: right;
    margin-bottom: 40px;
}

.section-heading h2 {
    margin: 0;
    color: var(--brown-dark);
    font-size: 32px;
}

.section-heading p {
    color: var(--muted);
    margin-top: 8px;
}


/* ==============================
   Services
   ============================== */

.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    padding: 35px 25px;
    text-align: center;

    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    background: var(--white);
}

.service-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    color: var(--brown);
    font-size: 22px;
}

.service-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: var(--brown-dark);
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}


/* ==============================
   About Me
   ============================== */

.about {
    background: var(--cream-light);
}

.about-container {
    max-width: 1250px;
    margin: auto;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

.about-image {
    height: 450px;
    overflow: hidden;
    border-radius: 4px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content h2 {
    font-size: 34px;
    color: var(--brown-dark);
    margin: 0 0 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--muted);
    line-height: 2.1;
}

.about-list {
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.about-list li {
    margin-bottom: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brown);
    font-size: 14px;
}

.about-list li::before {
    content: "✓";
    width: 24px;
    height: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--gold);
    border-radius: 50%;

    font-size: 12px;
}


/* ==============================
   Products
   ============================== */

.products {
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.product-image {
    height: 190px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-info {
    padding: 18px;
    text-align: center;
}

.product-info h3 {
    font-size: 15px;
    margin: 0 0 8px;
}

.product-info p {
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 15px;
}

.product-btn {
    display: inline-block;
    background: var(--brown);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 12px;
}


/* ==============================
   Why / Credentials
   ============================== */

.credentials {
    background: var(--cream-light);
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.credential {
    display: flex;
    gap: 15px;
    align-items: center;

    background: white;
    border: 1px solid var(--border);
    padding: 20px;
    border-radius: 8px;
}

.credential-icon {
    font-size: 25px;
    color: var(--brown);
}

.credential h4 {
    margin: 0;
    font-size: 14px;
}

.credential p {
    margin: 3px 0 0;
    font-size: 12px;
    color: var(--muted);
}


/* ==============================
   Testimonials
   ============================== */

.testimonials {
    background: var(--cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 30px;
}

.testimonial p {
    font-size: 14px;
    color: var(--muted);
    line-height: 2;
}

.testimonial-name {
    color: var(--brown-dark);
    font-weight: 600;
    font-size: 13px;
}

.stars {
    color: var(--gold);
    letter-spacing: 3px;
}


/* ==============================
   CTA
   ============================== */

.cta {
    min-height: 280px;

    background:
        linear-gradient(
            rgba(63, 48, 38, 0.75),
            rgba(63, 48, 38, 0.75)
        ),
        url("YOUR-CTA-IMAGE.jpg");

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.cta-container {
    width: 100%;
    max-width: 1200px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
    padding: 50px 30px;
}

.cta h2 {
    color: white;
    font-size: 30px;
    margin: 0 0 10px;
}

.cta p {
    color: rgba(255,255,255,0.8);
}

.cta .btn-primary {
    background: white;
    color: var(--brown);
}

.cta .btn-primary:hover {
    background: var(--cream);
}


/* ==============================
   Footer
   ============================== */

.footer {
    background: var(--cream-light);
    border-top: 1px solid var(--border);
    padding: 45px 30px 25px;
}

.footer-container {
    max-width: 1300px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 13px;
    color: var(--muted);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--brown);
}

.copyright {
    max-width: 1300px;
    margin: 30px auto 0;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted);
    font-size: 11px;
}


/* ==============================
   Mobile
   ============================== */

@media (max-width: 992px) {

    .header-inner {
        padding: 14px 20px;
    }

    .main-nav {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: 1;
        height: 420px;
    }

    .hero-content {
        order: 2;
        padding: 45px 25px;
        text-align: center;
    }

    .hero-links {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-image {
        height: 400px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
    }
}


@media (max-width: 600px) {

    .section {
        padding: 55px 18px;
    }

    .hero-image {
        height: 330px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .product-image {
        height: 145px;
    }

    .credentials-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .logo-mark {
        font-size: 32px;
    }

    .logo-text strong {
        font-size: 15px;
    }
}