* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Changa", sans-serif;
}

body {
  width: auto;
  height: auto;
  overflow-x: hidden;
}
h1 {
  padding: 0 60px;
}
.color-brown {
  color: #b36d47;
  font-family: "Changa", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: right;
}

.text-brown {
  font-family: "Changa", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 36px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: right;
  color: #7b3f00;
}

.transition-card {
  width: 100%;
  height: auto;
  max-width: 1282px;
  min-height: 475px;
  border-radius: 24px;
  background-color: #fdffdb !important;
  overflow: visible;
  position: relative;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.6s ease;
}

.text {
  font-family: "Changa", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 24px;

  letter-spacing: 0;
  text-align: right;
  color: #5c2000;

  max-height: 180px;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.text.expanded {
  max-height: 600px;
}

.more-text {
  display: inline;
}
.custom-btn {
  width: 275px;
  height: 58px;
  border-radius: 18px;
  padding: 10px;
  gap: 10px;
  background-color: #ebd391;
  color: #fdffdb;
  font-family: "Changa", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.image-wrapper {
  position: relative;
  overflow: visible;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-img {
  width: 100%;
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 20px;

  transition: all 0.4s ease;
}

.custom-img:hover {
  transform: translateY(-50%) scale(1.03);
}

.decor-hat {
  position: absolute;
  top: -85px;
  right: -60px;
  width: 168px;
  z-index: 5;
  transition: transform 0.3s ease;
}

.decor-hat:hover {
  transform: rotate(-5deg) scale(1.05);
}
.decor-plane {
  position: absolute;
  top: -80px;
  left: 25%;
  transform: translateX(-50%);
  width: 271px;
  z-index: 4;
  transition: transform 0.4s ease;
}

.decor-plane:hover {
  transform: translateX(-50%) translateY(-5px) rotate(3deg);
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  grid-template-rows: repeat(2, 180px);
  gap: 10px;
  width: 380px;
  border-radius: 20px;
  overflow: hidden;
}
.photo {
  position: relative;
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
}
.photo2 {
  /* cursor: default; */
  width: 100%;
  height: 530px;
  object-fit:cover;
}


.overlay{
  position: absolute;
  top: 160px;
  left: 155px;
  width: 70px;
  height: 60px;
  background-color: #ebd391;
  color: #5c2000;
  font-family: "Changa", sans-serif;
  font-weight: 700;
  font-size: 30px;
  border-radius: 12px;
  padding: 10px 20px;
  z-index: 10;
}

.heading-decor {
  font-family: "Changa", sans-serif;
  font-weight: 700;
  font-size: 36px;
  position: relative;
  display: inline-block;
}

.word-bg {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 6px;
}

.word-bg::before {
  content: "";
  position: absolute;
  inset: -5px 0;
  background-image: url("./assets/Ellipse.png");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.9;
  top: 22px;
  right: -32px;
  width: 100%;
  height: 100%;
}

.dashed {
  position: relative;
  display: inline-block;
}

.dashed::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 90px;
  width: 100px;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    #ebd391,
    #ebd391 15px,
    transparent 15px,
    transparent 25px
  );
  border-radius: 3px;
}

.line {
  text-align: center;
  margin: 20px 0;
}

.dash {
  position: relative;
  display: inline-block;
}

.dash::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 10px;
  width: 100px;
  height: 3px;
  background: repeating-linear-gradient(
    to right,
    #ebd391,
    #ebd391 15px,
    transparent 15px,
    transparent 25px
  );
  border-radius: 3px;
}

