        @font-face {
            font-family: 'CairoBold';
            src: url('/assets/fonts/alfont_com_Cairo-Bold-1.ttf');
        }

        @font-face {
            font-family: 'CairoRegular';
            src: url('/assets/fonts/alfont_com_Cairo-Regular.ttf');
        }

        body {
            margin: 0;
            background: #fff;
        }

        .hero {
            height: 100vh;
            background: 
                linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('/assets/images/home.png') center/cover no-repeat;

            clip-path: ellipse(100% 85% at 50% 0%);
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: #fff;
            padding: 0 20px;
        }

        .hero h1 {
            font-family: 'CairoBold';
            color: #F5B034;
            font-size: 42px;
            margin-bottom: 20px;
        }

        .hero p {
            font-family: 'CairoRegular';
            font-size: 18px;
            max-width: 800px;
            margin: auto;
        }

       .mission {
    padding: 100px 20px;
    background: linear-gradient(120deg, #ffffff, #fff); /* soft brand gradient */
    font-family: 'CairoRegular', sans-serif;
}

.mission-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* RTL / LTR switching */
.mission.rtl .mission-container {
    flex-direction: row-reverse;
}

.mission.ltr .mission-container {
    flex-direction: row;
}

/* Text Styling */
.mission-text {
    flex: 1 1 50%;
    padding: 20px 30px;
}

.mission-text h2 {
    font-family: 'CairoBold', sans-serif;
    font-size: 36px;
    color: #0569B0;
    margin-bottom: 20px;
}

.mission-text p {
    font-family: 'CairoRegular', sans-serif;
    font-size: 20px;
    color: #333;
    line-height: 1.8;
}

/* Image Styling */
.mission-image {
    flex: 1 1 50%;
    display: flex;
    justify-content: center;
}

.mission-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.mission-image img:hover {
    transform: scale(1.03);
}

/* Responsive: stack vertically on small screens */
@media screen and (max-width: 992px) {
    .mission-container {
        flex-direction: column;
        text-align: center;
    }

    .mission-image {
        margin-top: 40px;
    }
}
.banner {
    position: relative;
    height: 100vh;
    background: 
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url('/assets/images/home.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    overflow: hidden;
}

/* Top curve */
.banner::before,
.banner::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 140px; /* height of curve */
    left: 0;
    background: white; /* color of surrounding section */
    z-index: 1;
}

/* Top curve - ellipse from edges */
.banner::before {
   content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 140px;
    background: #fff; /* background above hero */
    clip-path: ellipse(75% 100% at 50% 0%);
    z-index: 2;
}

/* Bottom curve - ellipse from edges */
.banner::after {
     content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 140px;
    background: #fff; /* next section color */
    clip-path: ellipse(75% 100% at 50% 100%);
    z-index: 2;
}

/* Text inside banner */
.banner-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.banner-text h1 {
    font-family: 'CairoBold', sans-serif;
    font-size: 42px;
    color: #F5B034;
    margin-bottom: 10px;
}

.banner-text h2 {
    font-family: 'CairoBold', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
}

.banner-text p {
    font-family: 'CairoRegular', sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

/* RTL/LTR support */
body[dir="rtl"] .banner-text { direction: rtl; }
body[dir="ltr"] .banner-text { direction: ltr; }

/* Responsive */
@media screen and (max-width: 992px) {
    .banner { height: 70vh; }

    .banner-text h1 { font-size: 32px; }
    .banner-text h2 { font-size: 22px; }
    .banner-text p { font-size: 16px; }

    .banner::before,
    .banner::after { height: 80px; }
}
.section {
    padding: var(--section-padding);
    position: relative;
}

/* Extra .section rule preserved (original had duplicate) */
.section {
    padding: 80px 5%;
}

.section-title {
    color: var(--primary-blue);
    font-size: 3rem;
    font-weight: 700;
    text-align: right;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 100px;
    height: 4px;
}

/* Mission layout */
.mission {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

/* Mission image */
.mission-image {
    position: relative;
    width: 50%;
    height: 520px;
    overflow: hidden;
    border-radius: 20px;
    border: none !important; /* remove any border */
    box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Soft gradient overlay from bottom */
.mission-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(
        to top,
        rgba(6, 30, 52, 0.35),
        rgba(6, 30, 52, 0)
    );
}

/* Mission text */
.mission-text {
    width: 45%;
    text-align: right;
}

.mission-title {
    font-family: 'CairoBold';
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.mission-text-content {
    font-family: 'CairoRegular';
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--dark-text);
}

/* Mission responsive */
@media (max-width: 992px) {
    .mission {
        flex-direction: column;
        text-align: center;
    }
    .mission-image, .mission-text {
        width: 100%;
    }
    .mission-title {
        font-size: 2.3rem;
    }
    .mission-text-content {
        font-size: 1.3rem;
    }
}

/* Values / Aerogen-like layout */
.values {
    display: flex;
    align-items: stretch;  /* same height auto */
    justify-content: space-between;
    gap: 50px;
    margin: 120px 0;
}

/* TEXT BOX */
.values-text {
    width: 50%;
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    flex-shrink: 0; /* <<< text stays normal size */
}
/* Mission text content */
.mission-text-content {
    font-size: 1.6rem; /* increase from 1.5rem */
    line-height: 1.8; /* keep spacing */
}

/* Values list content */
.values-list {
    font-size: 1.5rem; /* increase from 1.4rem */
    line-height: 2rem; /* keep spacing */
}


/* IMAGE BOX */
.values-image {
    width: 50%;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    flex: 1;
    flex-shrink: 0; /* <<< prevents image shrink squeeze */
    display: flex;
}

.values-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.25), rgba(0,0,0,0));
}

