/* Navbar ans General Css */
/* Import Google Fonts for Arabic */
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

/* CSS Custom Properties (Variables) */
:root {
  /* Colors */
  --primary-gold: #F1C066;
  --primary-gold-light: #f1c066;
  --primary-gold-medium: #cb9a4e;
  --primary-gold-alt: #d4af37;
  --primary-gold-soft: #ddb05f;
  --primary-gold-rgba: rgba(170, 120, 57, 0.3);

  --background-dark: #231e21;
  --background-dark-rgba: rgba(35, 30, 33, 0.9);

  --white: #ffffff;
  --white-rgba: rgba(255, 255, 255, 0.95);
  --white-transparent: rgba(255, 255, 255, 0.1);

  --text-dark: #333333;
  --text-medium: #6c757d;
  --text-light: #999999;

  --border-light: #e0e0e0;
  --overlay-dark: rgba(0, 0, 0, 0.7);
  --overlay-medium: rgba(0, 0, 0, 0.5);

  /* Gradients */
  --gradient-gold: linear-gradient(45deg, #f1c066, #cb9a4e, #F1C066);
  --gradient-gold-reverse: linear-gradient(45deg, #F1C066, #cb9a4e, #f1c066);
  --gradient-radial: radial-gradient(circle at center, rgba(241, 192, 102, 0.25) 0%, rgba(241, 192, 102, 0.1) 40%, transparent 70%);
  --gradient-overlay: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);

  /* Typography */
  --font-family: "Almarai", sans-serif;
  --font-size-xs: 0.7rem;
  --font-size-sm: 0.85rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.2rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 2rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 4.5rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 15px;
  --radius-xl: 20px;
  --radius-2xl: 25px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.4);
  --shadow-gold: 0 4px 15px rgba(139, 69, 19, 0.3);
  --shadow-gold-hover: 0 6px 20px rgba(139, 69, 19, 0.4);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Text Shadows */
  --text-shadow-sm: 1px 1px 2px rgba(0, 0, 0, 0.5);
  --text-shadow-md: 2px 2px 4px rgba(0, 0, 0, 0.7);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a{
  text-decoration:none !important;
}
/* Smooth Scrolling */
html {
  scroll-behavior: smooth !important;
	overflow-x:hidden;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center !important;
    background-size: 16px 12px;
    padding-left: 2.25rem !important;
    padding-right: 0.75rem !important;
}

/* أو استخدم class مخصص */
.form-select-rtl {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left 0.75rem center !important;
    background-size: 16px 12px;
    padding-left: 2.25rem !important;
    padding-right: 0.75rem !important;
    direction: rtl;
}

section {
  scroll-margin-top: 100px;
}

body {
  padding-top: 90px;
  font-family: "Almarai", sans-serif;
  direction: rtl;
  text-align: right;
  overflow-x:hidden !important;
  /* background-color: #231e21 !important; */
  padding-top: 0;
  background-color: #231e21 !important;
    scroll-behavior: smooth !important;
}

.hr {
  width: 90%;
  margin:100px auto;
  background: #F1C066;
  height: 1px;
}

/* Navbar Styles */
.navbar-section {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
}

.custom-navbar {
  background: rgba(0, 0, 0, 0.5);
  /* backdrop-filter: blur(2px);     */
  border-radius: 0 0 15px 15px;
  box-shadow: 0px 1px 3px 1px #00000026, 0px 1px 2px 0px #0000004d;
  /* padding: 15px 0; */
  transition: all 0.3s ease;
}

.custom-navbar .container {
  max-width: 1200px;
}

/* Brand Container */
.navbar-brand-container {
  flex: 0 0 auto;
}

.logo-container {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.navbar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  color: #333;
}

.brand-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px !important;
}

.brand-subtitle {
  font-size: 0.85rem;
  font-weight: 400;
  color: white;
  font-style: italic;
}

/* Navigation Links */
.navbar-nav {
  gap: 20px;
}

