/* Global Styles */
:root {
    --primary-blue: #4A90E2;
    --light-blue: #87CEEB;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --dark-text: #333333;
    --light-gray: #F5F5F5;
    --medium-gray: #E0E0E0;
    --dark-gray: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--dark-text);
    max-width: 600px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 3px;
    background-color: var(--gold);
}

.branches {
    padding: 50px 20px;
    text-align: center;
    background-color: #f5f5f5;
}

.branch-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.branch-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.branch-card:hover {
    transform: translateY(-5px);
}

.branch-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.branch-card h3 {
    margin: 15px 0 5px;
    font-size: 20px;
    color: #333;
}

.branch-card p {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Tajawal', sans-serif;
}

.btn:hover {
    background-color: var(--light-blue);
    transform: translateY(-3px);
}

.btn-gold {
    background-color: var(--gold);
}

.btn-gold:hover {
    background-color: #c19b2c;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    margin-left: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-blue);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeIn 1.5s ease;
}

/* Featured Services */
.featured-services {
    background-color: var(--light-gray);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-preview-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-preview-card:hover {
    transform: translateY(-10px);
}

.service-preview-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.service-preview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-preview-card p {
    margin-bottom: 20px;
    color: #666;
}

/* Why Choose Us */
.why-choose-us {
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: var(--light-gray);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-text);
}

.feature-item p {
    color: #666;
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 250px 0 100px;
    margin-top: 80px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Content */
.about-content-section {
    background-color: var(--white);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.mission-vision {
    margin: 40px 0;
}

.mission,
.vision {
    margin-bottom: 30px;
}

.mission h3,
.vision h3 {
    font-size: 1.5rem;
    color: var(--dark-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.mission h3 i,
.vision h3 i {
    margin-left: 10px;
    color: var(--gold);
}

.values h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background-color: var(--light-gray);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stats Section */
.stats-section {
    background-color: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
}

.stat-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Services Content */
.services-content {
    background-color: var(--white);
}

.service-category {
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold);
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-left: 15px;
}

.category-header h2 {
    font-size: 2rem;
    color: var(--dark-text);
}

.service-details {
    display: grid;
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.requirements h4,
.types h4,
.notes h4,
.duration h4,
.arrival-requirements h4,
.entry-types h4,
.processing-time h4,
.validity h4 {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.requirements ul,
.types ul,
.notes ul,
.arrival-requirements ul,
.entry-types ul {
    list-style: none;
    padding-right: 20px;
}

.requirements li,
.types li,
.notes li,
.arrival-requirements li,
.entry-types li {
    margin-bottom: 8px;
    position: relative;
}

.requirements li::before,
.types li::before,
.notes li::before,
.arrival-requirements li::before,
.entry-types li::before {
    content: '•';
    color: var(--gold);
    position: absolute;
    right: -15px;
}

.notes p {
    color: #666;
    font-style: italic;
}

.duration p,
.processing-time p,
.validity p {
    font-size: 1.1rem;
    color: #666;
}

.main-services {
    background: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.main-services .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-card i {
    font-size: 36px;
    color: #c59d5f;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #222;
}

.service-card p {
    font-size: 0.95rem;
    color: #555;
}

.trip-types {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.trip-types li {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #333;
    margin: 6px 0;
}

.trip-types i {
    color: #c59d5f;
}

.category-image {
    text-align: left;
    margin: 10px 0 20px;
}

.category-image img {
    width: 100%;
    max-width: 1100px;
    /* أقصى عرض على الشاشات الكبيرة */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}


/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 400px 0;
    transition: background-image 1s ease-in-out;
    /* انتقال سلس */
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Content */
.contact-content {
    background-color: var(--white);
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 30px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-left: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.contact-item p {
    color: #666;
}



.social-section {
    text-align: center;
    padding: 40px 0;
    background-color: #f9f9f9;
    font-family: "Tajawal", sans-serif;
}

.social-section h3 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #222;
}

.social-cards {
    display: flex;
    justify-content: space-evenly;
    /* توزيع متساوٍ بعرض الصفحة */
    align-items: center;
    gap: 25px;
    flex-wrap: nowrap;
    /* يمنع الانتقال إلى سطر جديد */
    width: 100%;
}


.social-card {
    width: 120px;
    height: 120px;
    perspective: 1000px;
}

.social-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.social-card:hover .social-inner {
    transform: rotateY(180deg);
}

.social-front,
.social-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
}

.social-front {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.social-back {
    background: #333;
    transform: rotateY(180deg);
    flex-direction: column;
    font-size: 14px;
    padding: 10px;
}

.social-back p {
    margin-top: 5px;
    color: #ddd;
}

.social-front i {
    font-size: 36px;
}

/* تخصيص الألوان لكل شبكة */
.facebook .social-front {
    background: linear-gradient(135deg, #1877f2, #145dbf);
}

.instagram .social-front {
    background: linear-gradient(135deg, #fd1d1d, #833ab4);
}

.whatsapp .social-front {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.tiktok .social-front {
    background: linear-gradient(135deg, #010101, #013375);
}

.social-back a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.social-back a:hover {
    text-decoration: underline;
}




.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Cards */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background-color: var(--white);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.contact-card p {
    font-size: 1.1rem;
    color: #666;
}

/* Hover Effects */
.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.contact-card:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--gold);
}


/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    margin-bottom: 20px;
    color: #ddd;
    line-height: 1.8;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--gold);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: #ddd;
}

.footer-contact i {
    margin-left: 10px;
    color: var(--gold);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {

    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 0;
        text-align: center;
        padding: 10px 0;
    }

    .hero {
        margin-top: 70px;
        height: 80vh;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        margin-bottom: 10px;
    }

    .service-category {
        padding: 25px 20px;
    }

    .category-header {
        flex-direction: column;
        text-align: center;
    }

    .category-header i {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .services-preview,
    .features-grid,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }



    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}