.photo-scene {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.photograf {
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

.buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.circle-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #fdffdb;
  color: #5c2000;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #5c2000;
  cursor: pointer;
}

.add-experience {
  display: flex;
  align-items: center;
  gap: 10px;
}

.add-text {
  font-family: "Changa", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #5c2000;
}

.travel-card {
  background: #5c2000;
  border-radius: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: visible;
  padding: 2rem;
  height: 515px;
}

.main-title {
  color: #ffffff;
  font-family: "Changa", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.subtitle {
  color: #fdffdb;
  font-size: 48px;
  font-weight: 700;
  font-style: bold;
}
.subtitle-bg {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 6px;
}
.subtitle-bg::before {
  content: "";
  position: absolute;
  inset: -4px 0;
  background-image: url("./assets/Ellipse1.png");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.9;
  top: 15px;
  right: -45px;
  width: 40%;
  height: 40%;
}

.divider {
  width: 4px;
  height: 187px;
  background-color: #ebd391;
  border-radius: 2px;
}

.left-text {
  color: #fdffdb;
  font-weight: 500;
  font-size: 16px;
  font-style: medium;
  line-height: 1.6;
  padding: 15px;
}

.photo-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.photo-card {
  position: relative;
  border-radius: 20px;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: brightness(80%) sepia(20%) hue-rotate(350deg) saturate(70%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.photo-card h5 {
  margin: 0;
  font-size: 18px;
  color: #5c2000;
}

.photo-card .info {
  position: absolute;
  bottom: -60px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  color: #b36d47;
  font-weight: 600;
}

.photo-card span {
  position: absolute;
  bottom: -100px;
  left: 0px;
  right: 0px;
  font-size: 14px;
  color: #5c2000;
}
.photo-card h5 {
  margin: 0;
  font-size: 18px;
  color: #5c2000;
}

.photo-card i {
  color: #5c2000;
  font-size: 20px;
}

.transfer-btn {
  width: 395px;
  height: 58px;
  border-radius: 18px;
  padding: 10px;
  gap: 10px;
  background-color: #ebd391;
  color: #5c2000;
  font-family: "Changa", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 1;
}

.info-section {
  max-width: 1100px;
  margin: 60px auto;
  text-align: center;
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.info-box:first-child .img-box {
  position: relative;
  width: 180px;
  height: 180px;
  background-color: #ebd391;
  border-radius: 25px;
  margin: 0 auto 20px;
  overflow: visible;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info-box:first-child .img-box img {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
}
.info-title {
  font-size: 48px;
  font-weight: 600;
}

.info-box:first-child .info-title {
  font-size: 1.6rem;
  color: #5c2000;
  margin-bottom: 60px;
}

.info-box {
  width: 220px;
  text-align: center;
}

.info-logo {
  width: 90px;
  height: auto;
  margin-bottom: 10px;
}

.info-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.boy-bg {
  color: #5c2000;
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 6px;
}

.boy-bg::before {
  content: "";
  position: absolute;
  inset: -5px 0;
  background-image: url("./assets/Ellipse.png");
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  z-index: -1;
  opacity: 0.9;
  top: 10px;
  right: -22px;
  width: 100%;
  height: 100%;
}
.message-section {
  position: relative;
  text-align: center;
  padding: 100px 20px 120px;
  overflow: hidden;
}

.center-text {
  font-size: 1.4rem;
  color: #b36d47;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.floating-image {
  position: absolute;
  bottom: -2807px;
  left: 8px;
  width: auto;
  height: auto;
  z-index: 12;
}

.transition-card {
  max-width: 100%;
  width: 100%;
}

.image-wrapper img,
.custom-img,
.photo-collage img,
.photo-card img {
  max-width: 100%;
  height: auto;
}
/* signup */
/* الأيقونة الجانبية - مستطيل أصغر ومثبت على الشمال */
.login-icon {
  position: fixed;
  left: 0;
  top: 200px;
  transform: translateY(-50%);
  width: 80px; /* الحجم الجديد - غيّري لو عايزة أصغر/أكبر */
  height: 50px; /* ارتفاع جديد */
  background-color: #e9d08a; /* دهبي */
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  z-index: 2000; /* مهم عشان يبقى فوق كل العناصر */
  transition: transform 0.25s ease, background-color 0.25s ease;
}

/* تمنع الصورة من اعتراض حدث الـ click حتى يلتقطه الـ div */
.login-icon img {
  width: 28px;
  height: 28px;
  pointer-events: none; /* << مهم */
  display: block;
}

/* تأثير عند hover (اختياري) */
.login-icon:hover {
  transform: translateY(-50%) translateX(4px) scale(1.03);
  background-color: #d7b760;
}

/* المودال */
.login-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(92, 32, 0, 0.5); /* خلفية شفافة */
  display: none; /* مخفي افتراضياً */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* يظهر عندما يكون نشط */
.login-modal.active {
  display: flex;
}

/* صندوق المحتوى في منتصف الشاشة */
.modal-content {
  background: #ebd391;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 480px; /* كبرنا العرض */
  height: 200px; /* يخليه ياخد الطول المناسب */
  transition: 0.3s ease;
  /* تغيير مكانه */
  position: absolute;
  top: 200px; /* المسافة من أعلى الصفحة */
  left: 100px; /* المسافة من ناحية الشمال */
  transform: none; /* علشان ما يكونش في المنتصف */
}

/* الأزرار */
.buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  justify-content: center;
  margin-top: 6px;
}
.buttons .btn {
  margin: 10px;
}

.btn-login {
  background-color: #fdffdb;
  color: #5c2000;
  border: none;
  padding: 8px 60px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-signup {
  background-color: #fdffdb;
  color: #5c2000;
  border: none;
  padding: 8px 66px;
  border-radius: 8px;
  font-weight: 600;
}
/* بوكس تسجيل الدخول المخفي */
.login-box {
  display: none;
  background: #ebd391;
  width: 340px;
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  position: absolute;
  top: 200px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* لما يظهر */
.login-box.active {
  display: block;
}

/* المدخلات */
.login-box input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin: 8px 0;
  font-size: 14px;
}

/* or مع خطوط */
.or-divider {
  display: flex;
  align-items: center;
  margin: 15px 0;
  gap: 10px;
}

.or-divider span {
  flex: 1;
  height: 1px;
  background: #5c2000;
}

.or-divider p {
  margin: 0;
  font-size: 12px;
  color: #5c2000;
}

/* ايقونات السوشيال */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  cursor: pointer;
}

/* زر الحفظ */
.save-btn {
  width: 100%;
  padding: 10px;
  background: #fdffdb;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  color: #5c2000;
  margin-bottom: 10px;
}

/* النص الترحيبي */
.welcome-text {
  font-size: 13px;
  color: #5c2000;
}



@media (max-width: 992px) {
  .floating-image {
    display: none;
  }
  .custom-img {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
    left: 0;
    box-shadow: none;
  }
  .travel-card {
    height: auto;
    padding: 1.5rem;
    text-align: center;
  }

  .right-side {
    margin-bottom: 20px;
    text-align: center;
  }

  .subtitle {
    font-size: 36px;
  }

  .divider {
    display: none;
  }

  .left-text {
    font-size: 15px;
    padding: 10px;
  }

  .photo-row {
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
  }

  .photo-card {
    width: 45%;
    margin-bottom: 80px;
  }

  .photo-card .info {
    bottom: -50px;
  }

  .photo-card span {
    bottom: -90px;
  }

  .transfer-btn {
    width: 300px;
    font-size: 18px;
  }
  .photo-card .info {
    color: #ebd391;
  }
}

@media (max-width: 768px) {
  .center-text {
    font-size: 1.1rem;
    max-width: 90%;
  }

  .floating-image {
    display: none;
  }
  .transition-card {
    height: auto;
    padding: 20px;
  }

  .decor-hat,
  .decor-plane {
    display: none;
  }

  .photo-collage {
    flex-direction: column;
    align-items: center;
  }

  .photo-collage img {
    width: 90%;
    height: auto;
  }
  .info-row {
    flex-direction: column;
    align-items: center;
  }

  .info-box {
    width: 85%;
  }

  .info-box:first-child .img-box {
    width: 160px;
    height: 160px;
  }

  .info-box:first-child .img-box img {
    width: 130px;
    top: -35px;
  }

  .info-box:first-child .info-title {
    font-size: 1.3rem;
    margin-top: 50px;
  }
  .transition-card {
    width: 100%;
    height: auto;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
  }

  .decor-hat {
    position: absolute;
    top: -70px;
    right: -20px;
    width: 100px;
  }

  .decor-plane {
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto 15px;
    display: block;
    width: 180px;
    overflow: hidden;
  }

  .custom-img {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 20px;
    left: 0;
    box-shadow: none;
  }

  .custom-img:hover {
    transform: none !important;
    transition: none !important;
  }

  .toggle-btn {
    display: block;
    margin: 15px auto;
  }

  .text {
    font-size: 14px;
    line-height: 1.6;
    max-height: 153px;
  }

  .text-brown {
    font-size: 20px;
  }

  .row.g-0.align-items-center {
    flex-direction: column;
  }
  .overlay-box {
    left: 155px;
  }
  .line img {
    width: 80%;
  }
  .word-bg::before {
    top: 3px;
  }
  .photo-card .info {
    color: #ebd391;
  }
}

.logo {
  width: auto; /* يحافظ على نسبة الصورة */
  max-height: 120px; /* حجم مناسب للعرض العادي - غيّري الرقم لو حابة أصغر */
  display: block;
  object-fit: contain;
}

/* --- تقليل ارتفاع الـ navbar --- */
.navbar {
  padding: 6px 0; /* يقلل المساحة العلوية والسفلية للـ navbar */
  min-height: 0; /* يلغي أي ارتفاع افتراضي كبير */
  display: flex;
  align-items: center;
}
/* لو البادينج الافتراضي للـ container-fluid كبير نعدّله */
.navbar .container-fluid {
  padding: 6px 60px; /* نفس مسافة الـ body من الجوانب، وقللنا العمودي */
  align-items: center;
}

.navbar-bg {
  margin: 6px auto; /* قللنا المسافة فوق وتحت */
  width: 40%;
}

.navbar-bg img {
  width: 100%;
  height: auto;
  display: block;
}

/* اللينكات */
.navbar-nav {
  display: flex;
  justify-content: center; /* يجيب اللينكات في النص */
  align-items: center;
  width: 100%;
}

.navbar-nav .nav-item {
  margin: 0 15px;
}

.navbar-nav .nav-link {
  color: #5c2030 !important;
  font-weight: 500;
  position: relative;

  padding: 4px 10px;
  transition: color 0.3s ease;
  line-height: 1;
  font-size: 18px;
}

/* يظهر الخط فقط عند الحالة active */
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 50%;
  height: 4px;
  background-color: #ebd391;
  border-radius: 1px;
  transform: translateX(-50%) scaleX(1);
  transform-origin: center;
  /* animation: underline-grow 0.4s ease forwards; */
}

/* 👇 ده السطر المهم 👇 */
.navbar-nav .nav-link.active::after {
  animation-name: underline-grow; /* تعريف الاسم */
  animation-duration: 0.4s;
  animation-timing-function: ease;
  /* animation-fill-mode: forwards; */
}

/* @keyframes underline-grow {
  from {
    transform: translateX(-50%) scaleX(0);
  }
  to {
    transform: translateX(-50%) scaleX(1);
  }
} */

/* تغيير اللون والخط وقت الـ active */
.navbar-nav .nav-link.active {
  font-weight: 700;
  color: #3e1300 !important;
}

.txt-color {
  color: #fdffdb;
}

.card-color {
  background: #b36d47;
}
.card-header {
  color: #ebd391;
  border-bottom: none !important;
  background-color: none !important;
}

.dotted-column {
  width: 4px; /* عرض العمود */
  height: 200px; /* الطول الكلي */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* تباعد متساوي بين الخطوط */
}

.dotted-column::before,
.dotted-column::after,
.dotted-column div {
  content: "";
  display: block;
  width: 100%;
  height: 10px; /* طول كل خط */
  background-color: #ebd391; /* اللون */
  border-radius: 2px;
}

.vertical-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* المسافة بين الخطوط */
}

.vertical-lines div {
  width: 4px; /* عرض كل خط */
  height: 30px; /* طول كل خط */
  background-color: #ebd391;
  border-radius: 2px; /* حواف ناعمة */
}

@media (max-width: 768px) {
  .card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .vertical-lines {
    flex-direction: row; /* تتحول لأفقية */
    width: 60%; /* عرض مناسب في الموبايل */
    height: auto; /* الطول تلقائي */
    gap: 8px;
    margin: 20px 0;
  }

  .vertical-lines div {
    flex: none;
    width: 25px;
    height: 3px;
    margin: 0;
  }
}

/* ✅ للأجهزة المتوسطة (تابلت) */
@media (min-width: 769px) and (max-width: 1024px) {
  .vertical-lines {
    height: 90%; /* تقل شوية في التابلت */
  }

  .vertical-lines div {
    margin: 4px 0;
  }
}

@media (max-width: 576px) {
  .travel-card {
    height: auto;
    padding: 1rem !important;
    text-align: center;
  }

  .subtitle {
    font-size: 28px;
    line-height: 1.3;
  }

  .left-text {
    font-size: 14px;
    padding: 0;
  }

  .photo-row {
    flex-direction: column;
    align-items: center;
  }

  .photo-card {
    position: relative;
    text-align: center;
  }

  .photo-card img {
    border-radius: 18px;
    margin-bottom: 10px;
    height: auto;
  }

  .photo-card .info h5,
  .photo-card .info i {
    position: static;
    color: #ffffff;
    font-size: 16px;
    margin-top: 10px;
  }

  .photo-card span {
    position: static;
    display: block;
    margin-top: 5px;
    color: #ebd391;
    font-size: 14px;
    line-height: 1.4;
  }

  .transfer-btn {
    margin-top: 10px !important;
    display: inline-block;
  }
}

@media (max-width: 768px) {
  .modal-content {
    position: relative;
    top: auto;
    left: auto;
    width: 90%;
    max-width: 95%;
  }
}