.nav-link {
  color: white !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

/* End Logo */
.end-logo {
  flex: 0 0 auto;
}

.end-logo-img {
  width: auto;
  max-width: 150px;
  height: 50px;
  border-radius: 8px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.end-logo-img:hover {
  transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 991.98px) {
  .custom-navbar {
    padding: 10px 0;
  }

  .navbar-brand-container {
    flex: 1;
  }

  .logo-container {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .brand-subtitle {
    font-size: 0.75rem;
  }

  .navbar-collapse {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar-nav {
    gap: 5px;
    margin-bottom: 15px;
  }

  .nav-link {
    padding: 10px 15px !important;
    border-radius: 8px;
    margin: 2px 0;
  }

  .end-logo {
    text-align: center;
    padding-top: 10px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .end-logo-img {
    max-width: 120px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .custom-navbar {
    border-radius: 0 0 10px 10px;
  }

  .logo-container {
    width: 45px;
    height: 45px;
  }

  .brand-title {
    font-size: 1.1rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .end-logo-img {
    max-width: 100px;
    height: 35px;
  }
}

/* Custom Navbar Toggler */
.navbar-toggler {
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  /* background-color: rgba(46, 125, 50, 0.1); */
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  background-image: url("../img/herosection.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btn {
  background: linear-gradient(45deg, #f1c066, #cb9a4e, #F1C066);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 15px;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.hero-btn:hover {
  background: linear-gradient(45deg, #F1C066, #cb9a4e, #f1c066);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
  color: white;
}

/* Responsive Hero Section */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 12px 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 10px 25px;
  }
}

/* Booking Section Styles */
.booking-section {
  position: relative;
  min-height: 100vh;
  background-image: url("../img/board.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}



.booking-content {
  position: relative;
  z-index: 2;
  color: white;
}

.booking-title {
font-family: Almarai;
font-weight: 800;
font-style: ExtraBold;
font-size: 48px;
leading-trim: NONE;
line-height: 57px;
letter-spacing: 0%;
text-align: center;
color:#F1C066;


  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); */
}

.booking-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
  line-height: 1.6;
  max-width: 500px;
  margin: 0 auto;
}
.booking-form-container {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 450px;
  margin: 0 auto;
}

.booking-form .form-control,
.booking-form .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

/* Trip Type Cards - Smaller */
.trip-type-title{
    color:#666666 !important;
}
.trip-type-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.trip-icon {
  font-size: 1.8rem;
  color: #cb9a4e;
  margin-bottom: 8px;
}

.trip-type-card h6 {
  font-weight: 600;
  margin: 0;
  color: #333;
  font-size: 0.9rem;
}

.trip-type-card.active h6 {
  color: white;
}

/* Booking Button - Smaller */
.booking-btn {
  background: linear-gradient(45deg, #f1c066, #cb9a4e, #F1C066);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 35px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.trip-type-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.trip-type-card:hover {
  border-color: #cb9a4e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(203, 154, 78, 0.2);
  background-color: #ddb05f66;
}

.trip-type-card.active {
border: 1px solid #00000066;
  background-color: #ddb05f66;
  color: #000;
}

.trip-icon {
  font-size: 1.8rem;
  color: #cb9a4e;
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .booking-form-container {
    padding: 20px;
    margin: 15px;
  }

  .trip-type-card {
    padding: 12px 8px;
    margin-bottom: 10px;
  }

  .trip-icon {
    font-size: 1.5rem;
  }

  .booking-btn {
    font-size: 0.9rem;
    padding: 10px 25px;
  }
}

/* Phone */
/* International Telephone Input Styling */
.iti {
  width: 100%;
  direction: ltr;
}

.iti__country-list {
  direction: ltr;
  text-align: left;
}

.iti__selected-flag {
  padding: 0 8px;
}

.iti__flag-container {
  padding: 0;
}

.iti input[type="tel"] {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 10px 12px 10px 52px;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.3s ease;
}

.iti input[type="tel"]:focus {
  border-color: #cb9a4e;
  box-shadow: 0 0 0 0.2rem rgba(203, 154, 78, 0.25);
  outline: none;
}

.iti__country-list {
  max-height: 200px;
  overflow-y: auto;
}

.iti__country {
  padding: 8px 12px;
}

.iti__country:hover {
  background-color: #f8f9fa;
}

.iti__country.iti__highlight {
  background-color: #cb9a4e;
  color: white;
}

/* RTL Support for phone inputs */
.booking-form .iti {
  text-align: left;
}

/* Archive Section Styles */
.archive-section {
  /* padding: 80px 0; */
  /* background: #231e21 !important; */
}

.section-title {
  color: #F1C066 !important;
font-family: Almarai !important;
font-weight: 800 !important;
font-style: ExtraBold !important;
font-size: 55px !important;
leading-trim: NONE !important;
line-height: 57px !important;
letter-spacing: 0% !important;
text-align: center !important;


}

.section-subtitle {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Archive Carousel Styles */
.archive-carousel {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-media {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.carousel-media img,
.carousel-media video {
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.carousel-caption {
  text-align: center;
  padding: 2rem;
  color: white;
}

.carousel-caption h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.carousel-caption p {
  font-size: 1rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(212, 175, 55, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-indicators button {
  background-color: #d4af37;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
}

/* Custom Carousel Navigation */
.carousel-container {
  position: relative;
}

.archive-carousel .carousel-control-prev,
.archive-carousel .carousel-control-next {
  display: none; /* Hide default controls */
}

.custom-carousel-prev,
.custom-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;

  border: 1px white solid;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-carousel-prev {
  right: -65px;
}

.custom-carousel-next {
  left: -65px;
}

.custom-carousel-prev:hover,
.custom-carousel-next:hover {
  /* background: rgba(212, 175, 55, 1); */
  border: 1px white solid;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Trip Types with Background Image */
.trip-type-bg-item {
  position: relative;

  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trip-type-bg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.trip-bg-content {
  text-align: right;
  color: white;
}

.trip-bg-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 0;
  text-align: right !important;
  color:white !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  z-index:100;
}

.trip-bg-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;

  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.trip-bg-features {
  display: flex;

  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bg-feature-badge {
  background: rgba(212, 175, 55, 0.9);
  color: white;

  padding: 0.4rem 1rem;
  border-radius: 20px;

  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;

  gap: 0.5rem;
  align-self: flex-end;
  backdrop-filter: blur(5px);
}

.bg-feature-badge i {
  font-size: 0.8rem;
}

.trip-bg-btn {
  background: linear-gradient(45deg, #d4af37, #f1c40f);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;

  text-align: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.trip-bg-btn:hover {
  background: linear-gradient(45deg, #b8941f, #d4af37);
  color: white;
  transform: translateY(-2px);

  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-carousel-prev,
  .custom-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .custom-carousel-prev {
    right: -20px;
  }

  .custom-carousel-next {
    left: -20px;
  }

  .trip-type-bg-item {
    height: 350px;
  }

  .trip-bg-overlay {
    padding: 1.5rem;
  }

  .trip-bg-content {
    max-width: 85%;
  }

  .trip-bg-title {
    font-size: 1.5rem;
  }

  .trip-bg-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .custom-carousel-prev {
    right: -15px;
  }

  .custom-carousel-next {
    left: -15px;
  }

  .trip-type-bg-item {
    height: 300px;
  }

  .trip-bg-content {
    max-width: 90%;
  }

  .trip-bg-features {
    align-items: center;
  }

  .bg-feature-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }
}

/* Additional styles for better mobile experience */
@media (max-width: 480px) {
  .custom-carousel-prev,
  .custom-carousel-next {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .custom-carousel-prev {
    right: -10px;
  }

  .custom-carousel-next {
    left: -10px;
  }

  .trip-type-bg-item {
    height: 280px;
  }

  .trip-bg-overlay {
    padding: 1rem;
    justify-content: center;
    text-align: center;
  }

  .trip-bg-content {
    max-width: 95%;
    text-align: center;
  }

  .trip-bg-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .trip-bg-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .trip-bg-features {
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 1rem;
  }

  .bg-feature-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  .trip-bg-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Animation for carousel arrows */
@keyframes arrowPulse {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.05);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

.custom-carousel-prev:active,
.custom-carousel-next:active {
  animation: arrowPulse 0.3s ease;
}

/* Smooth transitions for background items */
.trip-type-bg-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  transition: transform 0.3s ease;
  z-index: -1;
}

.trip-type-bg-item:hover::before {
  transform: scale(1.05);
}

/* Enhanced text shadow for better readability */
.trip-bg-title,
.trip-bg-description {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Improved button styling */
.trip-bg-btn {
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trip-bg-btn:hover {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Programs Section Styles */
.programs-section {
  position: relative;*/
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* إنشاء طبقة للخلفية مع blur */
.programs-section::before {
  content: '';
  position: absolute;
  top: -20px; /* للانتشار */
  left: -20px;
  right: -20px;
  bottom: -20px;
  background-image: url("../img/grade.png");
  background-size: contain;
  background-position: top;
  background-repeat: no-repeat;
  filter: blur(350px);
  z-index: -1;
}

/* طبقة إضافية للانتشار */
.programs-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* z-index: 2; */
}

/* المحتوى فوق الخلفية */
.programs-content {
  position: relative;
  z-index: 3;
}

.programs-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0;
}

.programs-title {
 font-family: Almarai;
font-weight: 800;
font-style: ExtraBold;
font-size: 48px;
leading-trim: NONE;
line-height: 57px;
letter-spacing: 0%;
text-align: center;
color:#F1C066;
}

.programs-subtitle {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.programs-buttons {
  margin-top: 2rem;
}

.program-btn {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #f1c066;
  border-radius: 15px;
  padding: 1rem;
  width: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.program-btn:hover {
  background: #f1c066;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(241, 192, 102, 0.4);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.btn-icon {
  font-size: 2rem;
  color: #4d4d4d;
  transition: color 0.3s ease;
}

.program-btn:hover .btn-icon {
  color: white;
}

.btn-text {
  flex: 1;
  text-align: center;
}

.btn-text span {
  font-size:1rem;
  font-weight: light;
  font-size:18px;
  color: #4D4D4D;
  transition: color 0.3s ease;
}

.program-btn:hover .btn-text span {
  color: white;
}

.btn-download {
  font-size: 1.5rem;
  color: #4d4d4d;
  transition: color 0.3s ease;
}

.program-btn:hover .btn-download {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .programs-section {
    background-attachment: scroll;
  }

  .programs-title {
    font-size: 2.2rem;
  }

  .programs-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .program-btn {
    padding: 1.2rem;
    margin-bottom: 1rem;
  }

  .btn-icon {
    font-size: 1.5rem;
  }

  .btn-text span {
    font-size: 1.1rem;
  }

  .btn-download {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .programs-title {
    font-size: 1.8rem;
  }

  .programs-subtitle {
    font-size: 1rem;
  }

  .btn-content {
    gap: 0.5rem;
  }

  .btn-icon {
    font-size: 1.3rem;
  }

  .btn-text span {
    font-size: 1rem;
  }

  .btn-download {
    font-size: 1.1rem;
  }
}

/* Animation Effects */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.programs-content {
  animation: fadeInUp 1s ease-out;
}

.program-btn {
  animation: fadeInUp 1s ease-out 0.3s both;
}

.program-btn:nth-child(2) {
  animation-delay: 0.5s;
}

/* Footer Section Styles */
.footer-section {
  background-image: url("../img/footer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-radius: 40px 40px 0 0;
  padding: 4rem 0 2rem;
  /* margin-top: 2rem; */
  position: relative;
  color: white;
}

.footer-section .container {
  position: relative;
  z-index: 2;
}

/* Company Info Section */
.footer-company-info {
  padding-right: 2rem;
}

.footer-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.brand-title {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.brand-subtitle {
  color: #f1c066;
  font-size: 1rem;
}

.company-description p {
  color: white;
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
}

/* Contact Info Section */
.footer-contact-info {
  padding-left: 2rem;
}

.social-contact-section {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.social-icons-vertical {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  background: #f1c066;
  color: white;
  transform: translateX(-3px);
}

.vertical-line {
  width: 2px;
  height: 300px;
  background: white;
  opacity: 0.5;
  margin-top: 1rem;
}

.contact-title {
  color: white;
  font-size: 2.3rem;
  font-weight: bold;
  margin: 0;
  margin-top: 1rem;
}

/* Addresses Section */
.addresses-section {
  margin-top: 1rem !important;
}

.address-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-icon {
  color: white;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.address-text {
  color: white;
  line-height: 1.6;
}

.address-text strong {
  color: white;
}

/* Footer Image */
.footer-image {
  text-align: right;
  margin-top: 2rem;
  /* margin-right: 1rem; */
}

.footer-img {
  max-width: 200px;
  height: auto;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-section {
    padding: 3rem 0 2rem;
    border-radius: 30px 30px 0 0;
    background-attachment: scroll;
  }

  .footer-overlay {
    border-radius: 30px 30px 0 0;
  }

  .footer-company-info,
  .footer-contact-info {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-bottom: 2rem;
  }

  .social-contact-section {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .social-icons-vertical {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .vertical-line {
    width: 2px;
    height: 60px;
    margin-top: 0;
  }

  .contact-title {
    margin-top: 0;
  }

  .addresses-section,
  .footer-image {
    margin-right: 0;
  }

  .company-description p {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .footer-section {
    border-radius: 20px 20px 0 0;
    padding: 2rem 0 1.5rem;
  }

  .footer-overlay {
    border-radius: 20px 20px 0 0;
  }

  .footer-logo {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 1.3rem;
  }

  .brand-subtitle {
    font-size: 0.9rem;
  }

  .social-contact-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .social-icons-vertical {
    flex-direction: row;
    gap: 0.5rem;
  }

  .vertical-line {
    width: 100%;
    height: 2px;
    margin: 0.5rem 0;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .contact-title {
    font-size: 1.1rem;
  }

  .address-text {
    font-size: 0.9rem;
  }

  .footer-img {
    max-width: 150px;
  }
}




/* Media Center */
/* Media Center Section Styles */
.media-center-section {
  padding: 100px 0 80px;
  /* background: #231e21; */
  min-height: 100vh;
}

.media-center-section .section-title {
  font-size: 3rem;
  font-weight: bold;
  color: #f1c066;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.media-center-section .section-subtitle {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 3rem;
  line-height: 1.6;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.year-title {
  font-size: 2rem;
  font-weight: bold;
  color: #F1C066 !important;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 10px;
}

.year-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 3px;
  background: linear-gradient(45deg, #f1c066, #F1C066);
  border-radius: 2px;
}

/* Media Cards */
.media-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(241, 192, 102, 0.3);
}

.media-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-card:hover .card-img {
  transform: scale(1.1);
}


.media-date {
  background: rgba(241, 192, 102, 0.9);
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.media-date i {
  font-size: 0.8rem;
}

/* Play Button for Video Cards */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: rgba(241, 192, 102, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.video-card:hover .play-button {
  background: rgba(241, 192, 102, 1);
  transform: translate(-50%, -50%) scale(1.1);
}

.media-card-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.media-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.4;
}

.media-description {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.media-btn {
  background: linear-gradient(45deg, #f1c066, #F1C066);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(170, 120, 57, 0.3);
}

.media-btn:hover {
  background: linear-gradient(45deg, #F1C066, #f1c066);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(170, 120, 57, 0.5);
}

/* Responsive Design for Media Center */
@media (max-width: 768px) {
  .media-center-section {
    padding: 80px 0 60px;
  }

  .media-center-section .section-title {
    font-size: 2.2rem;
  }

  .media-center-section .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }

  .year-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }

  .year-title::after {
    width: 80px;
    height: 2px;
  }

  .media-card-image {
    height: 200px;
  }

  .media-card-content {
    padding: 20px;
  }

  .media-title {
    font-size: 1.1rem;
  }

  .media-description {
    font-size: 0.9rem;
  }

  .media-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .play-button {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .media-date {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .media-center-section .section-title {
    font-size: 1.8rem;
  }

  .media-center-section .section-subtitle {
    font-size: 1rem;
  }

  .year-title {
    font-size: 1.4rem;
    text-align: center;
  }

  .year-title::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }

  .media-card-image {
    height: 180px;
  }

  .media-card-content {
    padding: 15px;
  }

  .media-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .media-description {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }

  .media-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  .play-button {
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }

  .media-date {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .media-overlay {
    padding: 15px;
  }
}

/* Animation Effects for Media Cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-card {
  animation: fadeInUp 0.6s ease-out;
}

.media-card:nth-child(1) {
  animation-delay: 0.1s;
}

.media-card:nth-child(2) {
  animation-delay: 0.2s;
}

.media-card:nth-child(3) {
  animation-delay: 0.3s;
}

.media-card:nth-child(4) {
  animation-delay: 0.4s;
}

/* Hover Effects for Better Interaction */
.media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(241, 192, 102, 0.1), rgba(170, 120, 57, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 15px;
  z-index: 1;
}

.media-card:hover::before {
  opacity: 1;
}

.media-card-content {
  position: relative;
  z-index: 2;
}

/* Special styling for video cards */
.video-card .media-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.video-card .media-date {
  background: rgba(220, 53, 69, 0.9);
}

/* Enhanced shadow effects */
.media-card {
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.1),
    0 1px 3px rgba(0, 0, 0, 0.08);
}

.media-card:hover {
  box-shadow:
    0 20px 25px rgba(0, 0, 0, 0.15),
    0 10px 10px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(241, 192, 102, 0.1);
}
/* Smooth transitions for all interactive elements */
.media-card * {
  transition: all 0.3s ease;
}

/* Loading animation for images */
.card-img {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.card-img[src] {
  background: none;
  animation: none;
}

/* Enhanced text effects */
.media-title {
  background: linear-gradient(45deg, #2c3e50, #34495e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.media-card:hover .media-title {
  background: linear-gradient(45deg, #1a252f, #2c3e50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse effect for play button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(241, 192, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(241, 192, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(241, 192, 102, 0);
  }
}

.play-button {
  animation: pulse 2s infinite;
}

.video-card:hover .play-button {
  animation: none;
}

/* Gradient overlay for better text readability */
.media-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  pointer-events: none;
}

/* Custom scrollbar for the page */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  /* background: #231e21; */
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #f1c066, #F1C066);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #F1C066, #f1c066);
}

/* Focus states for accessibility */
.media-btn:focus,
.media-card:focus {
  outline: 2px solid #f1c066;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .media-center-section {
    background: white !important;
    color: black !important;
  }

  .media-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .media-btn {
    display: none;
  }
}


/* Media Center */



/* Media Hj */
/* إضافة هذه الأنماط في نهاية ملف main.css */

/* Hajj Gallery Section Styles */
.hajj-gallery-section {
  padding: 80px 0;
  /* background: #231e21; */
}

.hajj-gallery-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #F1C066;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hajj-gallery-section .section-subtitle {
  font-size: 1.1rem;
  color: white;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.year-title {
  font-size: 2rem;
  font-weight: bold;
  color: #f1c066;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Videos Grid Styles */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.video-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.5rem;
  text-align: center;
}

.video-info h5 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.video-info p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* Gallery Filter Buttons */
.gallery-filters {
  margin-bottom: 2rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #f1c066;
  color: white;
  padding: 0.5rem 1.5rem;
  margin: 0 0.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #f1c066;
  color: #333;
  transform: translateY(-2px);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  text-align: center;
  padding: 1.5rem;
  color: white;
}

.gallery-content h5 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.gallery-content p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.view-btn {
  background: #f1c066;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.view-btn:hover {
  background: #F1C066;
  transform: scale(1.1);
}

/* Modal Carousel Styles */
.modal-xl {
  max-width: 90%;
}

#imageModal .modal-content {
  background: #333;
  border: none;
  border-radius: 15px;
}

#imageModal .modal-header {
  border-bottom: 1px solid #555;
  background: #444;
  border-radius: 15px 15px 0 0;
}

#imageModal .modal-title {
  color: white;
  font-weight: bold;
}

#imageModal .btn-close {
  filter: invert(1);
}

.carousel-item img {
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 1rem;
  right: 10%;
  left: 10%;
}

.carousel-caption h5 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #f1c066;
}

.carousel-caption p {
  font-size: 1rem;
  color: white;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(241, 192, 102, 0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-indicators {
  margin-bottom: 1rem;
}

.carousel-indicators button {
  background-color: #f1c066;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  margin: 0 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-wrapper {
    height: 180px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .gallery-image {
    height: 200px;
  }

  .hajj-gallery-section .section-title {
    font-size: 2rem;
  }

  .year-title {
    font-size: 1.5rem;
  }

  .modal-xl {
    max-width: 95%;
  }

  .carousel-item img {
    max-height: 50vh;
  }
}

@media (max-width: 576px) {
  .videos-grid {
    gap: 1rem;
  }

  .video-wrapper {
    height: 160px;
  }

  .video-info {
    padding: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    padding: 0.4rem 1rem;
    margin: 0.2rem;
    font-size: 0.9rem;
  }

  .carousel-caption {
    right: 5%;
    left: 5%;
    padding: 0.5rem;
  }

  .carousel-caption h5 {
    font-size: 1.2rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }
}

/* Animation for gallery items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Featured Video Section Styles */
.featured-video-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

.video-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  padding: 1.5rem;
  background: white;
}

.video-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.video-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Video Playlist Styles */
.video-playlist {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-height: 600px;
  overflow-y: auto;
}

.playlist-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
  border-bottom: 2px solid #f1c066;
  padding-bottom: 0.5rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
  border: 2px solid transparent;
}

.playlist-item:hover {
  background: rgba(241, 192, 102, 0.1);
  border-color: #f1c066;
  transform: translateX(-3px);
}

.playlist-item.active {
  background: rgba(241, 192, 102, 0.2);
  border-color: #f1c066;
}

.playlist-thumbnail {
  position: relative;
  width: 80px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.playlist-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.playlist-item:hover .play-overlay {
  opacity: 1;
}

.play-overlay i {
  color: white;
  font-size: 1.2rem;
}

.playlist-info {
  flex: 1;
  min-width: 0;
}

.playlist-info h6 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.2rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-info span {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
}

/* Media Center Section Styles */
.media-center-section {
  padding: 80px 0;
  background: #231e21;
}

.media-center-section .section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #F1C066;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.media-center-section .section-subtitle {
  font-size: 1.1rem;
  color: white;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Media Cards */
.media-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.media-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.media-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-card:hover .card-img {
  transform: scale(1.1);
}

.media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
}

.media-date {
  background: rgba(241, 192, 102, 0.9);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(5px);
}

.media-date i {
  font-size: 0.8rem;
}

.media-card-content {
  padding: 1.5rem;
}

.media-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.media-description {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.media-btn {
  background: linear-gradient(45deg, #f1c066, #cb9a4e, #F1C066);
  color: white;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.media-btn:hover {
  background: linear-gradient(45deg, #F1C066, #cb9a4e, #f1c066);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

/* Scrollbar Styling for Playlist */
.video-playlist::-webkit-scrollbar {
  width: 6px;
}

.video-playlist::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.video-playlist::-webkit-scrollbar-thumb {
  background: #f1c066;
  border-radius: 10px;
}

.video-playlist::-webkit-scrollbar-thumb:hover {
  background: #F1C066;
}

/* Responsive Design for Video Section */
@media (max-width: 992px) {
  .video-container {
    height: 300px;
  }

  .video-playlist {
    margin-top: 2rem;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .video-container {
    height: 250px;
  }

  .playlist-item {
    gap: 0.8rem;
    padding: 0.6rem;
  }

  .playlist-thumbnail {
    width: 60px;
    height: 45px;
  }

  .playlist-info h6 {
    font-size: 0.8rem;
  }

  .playlist-info span {
    font-size: 0.7rem;
  }

  .media-card-content {
    padding: 1.2rem;
  }

  .media-title {
    font-size: 1.1rem;
  }

  .media-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .video-container {
    height: 200px;
  }

  .video-playlist {
    padding: 1rem;
    max-height: 300px;
  }

  .playlist-title {
    font-size: 1.1rem;
  }

  .playlist-item {
    gap: 0.6rem;
    padding: 0.5rem;
  }

  .playlist-thumbnail {
    width: 50px;
    height: 38px;
  }

  .media-card-image {
    height: 150px;
  }

  .media-card-content {
    padding: 1rem;
  }

  .media-title {
    font-size: 1rem;
  }

  .media-description {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .media-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
  }
}

/* Loading Animation */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.loading {
  animation: pulse 2s infinite;
}

/* Smooth Transitions */
* {
  transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.filter-btn:focus,
.view-btn:focus,
.media-btn:focus,
.playlist-item:focus {
  outline: 2px solid #f1c066;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .video-container,
  .video-playlist,
  .gallery-filters,
  .view-btn {
    display: none;
  }

  .media-card,
  .gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}


/* Media Hj */




.phone-input-wrapper {
    position: relative;
}

.phone-input-wrapper .country-code {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    z-index: 2;
    background: white;
    padding: 0 5px;
}

.phone-input-wrapper input {
    padding-left: 80px !important;
    direction: ltr;
    text-align: left;
}

.flag-eg {
    width: 20px;
    height: 15px;
    background: linear-gradient(to bottom, #ff0000 33%, #ffffff 33%, #ffffff 66%, #000000 66%);
    border: 1px solid #ccc;
    border-radius: 2px;
}


.phone-input-wrapper {
    position: relative;
}

.phone-input-wrapper .country-code {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    z-index: 2;
}

.phone-input-wrapper input {
    padding-left: 80px !important;
    direction: ltr;
    text-align: left;
}




/* Some Edits Hero Section*/
.trip-type-bg-item {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.trip-type-bg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Overlay مع gradient للأسفل */
.trip-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  transition: all 0.3s ease;
  z-index: 1;
}

.trip-type-bg-item:hover .trip-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.trip-bg-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 2rem;
  width: 100%;
}

.trip-bg-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align:center;
  margin: auto;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  transition: all 0.3s ease;
}

.trip-type-bg-item:hover .trip-bg-title {
  transform: translateY(-5px);
  text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
}


/* Some Edits Hero Section*/