/* Reverse layout */
.values.values2 {
    flex-direction: row-reverse;
}

/* Mobile */
@media (max-width: 992px) {
    .values {
        flex-direction: column;
    }

    .values-text,
    .values-image {
        width: 100%;
        height: auto;
        flex: none;
    }
}

/* Values responsive */
@media (max-width: 992px) {
    .values {
        flex-direction: column;
        text-align: center;
    }
    .values.values2 {
        flex-direction: column;
    }
    .values-text, .values-image {
        width: 100%;
    }
    .values-image {
        height: 320px;
    }
}

/* =========================================================
   SERVICES (Glass Cards) + ANIMATIONS
   ========================================================= */

.services {
    text-align: center;
    background: linear-gradient(145deg, #3c543c10, #ffffff10);
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.services .section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2C7BAD;
    position: relative;
    z-index: 2;
}

/* Grid Layout Side by Side */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    z-index: 2;
    position: relative;
}

/* Glass Bubble Card */
.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 30px 20px;
    width: 250px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    overflow: hidden;
}

/* Floating Animation */
@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card {
    animation: floatUp 4s ease-in-out infinite;
}

/* Water Ripple / Hover Effect */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    border-radius: 50%;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scale(1);
    opacity: 1;
}

/* Neon Glow & Liquid Shine on Hover */
.service-card:hover {
    box-shadow:
        0 0 20px rgba(44,123,173,0.6),
        0 0 40px rgba(44,123,173,0.4),
        0 0 60px rgba(44,123,173,0.2);
    transform: translateY(-10px) scale(1.05);
}

/* Icon Bubble */
.service-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    background: rgba(40,111,156,0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 0 10px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(40,111,156,0.8);
    box-shadow: 0 0 15px rgba(40,111,156,0.7), inset 0 0 15px rgba(255,255,255,0.3);
}

/* Card Title */
.service-title {
    color: #502418;
    font-size: 20px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    text-align: center;
}

/* Floating mini bubbles inside card */
.service-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 80%;
    left: 20%;
    animation: bubble 3s infinite ease-in-out;
}

@keyframes bubble {
    0% { transform: translateY(0) scale(0.5); opacity: 0.5; }
    50% { transform: translateY(-50px) scale(1); opacity: 1; }
    100% { transform: translateY(0) scale(0.5); opacity: 0.5; }
}
/* ================= MODERN CARD DESIGN ================= */
/* ================= PHARMA COLOR VARIABLES ================= */
:root {
    --pharma-primary: #d94a27;   /* Redish Orange */
    --pharma-secondary: #f4f8fb;
    --pharma-dark: #1f3c58;
    --pharma-text: #5a6a78;
    --pharma-border: #e6edf3;
}

