html, body{
    scroll-behavior: smooth;
}
:root {
    --primary-color: #1b2c61;
    --secondary-color: #2e3c5c;
    --brand: #1b2c61;        /* اللون الأساسي */
    --brand-2: #2c4285;      /* ظل أفتح/ثانوي */
    --bg-start: #0f2340;     /* بداية الخلفية */
    --bg-mid: #152a4e;       /* منتصف */
    --accent: #7ed6f8;       /* لون الهوية الوردي */
    --muted: #cbd5e1;        /* نص فرعي فاتح */
    --white: #ffffff;
    --glass: rgba(255,255,255,0.04);
    --black: #1A1A1A;
    --white: #FFFFFF;
    --ul-gray: #E5E7EB;
    --text-gray: #6B7280;
    --bg-light: #F8FAFC;
    --gray: #6C757D;
    --shadow: rgba(0, 0, 0, 0.1);
    --primary-dark: #141a50;
    --accent-color: #3b82f6;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);
    --gradient-overlay: linear-gradient(45deg, rgba(27, 35, 100, 0.9) 0%, rgba(59, 130, 246, 0.8) 100%);
}
::selection {
    color: white;
    background: black;
}
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 12px;
}
@font-face{
    font-family: "alfont_com_SomarGX";
    src: url('../fonts/alfont_com_SomarGX.ttf') format('opentype');
}
    
body {
    font-family: 'alfont_com_SomarGX', sans-serif;
    overflow-x: hidden;
}
section{
    scroll-margin-top: 84px;
}

.blurr-img {
    position: fixed;
    z-index: -2;
    top: 10%;
    left: 10%;
}
.blurr {
    background: #ffffffe0 0% 0% no-repeat padding-box;
    opacity: 1;
    backdrop-filter: blur(35px);
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: -1;
}


/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    bottom: 30px;
    z-index: 9999;
    width: fit-content;
}

:dir(rtl) .language-switcher {
    left: 30px;
}

:dir(ltr) .language-switcher {
    right: 30px;
}

.language-switcher-toggle {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 50px;
    height: 50px;
}

.language-switcher-toggle:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.language-switcher-toggle:active {
    transform: translateY(0) scale(0.95);
}

.language-switcher-toggle .flag-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.language-menu {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    min-width: 60px;
}

.language-menu.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: all;
}

.language-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    transform: scale(1.05);
}

.language-option:active {
    transform: scale(0.95);
}

.language-option .flag-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.2s ease;
}

.language-option:hover .flag-icon {
    border-color: rgba(102, 126, 234, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        bottom: 20px;
    }
    
    :dir(rtl) .language-switcher {
        left: 20px;
    }

    :dir(ltr) .language-switcher {
        right: 20px;
    }

    .language-switcher-toggle {
        width: 45px;
        height: 45px;
        padding: 8px;
    }

    .language-switcher-toggle .flag-icon {
        width: 25px;
        height: 25px;
    }

    .language-option .flag-icon {
        width: 28px;
        height: 28px;
    }
}

.whatsapp-icon {
    position: fixed;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #25D366;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 111;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: bounce 1.5s infinite;
    text-decoration: none;
}
:dir(rtl).whatsapp-icon{
    right: 20px;

}
:dir(ltr).whatsapp-icon{
    left: 20px;

}
.whatsapp-icon i{
    font-size: 30px;
}
/* تأثير التحريك */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* تأثير عند التحويم */
.whatsapp-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    background-color: #25D366;
    color: white;
}

.notification-badge {
    position: absolute;
    top: 0px;
    right: 5px;
    width: 12px;
    height: 12px;
    background-color: red;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.8);
    animation: pulse 1.5s infinite;
}



/* نسخة للأزرار الكبيرة */
.cta-btn.large {
    padding: 20px 40px;
    font-size: 18px;
    min-width: 200px;
}
/* main-header */


.main-header .container {
    display: flex;
    align-items: center;
    margin: 0 auto;
}


