/* ============================================
   Rumuz Albarmajiaat - Premium Modern Design System
   Professional | Modern | High-End
   ============================================ */
@font-face {
    font-family: 'Cairo';
    src: url('../fonts/cairo/Cairo-Regular.eot');
    src: local('../fonts/cairo/Cairo-Regular'), url('../fonts/cairo/Cairo-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/cairo/Cairo-Regular.woff2') format('woff2'), url('../fonts/cairo/Cairo-Regular.woff') format('woff'), url('../fonts/cairo/Cairo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Color Palette - Deep Space Purple & Gold */
    --color-bg-dark: #0F172A;
    --color-bg-darker: #020617;
    --color-primary: #6366f1; /* Indigo */
    --color-primary-dark: #4338ca;
    --color-secondary: #a855f7; /* Purple */
    --color-accent: #f59e0b; /* Gold */

    --color-text-main: #f8fafc;
    --color-text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, #0F172A 100%);
    /* Effects */
    --glass-bg: rgba(30, 41, 59, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(12px);
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    /* Spacing */
    --section-gap: 8rem;
    --container-width: 1200px;
}

/* ============================================
   Base Reset & Typography
   ============================================ */
body {
    font-family: 'Cairo', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

    body.home-page {
        background-color: var(--color-bg-dark);
        color: var(--color-text-main);
    }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* ============================================
   Background Effects
   ============================================ */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(99, 102, 241, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: floatParticle 18s infinite ease-in-out;
    box-shadow: 0 0 8px var(--color-primary);
    opacity: 0.7;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }

    8% {
        opacity: 0.6;
    }

    92% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100px) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}
/* ============================================
   Header
   ============================================ */
.company-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    will-change: transform;
    /* دمج كل الـ transitions في سطر واحد */
    transform: translateY(0);
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

    /* عند التمرير */
    .company-header.scrolled {
        background: rgba(15, 23, 42, 0.98);
        padding: 0.75rem 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    }

    /* عند النزول - إخفاء */
    .company-header.header-hidden {
        transform: translateY(-100%);
    }

    /* عند الصعود - إظهار */
    .company-header.header-visible {
        transform: translateY(0);
    }

    .company-header .logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
        color: var(--color-text-main);
        transition: transform 0.3s ease;
    }

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

        .company-header .logo > img {
            width: 70px;
            height: auto;
            object-fit: contain;
            border-radius: 0.75rem;
            flex-shrink: 0;
        }

    .company-header .logo-text {
        font-size: 2.0rem;
        font-weight: 800;
        background: var(--gradient-main);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

/* دعم RTL */
[dir="rtl"] .company-header {
    left: 0;
    right: 0;
}
#nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

    #nav a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
        font-size: 0.8375rem;
    }

        #nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 80%;
            height: 2px;
            background: var(--gradient-main);
            transition: transform 0.3s ease;
        }

        #nav a:hover::after,
        #nav a.nav-active::after {
            transform: translateX(-50%) scaleX(1);
        }

        #nav a:hover {
            background: rgba(99, 102, 241, 0.15);
            color: var(--color-text-main);
        }

    #nav .nav-cta {
        background: var(--gradient-main);
        padding: 0.6rem 1.25rem;
        border-radius: 99px;
    }

        #nav .nav-cta:hover {
            box-shadow: 0 4px 15px rgba(99, 102, 241, 0.45);
        }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.5rem;
}

    .nav-toggle span {
        width: 26px;
        height: 3px;
        background: var(--color-text-main);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

/* ============================================
   Utility Components
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .glass-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-glow);
        border-color: rgba(99, 102, 241, 0.3);
    }

/* Enhanced Partner Card Styles */
.partner-card {
    transform: translateY(0);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

    .partner-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
        border-color: rgba(99, 102, 241, 0.4);
        background: rgba(255, 255, 255, 0.12);
    }

        .partner-card:hover > div:first-child {
            opacity: 1;
        }

        .partner-card:hover .partner-card img {
            transform: scale(1.1);
            filter: grayscale(0) brightness(1.1);
        }

        .partner-card:hover > div > div > div:last-child {
            opacity: 1;
            color: var(--color-primary);
        }

        .partner-card:hover > div > div > div:first-child > div {
            transform: scale(1.05);
        }

/* Enhanced Button Hover Effect */
.btn-outline:hover > div:last-child {
    left: 0;
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-main);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    transition: 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
        color: white;
    }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--color-text-main);
    padding: 0.75rem 2rem;
    border-radius: 99px;
    font-weight: 600;
    transition: 0.3s ease;
}

    .btn-outline:hover {
        border-color: var(--color-primary);
        background: rgba(99, 102, 241, 0.1);
    }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    margin-bottom: -10rem;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -20%;
        width: 60%;
        height: 60%;
        background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%);
        filter: blur(80px);
        z-index: 0;
    }

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    gap: 0.5rem;
    padding: 1.5rem 3rem;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 30px;
    color: deepskyblue;
    font-size: 2.9rem;
    font-weight: 700;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--section-gap) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* ============================================
   Services Grid
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--gradient-main);
        transform: scaleX(0);
        transform-origin: left;
        transition: 0.4s ease;
    }

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

