﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary_color: #e3c496;
    --accent_color: #937953;
    --third_color: #0c2335;
    --four_color: #1b6180;
    --bg_light: #efe5d4;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(135deg, var(--third_color), var(--four_color));
    color: var(--bg_light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-x: hidden;
    position: relative;
    padding: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    z-index: 10;
}

.logo {
    margin-bottom: 2rem;
    padding: 0 1rem;
}

    .logo h1 {
        font-family: 'El Messiri', sans-serif;
        font-size: clamp(2.5rem, 8vw, 4.5rem);
        margin-bottom: 0.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
        background: linear-gradient(to right, var(--primary_color), var(--accent_color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        line-height: 1.2;
    }

    .logo p {
        font-size: clamp(1.1rem, 4vw, 1.5rem);
        opacity: 0.9;
        margin-top: 0.5rem;
        color: var(--primary_color);
    }

.content {
    margin: 2rem 0;
    background: rgba(12, 35, 53, 0.7);
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--accent_color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
}

    .content h2 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
        margin-bottom: 1.5rem;
        font-weight: 700;
        color: var(--primary_color);
        line-height: 1.3;
    }

    .content p {
        font-size: clamp(1rem, 4vw, 1.3rem);
        line-height: 1.8;
        margin-bottom: 1rem;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        padding: 0 0.5rem;
        color: var(--bg_light);
    }

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    width: 100%;
}

.service-item {
    background: rgba(27, 97, 128, 0.3);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent_color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 220px;
}

    .service-item:hover {
        transform: translateY(-5px);
        background: rgba(27, 97, 128, 0.5);
        border-color: var(--primary_color);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary_color);
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary_color);
}

.service-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    color: var(--bg_light);
}

.contact-form {
    margin: 2rem 0;
    background: rgba(12, 35, 53, 0.8);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 15px;
    width: 100%;
    border: 1px solid var(--accent_color);
}

    .contact-form h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
        color: var(--primary_color);
    }

.form-group {
    margin-bottom: 1.5rem;
    text-align: right;
    width: 100%;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
        font-size: clamp(0.9rem, 3vw, 1.1rem);
        color: var(--primary_color);
    }

    .form-group input, .form-group textarea, .form-group select {
        width: 100%;
        padding: 1rem;
        border: none;
        border-radius: 10px;
        font-size: 1rem;
        background: var(--bg_light);
        text-align: right;
        font-family: 'Tajawal', sans-serif;
        color: var(--third_color);
        border: 1px solid var(--accent_color);
    }

        .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
            outline: none;
            border-color: var(--primary_color);
            box-shadow: 0 0 0 2px rgba(227, 196, 150, 0.3);
        }

.submit-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    background: linear-gradient(to right, var(--primary_color), var(--accent_color));
    color: var(--third_color);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-family: 'Tajawal', sans-serif;
    margin-top: 1rem;
    width: 100%;
    max-width: 300px;
}

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

.developer {
    margin-top: 3rem;
    font-size: 1rem;
    opacity: 0.8;
    padding: 0 1rem;
    color: var(--primary_color);
}

.loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--third_color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    transition: opacity 0.5s ease;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(227, 196, 150, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary_color);
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.loading-text {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    font-family: 'El Messiri', sans-serif;
    color: var(--primary_color);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e3c496' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.wings-icon {
    position: relative;
    font-size: clamp(3rem, 12vw, 6rem);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary_color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.saudi-touch {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.saudi-element {
    background: rgba(227, 196, 150, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary_color);
    font-size: 0.9rem;
    color: var(--primary_color);
}

/* تحسينات للشاشات الصغيرة جداً */
@media (max-width: 480px) {
    .container {
        padding: 0.5rem;
    }

    .content {
        padding: 1rem;
        margin: 1rem 0;
    }

    .services {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-item {
        padding: 1rem;
        min-height: auto;
    }

    .service-icon {
        font-size: 2.5rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input, .form-group select {
        padding: 0.8rem;
    }
}

/* تحسينات للشاشات المتوسطة */
@media (min-width: 769px) and (max-width: 1024px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* تحسينات للشاشات الكبيرة */
@media (min-width: 1025px) {
    .services {
        grid-template-columns: repeat(4, 1fr);
    }
}





.phone-input-container {
    display: flex;
    border: 1px solid rgba(239, 229, 212, 0.3);
    border-radius: 8px;
    background-color: rgba(12, 35, 53, 0.7);
}

.country-code-selector {
    position: relative;
    min-width: 150px;
    width: max-content;
    border-left: 1px solid rgba(239, 229, 212, 0.2);
}

.selected-country {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 0.5rem;
}

    .selected-country:hover {
        background-color: rgba(227, 196, 150, 0.1);
    }

.flag {
    font-size: 1.2rem;
}

.code {
    color: var(--primary_color);
    font-weight: 500;
    font-size: 0.9rem;
}

.arrow {
    color: var(--primary_color);
    font-size: 0.8rem;
    margin-right: auto;
}

.countries-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(12, 35, 53, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(239, 229, 212, 0.3);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow: hidden;
    min-width: 250px;
}

    .countries-dropdown.show {
        display: block;
    }

.search-box {
    position: relative;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(239, 229, 212, 0.2);
}

    .search-box input {
        width: 100%;
        padding: 0.5rem 0.5rem 0.5rem 2rem;
        border: 1px solid rgba(239, 229, 212, 0.3);
        border-radius: 6px;
        background-color: rgba(12, 35, 53, 0.9);
        color: var(--bg_light);
        font-family: 'Tajawal', sans-serif;
        font-size: 0.9rem;
    }

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary_color);
}

.countries-list {
    max-height: 250px;
    overflow-y: auto;
}

.country-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(239, 229, 212, 0.1);
}

    .country-item:hover {
        background-color: rgba(227, 196, 150, 0.1);
    }

    .country-item.selected {
        background-color: rgba(227, 196, 150, 0.2);
    }

.country-flag {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.country-name {
    color: var(--bg_light);
    font-size: 0.9rem;
    flex: 1;
    white-space: nowrap;
}

.country-code {
    color: var(--primary_color);
    font-weight: 500;
    font-size: 0.85rem;
}

.phone-number-input {
    flex: 1;
    border: none;
    padding: 0.75rem 1rem;
    background: transparent;
    color: var(--bg_light);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    outline: none;
}

    .phone-number-input::placeholder {
        color: rgba(239, 229, 212, 0.5);
    }

/* Scrollbar styling */
.countries-list::-webkit-scrollbar {
    width: 6px;
}

.countries-list::-webkit-scrollbar-track {
    background: rgba(12, 35, 53, 0.5);
}

.countries-list::-webkit-scrollbar-thumb {
    background: var(--primary_color);
    border-radius: 3px;
}

    .countries-list::-webkit-scrollbar-thumb:hover {
        background: var(--accent_color);
    }