/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Language Bar */
.language-bar {
    background: #000000;
    border-bottom: 1px solid rgba(232, 181, 79, 0.2);
    padding: 8px 0;
}

.language-switch {
    text-align: right;
    font-size: 14px;
}

body[dir="rtl"] .language-switch {
    text-align: left;
}

.language-switch a {
    color: #9ca3af;
    text-decoration: none;
    padding: 4px 8px;
    transition: color 0.3s;
}

.language-switch a:hover,
.language-switch a.active {
    color: #e8b54f;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: #000000;
    border-bottom: 1px solid rgba(232, 181, 79, 0.2);
    z-index: 1000;
    padding: 12px 0;
    transition: box-shadow 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

/* Logo Styles */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #ffffff;
    margin: 0;
}

.logo-text h1 span {
    color: #e8b54f;
}

.tagline {
    font-size: 0.65rem;
    color: #9ca3af;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-menu a {
    text-decoration: none;
    color: #e5e5e5;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e8b54f;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #e8b54f;
}

/* Hero Section - Centered Text */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(232, 181, 79, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(232, 181, 79, 0.15);
    color: #e8b54f;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #ffffff;
    text-align: center;
}

.hero h1 .highlight {
    color: #e8b54f;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(232, 181, 79, 0.3);
    border-radius: 4px;
    z-index: -1;
}

.hero p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto 32px;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #e8b54f;
    color: #0a0a0a;
}

.btn-primary:hover {
    background: #ffc66b;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(232, 181, 79, 0.3);
}

.btn-outline {
    border: 2px solid #e8b54f;
    color: #e8b54f;
    background: transparent;
}

.btn-outline:hover {
    background: #e8b54f;
    color: #0a0a0a;
    transform: translateY(-2px);
}

/* Excellence Section */
.excellence {
    padding: 80px 0;
    background: #0f0f0f;
    position: relative;
}

.excellence-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.excellence-header h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.excellence-header p {
    color: #b0b0b0;
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    text-align: center;
    padding: 32px 24px;
    background: #1a1a1a;
    border-radius: 24px;
    border: 1px solid rgba(232, 181, 79, 0.15);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e8b54f, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 181, 79, 0.4);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(232, 181, 79, 0.1);
}

.feature-card i {
    font-size: 2.5rem;
    color: #e8b54f;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.feature-card p {
    color: #9ca3af;
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #0a0a0a;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #e8b54f;
    border-radius: 3px;
}

.section-header p {
    color: #b0b0b0;
    max-width: 700px;
    margin: 24px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.service-card {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.4s;
    border: 1px solid rgba(232, 181, 79, 0.15);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8b54f, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 181, 79, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(232, 181, 79, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: rgba(232, 181, 79, 0.2);
    transform: scale(1.05);
}

.service-icon i {
    font-size: 1.8rem;
    color: #e8b54f;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.service-card p {
    color: #9ca3af;
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-link {
    color: #e8b54f;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* Why Us Section */
.why-us {
    padding: 80px 0;
    background: #0f0f0f;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    text-align: center;
}

.why-card {
    padding: 24px;
    background: #1a1a1a;
    border-radius: 20px;
    border: 1px solid rgba(232, 181, 79, 0.1);
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: rgba(232, 181, 79, 0.3);
    background: linear-gradient(135deg, #1a1a1a 0%, #1f1f1f 100%);
}

.why-card i {
    font-size: 2.2rem;
    color: #e8b54f;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #ffffff;
}

.why-card p {
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #0a0a0a;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(232, 181, 79, 0.15);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: rgba(232, 181, 79, 0.4);
    transform: translateX(5px);
}

body[dir="rtl"] .info-card:hover {
    transform: translateX(-5px);
}

.info-card i {
    font-size: 1.5rem;
    width: 40px;
}

.info-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #e8b54f;
}

.info-card p,
.info-card a {
    color: #e5e5e5;
    text-decoration: none;
}

.map-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #e8b54f;
    text-decoration: none;
}

.map-card {
    flex-direction: column;
}

.map-card i {
    margin-bottom: 12px;
}

.contact-form {
    background: #1a1a1a;
    padding: 32px;
    border-radius: 24px;
    border: 1px solid rgba(232, 181, 79, 0.15);
    transition: all 0.3s;
}

.contact-form:hover {
    border-color: rgba(232, 181, 79, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(232, 181, 79, 0.2);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: #0f0f0f;
    color: #e5e5e5;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e8b54f;
    box-shadow: 0 0 0 3px rgba(232, 181, 79, 0.1);
}

.contact-form button {
    width: 100%;
    justify-content: center;
}

.form-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 16px;
    text-align: center;
}

.form-note i {
    margin-right: 6px;
    color: #e8b54f;
}

/* Footer */
footer {
    background: #000000;
    color: #e5e5e5;
    padding: 48px 0 24px;
    border-top: 1px solid rgba(232, 181, 79, 0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
}

.footer-logo h3 {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.footer-logo h3 span {
    color: #e8b54f;
}

.footer-logo p {
    color: #9ca3af;
    font-size: 0.7rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e8b54f;
}

.footer-contact p {
    margin-bottom: 8px;
}

.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #e8b54f;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(232, 181, 79, 0.15);
    color: #6c757d;
    font-size: 0.85rem;
}

/* Force LTR for phone numbers in RTL pages */
.ltr-phone,
.ltr-phone a {
    direction: ltr !important;
    display: inline-block !important;
    unicode-bidi: embed !important;
}

body[dir="rtl"] .info-card .fa-phone-alt,
body[dir="rtl"] .info-card .fa-whatsapp,
body[dir="rtl"] .footer-contact .fa-phone,
body[dir="rtl"] .footer-contact .fa-whatsapp {
    margin-left: 8px;
    margin-right: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-badge {
        font-size: 0.7rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #000000;
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid rgba(232, 181, 79, 0.2);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .features-grid,
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-logo-wrapper {
        justify-content: center;
    }
    
    .logo-image {
        height: 40px;
        max-width: 40px;
    }
    
    .logo-text h1 {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.55rem;
    }
    
    .hero h1 .highlight::after {
        bottom: 4px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
        justify-content: center;
    }
    
    .service-card {
        padding: 24px;
    }
    
    .logo-wrapper {
        gap: 8px;
    }
    
    .logo-image {
        height: 35px;
        max-width: 35px;
    }
    
    .logo-text h1 {
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .excellence-header h2 {
        font-size: 1.6rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
}

/* RTL Support */
body[dir="rtl"] .hero-buttons .btn i {
    transform: rotate(180deg);
}

body[dir="rtl"] .service-link i {
    transform: rotate(180deg);
}

body[dir="rtl"] .section-header h2::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #e8b54f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffc66b;
}