*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Cairo',sans-serif;background:#f9f9f9;color:#333;line-height:1.6}
a{text-decoration:none}

body.disable-copy *:not(input):not(textarea):not([contenteditable="true"]) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ============ تحسين الهيدر ============ */
header {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a4db8 100%);
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 15px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    font-weight: 800;
    font-size: 1.35em;
    display: flex;
    align-items: center;
    color: #fff;
}

.logo span {
    line-height: 1.2;
    white-space: nowrap;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    gap: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-page-link {
    font-weight: 800;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 4px 10px rgba(10, 45, 99, 0.12);
}

.nav-page-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff6b35 0%, #ff824e 100%);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(255, 107, 53, 0.34);
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

body:not(.lang-en) .logo {
    margin-left: auto;
}

body:not(.lang-en) .language-switcher {
    margin-right: auto;
}

body.lang-en .logo {
    margin-right: auto;
}

body.lang-en .language-switcher {
    margin-left: auto;
}

.language-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-weight: 700;
    font-size: 0.92em;
    transition: background-color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.language-link::after {
    display: none;
}

.language-link:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.language-link.is-active {
    background: rgba(255, 255, 255, 0.24);
    box-shadow: 0 6px 16px rgba(5, 33, 83, 0.16);
}

.flag-emoji {
    font-size: 1.15em;
    line-height: 1;
}

nav a {
    color: #fff;
    font-weight: 600;
    transition: 0.3s;
    padding: 8px 0;
    position: relative;
}

nav a:hover {
    color: #e3f2ff;
}

.nav-page-link:hover,
.cta-button:hover {
    color: #fff;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #4dabf7;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.nav-page-link::after,
.cta-button::after,
.language-link::after {
    display: none;
}

.cta-button {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(255, 107, 53, 0.3);
}

.cta-button:hover {
    background: #ff824e;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 107, 53, 0.4);
}

/* ============ تحسين الهيرو ============ */
.hero {
    background: linear-gradient(130deg, #e7f1ff 0%, #d4e6ff 45%, #bed6fb 100%);
    padding: 88px 5% 86px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(11, 94, 215, 0.18), transparent 35%),
        radial-gradient(circle at 90% 88%, rgba(255, 255, 255, 0.45), transparent 42%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 14px 5%;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 52px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    max-width: 640px;
}

.hero-text h1 {
    color: #0a4db8;
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.34);
}

.hero-text p {
    margin-bottom: 30px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: #284465;
    max-width: 92%;
}

.btn {
    background: linear-gradient(to left, #0b5ed7, #4dabf7);
    color: #fff;
    padding: 15px 34px;
    border-radius: 999px;
    display: inline-block;
    font-weight: 800;
    transition: all 0.3s;
    box-shadow: 0 10px 24px rgba(11, 94, 215, 0.28);
    border: none;
    font-size: 1.05em;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #4dabf7, #0b5ed7);
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn:hover::after {
    opacity: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(11, 94, 215, 0.35);
}

.hero-image {
    flex: 1.15;
    min-width: 300px;
    max-width: 620px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 20px 36px rgba(14, 44, 91, 0.22);
    transition: transform 0.5s;
    background: rgba(255, 255, 255, 0.3);
    padding: 10px;
}

.hero-album {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #d9e8ff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 0.55s ease, transform 0.9s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero-album-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    background: rgba(11, 94, 215, 0.34);
    cursor: pointer;
    transition: all 0.25s ease;
}

.hero-dot.is-active {
    width: 26px;
    border-radius: 999px;
    background: #0b5ed7;
}

.hero-image:hover {
    transform: translateY(-4px) scale(1.01);
}

.hero-image > img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* ============ رؤيتنا ورسالتنا ============ */
.vision-mission-section {
    padding: 72px 5% 52px;
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.vision-mission-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vm-box {
    background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
    border: 1px solid #dbe9ff;
    border-radius: 24px;
    padding: 42px 44px;
    box-shadow: 0 16px 36px rgba(11, 94, 215, 0.09);
    position: relative;
    overflow: hidden;
}

.vm-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 8% 20%, rgba(30, 91, 184, 0.08), transparent 38%);
    pointer-events: none;
}

.vm-box-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e5bb8, #4dabf7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.vm-box h2 {
    margin-bottom: 18px;
    color: #0b5ed7;
    font-size: clamp(1.5rem, 2.3vw, 2rem);
    font-weight: 800;
    position: relative;
}

.vm-box h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 10px;
    border-radius: 999px;
    background: linear-gradient(to left, #0b5ed7, #4dabf7);
}

.vm-box > p {
    color: #213f62;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 600;
    line-height: 2.1;
    text-align: justify;
    text-justify: inter-word;
    position: relative;
}

.vm-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.vm-point {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.vm-point-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #e9f2ff, #c4d9ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0b5ed7;
    font-size: 1rem;
    margin-top: 2px;
}

.vm-point strong {
    display: block;
    color: #0b5ed7;
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.vm-point p {
    margin: 0;
    color: #213f62;
    font-size: 0.97rem;
    font-weight: 600;
    line-height: 1.9;
}

/* ============ قسم منتجاتنا (4 فوق و4 تحت) ============ */
#clients {
    padding: 80px 5%;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

#clients h2 {
    text-align: center;
    color: #0b5ed7;
    margin-bottom: 22px;
    font-size: 2.2em;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

#clients h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0b5ed7, #4dabf7);
    border-radius: 2px;
}

.clients-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    color: #25446f;
    font-size: 1.08rem;
    line-height: 1.9;
    font-weight: 700;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 24px;
}

.client-card {
    min-height: 150px;
    padding: 0;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5eefb;
    box-shadow: 0 14px 30px rgba(17, 65, 138, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(17, 65, 138, 0.12);
    border-color: #bfd7ff;
}

.client-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ تحسين الفورم ============ */
#contact {
    padding: 80px 5%;
    background: #f0f7ff;
}

#contact h2 {
    text-align: center;
    color: #0b5ed7;
    margin-bottom: 50px;
    font-size: 2.2em;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}