/* Navbar Styles */
.main-header {
    position: fixed;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    padding-block: 5px;
   transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.main-header.scrolled {
    background-color: var(--primary-color); /* ممكن تغيره للون اللي يناسبك */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.logo img {
    width: 80px;
    height: auto;
    transition: all .3s ease-in-out;
    filter: brightness(0) invert(1);
}
.main-header.scrolled .logo img{
    filter: brightness(0) invert(1);
}
.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: end;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin-left: 30px;
    position: relative;
}

.main-nav a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
    font-size: 18px;
}
.main-nav .active {
    color: #a4a3a3;
}

.main-nav .active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;    
    background-color: #eee;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.mobile-menu-toggle span{
    width: 100%;
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .main-header .container{
        justify-content: space-between;
    }
    .main-nav {
        position: fixed;
        top: 0px;        
        padding-top: 60px;
        width: 60%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary-color);
        transition: all 0.4s ease;
        z-index: 1000;
    }
    :dir(rtl).main-nav{
        left: -100%;
    }
    :dir(ltr).main-nav{
        right: -100%;
    }
    .main-nav a {
        color: white;
    }
    .main-nav a.active{
        color: black;
    }
    :dir(rtl).main-nav.active {
        left: 0;        
    }
    :dir(ltr).main-nav.active {
        right: 0;        
    }

    .main-nav ul {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav li {
        margin: 15px 0;
    }

    .main-nav a {
        font-size: 18px;
    }

    /* Animate toggle icon when active */
    .mobile-menu-toggle.active span{
        width: 100%;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

}
.call-btn {
  background-color: white; /* لون واتساب أخضر جذاب */
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 10px 25px;
}

.call-btn:hover {
  transform: translateY(-2px);
}

/* Desktop button يظهر فقط في الشاشات الكبيرة */
.header-call {
  margin-left: 20px;
}
.mobile-call a{
    color: var(--primary-dark);
    padding: 10px 20px;
    font-size: 14px;
}
@media (max-width: 992px) {
  .header-call {
    display: none; 
  }
  .mobile-call {
    display: block; 
    text-align: center;
    margin-top: 15px;
    color: var(--primary-color);
  }
}

/* start hero section  */
/* ===============================


/* ===============================
   HERO SECTION
   =============================== */
.hero-section {
    background: linear-gradient(135deg, var(--bg-start) 0%, var(--brand) 50%, var(--brand-2) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    display: flex;
    align-items: center;
}

/* ===============================
   DECORATIVE ELEMENTS
   =============================== */
.decoration {
    position: absolute;
    opacity: 0.55;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
}

.lightbulb {
    top: 15%;
    right: 8%;
    font-size: 60px;
    color: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

.alarm-clock {
    bottom: 35%;
    left: 5%;
    font-size: 70px;
    color: rgba(255,255,255,0.12);
}

.circle-1 {
    top: 10%;
    left: 5%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 50%;
}

.circle-2 {
    top: 15%;
    left: 25%;
    width: 300px;
    height: 300px;
    border: 3px solid rgba(44,66,133,0.18);
    border-radius: 50%;
}

.spiral {
    top: 8%;
    left: 15%;
    width: 80px;
    height: 80px;
    opacity: 0.6;
}


/* ===============================
   ANIMATIONS
   =============================== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* ===============================
   CONTENT STYLING
   =============================== */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.hero-title .highlight,
.hero-subtitle .highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

/* موجة ترويسة ملونة باستخدام لون الهوية */
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 100%;
    height: 8px;
background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10'%3E%3Cpath d='M0,5 Q50,0 100,5 T200,5' stroke='%237ed6f8' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.hero-subtitle {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 560px;
}

/* ===============================
   CTA BUTTONS — نسختان: أساسي + Accent
   =============================== */
/* زر أساسي متناسق مع اللون الرئيسي */
.cta-button {
    background: linear-gradient(135deg, #234096 0%, #4964b8 100%);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(11,22,48,0.45);
    transition: all 0.28s ease;
    margin-left: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* زر بديل بلون الهوية لإبراز CTA ثانوي/خاص*/
.cta-button.accent {
    background: linear-gradient(135deg, var(--accent) 0%, #7ed6f8 100%);
    color: var(--brand);
    box-shadow: 0 10px 30px rgba(248,126,164,0.18);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 42px rgba(11,22,48,0.55);
}

.cta-button.accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 48px rgba(248,126,164,0.28);
}

/* ===============================
   HERO IMAGE
   =============================== */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.student-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 5;
    animation: fadeInRight 900ms ease-out;
    border-radius: 12px;
}

/* ===============================
   IMAGE ANIMATION
   =============================== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.25rem; }
    .decoration { font-size: 40px !important; }
    .lightbulb, .alarm-clock { font-size: 50px !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-subtitle { font-size: 1rem; color: rgba(255,255,255,0.85); }
    .cta-button { padding: 12px 22px; font-size: 1rem; margin: 8px 0; }
    .hero-section { padding-top: 140px; }
    .decoration { display: none; }
    .circle-2 { width: 200px; height: 200px; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 1.6rem; }
    .cta-button { display: flex; width: 100%; justify-content: center; margin: 10px 0; }
}

/* ======= Why Choose Us Section ======= */
.ul-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.ul-section-spacing {
    padding: 80px 0;
    background: var(--bg-light);
}
/* Images Section */
.ul-why-choose-us-imgs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    height: 500px;
    position: relative;
}

.ul-why-choose-us-imgs .img {
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.ul-why-choose-us-imgs .img:first-child {
    width: 280px;
    height: 100%;
}

.ul-why-choose-us-imgs .img:last-child {
    width: 280px;
    height: 100%;
    margin-top: 50px;
}

.ul-why-choose-us-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;

}

.ul-why-choose-us-imgs .img .icon {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    font-size: 50px;
    bottom: 160px;
    color: white;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(112, 101, 240, 0.2);
}
:dir(rtl).ul-why-choose-us-imgs .img .icon{
    right: -65px;
}
:dir(ltr).ul-why-choose-us-imgs .img .icon{
    left: -65px;
}
/* Text Section */

.ul-section-sub-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: inline-block;
}

.ul-section-title {
    font-weight: 800;
    font-size: 42px;
    line-height: 1.2;
    color: var(--black);
    margin-bottom: 10px;
}

.ul-why-choose-us-heading-descr {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* List Items */
.ul-why-choose-us-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ul-why-choose-us-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--ul-gray);
}

