@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800;900&family=Amiri:wght@400;700&family=Inter:wght@400;600;800&display=swap');

:root {
    --gold: #c9a84c;
    --gold-lt: #f0d080;
    --blue: #0e4d91;
    --blue-lt: #1a72cc;
    --green: #064e3b;
    --green-lt: #10b981;
    --cream: #fdf8f0;
    --white: #ffffff;
    --text: #1a1a2e;
    --muted: #5a6a7a;
    --border: #d4e4f7;
    --card: rgba(255, 255, 255, 0.85);
    --font-ar: 'Cairo', 'Amiri', sans-serif;
    --font-en: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-ar)
}

html[lang=en] * {
    font-family: var(--font-en)
}

body {
    background: var(--cream);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden
}

/* ===== ARABESQUE BACKGROUND ===== */
.arabesque-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background-color: var(--cream);
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='none' stroke='%23c9a84c' stroke-width='0.4' opacity='0.25'%3E%3Cpolygon points='40,2 77,21 77,59 40,78 3,59 3,21'/%3E%3Cpolygon points='40,14 65,27 65,53 40,66 15,53 15,27'/%3E%3Cline x1='40' y1='2' x2='40' y2='14'/%3E%3Cline x1='77' y1='21' x2='65' y2='27'/%3E%3Cline x1='77' y1='59' x2='65' y2='53'/%3E%3Cline x1='40' y1='78' x2='40' y2='66'/%3E%3Cline x1='3' y1='59' x2='15' y2='53'/%3E%3Cline x1='3' y1='21' x2='15' y2='27'/%3E%3C/g%3E%3C/svg%3E"),
        radial-gradient(ellipse at 20% 10%, rgba(14, 77, 145, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 90%, rgba(6, 78, 59, 0.07) 0%, transparent 55%);
}

/* ===== HEADER ===== */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 3px solid var(--green);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gold)
}

.logo-text {
    display: flex;
    flex-direction: column
}

.logo-text strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--green);
    line-height: 1
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600
}

nav {
    display: flex;
    gap: 25px;
    list-style: none
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.95rem;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: .3s
}

nav a:hover {
    color: var(--blue);
    border-bottom-color: var(--gold)
}

.header-right {
    display: flex;
    gap: 12px;
    align-items: center
}

.lang-sw {
    display: flex;
    gap: 4px;
    background: rgba(14, 77, 145, 0.06);
    padding: 4px;
    border-radius: 20px;
    border: 1px solid var(--border)
}

.lang-btn {
    background: none;
    border: none;
    color: var(--muted);
    padding: 5px 12px;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 700;
    font-size: .85rem;
    transition: .3s
}

.lang-btn.active {
    background: var(--green);
    color: #fff;
    box-shadow: 0 2px 8px rgba(6, 78, 59, .3)
}

.btn-login {
    background: var(--blue);
    color: #fff;
    padding: 8px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: .3s;
    border: none;
    cursor: pointer
}

.btn-login:hover {
    background: var(--green)
}

/* ===== HERO ===== */
.hero-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 5rem 5% 3rem;
    overflow: hidden
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 78, 59, 0.1);
    color: var(--green);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(6, 78, 59, 0.3)
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--green);
    line-height: 1.25;
    margin-bottom: 1.2rem;
    max-width: 900px;
    margin-inline: auto
}

.hero-section h1 em {
    color: var(--blue);
    font-style: normal
}

.hero-section p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.7
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    margin: 0 auto 3rem;
    border-radius: 2px
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 550px;
    max-height: 750px;
    overflow: hidden;
    z-index: 1
}

.hc-slides {
    position: relative;
    width: 100%;
    height: 100%
}

.hc-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out
}

.hc-slide.active {
    opacity: 1
}

.hc-bg {
    position: absolute;
    inset: 0;
    overflow: hidden
}

.hc-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.hc-slide[data-theme=clinic] .hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 77, 145, .08), rgba(6, 78, 59, .05))
}

.hc-slide[data-theme=pharmacy] .hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 78, 59, .08), rgba(14, 77, 145, .05))
}

.hc-slide[data-theme=lab] .hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(180, 83, 9, .06), rgba(6, 78, 59, .04))
}

.hc-slide[data-theme=imaging] .hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 77, 145, .1), rgba(30, 41, 59, .06))
}

.hc-slide[data-theme=depot] .hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, .07), rgba(14, 77, 145, .05))
}

