* {
  direction: rtl;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

:root {
    /* Colors */
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #d4af37;
    --text-light: #f8f9fa;
    --text-dark: #333;
    --accent-subtle: rgba(196, 162, 76, 0.1);
    --bg-light: #F7F7F2;
    
    /* Navy & Gold Theme */
    --navy: #0A2342;
    --gold: #C4A24C;
    --light-cream: #F7F7F2;
    --dark: #111;
    
    /* Utility */
    --border-radius: 10px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.25s ease;
}
/* Navbar Styles */
.navbar {
    background: linear-gradient(135deg, #2c1e1e 0%, #1a1414 100%);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Ensure the mobile toggler (hamburger) icon is white for contrast */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Make dropdown caret/arrow white so it shows on dark navbar */
.dropdown-toggle::after {
  border-top-color: #ffffff !important;
  border-right-color: #ffffff !important;
}

/* Mobile collapsed navbar (dropdown) styling - white card so links are readable */
@media (max-width: 991.98px) {
  .navbar {
    padding: 12px 0;
  }

  .navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 12px auto 0;
    width: calc(100% - 30px);
    max-width: 480px;
    transform-origin: top center;
    z-index: 1100;
    display: none; /* default hidden, shown when .show is present */
  }

  .navbar .navbar-collapse.show {
    display: block;
    background: #ffffff; /* different from navbar dark */
    color: var(--navy);
    padding: 12px 8px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(2,6,23,0.12);
  }

  /* Stack nav links vertically and add spacing */
  .navbar .navbar-collapse .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 6px;
  }

  .navbar .navbar-collapse .nav-link {
    color: var(--navy) !important;
    padding: 10px 14px;
    line-height: 1.6;
    display: block;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    text-align: right;
    font-weight: 600;
  }

  .navbar .navbar-collapse .nav-link:hover {
    background: rgba(196,162,76,0.06);
    color: var(--gold) !important;
  }

  /* Ensure toggler is visible on white background when menu opens */
  .navbar-toggler {
    border: 1px solid rgba(255,255,255,0.12);
  }
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold) !important;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    filter: drop-shadow(0 0 10px rgba(196, 162, 76, 0.5));
}

/* Make navbar social icons (WhatsApp / Phone) gold and keep them static */
.navbar .social-icons a,
.navbar .social-icons a i {
  color: var(--gold) !important;
}

.navbar .social-icons a:hover,
.navbar .social-icons a:focus {
  color: var(--gold) !important;
  transform: none !important;
  box-shadow: none !important;
}

.navbar-nav .nav-link {
    color: white !important;
    margin: 0 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
    transform: translateY(-2px);
}

/* Dropdown menu styles (Bootstrap .dropdown-menu / .dropdown-item) */
.dropdown-menu {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(2,6,23,0.12);
  border: 1px solid rgba(10,35,66,0.06);
  padding: 8px 6px;
}

.dropdown-item {
  color: var(--navy);
  padding: 10px 14px;
  line-height: 1.6;
  transition: background 0.18s ease, color 0.18s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(196,162,76,0.06);
  color: var(--gold);
}

/* Keep desktop layout unchanged: ensure .navbar-collapse displayed normally on wide screens */
@media (min-width: 992px) {
  .navbar .navbar-collapse { position: static; display: flex !important; width: auto; max-width: none; background: transparent; box-shadow: none; }
  .navbar .navbar-collapse .navbar-nav { flex-direction: row; gap: 0; }
}