.ul-why-choose-us-list-item:last-child {
    border-bottom: none;
}

.ul-why-choose-us-list-item .icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-top: 5px;
}

.ul-why-choose-us-list-item .txt {
    flex: 1;
}

.ul-why-choose-us-list-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.ul-why-choose-us-list-item-descr {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }
    
    .ul-why-choose-us-imgs {
        height: 400px;
        justify-content: center;
        margin-bottom: 40px;
    }
    
    .ul-why-choose-us-imgs .img:first-child {
        width: 220px;
    }
    
    .ul-why-choose-us-imgs .img:last-child {
        width: 45%;
        height: 100%;
        margin-top: 40px;
    }
    
    .ul-why-choose-us-imgs .img .icon {
        width: 100px;
        height: 100px;
        font-size: 40px;
        left: -50px;
        bottom: 100px;
        
    }
    
    .ul-section-title {
        font-size: 32px;
    }
    
    .ul-why-choose-us-txt {
        padding-right: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ul-section-spacing {
        padding: 60px 0;
    }
    
    .ul-why-choose-us-imgs {
        height: 350px;
        gap: 15px;
    }
    
    .ul-why-choose-us-imgs .img:first-child {
        width: 180px;
    }
    
    .ul-why-choose-us-imgs .img:last-child {
        height: 100%;
        margin-top: 30px;
    }
    
    .ul-section-title {
        font-size: 28px;
    }
}


/* ======= services Section ======= */
.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0a0e1a;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  overflow: hidden;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--primary-color); /* اللون الأساسي لموقعك */
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 18px;
  color: #555;
  max-width: 500px;
  margin: 15px auto 50px;
  line-height: 1.6;
}

.services {
  padding: 80px 0;
}