.hc-text {
    position: absolute;
    bottom: 80px;
    inset-inline-end: 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 1.8rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(201, 168, 76, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, .2);
    max-width: 440px;
    animation: fadeUp .6s ease-out
}

.hc-badge {
    font-size: 2.8rem;
    margin-bottom: .6rem;
    color: var(--gold)
}

.hc-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: .5rem
}

.hc-desc {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.6
}

.hc-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 0 6%
}

.hc-overlay-inner {
    max-width: 600px;
    animation: fadeUp .8s ease-out
}

.hc-overlay-inner h1 {
    font-size: clamp(1.8rem, 3.5vw, 3.2rem);
    color: var(--green);
    font-weight: 900;
    text-shadow: 0 2px 20px rgba(255, 255, 255, .8);
    margin: 1rem 0;
    line-height: 1.25
}

.hc-overlay-inner h1 em {
    color: var(--blue);
    font-style: normal
}

.hc-overlay-inner p {
    font-size: 1.05rem;
    color: var(--text);
    background: rgba(255, 255, 255, .75);
    display: inline-block;
    padding: .4rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem
}

.hc-cta {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.05rem;
    box-shadow: 0 8px 20px rgba(6, 78, 59, .3);
    transition: .3s
}

.hc-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(6, 78, 59, .4)
}

.hc-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3
}

.hc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(6, 78, 59, .3);
    cursor: pointer;
    transition: .3s;
    border: 2px solid transparent
}

.hc-dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 6px;
    border-color: var(--gold)
}

.hc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .85);
    border: 2px solid var(--gold);
    color: var(--green);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 3;
    font-size: 1rem;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center
}

.hc-arrow:hover {
    background: var(--gold);
    color: white
}

.hc-prev {
    inset-inline-start: 20px
}

.hc-next {
    inset-inline-end: 20px
}

/* ===== DECORATIVE ARCH ===== */
.arch-banner {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
    padding: 3.5rem 5%;
    margin: 0 0 4rem;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.arch-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23c9a84c' stroke-width='0.5' opacity='0.3'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Cline x1='5' y1='30' x2='55' y2='30'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3Cline x1='12' y1='12' x2='48' y2='48'/%3E%3Cline x1='48' y1='12' x2='12' y2='48'/%3E%3C/g%3E%3C/svg%3E");
}

.arch-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap
}

.stat-item {
    text-align: center
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold);
    display: block
}

.stat-label {
    font-size: .9rem;
    opacity: .9;
    font-weight: 600
}

/* ===== SLIDER / FEATURES ===== */
.features-section {
    position: relative;
    z-index: 1;
    padding: 0 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%
}

.section-head {
    text-align: center;
    margin-bottom: 3rem
}

.section-head h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: .8rem
}

.section-head p {
    color: var(--muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto
}

.gold-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: 0.8rem auto 0;
    border-radius: 2px
}

.slider-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
    padding: 1rem 0 2rem;
    -webkit-overflow-scrolling: touch;
}

.slider-track::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.slider-track::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 10px;
}

.feature-card {
    min-width: 300px;
    background: var(--card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .07);
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: .3s;
}

.slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--gold);
    color: var(--green);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: .3s;
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--white);
}

.slider-arrow.prev {
    inset-inline-start: -20px;
}

.slider-arrow.next {
    inset-inline-end: -20px;
}

@media (max-width: 768px) {
    .slider-arrow {
        display: none;
    }
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(14, 77, 145, .15);
    border-color: var(--blue)
}

.card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem
}

.card-img.clinic {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd)
}

.card-img.pharmacy {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0)
}

.card-img.lab {
    background: linear-gradient(135deg, #fef9c3, #fde68a)
}

.card-body {
    padding: 1.5rem
}

.card-body h3 {
    color: var(--green);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: .5rem
}

.card-body p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6
}

/* ===== PLANS ===== */
.plans-section {
    position: relative;
    z-index: 1;
    padding: 0 5% 5rem;
    width: 100%
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .plans-grid {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    transform: scaleX(0);
    transition: .3s;
    transform-origin: right
}

html[dir=rtl] .plan-card::before {
    transform-origin: right
}

html[dir=ltr] .plan-card::before {
    transform-origin: left
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 40px rgba(14, 77, 145, .15);
    border-color: var(--blue)
}

.plan-card:hover::before {
    transform: scaleX(1)
}

.plan-card.featured {
    border-color: var(--blue);
    box-shadow: 0 10px 30px rgba(14, 77, 145, .2)
}

.plan-card.featured::before {
    transform: scaleX(1)
}

.plan-badge {
    position: absolute;
    top: 15px;
    background: var(--green-lt);
    color: #fff;
    padding: 4px 40px;
    font-size: .8rem;
    font-weight: 700
}

html[dir=rtl] .plan-badge {
    left: -35px;
    transform: rotate(-45deg)
}

html[dir=ltr] .plan-badge {
    right: -35px;
    transform: rotate(45deg)
}

.plan-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem
}

