:root {
    --primary: #00266e;
    --secondary: #00a7e7;
    --text-primary: #231916;
    --text-muted: #898989;
    --cta-color: #1971d4;
    --bg-light: #f7f8f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', HelveticaNeueLTW05-75Bold, Helvetica Neue, -apple-system, Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 25px;
    left: 20px;
    z-index: 2000;
}

.lang-link {
    background: var(--cta-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    display: inline-block;
}

.lang-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Ramadan Pattern Background */
.ramadan-pattern {
    position: relative;
    overflow: hidden;
}

.ramadan-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 167, 231, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 38, 110, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header Styles */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 45px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: var(--cta-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cta-color) !important;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Offer Section */
.offer-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, var(--bg-light) 100%);
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.offer-text {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-weight: 500;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 110, 0.08);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-right: 4px solid var(--secondary);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 38, 110, 0.15);
}

.feature-icon {
    font-size: 2rem;
    color: var(--cta-color);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.cta-button {
    background: var(--cta-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(25, 113, 212, 0.3);
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #155a9f;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(25, 113, 212, 0.4);
    color: white;
}

/* Models Section */
.models-section {
    padding: 5rem 0;
    background: white;
}

.model-card {
    background: linear-gradient(to bottom, #ffffff 0%, var(--bg-light) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 38, 110, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 167, 231, 0.1);
}

.model-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 38, 110, 0.2);
}

.model-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

.model-content {
    padding: 2.5rem;
}

.model-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.model-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.model-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.model-features li {
    padding: 0.5rem 0;
    color: var(--text-primary);
    position: relative;
    padding-right: 2rem;
}

.model-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.form-control, .form-select {
    padding: 0.85rem 1.2rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    text-align: right;
}

.form-control:focus, .form-select:focus {
    border-color: var(--cta-color);
    box-shadow: 0 0 0 0.2rem rgba(25, 113, 212, 0.15);
}

.form-label {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--cta-color);
    border-color: var(--cta-color);
}

.form-check-label {
    margin-right: 0.5rem;
}

.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1.5rem;
    border-radius: 10px;
    border-right: 4px solid #28a745;
    margin-top: 1rem;
}

/* Terms Section */
.terms-section {
    padding: 5rem 0;
    background: white;
}

.terms-content {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 38, 110, 0.08);
}

.terms-table {
    margin-bottom: 2rem;
}

.terms-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 38, 110, 0.1);
}

.terms-row:last-child {
    border-bottom: none;
}

.terms-label {
    font-weight: 800;
    color: var(--primary);
}

.terms-value {
    color: var(--text-primary);
    line-height: 1.8;
}

.terms-value ul {
    margin: 0.5rem 0;
    padding-right: 1.5rem;
}

.terms-value ul li {
    margin-bottom: 0.5rem;
}

.terms-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.terms-disclaimer {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-right: 4px solid var(--cta-color);
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.terms-content ul {
    line-height: 1.9;
}

/* Locate Section */
.locate-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.location-info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 38, 110, 0.1);
    height: 100%;
    border: 1px solid rgba(0, 167, 231, 0.1);
}

.location-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary);
}

.location-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 38, 110, 0.08);
}

.location-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.location-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--cta-color), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1.5rem;
}

.location-icon i {
    font-size: 1.5rem;
    color: white;
}

.location-details {
    flex: 1;
}

.location-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.location-details p {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

.location-details a {
    color: var(--cta-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.location-details a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.map-container {
    position: relative;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 38, 110, 0.15);
    border: 1px solid rgba(0, 167, 231, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    color: var(--secondary);
    transform: translateY(-3px);
}

.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-top: 1rem;
}

/* Crescent decoration */
.crescent-decoration {
    position: absolute;
    opacity: 0.05;
    pointer-events: none;
}

.crescent-decoration.top-left {
    top: 50px;
    left: 50px;
    font-size: 150px;
    color: var(--primary);
}

.crescent-decoration.bottom-right {
    bottom: 50px;
    right: 50px;
    font-size: 120px;
    color: var(--secondary);
}

/* Responsive */
@media (max-width: 991px) {
    .map-container {
        height: 400px;
        margin-top: 2rem;
    }
    
    .location-info-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .offer-text {
        font-size: 1.1rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .map-container {
        height: 350px;
    }

    .cta-button {
        padding: 0.85rem 2rem;
        font-size: 1.1rem;
    }

    .terms-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .terms-content {
        padding: 1.5rem;
    }

    .model-image {
        height: 250px;
    }
    
    .location-card-title {
        font-size: 1.5rem;
    }
    
    .location-icon {
        width: 45px;
        height: 45px;
    }
    
    .location-icon i {
        font-size: 1.3rem;
    }
    
    .location-details h4 {
        font-size: 1.1rem;
    }
    
   .language-switcher {
    /* top: 0; */
    left: 89px;
}
    .navbar-brand img {
    height: 25px;
    transition: transform 0.3s ease;
}
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px;
}