/* ========================================
   RADTECH - Modern Professional Website
   ======================================== */

/* ========== CSS Variables ========== */
:root {
    /* Brand Colors - Purple to Teal Gradient */
    --primary-color: #7c3aed;
    --primary-dark: #5b21b6;
    --secondary-color: #14b8a6;
    --secondary-dark: #0d9488;
    --accent-color: #06b6d4;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #5b21b6 0%, #0d9488 100%);
    --gradient-radial: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15), transparent 50%);

    /* Neutral Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

/* ========== Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

body[dir="ltr"] {
    font-family: 'Poppins', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ========== Loading Screen ========== */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(124, 58, 237, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-normal);
}

/* Logo switching based on navbar state */
.logo-light {
    display: none;
}

.logo-dark {
    display: block;
}

.navbar.scrolled .logo-light {
    display: none;
}

.navbar.scrolled .logo-dark {
    display: block;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-slogan {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 0 auto;
}

.nav-link {
    position: relative;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    padding: 8px 0;
    transition: color var(--transition-normal);
}

.navbar.scrolled .nav-link {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(124, 58, 237, 0.1);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.network-bg {
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    flex-wrap: wrap;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left var(--transition-normal);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

.btn-secondary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-white {
    background: white;
    color: var(--primary-color);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========== Scroll Indicator ========== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(10px); }
}

/* ========== Section Styles ========== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== About Section ========== */
.about {
    background: var(--bg-secondary);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-normal);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========== Partners Section ========== */
.partners {
    background: var(--bg-primary);
    padding-bottom: 0;
}

.partners .section-header {
    margin-bottom: 50px;
}

.partners-marquee {
    overflow: hidden;
    padding: 40px 0;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.05) 0%, rgba(20, 184, 166, 0.05) 100%);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 35s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 40px;
    padding: 0 20px;
}

.partner-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.partner-logo:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all var(--transition-normal);
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause marquee on hover */
.partners-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* RTL Support for marquee */
[dir="rtl"] .marquee-track {
    animation: marquee-rtl 35s linear infinite;
}

@keyframes marquee-rtl {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
}

/* ========== Services Section ========== */
.services {
    background: linear-gradient(180deg, #ffffff 0%, rgba(124, 58, 237, 0.03) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(124, 58, 237, 0.1);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: white;
    border: none;
}

.service-card.featured h3,
.service-card.featured p {
    color: white;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-lg);
    font-size: 0.8rem;
    font-weight: 600;
}

[dir="rtl"] .featured-badge {
    right: auto;
    left: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all var(--transition-normal);
}

.service-card.featured .service-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-features {
    margin-top: 20px;
}

.service-features li {
    padding: 10px 0;
    padding-right: 25px;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

[dir="rtl"] .service-features li {
    padding-right: 0;
    padding-left: 25px;
}

.service-features li::before {
    content: '\2713';
    position: absolute;
    right: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

[dir="rtl"] .service-features li::before {
    right: auto;
    left: 0;
}

.service-card.featured .service-features li {
    color: rgba(255, 255, 255, 0.9);
}

.service-card.featured .service-features li::before {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.certification-badge {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
}

.certification-badge i {
    font-size: 1.5rem;
}

/* ========== Products Section ========== */
.products {
    background: var(--bg-secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    border: 2px solid rgba(124, 58, 237, 0.1);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.product-card.featured {
    border-width: 3px;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.featured-ribbon {
    position: absolute;
    top: 25px;
    right: -10px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 30px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

[dir="rtl"] .featured-ribbon {
    right: auto;
    left: -10px;
}

.featured-ribbon::before {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-top: 8px solid var(--primary-dark);
}

[dir="rtl"] .featured-ribbon::before {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 10px solid transparent;
}

.product-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.product-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.product-badge {
    padding: 8px 16px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-color);
    border-radius: var(--radius-lg);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-badge.islamic {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.product-features {
    margin-bottom: 30px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features i {
    color: var(--primary-color);
    font-size: 1rem;
}

.product-features span {
    color: var(--text-secondary);
}

.product-footer {
    margin-top: 30px;
}

.products-cta {
    background: var(--gradient-primary);
    padding: 60px 40px;
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
}

.products-cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.products-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ========== Contact Section ========== */
.contact {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.02) 0%, #ffffff 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 20px;
    padding: 25px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
    transform: translateX(-5px);
}

[dir="ltr"] .contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

/* ========== Contact Form ========== */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    width: 100%;
    padding: 16px 50px 16px 20px;
    border: 2px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-normal);
    background: var(--bg-secondary);
}

[dir="rtl"] .form-control {
    padding: 16px 20px 16px 50px;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    pointer-events: none;
}

[dir="rtl"] .form-group i {
    right: auto;
    left: 20px;
}

.form-group textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237c3aed' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
}

[dir="rtl"] select.form-control {
    background-position: right 20px center;
}

/* ========== Location Map - Full Width ========== */
.location-map-wrapper {
    margin-top: 60px;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
}

.location-map:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.map-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 1;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    border-top: 1px solid rgba(124, 58, 237, 0.1);
}

.map-link:hover {
    background: var(--gradient-primary);
    color: white;
}

.map-link i {
    font-size: 0.9rem;
}

/* ========== Footer ========== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo h3 {
    font-size: 1.3rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-top: 15px;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--transition-normal);
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(-5px);
}

[dir="ltr"] .footer-links a:hover {
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-link:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

/* ========== Scroll to Top ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

[dir="rtl"] .scroll-top {
    right: auto;
    left: 30px;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
}

/* ========== WhatsApp Floating Button ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all var(--transition-normal);
    animation: whatsapp-pulse 2s infinite;
}

[dir="rtl"] .whatsapp-float {
    left: auto;
    right: 30px;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.2);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 300px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: start;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition-normal);
        overflow-y: auto;
    }

    [dir="rtl"] .nav-menu {
        right: auto;
        left: -100%;
    }

    .nav-menu.active {
        right: 0;
    }

    [dir="rtl"] .nav-menu.active {
        right: auto;
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-features,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo {
        width: 150px;
        height: 80px;
        padding: 15px;
    }

    .partner-logo img {
        max-height: 50px;
    }

    .location-map-wrapper {
        margin-top: 40px;
    }

    .map-container {
        height: 280px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }

    [dir="rtl"] .whatsapp-float {
        left: auto;
        right: 20px;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    [dir="rtl"] .scroll-top {
        right: auto;
        left: 20px;
    }

    .marquee-content {
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .company-slogan {
        display: none;
    }
}

@media (max-width: 576px) {
    .logo img {
        height: 35px;
    }

    .company-name {
        font-size: 1.1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-form {
        padding: 30px 20px;
    }
}