:root {
    --orange: #FF6B35;
    --white: #FFFFFF;
    --blue: #0e2536;
    --dark-bg: #0A1A2F;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --transition-main: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-main: 0 4px 6px rgba(0, 0, 0, 0.1);
    --orange-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --electric-blue: #00C2FF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: linear-gradient(45deg, var(--dark-bg) 0%, #00101F 100%);
    overflow-x: hidden;
}




.hero {
    min-height: 100vh;
    padding: 120px 5% 0;
    background: linear-gradient(rgba(2, 105, 184, 0.9), rgba(243, 163, 59, 0.589)),
        url(https://images.unsplash.com/photo-1596484552834-6a58f850e0a1?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D) center/cover fixed;
    display: flex;
    align-items: center;
    position: relative;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    animation: fadeInUp 1s 0.3s ease both;
}

/* قسم الجولات */
.tours-section {
    padding: 5% 5% 3rem;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.tour-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-main);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tour-image {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.tour-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--orange), var(--blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.tour-card:hover .tour-image::before {
    opacity: 0.2;
}

.tour-badge-group {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 0.5rem;
    z-index: 2;
}

.tour-badge {
    background: var(--orange);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.tour-content {
    padding: 1.5rem;
}

.rating {
    color: #FFD700;
    margin-bottom: 1rem;
}

.tour-highlights li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



/*  النموذج  */
.booking-section {
    padding: 6rem 5%;
    background: linear-gradient(45deg, #0A1A2F 0%, #00101F 100%);
}

.tourist-form {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    color: var(--pure-white);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.input-group label i {
    margin-left: 0.5rem;
    color: var(--electric-blue);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgb(121, 116, 116);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.custom-select {
    position: relative;
}

.custom-select::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--electric-blue);
    pointer-events: none;
}

.submit-btn {
    margin: 2rem auto 0;
    display: flex;
    justify-content: center;
    width: 250px;
    font-size: 1.1rem;
    position: relative !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 0 2rem;
}



/* الرؤية والرسالة */
:root {
    --primary-orange: #FF6B35;
    --dark-blue: #0A1A2F;
    --electric-blue: #00C2FF;
    --pure-white: #FFFFFF;

}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--dark-blue);
    color: white;
}

.vision-section {
    padding: 8rem 5%;
    background: linear-gradient(45deg, var(--dark-blue) 0%, #00101F 100%);
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.title-container {
    max-width: 800px;
    margin: 0 auto;
}

.gradient-title {
    background: linear-gradient(45deg, var(--primary-orange), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-orange), var(--electric-blue));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.vision-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 4rem auto;
}

.vision-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-orange), var(--electric-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.card-title {
    color: var(--pure-white);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-orange);
}

.card-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    font-size: 1.1rem;
}

.card-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 20" xmlns="#"><path d="M0 10 C150 20 350 0 500 10 L500 20 L0 20 Z" fill="rgba(255,255,255,0.05)"/></svg>');
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-orange), #FF8C42);
    border: none;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--pure-white);
    color: var(--pure-white);
}

.primary-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.primary-btn:hover::after {
    left: 100%;
}



.site-footer {
    background: rgba(10, 26, 47, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 1rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--orange);
}

.footer-links li {
    list-style: none;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--white) !important;
    text-decoration: none;
    padding: 0.5rem;
    display: block;
    transition: var(--transition-main);
}

.footer-links a:hover {
    color: var(--orange) !important;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--orange);
    color: var(--white);
    transition: var(--transition-main);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



.service-grid {
    display: grid;
    gap: 2rem;
    padding: 13rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1800px;
    margin: 0 auto;

}

.service-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(43, 88, 118, 0.3);
}

.img {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img:hover img {
    transform: scale(1.05);
}

.custom-links {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    color: white;
    text-align: right;
}

.custom-links i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
    color: #fff;
}

.custom-links h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



.custom-links a {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--orange);
    color: var(--white) !important;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-main);
    font-weight: 500;
    border: 2px solid transparent;
    box-shadow: var(--shadow-main);
}

.custom-links a:hover {
    background-color: hsl(16, 100%, 50%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}





.cta-btn1 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange-gradient);
    color: var(--white);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 35px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-main);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    gap: 0.8rem;
    min-width: 220px;
    text-decoration: none;
    margin: 1rem 0;
    font-weight: 500;
}

.cta-btn1::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: 0.5s;
}

.cta-btn1:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.cta-btn1:hover::after {
    left: 100%;
}

.cta-btn1 i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-btn1:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {

    .mobile-menu {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .tours-grid {
        grid-template-columns: 1fr;
    }

    .cta-btn {
        min-width: auto;
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .tourist-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .submit-btn {
        width: 100%;
    }
}



/* شاشات متوسطة (أجهزة لوحية) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .service-grid {
        padding: 8rem 5%;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .img {
        height: 350px;
    }
}

/* شاشات صغيرة (هواتف أفقية) */
@media (max-width: 768px) {
    :root {
        font-size: 14px;
        /* تقليل حجم الخط الأساسي */
    }

    .glass-nav {
        padding: 1rem 5%;
    }

    .hero {
        padding-top: 100px;
        background-attachment: scroll !important;
    }



    .hero h1 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    .service-grid {
        padding: 6rem 2rem;
        grid-template-columns: 1fr;
    }

    .img {
        height: 300px;
    }

    .custom-links {
        padding: 1.5rem;
    }
}

/* شاشات صغيرة جدًا (هواتف عمودية) */
@media (max-width: 480px) {
    :root {
        font-size: 13px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .service-grid {
        padding: 4rem 1rem;
    }

    .img {
        height: 250px;
    }

    .cta-btn {
        min-width: auto;
        width: 100%;
    }
}





/* التأكد من التوافق مع جميع المتصفحات */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* تحسينات للهواتف */
@media (max-width: 768px) {
    .custom-alert {
        width: 90%;
        padding: 15px;
        font-size: 0.9rem;
    }
}



.custom-alert {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    animation: slideIn 0.5s ease-out;
    max-width: 400px;
    width: 90%;
    text-align: center;
    font-family: Arial, sans-serif;
}

.loading {
    position: absolute;
    overflow: hidden;
    /
}

.loading::after {
    content: " " !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border: 3px solid #fff !important;
    border-radius: 50% !important;
    border-color: #fff transparent #fff transparent !important;
    animation: loading 1.2s linear infinite !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1000 !important;
}

/* تحسينات للهواتف */
@media (max-width: 480px) {
    .loading::after {
        width: 20px !important;
        height: 20px !important;
        border-width: 2px !important;
        transform: translate(-50%, -50%) !important;
        position: absolute
    }
}

/* تعطيل التفاعل مع الزر أثناء التحميل */
button.loading {
    pointer-events: none !important;
}

button.loading * {
    visibility: hidden !important;
}

/* تأثير الدوران */
@keyframes loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 26, 47, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-main {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--orange), var(--electric-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-main);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu {
    display: block;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }
}

@media (max-width: 991px) {
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-bg);
        padding: 2rem;

        border-bottom: 2px solid var(--orange);
    }
}