/* ===== CSS VARIABLES - OTEAYES HEALTHCARE THEME ===== */
:root {
    --primary-color: #0066CC;
    --secondary-color: #00AA44;
    --accent-color: #FF6B35;
    --text-color: #333333;
    --light-bg: #F0F8FF;
    --white: #FFFFFF;
    --border-color: #E0E0E0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

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

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: white;
    padding: 20px;
    z-index: 1000;
    transition: bottom 0.3s ease;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.btn-accept {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-accept:hover {
    background: #0052A3;
}

.btn-privacy {
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-privacy:hover {
    background: var(--primary-color);
    color: white;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 130px;
    width: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
}

.language-selector {
    margin-left: auto;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    background: var(--white);
    color: var(--text-color);
    cursor: pointer;
    font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(0, 170, 68, 0.1) 100%);
    padding: 100px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 20px;
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-image {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 80px 20px;
    background: var(--white);
}

.about h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.feature p {
    color: var(--text-color);
    font-size: 14px;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 170, 68, 0.05) 100%);
}

.products h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 102, 204, 0.2);
}

.product-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.product-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.product-card p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.6;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 80px 20px;
    background: var(--white);
}

.services h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.service-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
}

.service-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.service-item p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-bg) 0%, rgba(0, 170, 68, 0.05) 100%);
}

.contact h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 50px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.info-box p {
    margin-bottom: 12px;
    color: var(--text-color);
    font-size: 15px;
}

.info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-box a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 22px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px dashed var(--primary-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #0052A3;
}

.form-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(0, 170, 68, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.form-message.error {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #CCCCCC;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #999;
}

/* ===== PRIVACY SECTION ===== */
.privacy-section {
    padding: 80px 20px;
    background: var(--white);
}

.privacy-section h2 {
    text-align: center;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-content h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 20px;
}

.privacy-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        gap: 15px;
        font-size: 14px;
    }

    .nav-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-image {
        max-width: 400px;
        margin-top: 20px;
    }

    .about h2,
    .products h2,
    .services h2,
    .contact h2,
    .privacy-section h2 {
        font-size: 28px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cookie-content {
        flex-direction: column;
        gap: 15px;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .btn-accept,
    .btn-privacy {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    .language-selector {
        margin-left: 0;
        width: 100%;
    }

    .language-selector select {
        width: 100%;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .features,
    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 13px;
    }
}