/* ================= SECTION ================= */
.modern-section {
    padding: 80px 20px;   /* كان 120 */

    background: linear-gradient(180deg, #f7fafc, #ffffff);
}
.modern-card {
    padding: 50px 50px;   /* كان 70px 60px */
    gap: 50px;            /* كان 70 */
}

/* ================= CARD ================= */
.modern-card {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 70px 60px;
    display: flex;
    align-items: center;
    gap: 70px;
    border: 1px solid var(--pharma-border);
    box-shadow: 0 30px 60px rgba(31, 60, 88, 0.08);
}

.modern-card.reverse {
    flex-direction: row-reverse;
}

/* ================= TEXT ================= */
.modern-text {
    flex: 1;
}

/* small pharma tag */
.modern-tag {
    font-size: 12px;
    color: var(--pharma-primary);
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    display: inline-block;
}
.modern-text h2 {
    margin-bottom: 14px;  /* كان 22 */
}

.modern-text p {
    margin-bottom: 10px;
}

.modern-text ul,
.modern-text ol {
    margin-top: 8px;
}


/* TITLES */
.modern-text h2 {
    font-size: 40px;
    color: var(--pharma-primary);
    font-weight: 700;
    line-height: 1.2;
}

/* BODY TEXT */
.modern-text p,
.modern-text li {
    font-size: 17px;
    line-height: 1.9;
    color: var(--pharma-text);
    font-weight: 400;
}

.modern-text ul,
.modern-text ol {
    padding-inline-start: 22px;
}

.modern-text li {
    margin-bottom: 6px;   /* كان 10 */
    line-height: 1.7;     /* أقل تمدد */
}


/* ================= IMAGE ================= */
.modern-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* IMAGE CONTAINER */
.image-shape {
    width: 380px;
    height: 380px;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--pharma-border);
    box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* IMAGE */
.image-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

/* subtle hover (professional) */
.image-shape:hover img {
    transform: scale(1.04);
}

/* ================= RTL ================= */
html[dir="rtl"] .modern-card {
    text-align: right;
}

html[dir="rtl"] .modern-text ul,
html[dir="rtl"] .modern-text ol {
    padding-inline-start: 0;
    padding-inline-end: 22px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .modern-card,
    .modern-card.reverse {
        flex-direction: column;
        padding: 45px 30px;
        text-align: center;
    }

    .modern-text h2 {
        font-size: 32px;
    }

    .image-shape {
        width: 300px;
        height: 300px;
        margin-top: 30px;
    }
}
/* ================= SERVICES GLASS CARDS ================= */
.services {
    text-align: center;
    background: linear-gradient(145deg, #3c543c10, #ffffff10);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.services .section-title {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2C7BAD;
    position: relative;
    z-index: 2;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    z-index: 2;
    position: relative;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 25px;
    padding: 30px 20px;
    width: 250px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: all 0.5s ease;
    overflow: hidden;
    animation: floatUp 4s ease-in-out infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    border-radius: 50%;
    pointer-events: none;
}

.service-card:hover::before {
    transform: scale(1);
    opacity: 1;
}

.service-card:hover {
    box-shadow:
        0 0 20px rgba(44,123,173,0.6),
        0 0 40px rgba(44,123,173,0.4),
        0 0 60px rgba(44,123,173,0.2);
    transform: translateY(-10px) scale(1.05);
}

.service-icon {
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    background: rgba(40,111,156,0.6);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15), inset 0 0 10px rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: rgba(40,111,156,0.8);
    box-shadow: 0 0 15px rgba(40,111,156,0.7), inset 0 0 15px rgba(255,255,255,0.3);
}

.service-title {
    color: #502418;
    font-size: 20px;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
    text-align: center;
}

.service-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 80%;
    left: 20%;
    animation: bubble 3s infinite ease-in-out;
}

/* ================= ANIMATIONS ================= */
@keyframes floatUp {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes bubble {
    0% { transform: translateY(0) scale(0.5); opacity: 0.5; }
    50% { transform: translateY(-50px) scale(1); opacity: 1; }
    100% { transform: translateY(0) scale(0.5); opacity: 0.5; }
}