#contact h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #0b5ed7, #4dabf7);
    border-radius: 2px;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.form-wrapper {
    flex: 1;
    min-width: 320px;
    display: flex;
}

form {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to left, #0b5ed7, #4dabf7);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0b5ed7;
    font-size: 1.2em;
}

input, textarea {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1em;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
    background-color: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.file-label {
    display: block;
    margin: 15px 0;
    font-weight: 700;
    color: #0b5ed7;
}

.file-input-container {
    position: relative;
    margin-bottom: 20px;
}

.file-input {
    padding: 10px;
    border: 2px dashed #0b5ed7;
    border-radius: 10px;
    background-color: #f0f7ff;
    cursor: pointer;
    width: 100%;
    padding-right: 120px;
}

.file-input::file-selector-button {
    background: #0b5ed7;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.file-input::file-selector-button:hover {
    background: #0a4db8;
}

.file-info {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #666;
}

body.lang-en {
    direction: ltr;
}

body.lang-en .hero::before {
    right: auto;
    left: 0;
}

body.lang-en nav a::after {
    right: auto;
    left: 0;
}

body.lang-en .form-icon {
    left: auto;
    right: 15px;
}

body.lang-en input,
body.lang-en textarea {
    padding: 15px 50px 15px 15px;
}

body.lang-en .file-input {
    padding-right: 10px;
    padding-left: 120px;
}

body.lang-en .footer-links a:hover,
body.lang-en .footer-contact-list a:hover {
    transform: translateX(4px);
}

body.lang-en .footer-links a::before {
    content: '\f105';
}

.submit-btn {
    background: linear-gradient(to left, #0b5ed7, #4dabf7);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 1.1em;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(11, 94, 215, 0.3);
}

.submit-btn:disabled {
    cursor: wait;
    opacity: 0.8;
    transform: none;
    box-shadow: none;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.4);
}

#result {
    margin-top: 20px;
    font-weight: 700;
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-between;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card i {
    font-size: 2.5em;
    color: #0b5ed7;
    margin-bottom: 15px;
}

.info-card h3 {
    color: #0b5ed7;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.info-card p {
    color: #666;
    line-height: 1.5;
}

/* ============ تحسين الفوتر ============ */
.site-footer {
    background: linear-gradient(140deg, #1e5bb8 0%, #154a9e 55%, #123d85 100%);
    color: #fff;
    padding: 56px 5% 22px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.14), transparent 38%),
        radial-gradient(circle at 20% 90%, rgba(255, 255, 255, 0.08), transparent 30%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 26px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

.footer-content > .footer-section {
    width: 100%;
    min-width: 0;
    max-width: none;
    justify-self: stretch;
}

.footer-section {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    padding: 24px 22px;
    box-shadow: 0 14px 28px rgba(7, 35, 79, 0.25);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 300px;
}

.footer-section h3 {
    font-size: 1.2em;
    margin-bottom: 16px;
    font-weight: 800;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-right: 6px;
}

.footer-logo-img {
    width: 78px;
    height: 78px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.footer-logo-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.footer-logo-text {
    font-size: clamp(0.92rem, 1.25vw, 1.08rem);
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.footer-desc {
    color: #edf5ff;
    line-height: 1.9;
    font-size: 0.96em;
    margin-top: 8px;
}

.footer-links,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.footer-links-group h3 {
    width: 100%;
    margin-bottom: 14px;
}

.footer-links-group .footer-links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.footer-links li,
.footer-contact-list li {
    margin-bottom: 11px;
}

.footer-links a,
.footer-contact-list a {
    color: #eaf3ff;
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-contact-text {
    color: #eaf3ff;
    line-height: 1.7;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #cbe1ff;
    font-size: 0.78em;
}

.footer-links a:hover,
.footer-contact-list a:hover {
    color: #fff;
    transform: translateX(-4px);
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list {
    margin-top: 4px;
}

.footer-contact-list i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #f5f9ff;
    font-size: 0.95em;
    flex-shrink: 0;
}

.qr-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.qr-code {
    width: 136px;
    height: 136px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(6, 29, 66, 0.35);
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.qr-caption {
    color: #e9f3ff;
    font-size: 0.9em;
}

.footer-bottom {
    margin: 28px auto 0;
    max-width: 1200px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    direction: ltr;
}

.footer-bottom p {
    margin: 0;
    color: #eaf2ff;
    font-size: 0.92em;
}

.footer-copyright {
    justify-self: center;
    text-align: center;
    direction: rtl;
}

.footer-bottom-social,
.footer-bottom-contact {
    display: flex;
    align-items: center;
    gap: 9px;
}

.footer-bottom-social {
    justify-self: start;
}

.footer-bottom-contact {
    justify-self: end;
}

.footer-bottom-social a,
.footer-bottom-contact a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.footer-bottom-social a:hover,
.footer-bottom-contact a:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(8, 30, 64, 0.28);
}

/* ============ بقية الأنماط ============ */
section {
    padding: 80px 5%;
}

h2 {
    text-align: center;
    color: #0b5ed7;
    margin-bottom: 50px;
    font-size: 2.2em;
    font-weight: 800;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    background: linear-gradient(165deg, #5f74a6 0%, #3f578f 100%);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 10px 10px 16px;
    box-shadow: 0 10px 22px rgba(26, 46, 90, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.service-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-item h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(0.98rem, 1.3vw, 1.15rem);
    font-weight: 800;
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(18, 35, 69, 0.28);
}

.service-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 14px 26px rgba(18, 34, 68, 0.25);
}

.service-list-grid .service-item:nth-child(1) {
    background: linear-gradient(165deg, #7b49b4 0%, #5a3a90 100%);
}

.service-list-grid .service-item:nth-child(2) {
    background: linear-gradient(165deg, #d94584 0%, #bf2f6e 100%);
}

.service-list-grid .service-item:nth-child(3) {
    background: linear-gradient(165deg, #1a88c8 0%, #0f6ea8 100%);
}

.service-list-grid .service-item:nth-child(4) {
    background: linear-gradient(165deg, #56606f 0%, #3f4753 100%);
}

.service-list-grid .service-item:nth-child(5) {
    background: linear-gradient(165deg, #29948d 0%, #1a746f 100%);
}

.service-list-grid .service-item:nth-child(6) {
    background: linear-gradient(165deg, #c16c2d 0%, #99501f 100%);
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    width: 100%;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    height: 180px;
    object-fit: cover;
}

.card-icon-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #f0f4ff, #dde8ff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon-placeholder i {
    font-size: 5rem;
    color: #6a4fc8;
}

.card h3 {
    color: #0b5ed7;
    margin-bottom: 15px;
    font-size: 1.3em;
}

.card p {
    font-size: 0.95em;
    color: #666;
}

/* ============ وسائط متجاوبة ============ */
@media (max-width: 1100px) {
    .product-card {
        width: 220px;
    }
}

@media (max-width: 992px) {
    .nav-links {
        gap: 15px;
    }

    .hero {
        padding: 78px 5% 72px;
    }

    .hero-content {
        gap: 38px;
    }

    .hero-text h1 {
        font-size: clamp(1.85rem, 5vw, 2.4rem);
    }
    
    .product-card {
        width: 200px;
    }

    .footer-content {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .vision-mission-section {
        padding: 58px 5% 26px;
    }
}

@media (max-width: 850px) {
    .products-row {
        justify-content: space-around;
    }
    
    .product-card {
        width: 45%;
        min-width: 200px;
    }

    .service-list-grid {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-image-wrap {
        max-width: none;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        position: static;
        left: auto;
        transform: none;
        flex-wrap: wrap;
        justify-content: center;
    }

    .language-switcher {
        justify-content: center;
        flex-wrap: wrap;
        margin: 0;
    }

    .logo {
        margin: 0;
    }

    .logo {
        justify-content: center;
        text-align: center;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero {
        padding: 70px 5% 64px;
    }

    .hero::after {
        inset: 10px 12px;
        border-radius: 22px;
    }

    .hero-text p {
        max-width: 100%;
        margin-inline: auto;
    }

    .hero-image {
        max-width: 520px;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .vm-box {
        padding: 30px 24px;
    }
    
    .product-card {
        width: 100%;
        max-width: 300px;
    }

    .service-list-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-image-wrap {
        width: 100%;
    }

    .form-wrapper,
    .contact-info {
        max-width: 600px;
    }
    
    .site-footer {
        padding-top: 44px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-section {
        text-align: center;
        min-height: auto;
    }

    .footer-logo-container {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-links-group {
        align-items: center;
    }

    .footer-contact-list li {
        justify-content: center;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
        direction: rtl;
    }

    .footer-copyright,
    .footer-bottom-social,
    .footer-bottom-contact {
        justify-self: center;
    }
}

@media (max-width: 480px) {
    .footer-logo-img {
        width: 70px;
        height: 70px;
    }

    .hero-text h1 {
        font-size: 1.6em;
    }

    .hero {
        padding: 56px 4% 52px;
    }

    .hero-image {
        min-width: 0;
        width: 100%;
        padding: 7px;
    }

    .vision-mission-section {
        padding-top: 46px;
    }

    .vm-box > p,
    .vm-point p {
        line-height: 1.9;
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    form {
        padding: 25px;
    }
    
    .card {
        width: 100%;
        max-width: 300px;
    }

    .qr-code {
        width: 122px;
        height: 122px;
    }
}