.service-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* ============================================
   Projects Grid
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image {
    height: 240px;
    background: var(--color-bg-darker);
    position: relative;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-btn {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.5rem;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.project-card:hover .project-btn {
    transform: translateY(0);
}

.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* ============================================
   Experience & Skills
   ============================================ */
.experience-grid {
    display: grid;
    gap: 1.5rem;
}

.experience-card {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    align-items: start;
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

    .experience-card:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(99, 102, 241, 0.2);
    }

.date-month {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.date-year {
    color: var(--color-text-muted);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    text-align: center;
    padding: 1.5rem;
}

.skill-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.form-input, .form-textarea {
    width: 100%;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 1rem;
    color: white;
    transition: 0.3s;
}

    .form-input:focus, .form-textarea:focus {
        border-color: var(--color-primary);
        outline: none;
        background: rgba(15, 23, 42, 0.8);
    }

/* About section layout */
.about-card-inner {
    padding: 3rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.about-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

    .about-text ul li {
        margin-bottom: 0.8rem;
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

        .about-text ul li i {
            color: var(--color-primary);
        }

.about-image-wrap {
    position: relative;
}

.about-image-glow {
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    filter: blur(50px);
    opacity: 0.2;
}

.about-image {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-form-card {
    padding: 3rem;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

    .contact-form .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .contact-form .btn-primary {
        justify-content: center;
    }

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Footer
   ============================================ */
.company-footer {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98) 0%, #0a0f1a 100%);
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    padding: 2.5rem 1.5rem 0;
    position: relative;
    z-index: 2;
}

    .company-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60%;
        max-width: 400px;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-secondary), transparent);
        border-radius: 0 0 3px 3px;
        opacity: 0.8;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 2rem 1.5rem;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem 2rem;
}

.footer-brand {
    padding-inline-end: 1rem;
}

    .footer-brand .logo {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.85rem;
        text-decoration: none;
    }

        .footer-brand .logo > img {
            width: 44px;
            height: 44px;
            object-fit: contain;
            border-radius: 0.5rem;
            flex-shrink: 0;
        }

    .footer-brand .logo-text {
        font-size: 1.2rem;
        font-weight: 800;
    }

    .footer-brand p {
        color: var(--color-text-muted);
        margin: 0 0 1rem;
        line-height: 1.65;
        font-size: 0.875rem;
        max-width: 260px;
    }

.footer-social {
    display: flex;
    gap: 0.5rem;
}

    .footer-social a {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(99, 102, 241, 0.12);
        border: 1px solid rgba(99, 102, 241, 0.25);
        border-radius: 50%;
        color: var(--color-text-main);
        font-size: 0.9rem;
        transition: all 0.25s ease;
    }

        .footer-social a:hover {
            background: var(--gradient-main);
            border-color: transparent;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
        }

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(245, 158, 11, 0.35);
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-column ul li {
        margin-bottom: 0.5rem;
    }

        .footer-column ul li a {
            color: var(--color-text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.2s ease, padding-inline-end 0.2s ease;
        }

            .footer-column ul li a:hover {
                color: var(--color-primary);
                padding-inline-end: 4px;
            }

.footer-bottom {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 1rem 1.5rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

    .footer-bottom p {
        color: var(--color-text-muted);
        font-size: 0.8125rem;
        margin: 0;
    }

.footer-legal {
    display: flex;
    gap: 1.25rem;
}

    .footer-legal a {
        color: var(--color-text-muted);
        text-decoration: none;
        font-size: 0.8125rem;
        transition: color 0.2s ease;
    }

        .footer-legal a:hover {
            color: var(--color-accent);
        }

/* ============================================
   Responsiveness
   ============================================ */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

/* Tablets */
@media (max-width: 768px) {
    .company-header {
        padding: 0.75rem 1.25rem;
    }

    .nav-toggle {
        display: flex;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 280px;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        transition: right 0.3s ease;
        border-left: 1px solid rgba(99, 102, 241, 0.3);
    }

        #nav.active {
            right: 0;
        }

        #nav a {
            padding: 0.75rem 1rem;
            width: 100%;
        }

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

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

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

        .hero-actions .btn-primary,
        .hero-actions .btn-outline {
            width: 100%;
            justify-content: center;
        }

    /* Enhanced Footer Responsiveness */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    /* Company Information Section */
    .container-fluid.text-center {
        padding: 1.5rem 1rem !important;
    }

    .company-title {
        color: yellow !important;
        margin-bottom: 1rem !important;
        font-size: 1.1rem !important;
    }

    .company-subtitle {
        color: white !important;
        margin-bottom: 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .company-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

        .company-logos img {
            max-width: 120px !important;
            max-height: 60px !important;
            filter: drop-shadow(0 4px 15px rgba(255,255,255,0.2));
            transition: transform 0.3s ease;
        }

            .company-logos img:hover {
                transform: scale(1.1);
                filter: drop-shadow(0 8px 25px rgba(255,255,255,0.3));
            }

    .additional-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

        .additional-logos img {
            max-width: 120px !important;
            max-height: 60px !important;
            filter: drop-shadow(0 4px 15px rgba(255,255,255,0.2));
            transition: transform 0.3s ease;
        }

            .additional-logos img:hover {
                transform: scale(1.1);
                filter: drop-shadow(0 8px 25px rgba(255,255,255,0.3));
            }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Section Headers */
    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Stats Grid */
    .container[style*="margin-top: -4rem"] .glass-card {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
        padding: 1.5rem !important;
    }

    /* About Section */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image-wrap {
        order: -1;
    }

    /* Pricing Cards */
    .pricing-card {
        margin: 0 auto;
        max-width: 400px;
    }

        .pricing-card.popular {
            transform: scale(1);
        }
}

/* Mobile Phones */
@media (max-width: 600px) {
    .company-footer {
        padding-top: 1.75rem;
    }

        .company-footer .footer-grid {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

    .footer-brand {
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

        .footer-column ul {
            padding: 0;
        }

    /* Enhanced Mobile Footer */
    .container-fluid.text-center {
        padding: 1rem 0.5rem !important;
        margin: 0.5rem !important;
    }

        .container-fluid.text-center img {
            max-width: 100px !important;
            max-height: 50px !important;
            margin: 0.25rem !important;
        }

        .container-fluid.text-center h5 {
            font-size: 0.9rem !important;
            margin-bottom: 0.5rem !important;
        }

        .container-fluid.text-center h6 {
            font-size: 0.8rem !important;
            margin-bottom: 1rem !important;
        }

    .rumuz-assistant-section img {
        max-height: 30px !important;
    }

    /* Hero Section Mobile */
    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    /* Section Headers Mobile */
    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .section-tag {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

    /* Stats Mobile */
    .container[style*="margin-top: -4rem"] .glass-card {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding: 1rem !important;
    }

        .container[style*="margin-top: -4rem"] .glass-card h3 {
            font-size: 1.5rem !important;
        }

    /* Services Mobile */
    .service-card {
        padding: 1.25rem;
    }

    .service-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 0.9rem;
    }

    /* Pricing Mobile */
    .pricing-card {
        padding: 1.5rem;
    }

    .price-amount {
        font-size: 2rem !important;
    }

    .pricing-features li {
        font-size: 0.9rem;
    }

    /* Glass Cards Mobile */
    .glass-card {
        padding: 1.25rem;
    }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    /* Ultra Compact Footer */
    .container-fluid.text-center {
        padding: 0.75rem 0.25rem !important;
        margin: 0.25rem !important;
    }

        .container-fluid.text-center img {
            max-width: 80px !important;
            max-height: 40px !important;
            margin: 0.125rem !important;
        }

        .container-fluid.text-center h5 {
            font-size: 0.8rem !important;
            margin-bottom: 0.25rem !important;
        }

        .container-fluid.text-center h6 {
            font-size: 0.75rem !important;
            margin-bottom: 0.75rem !important;
        }

    .rumuz-assistant-section img {
        max-height: 30px !important;
    }

    /* Hero Ultra Mobile */
    .hero h1 {
        font-size: 1.5rem;
    }
    .hero-badge {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Buttons Mobile */
    .btn-primary, .btn-outline {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Section Headers Ultra Mobile */
    .section-title {
        font-size: 1.25rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

    /* Footer Legal */
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

        .footer-legal a {
            font-size: 0.8rem;
        }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

/* Large Desktops */
@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }

    .section-title {
        font-size: 3.5rem;
    }

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

    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Ultra Wide Screens */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }

    .section-title {
        font-size: 4rem;
    }

    .hero h1 {
        font-size: 4rem;
    }
}
 
.pricing-card {
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.pricing-card.popular {
    transform: scale(1.05);
}

    .pricing-card.popular:hover {
        transform: scale(1.05) translateY(-8px);
    }

.pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.pricing-features {
    direction: @(LocalizationService.IsArabic() ? "rtl" : "ltr");
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .pricing-card {
        padding: var(--space-6) !important;
    }

        .pricing-card.popular {
            transform: none;
        }

            .pricing-card.popular:hover {
                transform: translateY(-5px);
            }

    .popular-badge {
        font-size: 0.75rem !important;
        padding: 0.375rem 1rem !important;
    }

    .price-amount {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        gap: var(--space-4);
    }

    .pricing-card {
        padding: var(--space-4) !important;
    }

    .pricing-header {
        margin-bottom: var(--space-4) !important;
    }

    .pricing-price {
        margin-bottom: var(--space-4) !important;
    }

    .pricing-features {
        margin-bottom: var(--space-6) !important;
    }

        .pricing-features li {
            margin-bottom: var(--space-2) !important;
        }
}

.logofooter {
    height: 100%;
    display: flex;
    flex-direction: column;
}