/* ==============================
   CSS Variables & Base Reset
============================== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&display=swap');

:root {
    --primary: #F8F9FA;
    /* Light Gray */
    --primary-light: #FFFFFF;
    --secondary: #D4AF37;
    /* Gold */
    --secondary-light: #F1C40F;
    --accent: #00A8E8;
    /* Light Blue */

    --text-main: #2B2B2B;
    --text-muted: #6C757D;

    --bg-dark: #FFFFFF;
    --bg-gradient: linear-gradient(135deg, #FFFFFF 0%, #F5F7FA 100%);

    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 1.09em;
    line-height: 1.6;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    background: var(--bg-gradient);
    color: var(--text-main);
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 3rem 0;
}

.bg-light {
    background-color: var(--primary-light);
}

/* ==============================
   Typography & Titles
============================== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-main);
    margin-bottom: 3.5rem;
    position: relative;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

/* ==============================
   Glassmorphism Utilities
============================== */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
    transition: var(--transition);
}

.glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(212, 175, 55, 0.3);
}

/* ==============================
   Buttons
============================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Cairo', sans-serif;
}

.btn-primary {
    background: linear-gradient(90deg, var(--secondary) 0%, #B8960C 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(90deg, var(--secondary-light) 0%, var(--secondary) 100%);
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

.full-width {
    width: 100%;
}

/* ==============================
   Header Navigation
============================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 0;
    /* اللوجو والروابط متلاصقين */
}

/* اللوجو */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo span {
    color: var(--text-main);
}

.logo-img {
    height: 75px;
    /* ← أكبر */
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img[src$=".svg"] {
    height: 75px;
    /* ← أكبر */
    width: auto;
}

/* الروابط — تبدأ بجانب اللوجو مباشرة */
.nav-links {
    display: flex;
    gap: 2rem;
    margin-right: 3rem;
    /* مسافة بين اللوجو والروابط */
    flex: 1;
    /* تملأ المساحة المتبقية */
}

.nav-links a {
    font-weight: 600;
    color: var(--text-main);
    font-size: 16px;
    font-family: 'arabictext', 'Cairo', sans-serif;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

/* زر تسجيل الدخول — أقصى اليسار */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 0;
    /* يبقى في أقصى اليسار */
}

.btn-login:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

/* إخفاء زر الموبايل على الديسكتوب */
.btn-login-mobile {
    display: none !important;
}

/* ==============================
   Dropdown Menu
============================== */
.nav-links li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    list-style: none;
    margin-top: 10px;
}

/* السهم الصغير فوق القائمة */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 24px;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
    transform: rotate(-45deg);
    border-radius: 2px;
}

/* إظهار القائمة عند الهوفر */
.nav-links li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    position: relative;
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu li a::after {
    display: none;
}

.dropdown-menu li a i {
    color: var(--secondary);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.dropdown-menu li a:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--secondary);
    padding-right: 25px;
}

/* خط فاصل */
.dropdown-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.4rem 15px;
}

/* أيقونة السهم بعد عنصر الناف */
.dropdown-arrow {
    font-size: 0.7rem;
    margin-right: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.btn-login i {
    font-size: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ==============================
   Hero Section
============================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-visual {
    text-align: center;
    position: relative;
}

.hero-icon-main {
    font-size: 8rem;
    color: var(--text-main);
    filter: drop-shadow(0 0 20px rgba(0, 168, 232, 0.4));
    margin-bottom: 1.5rem;
}

.hero-icon-float-1 {
    position: absolute;
    top: -20px;
    right: -30px;
    font-size: 4rem;
    color: var(--accent);
    animation: float 4s ease-in-out infinite;
}

.hero-icon-float-2 {
    position: absolute;
    bottom: 20px;
    left: -20px;
    font-size: 3rem;
    color: var(--secondary);
    animation: float 3s ease-in-out infinite reverse;
}

.hero-visual h3 {
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--secondary);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ==============================
   Services Section
============================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    padding: 2.5rem 2rem;
    text-align: center;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .icon-wrapper {
    background: var(--secondary);
    color: var(--primary);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
}

/* ==============================
   Domains & Pricing Section
============================== */
.domain-search {
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.9) 100%);
}