.plan-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--green);
    margin-bottom: .3rem
}

.plan-desc {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 1rem
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--blue);
    margin: 1rem 0
}

.plan-price span {
    font-size: .9rem;
    color: var(--muted);
    font-weight: 600
}

.plan-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 1.5rem
}

.plan-features li {
    padding: .5rem 0;
    color: var(--text);
    font-size: .92rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    display: flex;
    align-items: center;
    gap: 8px
}

.plan-features li::before {
    content: '✓';
    color: var(--green-lt);
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0
}

.btn-plan {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: .3s;
    text-align: center
}

.btn-plan:hover {
    background: linear-gradient(135deg, var(--green), var(--blue));
    transform: scale(1.02)
}

/* ===== TRUST SECTION ===== */
.trust-section {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(14, 77, 145, .04));
    padding: 4rem 5%;
    border-top: 1px solid var(--border)
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trust-grid {
        grid-template-columns: 1fr;
    }
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: .3s
}

.trust-item:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 24px rgba(201, 168, 76, .15)
}

.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--blue));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem
}

.trust-item h3 {
    color: var(--green);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .5rem
}

.trust-item p {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, var(--green) 0%, #0a3829 100%);
    color: #fff;
    padding: 4rem 5% 2rem;
    position: relative;
    overflow: hidden;
    z-index: 1
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cg fill='none' stroke='%23c9a84c' stroke-width='0.4' opacity='0.15'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3Cline x1='5' y1='30' x2='55' y2='30'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3C/g%3E%3C/svg%3E")
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
    position: relative
}

.footer-logo strong {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold)
}

.footer-logo p {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
    margin-top: .5rem;
    line-height: 1.6
}

.footer-links h4,
.footer-contact-col h4 {
    color: var(--gold);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.footer-links ul {
    list-style: none
}

.footer-links li {
    margin-bottom: .6rem
}

.footer-links a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-size: .9rem;
    transition: .3s
}

.footer-links a:hover {
    color: #fff;
    padding-inline-start: 5px
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .75);
    font-size: .9rem;
    margin-bottom: .7rem
}

.contact-row i {
    color: var(--gold);
    width: 18px;
    text-align: center
}

.socials {
    display: flex;
    gap: 12px;
    margin-top: 1rem
}

.socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: .3s
}

.socials a:hover {
    background: var(--gold);
    color: var(--green)
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, .5);
    font-size: .85rem;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    position: relative
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 30, 50, .5);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: .3s
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto
}

.modal {
    background: #fff;
    border-top: 5px solid var(--gold);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 520px;
    transform: translateY(40px);
    transition: .3s;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .2)
}

.modal-overlay.active .modal {
    transform: translateY(0)
}

.modal-close {
    position: absolute;
    top: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    transition: .3s
}

html[dir=rtl] .modal-close {
    left: 15px
}

html[dir=ltr] .modal-close {
    right: 15px
}

.modal-close:hover {
    color: var(--blue)
}

.modal h2 {
    color: var(--green);
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: .3rem
}

.modal .plan-tag {
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem
}

.form-group {
    margin-bottom: 1.2rem
}

.form-label {
    display: block;
    font-weight: 800;
    color: var(--green);
    margin-bottom: .4rem;
    font-size: .9rem
}

.form-input {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #d1dbe8;
    color: var(--text);
    padding: 12px 15px;
    border-radius: 8px;
    font-size: .95rem;
    font-weight: 600;
    transition: .3s
}

.form-input:focus {
    outline: none;
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(14, 77, 145, .12)
}

.card-row {
    display: flex;
    gap: 8px
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--green), var(--blue));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    transition: .3s;
    margin-top: 1rem
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--blue), var(--green))
}

