/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

body[dir="rtl"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

/* Header Styles */
.header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-img {
    height: 50px;
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF6B35;
    transition: width 0.3s ease;
}

body[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

.nav-link:hover::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-selector {
    position: relative;
    cursor: pointer;
    font-size: 14px;
    color: #666;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    display: none;
    min-width: 120px;
    z-index: 1000;
}

body[dir="rtl"] .language-dropdown {
    right: auto;
    left: 0;
}

.language-dropdown.active {
    display: block;
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 15px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

body[dir="rtl"] .lang-option {
    text-align: right;
}

.lang-option:hover {
    background-color: #f5f5f5;
}

.lang-option:first-child {
    border-radius: 6px 6px 0 0;
}

.lang-option:last-child {
    border-radius: 0 0 6px 6px;
}

.btn-host {
    background-color: #FF6B35;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn-host:hover {
    background-color: #e55a28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Main Content */
.main-content {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
    line-height: 1.2;
}

/* Policy Sections */
.policy-section {
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.policy-section:nth-child(1) { animation-delay: 0.1s; }
.policy-section:nth-child(2) { animation-delay: 0.2s; }
.policy-section:nth-child(3) { animation-delay: 0.3s; }
.policy-section:nth-child(4) { animation-delay: 0.4s; }
.policy-section:nth-child(5) { animation-delay: 0.5s; }
.policy-section:nth-child(6) { animation-delay: 0.6s; }

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

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.section-content {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
    padding-left: 20px;
}

body[dir="rtl"] .section-content {
    padding-left: 0;
    padding-right: 20px;
}

.section-content p {
    margin-bottom: 15px;
}

.policy-list {
    list-style: none;
    padding-left: 0;
}

.policy-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
}

body[dir="rtl"] .policy-list li {
    padding-left: 0;
    padding-right: 25px;
}

.policy-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FF6B35;
    font-size: 20px;
    line-height: 1.4;
}

body[dir="rtl"] .policy-list li::before {
    left: auto;
    right: 0;
}

/* Footer */
.footer {
    background-color: #3d3d3d;
    color: #ffffff;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-about {
    max-width: 400px;
}

.footer-about .logo {
    margin-bottom: 20px;
}

.footer-about h2 {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: #b0b0b0;
}

.footer-contact h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.contact-regions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-region h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.flag-icon {
    width: 24px;
    height: auto;
}

.company-name {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.contact-region p {
    font-size: 13px;
    color: #b0b0b0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-region p i {
    color: #FF6B35;
    font-size: 14px;
}

.contact-region a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-region a:hover {
    color: #FF6B35;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #666;
    border-radius: 50%;
    color: #b0b0b0;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: #ffffff;
}

.footer-divider {
    height: 1px;
    background-color: #555;
    margin: 40px 0 30px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 13px;
    color: #888;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B35;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-regions {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 20px;
    }

    body[dir="rtl"] .nav-menu {
        left: auto;
        right: -100%;
        transition: right 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    body[dir="rtl"] .nav-menu.active {
        left: auto;
        right: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

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

    .page-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 20px;
    }

    .btn-host {
        padding: 10px 18px;
        font-size: 13px;
    }

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

@media (max-width: 640px) {
    .header-actions {
        gap: 10px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .section-content {
        padding-left: 10px;
    }

    body[dir="rtl"] .section-content {
        padding-left: 0;
        padding-right: 10px;
    }

    .logo-img {
        height: 40px;
    }

    .footer-about h2 {
        font-size: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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