.domain-icon {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.domain-search h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.domain-search p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.search-form {
    display: flex;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.input-group {
    flex: 1;
    position: relative;
}

.input-group i {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.input-group input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-main);
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.input-group input:focus {
    border-color: var(--secondary);
}

.domain-prices {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    color: var(--text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    padding: 3rem 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border: 2px solid var(--secondary);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

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

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: var(--primary);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.plan-name {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1rem;
}

.plan-price {
    text-align: center;
    margin: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 2rem;
}

.plan-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.plan-price .period {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.plan-features i {
    color: var(--secondary);
}

/* ==============================
   About Section
============================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.vision-title {
    font-size: 1.6rem;
    margin: 2rem 0 1rem;
    color: var(--text-main);
}

.vision-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-muted);
}

.vision-list i {
    color: var(--secondary);
    margin-top: 5px;
}

.about-stats {
    padding: 3rem;
    display: grid;
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
}

/* ==============================
   Clients & Partners Section
============================== */
.clients-section {
    background: #FFFFFF;
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 150px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    transition: var(--transition);
    cursor: default;
    padding: 20px;
}

.client-logo:hover {
    transform: translateY(-5px);
    background: #FFFFFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--secondary);
}

/* ==============================
   Contact Section
============================== */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 12px;
    transition: var(--transition);
    background: rgba(0, 0, 0, 0.02);
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(-10px);
}

.contact-item .icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary);
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-muted);
}

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

.form-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary);
    text-align: center;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.05);
}

.form-group select {
    cursor: pointer;
    appearance: none;
}

.form-group select option {
    background: var(--primary);
    color: var(--text-main);
}

/* ==============================
   Footer Section — Modern Design
============================== */
.footer {
    background: linear-gradient(160deg, #F5F7FA 0%, #FFFFFF 50%, #F0F2F5 100%);
    padding-top: .5rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, #F1C40F, #D4AF37, transparent);
}

.footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: .5rem;
    position: relative;
    z-index: 1;
}

.footer-col p {
    color: var(--text-muted);
    margin: .5rem 0;
    max-width: 400px;
    line-height: 1.8;
}

.footer-logo-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logo-img {
    max-height: 190px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.15));
    transition: var(--transition);
}

.footer-logo-img:hover {
    filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.3));
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    background: rgba(212, 175, 55, 0.06);
    color: var(--text-muted);
}

.social-links a:hover {
    transform: translateY(-4px);
    border-color: var(--secondary);
    color: var(--secondary);
    background: rgba(212, 175, 55, 0.12);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
}

.footer-col h3 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: .5rem;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #F1C40F);
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul a {
    color: var(--text-muted);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul a::before {
    content: '›';
    color: var(--secondary);
    font-size: 1.2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateX(5px);
}

.footer-col ul a:hover {
    color: var(--secondary);
    padding-right: 6px;
}

.footer-col ul a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info Items */
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--text-muted);
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    line-height: 1.5;
}

.footer-contact-info li:hover {
    background: rgba(212, 175, 55, 0.09);
    border-color: rgba(212, 175, 55, 0.25);
    color: var(--text-main);
}

.footer-contact-info i {
    color: var(--secondary);
    margin-top: 3px;
    flex-shrink: 0;
    font-size: 1rem;
}

/* Footer Divider */
.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 0;
    text-align: center;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    background: rgba(212, 175, 55, 0.03);
}

/* Footer Links Bar */
.footer-links-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-links-bar a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
    position: relative;
    padding-bottom: 2px;
}

.footer-links-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.footer-links-bar a:hover {
    color: var(--secondary);
}

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

/* Payment Methods */
.payment-methods {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.payment-item {
    width: 45px;
    height: 30px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #111;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
    border-color: var(--secondary);
}

.payment-item i.fa-cc-visa {
    color: #1a1f71;
}

.payment-item i.fa-cc-mastercard {
    color: #eb001b;
}

.payment-item i.fa-cc-apple-pay {
    color: #000;
}

.payment-item i.fa-cc-amazon-pay {
    color: #ff9900;
}

.footer-links-separator {
    color: rgba(212, 175, 55, 0.4);
    font-size: 0.8rem;
    user-select: none;
}

/* Footer Copyright */
.footer-copyright {
    padding: .3rem 0;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05), transparent);
}

.footer-copyright p {
    font-size: 2rem;
    letter-spacing: 0.3px;
    color: var(--text-muted);
    margin: 0;
    opacity: 0.85;
}

/* Legacy support */
.footer-bottom p {
    font-size: 0.85rem;
    letter-spacing: 0.3px;
}

.footer-bottom a {
    color: var(--text-muted);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-bottom a:hover {
    color: var(--secondary);
}

.footer-links {
    margin-top: 6px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.footer-links a {
    position: relative;
    padding-bottom: 2px;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

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

/* ==============================
   Animations Utility
============================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* ==============================
   Responsive Design
============================== */
@media (max-width: 992px) {

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

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        min-height: 350px;
    }

    .section-title::after {
        left: 50%;
    }

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

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

    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        text-align: center;
        padding: 2rem 0 1.5rem;
        transition: right 0.4s ease;
        border-bottom: 1px solid var(--glass-border);
        gap: 0.2rem;
        margin-right: 0;
    }

    .nav-links.active {
        right: 0;
    }

    /* زر تسجيل الدخول داخل القائمة في الموبايل */
    .btn-login-mobile {
        display: flex !important;
        justify-content: center;
        padding: 0.8rem 0;
    }

    /* إخفاء زر تسجيل الدخول الكبير على الموبايل وإظهار زر البرجر */
    .btn-login-desktop {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block;
    }

    /* Dropdown على الموبايل */
    .dropdown-menu {
        position: static;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.02);
        margin-top: 0;
        padding: 0.3rem 0;
        display: none;
    }

    .dropdown-menu::before {
        display: none;
    }

    .has-dropdown.open>.dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        justify-content: center;
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .dropdown-menu li a:hover {
        padding-right: 15px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .search-form {
        flex-direction: column;
    }

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

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-logo-container,
    .footer-logo-img {
        justify-content: center !important;
    }
}

/* ==============================
   Promo Cards System
============================== */
.promo-banner-section {
    padding: 2rem 0 4rem;
}

/* Grid container for promo cards */
.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    align-items: start;
}

/* Each promo card */
.promo-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Image container - natural ratio */
.promo-card-img {
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.promo-card-img img {
    width: 100%;
    height: auto;
    /* ← الطبيعي بدون قطع */
    display: block;
    transition: transform 0.5s ease;
    object-fit: contain;
}

.promo-card:hover .promo-card-img img {
    transform: scale(1.03);
}

/* Label bar below image */
.promo-card-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(90deg, #D4AF37 0%, #B8960C 100%);
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promo-card-label i {
    font-size: 1.1rem;
}

/* ── Mobile responsive ── */
@media (max-width: 900px) {
    .promo-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
}

@media (max-width: 600px) {
    .promo-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .promo-banner-section {
        padding: 1rem 0 2.5rem;
    }
}

/* ==============================
   Ideal Solutions Section
============================== */
.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.solution-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: inherit;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.08);
    /* لون خلفية خفيف مشتق من الذهبي */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: transform 0.4s ease;
}

.solution-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.solution-icon i {
    font-size: 1.8rem;
    color: var(--secondary);
}

.solution-card:hover .solution-icon {
    transform: scale(1.1);
    background: rgba(212, 175, 55, 0.15);
}

.solution-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    /* اللون الذهبي الرئيسي */
}

.solution-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ── Mobile Responsive for Solutions ── */
@media (max-width: 992px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

/* ==============================
   Modern Offers Styling (No Images)
============================== */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    padding: 2rem 0;
}

.offer-card {
    background: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    margin-bottom: 2rem;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #D4AF37, #B8960C);
}

.offer-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: rgba(212, 175, 55, 0.2);
}

.offer-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #e74c3c;
    color: #fff;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.offer-icon-wrapper {
    width: 90px;
    height: 90px;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.offer-icon-wrapper i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.offer-card:hover .offer-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: var(--secondary);
}

.offer-card:hover .offer-icon-wrapper i {
    color: #fff;
}

.offer-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.offer-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.offer-price {
    margin-top: auto;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.offer-price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.offer-btn {
    margin-top: 1.5rem;
    padding: 12px 30px;
    background: #111;
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.offer-card:hover .offer-btn {
    background: var(--secondary);
    transform: scale(1.05);
}

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