﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #3b82f6;
    --gradient: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --esnad-gold: #c9a03d;
    --esnad-gold-light: #e5c87b;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    scroll-behavior: smooth;
    background: var(--light);
}
/*@font-face {
    font-family: "DIN Next LT Arabic";
    src: url("DIN Next LT Arabic.ttf") format("truetype");
    unicode-range: U+0600-06FF;
}*/

.lang-ar {
    font-family: "DIN Next LT Arabic"!important;
    
}
/* Overlay */
#cookieOverlay {
    display: none; /* hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 999;
}

/* Popup */

.aaa {
    color: #F3A672 !important;
}

    .aaa:hover {
        color: orange !important;
    }

#cookiePopup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;
}

    #cookiePopup button {
        padding: 10px 15px;
        background: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        display: block;
        margin: 10px auto 0; /* This centers the button */
        width: fit-content; /* Button width adjusts to content */
        min-width: 100px; /* Optional: minimum width */
    }

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #333;
    color: white;
    padding: 15px;
    text-align: center;
    display: none;
    z-index: 1000;
}

.cookie-banner button {
    background: #4A6DB1;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    cursor: pointer;
    border-radius: 5px;
}
/* Alert Styling */
.alert {
    display: none;
    margin-top: 15px;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.4s ease;
}

    .alert.show {
        display: block;
        opacity: 1;
    }

.success {
    background-color: #e6f9f0;
    color: #0f9d58;
    border: 1px solid #b7ebd3;
}

.error {
    background-color: #fdecea;
    color: #d93025;
    border: 1px solid #f5c6cb;
}
/* Alert Styling */


body {
    font-family: "ArabicFont", Arial, sans-serif;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* navigation */
nav {
    background: #F6F6F6 !important;
    backdrop-filter: blur(10px);
    padding: 0.25rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

    nav .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

/* ----- ENHANCED LOGO ----- */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 80px;
    height: 70px;
    border-radius: 5px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .logo-image:hover {
        transform: scale(1.03);
    }

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-main {
    font-size: 1.9rem;
    font-weight: 800;
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.logo-arabic {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    letter-spacing: 0.3px;
}

.logo-tagline {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* language switcher */
.lang-switch {
    display: flex;
    gap: 0.5rem;
    margin-right: 1.5rem;
}

    .lang-switch button {
        background: transparent;
        border: 1px solid #cbd5e1;
        padding: 0.3rem 1rem;
        border-radius: 30px;
        font-weight: 500;
        font-size: 0.9rem;
        cursor: pointer;
        color: var(--dark);
        transition: 0.2s;
    }

        .lang-switch button.active {
            background: #4A6DB1;
            border-color: #4A6DB1;
            color: white;
        }

        .lang-switch button:not(.active):hover {
            background: #e2e8f0;
        }


    .lang-switch input {
        background: transparent;
        border: 1px solid #cbd5e1;
        padding: 0.3rem 1rem;
        border-radius: 30px;
        font-weight: 500;
        font-size: 0.9rem;
        cursor: pointer;
        color: var(--dark);
        transition: 0.2s;
    }

        .lang-switch input.active {
            background: #4A6DB1;
            border-color: #4A6DB1;
            color: white;
        }

        .lang-switch input:not(.active):hover {
            background: #e2e8f0;
        }

/* desktop navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 500;
        font-size: 1rem;
        transition: 0.3s;
        position: relative;
    }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient);
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--primary);
        }

/* ---------- BURGER MENU (hidden on desktop) ---------- */
.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

    .burger span {
        width: 28px;
        height: 3px;
        background: #1e293b;
        border-radius: 3px;
        transition: 0.3s;
    }
    /* burger animation when open */
    .burger.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .burger.open span:nth-child(2) {
        opacity: 0;
    }

    .burger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-lg);
    padding: 100px 2rem 2rem;
    transition: right 0.4s ease;
    z-index: 1050;
    list-style: none;
    overflow-y: auto;
}

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu li {
        margin-bottom: 1.5rem;
    }

    .mobile-menu a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        font-size: 1.2rem;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .mobile-menu .lang-switch {
        margin-top: 2rem;
        justify-content: center;
    }
/* overlay background */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

/* RTL overrides (will be applied via js) */
body.rtl {
    direction: rtl;
    text-align: right;
}

    body.rtl .nav-links {
        padding-right: 0;
    }

    body.rtl .hero-content {
        text-align: right;
    }

    body.rtl .btn-primary i {
        transform: scaleX(-1);
    }

    body.rtl .feature {
        text-align: right;
    }

    body.rtl .service-card li::before {
        content: '←';
    }

    body.rtl .project-card {
        border-left: none;
        border-right: 4px solid #4A6DB1;
    }

        body.rtl .project-card:hover {
            transform: translateX(-10px);
        }

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)), var(--dark);
    overflow: hidden;
}