.social-icons a {
    color: white;
    margin: 0 8px; 
    font-size: 1.2rem;
    transition: all 0.4s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--gold);
    transform: translateY(-3px) scale(1.2);
    filter: drop-shadow(0 0 8px var(--gold));
}
/* CTA Button - Global Style */
.cta-button {
    background: linear-gradient(135deg, var(--gold) 0%, #b8952d 100%);
    color: white !important;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(196, 162, 76, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button::after {
    content: '←';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(30px);
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.cta-button:hover::after {
    transform: translateY(-50%) translateX(0);
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 25px rgba(196, 162, 76, 0.5),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    padding-right: 50px;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Navbar specific CTA button */
.navbar .cta-button {
    padding: 8px 20px;
    border-radius: 5px;
    margin-right: 10px;
}

/* Hero Section */
.hero-section {
  padding: 60px 0 80px;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #ffffff; /* white background as requested */
  color: var(--navy);
}

.hero-section::before {
  /* keep shapes very subtle on white background or hide them */
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: none;
  z-index: 0;
}

@keyframes gradientMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
}

/* Hero Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold), transparent);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196, 162, 76, 0.8), transparent);
    bottom: -50px;
    left: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(196, 162, 76, 0.6), transparent);
    top: 50%;
    left: -50px;
    animation: float 12s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator i {
    font-size: 1.2rem;
    color: var(--gold);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

    .swiper {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      position: relative;
      z-index: 2;
    }

    /* Card-style slides: white cards with image fully visible */
    .swiper-slide {
      background: #ffffff;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(16,24,40,0.08);
      transition: transform 0.45s cubic-bezier(0.2,0.9,0.2,1), box-shadow 0.45s ease;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      width: 920px; /* default card width */
      max-width: 95%;
      margin: 10px auto;
    }

    .swiper-slide:not(.swiper-slide-active) {
      transform: scale(0.98);
      opacity: 0.95;
      filter: saturate(0.98);
    }

    .swiper-slide-active {
      transform: scale(1);
      box-shadow: 0 20px 50px rgba(16,24,40,0.12);
    }

    .slide-image {
      width: 100%;
      height: auto;
      max-height: 520px; /* ensure full image fits */
      object-fit: contain; /* show whole image */
      background: #f8f9fb;
      display: block;
      margin: 0 auto;
      transition: transform 0.6s ease, filter 0.6s ease;
    }

    .swiper-slide-active .slide-image {
      transform: scale(1.02);
      filter: brightness(1) contrast(1.02);
    }

    .slide-content {
      padding: 20px 28px 36px;
      text-align: center;
      position: relative;
      z-index: 3;
      background: transparent;
      opacity: 1; /* ensure text is visible */
      transform: none;
      transition: opacity 0.45s ease, transform 0.45s ease;
      color: var(--navy);
    }

    /* active state keeps a subtle entrance animation but text remains visible */
    .slide-content.active {
      opacity: 1;
      transform: translateY(0);
    }

    /* Ensure headings and paragraphs inside slides are dark and readable */
    .slide-content .hero-title,
    .slide-content .hero-subtitle,
    .slide-content h2,
    .slide-content p {
      color: var(--navy) !important;
    }

    .slide-content .cta-button {
      margin-top: 12px;
      background: linear-gradient(135deg, var(--gold) 0%, #b8952d 100%);
      color: white !important;
    }

    /* Typography on white background */
    .hero-title { color: var(--navy); text-shadow: none; }
    .hero-subtitle { color: rgba(10,35,66,0.8); }

    /* Responsive card widths */
    @media (max-width: 1200px) {
      .swiper-slide { width: 840px; }
    }

    @media (max-width: 992px) {
      .swiper-slide { width: 92%; }
      .slide-image { max-height: 420px; }
    }

    @media (max-width: 576px) {
      .swiper-slide { width: 100%; border-radius: 12px; }
      .slide-image { max-height: 320px; }
      .slide-content { padding: 16px; }
    }

        .hero-title {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: white;
            text-shadow: 
                0 2px 10px rgba(0, 0, 0, 0.3),
                0 0 30px rgba(196, 162, 76, 0.3);
            position: relative;
            display: inline-block;
        }

        .hero-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, transparent, var(--gold), transparent);
            animation: pulse-width 2s ease-in-out infinite;
        }

        @keyframes pulse-width {
            0%, 100% { width: 80px; opacity: 1; }
            50% { width: 120px; opacity: 0.7; }
        }

        .hero-subtitle {
            font-size: 1.4rem;
            color: rgba(255, 255, 255, 0.95);
            margin-bottom: 35px;
            line-height: 1.8;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
            font-weight: 300;
            letter-spacing: 0.5px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2rem;
            }
            .hero-subtitle {
                font-size: 1.1rem;
            }
            .slide-image {
                height: 250px;
            }
            .slide-content {
                padding: 30px 20px;
            }
        }

        /* Swiper Pagination Custom Style */
        .swiper-pagination-bullet {
            width: 12px;
            height: 12px;
            background: rgba(196, 162, 76, 0.5);
            opacity: 1;
            transition: all 0.3s ease;
        }

        .swiper-pagination-bullet-active {
            background: var(--gold);
            width: 35px;
            border-radius: 6px;
            box-shadow: 0 0 15px rgba(196, 162, 76, 0.6);
        }

/* Base Section Styles */
.sections-py-5 {
  padding: 80px 0;
  background-color: var(--light-cream);
  position: relative;
  overflow: hidden;
}

.section-title {
  font-family: 'Cairo', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  font-family: 'Cairo', sans-serif;
  font-size: 1.2rem;
  color: rgba(10, 35, 66, 0.8);
  max-width: 600px;
  font-weight: 400;
  line-height: 1.6;
}

.title-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 20px auto;
  border-radius: 2px;
}

/* Elegant Service Card */
.service-card-elegant {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  border: 1px solid rgba(10, 35, 66, 0.08);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.service-card-elegant.visible {
  transform: translateY(0);
  opacity: 1;
}

.service-card-elegant:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.service-card-elegant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.4s ease;
}

.service-card-elegant:hover::before {
  width: 100%;
}

.card-icon-container {
  margin-bottom: 25px;
  position: relative;
}

.card-icon-border {
  width: 80px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: var(--transition);
}

.service-card-elegant:hover .card-icon-border {
  transform: scale(1.05);
  box-shadow: 0 0 0 4px rgba(196, 162, 76, 0.1);
}

.card-icon-border i {
  font-size: 2rem;
  color: var(--gold);
}

.card-content {
  padding: 10px 0;
}

.card-title-elegant {
  font-family: 'Cairo', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 15px;
}

.card-text-elegant {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.8);
  line-height: 1.6;
  margin-bottom: 25px;
  min-height: 48px;
}