.section-title {
  color: #1b2c61;
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* Swiper Container */
.servicesSwiper {
  padding: 20px 0 60px;
  position: relative;
}

.swiper-slide {
  height: auto;
}

.service-box {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(27, 44, 97, 0.08);
  text-align: center;
  padding: 25px 15px;
  transition: all 0.3s ease;
  height: 100%;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(27, 44, 97, 0.15);
}

.icon-box {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 15px;
}

.icon-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
  aspect-ratio: 4/2;
  object-fit: contain;
}

.service-box:hover .icon-box img {
  transform: scale(1.05);
}

.service-title {
  font-size: 1.05rem;
  color: #1b2c61;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
}

/* Swiper Navigation */
.servicesSwiper .swiper-button-next,
.servicesSwiper .swiper-button-prev {
  color: #1b2c61;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(27, 44, 97, 0.15);
}

.servicesSwiper .swiper-button-next:after,
.servicesSwiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

/* Swiper Pagination */
.servicesSwiper .swiper-pagination-bullet {
  background: #1b2c61;
  opacity: 0.3;
  width: 10px;
  height: 10px;
}

.servicesSwiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: #1b2c61;
}

.destinations-section {
      padding: 80px 20px;
      position: relative;
      overflow: hidden;
          background: linear-gradient(135deg, var(--bg-start) 0%, var(--brand) 50%, var(--brand-2) 100%);

    }
    
 .destinations-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
      animation: float 20s linear infinite;
    }
    
    @keyframes float {
      0% { transform: translateY(0); }
      100% { transform: translateY(-100px); }
    }
    
    .container {
      max-width: 1400px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }
    
    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }
    
    .section-title {
      font-size: 35px;
      font-weight: 800;
      color: var(--brand);
      margin-bottom: 15px;
      text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
      animation: fadeInDown 0.8s ease-out;
    }
    
    .section-subtitle {
      font-size: 20px;
      color: #64748b;
      animation: fadeInUp 0.8s ease-out 0.2s backwards;
    }
    
    @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);
      }
    }
    
    .marquee-container {
      margin: 40px 0;
      position: relative;
    }
    
    .marquee-wrapper {
      overflow: hidden;
      position: relative;
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      border-radius: 20px;
      padding: 30px 0;
      margin-bottom: 25px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    }
    
    .marquee {
      display: flex;
      gap: 40px;
      animation: scroll 30s linear infinite;
      width: max-content;
    }
    
    .marquee-reverse {
      animation: scrollReverse 30s linear infinite;
    }
    
    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }
    
    @keyframes scrollReverse {
      0% {
        transform: translateX(-50%);
      }
      100% {
        transform: translateX(0);
      }
    }
    
    @keyframes scrollMobile {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(-50%);
      }
    }
    
    @keyframes scrollReverseMobile {
      0% {
        transform: translateX(-50%);
      }
      100% {
        transform: translateX(0);
      }
    }
    
    .flag-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      min-width: 150px;
      transition: transform 0.3s ease;
    }
    
    .flag-item:hover {
      transform: scale(1.15);
    }
    
    .flag-icon {
      width: 120px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.3);
      transition: all 0.3s ease;
      flex-shrink: 0;
    }
    
    .flag-item:hover .flag-icon {
      box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }
    
    .country-name {
      font-size: 16px;
      font-weight: 700;
      color: white;
      text-align: center;
      text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    }
    
    @media (max-width: 768px) {
      .section-title {
        font-size: 36px;
      }
      
      .flag-icon {
        width: 100px;
        height: 70px;
      }
      
      .country-name {
        font-size: 14px;
      }
      
      .flag-item {
        min-width: 120px;
        flex-shrink: 0;
      }
      
      .marquee {
        gap: 30px;
        animation: scrollMobile 20s linear infinite;
      }
      
      .marquee-reverse {
        animation: scrollReverseMobile 20s linear infinite;
      }
      
      .marquee-wrapper {
        padding: 20px 0;
      }
    }




.footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    border-top-left-radius: 35px;
    border-top-right-radius: 35px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer-brand .icon img{
    width: 150px;
    margin-bottom: 35px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

.footer-links li {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .contact-form  {
        padding: 30px 20px;
    }
    .footer-brand .icon img{
        width: 150px;
    }
    .footer::before{
        left: -400px;
    }
}.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, #3758b6 0%, #2c3e87 50%, #3758b6 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(27, 35, 100, 0.3);
    min-width: 250px;
    z-index: 1;
    opacity: 1 !important;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
    z-index: -1;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e87 0%, #3d4fb8 50%, #2c3e87 100%);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -2;
}