.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    filter: brightness(0.75) saturate(1.2);
}

    .slider-image.active {
        opacity: 1;
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    color: white;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.btn-primary {
    display: inline-block;
    padding: 0.7rem 5.8rem;
    background: #4A6DB1;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .btn-primary {
        width: 335px !important;
        margin-left: 15px !important;
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 14px;
}

    .slider-dots .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255,255,255,0.5);
        border: 2px solid transparent;
        cursor: pointer;
        transition: all 0.3s;
        box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    }

        .slider-dots .dot.active {
            background: white;
            transform: scale(1.3);
            border-color: var(--primary);
        }

.about {
    padding: 6rem 0;
    background: white;
}

    .about h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    padding: 2rem;
    background: var(--light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

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

    .feature i {
        font-size: 2.5rem;
        background: #4A6DB1;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1rem;
    }

.services {
    padding: 6rem 0;
    background: var(--light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

    .service-card i {
        font-size: 3rem;
        background: #4A6DB1;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 1.5rem;
    }

    .service-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .service-card ul {
        list-style: none;
    }

    .service-card li {
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .service-card li::before {
            content: '→';
            color: var(--primary);
            font-weight: bold;
        }

.trusted-operators {
    padding: 3rem 0 1rem 0;
    background: white;
    text-align: center;
}

.operator-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

    .operator-badges img {
        height: 150px;
        width: auto;
        object-fit: contain;
        filter: grayscale(0%) brightness(1);
        transition: transform 0.2s ease;
        opacity: 0.9;
        border-radius: 8px !important;
    }

        .operator-badges img:hover {
            transform: scale(1.05);
            opacity: 1;
        }

.projects {
    padding: 6rem 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--light);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 4px solid #4A6DB1;
}

    .project-card:hover {
        transform: translateX(10px);
        box-shadow: var(--shadow-md);
    }

    .project-card h4 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #4A6DB1;
    }

.coverage {
    padding: 4rem 0;
    background: #4A6DB1;
    color: white;
    text-align: center;
}

    .coverage h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .coverage p {
        font-size: 1.25rem;
        opacity: 0.9;
        max-width: 700px;
        margin: 0 auto;
    }

/* ---------- CONTACT FORM SECTION ---------- */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

    .contact-info h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

.contact-details-compact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

    .contact-details-compact a {
        display: flex;
        align-items: center;
        gap: 1rem;
        color: var(--dark);
        text-decoration: none;
        font-size: 1.1rem;
        transition: 0.2s;
    }

        .contact-details-compact a:hover {
            color: #4A6DB1;
            transform: translateX(5px);
        }

    .contact-details-compact i {
        width: 30px;
        font-size: 1.5rem;
        color: #4A6DB1;
    }

.form-card {
    background: white;
    padding: 2.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

    .form-card h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        color: var(--dark);
    }

.form-group {
    margin-bottom: 1.5rem;
}

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 1rem 1.2rem;
        border: 2px solid #e2e8f0;
        border-radius: 60px;
        font-family: inherit;
        font-size: 1rem;
        transition: 0.2s;
        background: #f8fafc;
    }

    .form-group textarea {
        border-radius: 30px;
        resize: vertical;
        min-height: 120px;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #4A6DB1;
            background: white;
        }

.submit-btn {
    background: #4A6DB1;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

    .submit-btn:hover {
        background: #1e3a8a;
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

body.rtl .contact-details-compact a:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

footer {
    background: #FFAA79;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

    .footer-links a {
        color: white;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s ease;
    }

        .footer-links a:hover {
            opacity: 1;
        }

.social-links {
    display: flex;
    gap: 1rem;
}

    .social-links a {
        color: white;
        font-size: 1.5rem;
        opacity: 0.8;
        transition: all 0.3s ease;
    }

        .social-links a:hover {
            opacity: 1;
            transform: translateY(-3px);
        }

/* pdf link */
.pdf-link {
    display: inline-block;
    margin-top: 1.5rem;
    background: rgba(255,255,255,0.15);
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    transition: 0.3s;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .pdf-link {
        width: 335px !important;
        margin-left: 15px !important;
    }
}

.pdf-link i {
    margin-left: 0.5rem;
}

.pdf-link:hover {
    background: white;
    color: #4A6DB1;
    border-color: white;
}

/* Contact info in footer (new) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin: 1rem 0;
    color: #1e293b;
}

    .contact-details a {
        color: #1e293b;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: 0.2s;
    }

        .contact-details a:hover {
            color: #4A6DB1;
            transform: translateX(5px);
        }

    .contact-details i {
        width: 24px;
        font-size: 1.2rem;
        color: #4A6DB1;
    }

body.rtl .contact-details a:hover {
    transform: translateX(-5px);
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* hide desktop menu */
    }

    .burger {
        display: flex; /* show burger */
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .logo-wrapper {
        gap: 8px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-arabic {
        font-size: 0.8rem;
    }

    .operator-badges {
        gap: 2rem;
    }

        .operator-badges img {
            height: 45px;
        }

    .container {
        padding: 0 1rem;
    }

    .btn-primary {
        padding: 0.7rem 2rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Option 1: Glowing Desert Sun */
.glowing-text {
    font-size: 3.5rem;
    font-weight: bold;
    color: #5E6FB2;
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: glowPulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px #ff6b4a, 0 0 20px #ff8c42, 0 0 30px #ffb347;
}

.glowing-texttrusted {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5E6FB2;
    text-transform: uppercase;
    letter-spacing: 8px;
    animation: glowPulse 3s ease-in-out infinite;
    text-shadow: 0 0 10px #ff6b4a, 0 0 20px #ff8c42, 0 0 30px #ffb347;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 10px #ff6b4a, 0 0 20px #ff8c42, 0 0 30px #ffb347;
    }

    50% {
        text-shadow: 0 0 20px #ff4500, 0 0 40px #ff6b4a, 0 0 50px #ff8c42;
    }
}
/* Option 2: Desert Heat Wave (unused but kept) */
.heat-wave {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #c94b1f, #ff9f4b, #d45d1e, #ffb347);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 6px;
    animation: heatDistortion 2s ease-in-out infinite;
    position: relative;
}

@keyframes heatDistortion {
    0%, 100% {
        transform: scale(1);
        filter: blur(0px);
    }

    25% {
        transform: scale(1.02) skewX(1deg);
        filter: blur(0.5px);
    }

    75% {
        transform: scale(0.98) skewX(-1deg);
        filter: blur(0.5px);
    }
}


.whatsapp-fixed {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: #25224D !important;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(198,29,35,0.5), 0 0 0 2px white inset;
    transition: all 0.25s var(--transition-bounce);
}

    .whatsapp-fixed a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: #25D366;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0 10px 25px rgba(198,29,35,0.5), 0 0 0 2px white inset;
        transition: all 0.25s var(--transition-bounce);
    }

    .whatsapp-fixed:hover {
        background: #25D366;
        transform: scale(1.12) translateY(-5px);
        box-shadow: 0 18px 30px rgba(198,29,35,0.6);
    }

    .whatsapp-fixed:active {
        transform: scale(0.94);
    }



/* ---------- SCROLL UP BUTTON (bottom, as requested) ---------- */
.scrollup {
    position: fixed;
    bottom: 20px;
    left: 15px;
    z-index: 1000;
    background: #25224D !important;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(198,29,35,0.5), 0 0 0 2px white inset;
    transition: all 0.25s var(--transition-bounce);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    border: none;
    cursor: pointer;
}

    .scrollup.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .scrollup:hover {
        background: #a3151a;
        transform: scale(1.12) translateY(-5px);
        box-shadow: 0 18px 30px rgba(198,29,35,0.6);
    }

    .scrollup:active {
        transform: scale(0.94);
    }

/* RTL support: mirror icon? not needed, arrow is universal */
/* body[dir="rtl"] .scrollup {
            right: auto;
            left: 20px;
        }*/

/* adjust bottom for whatsapp, so they don't overlap too tightly */
@media (max-width: 600px) {
    .scrollup {
        bottom: 20px;
        width: 44px;
        height: 44px;
        font-size: 24px;
        left: 5px;
    }


    /* body[dir="rtl"] .scrollup {
                right: auto;
                left: 15px;
            }*/
    .whatsapp-fixed {
        bottom: 20px;
        right: 15px;
    }

    .phone {
        bottom: 20px;
        right: 15px;
    }

    body[dir="rtl"] .whatsapp-fixed {
        right: auto;
        left: 15px;
    }

    body[dir="rtl"] .phone {
        right: auto;
        left: 15px;
    }
}


/* ---------- phone UP BUTTON (bottom, as requested) ---------- */


.phone {
    position: fixed;
    bottom: 95px;
    right: 15px;
    z-index: 1000;
    background: #4A6DB1 !important;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(198,29,35,0.5), 0 0 0 2px white inset;
    transition: all 0.25s var(--transition-bounce);
}

    .phone:hover {
        background: #a3151a;
        transform: scale(1.12) translateY(-5px);
        box-shadow: 0 18px 30px rgba(198,29,35,0.6);
    }

    .phone:active {
        transform: scale(0.94);
    }
/* ===== enhanced ISO certifications ===== */
.iso-enhanced-section {
    background: linear-gradient(145deg, #ffffff 0%, #f4f7fb 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(74,109,177,0.15);
    border-bottom: 1px solid rgba(74,109,177,0.15);
}

.iso-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.iso-card {
    background: white;
    border-radius: 32px;
    padding: 2rem 1.5rem 1.8rem;
    box-shadow: 0 12px 28px -8px rgba(0,32,64,0.08);
    transition: transform 0.25s ease, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(2px);
    position: relative;
    overflow: hidden;
}

    .iso-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 24px 38px -10px rgba(37,99,235,0.15);
    }

    .iso-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 8px;
        height: 100%;
        background: linear-gradient(180deg, #4A6DB1, #c9a03d);
        opacity: 0.6;
    }

body.rtl .iso-card::after {
    left: auto;
    right: 0;
}

.iso-img-wrapper {
    text-align: center;
    margin-bottom: 1.2rem;
    background: #f1f5f9;
    border-radius: 28px;
    padding: 1.2rem;
    transition: background 0.2s;
}

.iso-card:hover .iso-img-wrapper {
    background: #e8edf5;
}

.iso-img-wrapper img {
    max-width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
    border: 2px solid white;
}

.iso-content {
    flex: 1;
}

    .iso-content h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #1e293b;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

        .iso-content h3 a {
            text-decoration: none;
            color: inherit;
        }

            .iso-content h3 a:hover {
                color: #4A6DB1;
            }

.iso-badge {
    display: inline-block;
    background: rgba(74,109,177,0.07);
    color: #4A6DB1;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(74,109,177,0.2);
}

.iso-desc {
    font-size: 0.95rem;
    color: #334155;
    margin: 0.6rem 0 1rem;
    line-height: 1.5;
}

.iso-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1.5px solid #4A6DB1;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #4A6DB1;
    text-decoration: none;
    transition: 0.2s;
    margin-top: 0.5rem;
    align-self: flex-start;
}

    .iso-view-link i {
        font-size: 0.8rem;
        transition: transform 0.2s;
    }

    .iso-view-link:hover {
        background: #4A6DB1;
        color: white;
    }

        .iso-view-link:hover i {
            transform: translateX(4px);
        }

body.rtl .iso-view-link:hover i {
    transform: translateX(-4px);
}

.section-subtitle-iso {
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
    font-size: 1.15rem;
}


