/* ============================================
   CSS Reset & Variables - محسن
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #10b981;
    --primary-green-dark: #059669;
    --medical-blue: #0ea5e9;
    --medical-blue-dark: #0284c7;
    --dark-text: #1e293b;
    --light-bg: #f8fafc;
    --gray-text: #64748b;
    --footer-bg: #0f172a;
    --accent-color: #f59e0b;
    --white: #ffffff;
    --shadow-light: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-medium: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-large: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   Header - Language Switch ثابت في اللغتين
   ============================================ */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--medical-blue);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 0;
}

.logo-img {
    height: 45px;
    object-fit: contain;
}

.lang-switch {
    order: 2;
    margin-right: 20px;
    margin-left: 10px;
    z-index: 1001;
}

.lang-switch a {
    background: linear-gradient(135deg, var(--primary-green), var(--medical-blue));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.lang-switch a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

nav {
    flex: 1;
    margin-right: 80px;
}

nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
}

nav ul li a {
    color: var(--dark-text);
    font-weight: 600;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-green), var(--medical-blue));
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--medical-blue);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    nav ul.active {
        right: 0;
    }
    
    .lang-switch {
        right: 70px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(7px, -6px);
    }
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.9), rgba(16, 185, 129, 0.8)),
                url('hero-background.jpg') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
}

.cta-button.secondary:hover {
    background: white;
    color: var(--dark-text);
}

/* ============================================
   Sections Common
   ============================================ */
section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* About */
.about-section {
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: right;
}

.about-text .sub-title {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    line-height: 1.3;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.features-list {
    list-style: none;
    padding: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.features-list li::before {
    content: '✅';
    font-size: 1.2rem;
}

/* Products */
.products-section {
    background: linear-gradient(135deg, var(--light-bg), white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 20px;
    padding: 40px 25px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-large);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--medical-blue));
}

.brand-tag {
    background: linear-gradient(135deg, var(--primary-green), var(--medical-blue));
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.product-card p {
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
}

.details-btn {
    background: transparent;
    border: 2px solid var(--medical-blue);
    color: var(--medical-blue);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.details-btn:hover {
    background: var(--medical-blue);
    color: white;
}

/* Quote Form */
.quote-section {
    background: linear-gradient(135deg, var(--dark-text), #1e293b);
    color: white;
    position: relative;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(16,185,129,0.1), transparent 50%);
}

.quote-form {
    background: white;
    border-radius: 25px;
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-large);
    position: relative;
    z-index: 1;
}

.form-group {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--medical-blue);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(16,185,129,0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(16,185,129,0.6);
}

/* Contact */
.contact-section {
    padding: 100px 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: block;
}

.contact-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.contact-card p {
    color: var(--gray-text);
}

/* Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-icon i {
    color: #ffffff !important;
    margin: 0 !important;
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.whatsapp {
    background: #25d366;
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Map */
.map-section iframe {
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, var(--footer-bg), #1e293b);
    color: #cbd5e1;
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column h3,
.footer-column h4 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #94a3b8;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    color: #64748b;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    left: 20px;
    background: #25d366;
    color: #ffffff !important;
    border-radius: 50%;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    box-shadow: 0 4px 12px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: var(--transition);
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.whatsapp-float i {
    color: #ffffff !important;
    margin: 0 !important;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* FAQ */
.faq-section {
    padding: 100px 0;
    background: var(--light-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: transparent;
    border: none;
    text-align: right;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 25px;
    color: var(--gray-text);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    nav {
        margin-right: 0;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    nav ul.active {
        right: 0;
    }
    
    .lang-switch {
        right: 20px;
    }
    
    .about-container,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .quote-form {
        padding: 30px 20px;
        margin-top: 20px;
    }
    
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