.cta-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(27, 35, 100, 0.4);
    letter-spacing: 2px;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover::after {
    opacity: 1;
}

.cta-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 5px 15px rgba(27, 35, 100, 0.6);
    transition: all 0.1s ease;
}

.cta-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(27, 35, 100, 0.3), 0 8px 25px rgba(27, 35, 100, 0.3);
}

/* تأثير للآيكون إذا كان موجود */
.cta-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: translateX(5px);
}

/* نسخة بديلة بلون مختلف */
.cta-btn.secondary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.cta-btn.secondary::after {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 50%, #c0392b 100%);
}

.cta-btn.secondary:hover {
    box-shadow: 0 15px 35px rgba(231, 76, 60, 0.4);
}

/* نسخة للأزرار الصغيرة */
.cta-btn.small {
    padding: 12px 24px;
    font-size: 14px;
    min-width: 120px;
}
/* الـ section الأساسي */
.steps-section {
    min-height: 100vh;
    padding: 60px 0;
    position: relative;
    background: linear-gradient(135deg, #212263, #3a3b8f);
    overflow: visible;
    width: 100%;
}

/* الجانب الأيسر - النص الثابت */
.box {
    position: sticky;
    top: 120px;
    padding: 40px;
    background: transparent;
    border-radius: 20px;
    text-align: center;
}

.box h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #3b82f6);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #3b82f6, #3b82f6);
}


.contact-section {
            max-width: 700px;
            margin: 40px auto;
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            animation: fadeIn 0.6s ease-out;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .contact-form {
            padding: 50px 40px;
        }

        .heading-area {
            text-align: center;
            margin-bottom: 40px;
            position: relative;
        }

        .heading-area::before {
            content: '';
            position: absolute;
            top: -20px;
            right: 50%;
            transform: translateX(50%);
            width: 60px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            border-radius: 2px;
        }

        .sub-title {
            font-size: 14px;
            color: var(--primary-color);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1.5px;
            margin-bottom: 10px;
            display: block;
        }

        .sec-title {
            font-size: 32px;
            font-weight: 700;
            color: var(--secondary-color);
            margin: 0;
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .name-fields {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .form-group {
            position: relative;
        }

        input, textarea, select {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
            background: var(--white);
            color: var(--text-color);
            font-family: inherit;
        }

        input:focus, textarea:focus, select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(196, 145, 75, 0.1);
            transform: translateY(-2px);
        }

        input::placeholder, textarea::placeholder {
            color: #999;
        }

        textarea {
            min-height: 120px;
            resize: vertical;
        }

        select {
            cursor: pointer;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231b2c61' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: left 20px center;
            padding-left: 45px;
        }

        select option {
            padding: 12px 20px;
            background: var(--white);
            color: var(--text-color);
            font-size: 15px;
            line-height: 1.6;
            transition: background 0.2s ease;
        }

        select option:hover {
            background: var(--light-bg);
        }

        select option:checked {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand) 100%);
            color: var(--white);
            font-weight: 600;
        }

        /* تحسين مظهر القائمة المنسدلة في المتصفحات الحديثة */
        select::-webkit-scrollbar {
            width: 10px;
        }

        select::-webkit-scrollbar-track {
            background: var(--light-bg);
            border-radius: 10px;
        }

        select::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 10px;
        }

        select::-webkit-scrollbar-thumb:hover {
            background: var(--secondary-color);
        }

        /* تنسيق حقل الجنسية */
        .iti {
            width: 100%;
            direction: ltr;
        }

        .iti__country-list {
            z-index: 9999;
            border-radius: 12px;
            box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
            border: 2px solid var(--border-color);
            direction: ltr;
            text-align: left;
            max-height: 300px;
            max-width: 250px;
        }

        .iti__country {
            padding: 10px 15px;
            font-size: 14px;
            transition: background 0.2s ease;
        }

        .iti__country:hover {
            background-color: var(--light-bg);
        }

        .iti__country.iti__highlight {
            background-color: var(--primary-color);
            color: white;
        }

        .iti__selected-country {
            border-radius: 12px 0 0 12px;
            border-left: 2px solid var(--border-color);
            padding: 15px 12px;
            background: var(--light-bg);
            transition: background 0.3s ease;
        }

        .iti__selected-country:hover {
            background-color: #e8eaed;
        }

        .iti__flag-container {
            margin-right: 10px;
        }

        .iti__arrow {
            margin-left: 8px;
            border-top-color: var(--text-color);
        }
.iti-mobile .iti__country-list{
    max-height: 300px;
    left: 50px;
}
        .iti input[type=tel] {
            border-radius: 0 12px 12px 0 !important;
            padding-right: 15px !important;
            direction: ltr;
            text-align: left;
            border: 2px solid var(--border-color);
            border-right: none !important;
        }

        .iti input[type=tel]:focus {
            border-color: var(--primary-color) !important;
            box-shadow: 0 0 0 4px rgba(196, 145, 75, 0.1);
        }

        button[type="submit"] {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--brand) 100%);
            color: var(--white);
            border: none;
            padding: 16px 40px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
            margin-top: 10px;
            box-shadow: 0 4px 15px rgba(196, 145, 75, 0.3);
        }

        button[type="submit"]:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(196, 145, 75, 0.4);
        }

        button[type="submit"]:active {
            transform: translateY(-1px);
        }

        button[type="submit"]:disabled {
            opacity: 0.7;
            cursor: not-allowed;
        }

        button[type="submit"]::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: left 0.5s;
        }

        button[type="submit"]:hover::before {
            left: 100%;
        }

        /* النوافذ المنبثقة */
        .popup {
            display: none;
            position: fixed;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(15, 28, 77, 0.85);
            z-index: 10000;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(5px);
        }

        .popup-content {
            background: var(--white);
            padding: 50px 40px;
            border-radius: 20px;
            width: 90%;
            max-width: 450px;
            text-align: center;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            transform: scale(0.8);
            animation: popupAppear 0.4s ease-out forwards;
        }

        @keyframes popupAppear {
            to {
                transform: scale(1);
            }
        }

        .popup-content i {
            font-size: 60px;
            color: #2ed573;
            margin-bottom: 20px;
        }

        .popup-content h2 {
            font-size: 28px;
            margin-bottom: 15px;
            color: var(--secondary-color);
        }

        .popup-content p {
            font-size: 16px;
            color: var(--text-color);
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .ok-btn {
            background: var(--primary-color);
            color: var(--white);
            border: none;
            padding: 14px 35px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .ok-btn:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        /* التنبيهات */
        .alert {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 10001;
            padding: 16px 25px;
            border-radius: 12px;
            font-weight: 600;
            animation: slideIn 0.4s ease-out;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 300px;
        }

        .alert-error {
            background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
            color: white;
        }

        .alert-success {
            background: linear-gradient(135deg, #2ed573 0%, #26de81 100%);
            color: white;
        }

        .alert i {
            font-size: 20px;
        }

        @keyframes slideIn {
            from { 
                transform: translateX(400px); 
                opacity: 0; 
            }
            to { 
                transform: translateX(0); 
                opacity: 1; 
            }
        }

        @keyframes slideOut {
            from { 
                transform: translateX(0); 
                opacity: 1; 
            }
            to { 
                transform: translateX(400px); 
                opacity: 0; 
            }
        }

        /* استجابة للشاشات الصغيرة */
        @media (max-width: 768px) {
            .contact-section {
                margin: 20px auto;
            }

            .contact-form {
                padding: 40px 25px;
            }

            .name-fields {
                grid-template-columns: 1fr;
            }

            .sec-title {
                font-size: 26px;
            }

            .alert {
                right: 10px;
                left: 10px;
                min-width: auto;
            }
        }

        @media (max-width: 480px) {
            .contact-form {
                padding: 30px 20px;
            }

            .sec-title {
                font-size: 24px;
            }

            button[type="submit"] {
                padding: 14px 30px;
                font-size: 16px;
            }
        }