.btn-details-elegant {
  background: transparent;
  border: none;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  padding: 8px 0;
  position: relative;
  display: inline-block;
  transition: var(--transition);
}

.btn-details-elegant:hover {
  color: var(--gold);
}

.btn-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.btn-details-elegant:hover .btn-underline {
  width: 100%;
}

/* Marble Texture Overlay */
.marble-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="none"/><path d="M0,0 L200,0 L200,200 L0,200 Z" fill="url(%23marble)" opacity="0.03"/></svg>') repeat;
  pointer-events: none;
}

/* Modal Styles */
.modal-content {
  border-radius: 12px;
  overflow: hidden;
  border: none;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0;
}

.modal-title {
  color: var(--navy);
  font-weight: 700;
  font-family: 'Cairo', sans-serif;
}

.modal-desc {
  color: var(--dark);
  opacity: 0.9;
  font-family: 'Cairo', sans-serif;
  line-height: 1.7;
}

.btn-contact {
  background-color: var(--navy);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Cairo', sans-serif;
  transition: var(--transition);
}

.btn-contact:hover {
  background-color: #081a33;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .service-card-elegant {
    padding: 30px 20px;
  }
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Cards */
.card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 162, 76, 0.1), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(196, 162, 76, 0.2) !important;
}

.card:hover .bi {
    color: var(--gold) !important;
    transform: scale(1.2) rotateY(360deg);
}

.card .bi {
    transition: all 0.5s ease;
}