.deploy-view {
    text-align: center;
    padding: 2rem 0;
    display: none
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid rgba(14, 77, 145, .1);
    border-top-color: var(--blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem
}

.log-box {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    font-family: monospace;
    font-size: .85rem;
    color: var(--blue);
    height: 110px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end
}

html[dir=rtl] .log-box {
    text-align: right
}

.log-item {
    animation: slideUp .3s ease-out;
    margin-bottom: 6px
}

.success-view {
    text-align: center;
    padding: 2rem 0;
    display: none
}

.success-icon {
    font-size: 4.5rem;
    color: var(--green-lt);
    margin-bottom: 1rem
}

.success-view h2 {
    color: var(--green);
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: .5rem
}

.success-view p {
    color: var(--muted);
    margin-bottom: 1.5rem
}

.btn-access {
    display: inline-block;
    padding: 12px 28px;
    background: var(--green-lt);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: .3s
}

.btn-access:hover {
    background: var(--green)
}

/* ===== ANIMATIONS ===== */
@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(8px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.plan-card {
    animation: fadeUp .7s backwards
}

.plan-card:nth-child(1) {
    animation-delay: .1s
}

.plan-card:nth-child(2) {
    animation-delay: .2s
}

.plan-card:nth-child(3) {
    animation-delay: .3s
}

.plan-card:nth-child(4) {
    animation-delay: .4s
}

.plan-card:nth-child(5) {
    animation-delay: .5s
}

/* ===== GIFT TO IRAQ ===== */
.gift-section {
    padding: 5rem 5%;
    background: var(--white);
    position: relative;
    z-index: 1;
}

.gift-container {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--green), var(--blue));
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(14, 77, 145, 0.2);
}

.gift-content {
    flex: 1;
    padding: 4rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gift-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    width: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.gift-badge i {
    color: var(--gold-lt);
}

.gift-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--gold-lt);
    line-height: 1.2;
}

.gift-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.gift-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.g-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 12px;
}

.g-stat i {
    color: var(--gold-lt);
}

.gift-cta {
    background: var(--gold);
    color: var(--text);
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.1rem;
    display: inline-block;
    width: fit-content;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.gift-cta:hover {
    background: var(--gold-lt);
    transform: translateY(-3px);
}

.gift-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.gift-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, var(--blue) -2%, transparent 50%);
}

html[dir="ltr"] .gift-img-overlay {
    background: linear-gradient(to right, var(--blue) -2%, transparent 50%);
}

@media (max-width: 900px) {
    .gift-container {
        flex-direction: column;
    }

    .gift-content {
        padding: 2.5rem;
    }

    .gift-image {
        min-height: 300px;
    }

    .gift-img-overlay {
        background: linear-gradient(to top, var(--blue) -2%, transparent 50%);
    }

    html[dir="ltr"] .gift-img-overlay {
        background: linear-gradient(to top, var(--blue) -2%, transparent 50%);
    }
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
}

/* COMPREHENSIVE MOBILE RESPONSIVENESS */
@media (max-width: 992px) {

    nav {
        display: none;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 0.8rem;
    }

    .btn-login {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    header {
        padding: 1rem 3%;
    }

    .hc-text {
        max-width: 95%;
        padding: 2.5rem;
    }

    .hc-overlay-inner h1 {
        font-size: 2.2rem;
    }

    .hc-overlay-inner p {
        font-size: 1.1rem;
    }

    .plans-grid,
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    header {
        flex-direction: column;
        gap: 12px;
        padding: 1rem;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .header-right {
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .logo-text strong {
        font-size: 1.2rem;
    }

    .lang-sw {
        width: 100px;
        justify-content: center;
    }

    .hc-text {
        padding: 1.5rem;
    }

    .hc-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hc-desc {
        font-size: 0.95rem;
    }

    .hc-overlay-inner {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hc-overlay-inner h1 {
        font-size: 1.6rem;
        margin: 0.5rem 0;
    }

    .hc-overlay-inner p {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        margin-top: 1rem;
    }

    .plans-header h2 {
        font-size: 2rem;
    }

    .plans-grid,
    .trust-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .plan-card,
    .trust-card {
        padding: 2rem 1.5rem;
    }

    .footer-section {
        margin-bottom: 2rem;
    }

    .hero-section,
    .gift-section,
    .plans-section,
    .trust-section {
        padding: 4rem 5% !important;
    }

    .hero-carousel-section {
        height: auto;
        min-height: 100vh;
        max-height: none;
    }

    .hc-overlay {
        align-items: flex-start;
        padding-top: 2rem;
    }

    .hc-text {
        position: absolute;
        bottom: 15%;
        inset-inline-start: 5%;
        inset-inline-end: 5%;
        margin: 0;
        width: 90%;
        padding: 1.2rem;
        text-align: center;
    }

    .hc-badge {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }

    .hc-title {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .hc-desc {
        font-size: 0.95rem;
    }
}