.card:hover h3 {
    color: var(--navy);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #151a6e;
    border-color: #151a6e;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

/* Animations */
.animate__animated {
    animation-duration: 1s;
}

/* Spacing */
.section-padding {
    padding: 80px 0;
}

.static-info- {
    background-color: var(--light-cream);
}
/* Section 4: إحصائيات */
.static-info {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.static-info::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 162, 76, 0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.stat-card {
    background: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 3px solid transparent;
    position: relative;
    overflow: hidden;
    border-radius: 15px !important;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(196, 162, 76, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(196, 162, 76, 0.2) !important;
    border-top: 3px solid var(--gold);
}

.stat-icon {
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-icon {
    transform: scale(1.3) rotateY(360deg);
}

.stat-card:hover .stat-icon i {
    color: var(--gold) !important;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 5px rgba(196, 162, 76, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(196, 162, 76, 0.6);
    }
}

.stat-number {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
    animation: countUp 0.5s ease forwards;
}

.stat-number.counting {
    animation: pulse-glow 1s ease-in-out;
}

.stat-card:hover .stat-number {
    color: var(--gold) !important;
    transform: scale(1.1);
}

.stat-description {
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.stat-card:hover .stat-description {
    color: var(--navy) !important;
    font-weight: 600;
}
/* قسم مزايا التطبيق */
.app-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.app-features::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(196, 162, 76, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.app-features::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(10, 35, 66, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 35px 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(196, 162, 76, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.feature-card:hover::before {
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translate(-100%, -100%); }
    100% { transform: rotate(45deg) translate(100%, 100%); }
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 45px rgba(196, 162, 76, 0.25);
    border: 2px solid var(--gold);
}

.feature-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-icon {
    transform: scale(1.3) rotateY(360deg);
    color: var(--navy);
}

.feature-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.feature-card:hover .feature-title {
    color: var(--gold);
    transform: scale(1.05);
}

.feature-desc {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    color: rgba(17, 17, 17, 0.8);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.app-stores {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.store-badge {
    height: 50px;
    transition: all 0.4s ease;
    filter: grayscale(0.3);
}

.store-badge:hover {
    transform: scale(1.1) translateY(-5px);
    filter: grayscale(0);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.store-link {
    display: inline-block;
}
/* قسم تواصل معنا */
.contact-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  padding: 80px 0;
  text-align: right;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 162, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 35, 66, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.contact-info-card,
.contact-form-card {
  background: white;
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before,
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  transition: left 0.5s ease;
}

.contact-info-card:hover::before,
.contact-form-card:hover::before {
  left: 0;
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(196, 162, 76, 0.15);
}

.contact-info-title,
.contact-form-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.contact-info-title::after,
.contact-form-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--gold);
}

.contact-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 15px;
  border-bottom: 1px solid rgba(10, 35, 66, 0.1);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-info-list li:hover {
  background: linear-gradient(135deg, rgba(196, 162, 76, 0.05) 0%, rgba(10, 35, 66, 0.05) 100%);
  transform: translateX(-5px);
  border-bottom-color: var(--gold);
}

.contact-info-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-right: 15px;
  margin-top: 5px;
  min-width: 40px;
  text-align: center;
}

.contact-info-text h4 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.contact-info-text p {
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  color: rgba(17, 17, 17, 0.8);
  margin: 0;
}

.contact-info-text a {
  color: rgba(17, 17, 17, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: var(--gold);
}

.social-media-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.footer-section .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(10, 35, 66, 0.1);
  color: var(--navy);
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gold);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
}

.social-icon:hover::before {
  width: 100%;
  height: 100%;
}

.social-icon:hover {
  color: white;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 5px 15px rgba(196, 162, 76, 0.4);
}

.social-icon i {
  position: relative;
  z-index: 1;
}

.contact-form .form-control,
.contact-form .form-select {
  height: 50px;
  padding: 12px 20px;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  border: 2px solid rgba(10, 35, 66, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  background: white;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 0.25rem rgba(196, 162, 76, 0.15);
  transform: translateY(-2px);
}

.contact-form .form-control:hover,
.contact-form .form-select:hover {
  border-color: var(--gold);
}

.contact-form textarea.form-control {
  height: 120px;
  padding: 15px 20px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--gold);
  color: white;
  padding: 14px 35px;
  font-family: 'Cairo', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: inline-block;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--navy);
  transition: all 0.5s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.btn-submit:hover::before {
  width: 300%;
  height: 300%;
}

.btn-submit:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(196, 162, 76, 0.4);
}

/* Footer */
.footer-section {
  background-color: var(--navy);
  color: white;
  padding: 60px 0 20px;
}

.footer-text {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.footer-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
}

.copyright-text {
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.copyright-text span {
  color: var(--gold);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-info-list li {
    margin-bottom: 20px;
  }

  .contact-info-text {
    text-align: right;
  }

  .contact-info-icon {
    margin-right: 0;
    margin-left: 15px;
  }

  .social-media-icons {
    justify-content: flex-start;
  }
}
/* Footer Styles */
.footer-section {
  background: linear-gradient(135deg, var(--navy) 0%, #051628 100%);
  color: white;
  padding: 60px 0 30px;
  direction: rtl;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(196,162,76,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,122.7C1248,107,1344,85,1392,74.7L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.3;
  pointer-events: none;
}

.footer-column {
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.footer-logo img {
  max-width: 180px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.05);
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(196, 162, 76, 0.5));
}

.footer-logo h4 {
  font-family: 'Cairo', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-top: 15px;
}

.footer-description {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 20px 0;
}

footer .social-icons {
  display: flex;
  justify-content: center;
  justify-content: flex-start;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.06);
  color: white;
  font-size: 1.15rem;
  line-height: 1;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-section .social-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(196, 162, 76, 0.4);
  opacity: 0;
  transition: box-shadow 0.5s ease, opacity 0.5s ease;
}

.footer-section .social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 18px rgba(196, 162, 76, 0.4);
}

.footer-section .social-icon:hover::after {
  box-shadow: 0 0 10px 3px rgba(196, 162, 76, 0.5);
  opacity: 1;
}

/* Make contact-us and footer icons gold and visible */
.contact-section .social-icon i,
.social-media-icons .social-icon i,
.footer-section .social-icon i {
  color: var(--gold) !important;
}

.contact-section .social-icon {
  background: rgba(196,162,76,0.06);
  border: 1px solid rgba(196,162,76,0.12);
}

.social-media-icons .social-icon {
  width: 44px;
  height: 44px;
}

.footer-section .social-icon {
  background: rgba(255,255,255,0.03);
  border: 2px solid rgba(196,162,76,0.18);
}

.footer-title {
  font-family: 'Cairo', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  padding: 5px 0;
  position: relative;
  padding-right: 20px;
}

.footer-links a::before {
  content: '';
  position: absolute;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
  bottom: 5px;
}

.footer-links a:hover::before {
  width: 15px;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(-5px);
  padding-right: 25px;
}

.footer-links a i {
  margin-left: 8px;
  font-size: 0.9rem;
}

.contact-info {
  margin-top: 15px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.contact-item i {
  color: var(--gold);
  font-size: 1.1rem;
  margin-top: 3px;
  margin-left: 10px;
  min-width: 20px;
  text-align: center;
}

.contact-item p {
  font-family: 'Cairo', sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 20px;
}

.copyright {
  font-family: 'Cairo', sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.text-gold {
  color: var(--gold);
  font-weight: 600;
}

.developer-logo {
  max-height: 30px;
  margin-top: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.developer-logo:hover {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
  .footer-column {
    text-align: center;
  }

  .footer-links a i {
    margin-right: 8px;
    margin-left: 0;
  }

  .contact-item i {
    margin-right: 10px;
    margin-left: 0;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-logo {
    text-align: center;
  }
}
.fantastic-section{
  text-align: right;
  position: relative;
  overflow: hidden;
}

.fantastic-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(196, 162, 76, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  background: transparent; /* ensure wrapper has no white background */
}

.team-image-wrapper:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.team-image-wrapper img {
  transition: transform 0.5s ease;
  display: block;
  background: transparent !important; /* no CSS white fill */
  box-shadow: none !important; /* remove any white inner shadow */
}

.team-image-wrapper:hover img {
  transform: scale(1.05);
}

.team-content {
  padding: 20px;
}

.why-choose-us {
  margin-top: 20px;
}

.why-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.why-item:hover {
  transform: translateX(-10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.why-item i {
  color: var(--gold);
  font-size: 1.3rem;
  margin-left: 15px;
  margin-top: 3px;
  transition: var(--transition);
}

.why-item:hover i {
  transform: scale(1.2) rotate(360deg);
}

.why-item p {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

footer{
  text-align: right;
}

/* Disable hover effects specifically for social/contact icons */
.social-icons a,
.social-icons a:hover,
.footer-section .social-icon,
.footer-section .social-icon:hover,
.social-media-icons .social-icon,
.social-media-icons .social-icon:hover,
.contact-section .social-icon,
.contact-section .social-icon:hover {
  color: inherit !important;
  transform: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transition: none !important;
}

/* Remove hover fill/overlay pseudo-elements for social icons */
.social-icon::before,
.social-icon::after,
.footer-section .social-icon::before,
.footer-section .social-icon::after,
.contact-section .social-icon::before,
.contact-section .social-icon::after {
  display: none !important;
}
 /* Page Loading Screen */
    .page-loader {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--navy) 0%, #051628 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 99999;
      transition: opacity 0.5s ease, visibility 0.5s ease;
    }

    .page-loader.hidden {
      opacity: 0;
      visibility: hidden;
    }

    .loader-logo {
      width: 120px;
      height: 120px;
      margin-bottom: 30px;
      animation: pulse 2s ease-in-out infinite;
      filter: drop-shadow(0 0 20px rgba(196, 162, 76, 0.5));
    }

    .loader-spinner {
      width: 60px;
      height: 60px;
      border: 4px solid rgba(196, 162, 76, 0.2);
      border-top: 4px solid var(--gold);
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .loader-text {
      color: white;
      font-size: 1.3rem;
      margin-top: 20px;
      font-family: 'Cairo', sans-serif;
      font-weight: 600;
      letter-spacing: 1px;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }