/* <!-- ==================START HEADER==================== --> */
#header {
  z-index: 11;
  .header-logo {
    width: 120px;
  }
  .nav-link {
    transition: var(--transition);
    position: relative;
    font-size: 20px;
    color: var(--accent-color);
  }
  .navbar-nav {
    position: relative;
  }

  .nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -22px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
    -webkit-transition: var(--transition);
    -moz-transition: var(--transition);
    -ms-transition: var(--transition);
    -o-transition: var(--transition);
  }

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

  .nav-link:hover,
  .nav-link.active {
    color: var(--primary-color);
  }

  .navbar-toggler {
    border-color: rgba(0, 0, 0, 0) !important;
    color: rgba(0, 0, 0, 0);
  }

  #langToggle {
    color: var(--primary-color);
  }
  @media (max-width: 992px) {
    .header-logo {
      width: 110px;
    }
    .nav-link {
      display: inline-block;
    }
    .nav-link::after {
      bottom: 0;
    }
  }
}
/* <!-- ==================END HEADER==================== --> */

/* <!-- ==================START HERO SECTION==================== --> */
#home {
  position: relative;
  padding-top: 48px;
  padding-bottom: 48px;
  min-height: 100vh;
}

#home::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.21;
  z-index: -1;
}

.hero-main-title {
  font-size: 63px;
  font-weight: 700;
}
.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  line-height: 1.8;
  max-width: 650px;
}
.download-img {
  width: 180px;
}
.download-hover {
  transition: transform 0.2s, all 0.2s;
}
.download-hover:hover {
  transform: scale(1.03) translateY(-4px);
  filter: drop-shadow(0 6px 18px rgba(9, 9, 9, 0.18));
}
& .hero-img {
  width: 125%;
  /* margin-top: 0px; */
}

@media (max-width: 576px) {
  #home {
    padding-top: 110px;
  }

  .hero-content {
    padding: 20px;
    max-width: 95%;
    .hero-main-title {
      font-size: 45px;
    }
    p {
      font-size: 0.95rem;
    }
  }
  .hero-img {
    width: 100% !important;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .hero-content {
    padding: 20px;
    max-width: 90%;
  }
}
@media (min-width: 768px) and (max-width: 1400px) {
  #home {
    min-height: auto;
    padding-top: 90px;
  }
}

/* <!-- ==================END HERO SECTION==================== --> */

/* <!-- ==================START ABOUT SECTION==================== --> */
/* #about {
  position: relative;
} */

/* .about-title {
  color: #8d6a43;
  font-weight: 800;
  background: linear-gradient(90deg, #ffd277 0%, #a67c52 50%, #77530a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 0 6px rgba(255, 210, 119, 0.4);
  font-size: 40px;
} */

/* .about-description {
  color: #a67c52;
  font-size: clamp(1rem, 2.5vw, 20px);
} */

.fancy-card {
  position: relative;
  border-radius: 20px;
  padding: 30px;
  width: 228.69px;
  height: 240.81px;
  background: #3a2816;
  transform: rotate(60deg);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.625), 0 0 5px rgba(255, 210, 119, 0.827);
  transition: box-shadow 0.3s ease;
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  -o-transform: rotate(60deg);
}

.fancy-card:hover {
  box-shadow: 0 0 15px rgba(255, 210, 119, 0.782),
    0 0 40px rgba(255, 210, 119, 0.4);
}

.fancy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  margin: 0 5px;
  border-radius: 20px;
  background: conic-gradient(
    from 0deg,
    #ffd277,
    #77530a,
    #ffd277,
    #77530a,
    #ffd277
  );
  transform: rotateZ(45deg);
  /* animation: rotateBorder 3s linear infinite; */
  z-index: 0;
  filter: brightness(1.2) blur(1px); /* تضيف توهج ناعم */
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}

.fancy-card:hover::before {
  animation: rotateBorder 3s linear infinite;
  -webkit-animation: rotateBorder 3s linear infinite;
}

.fancy-card .card-body {
  position: relative;
  z-index: 1;
  color: #fff8e6;
  transform: rotate(-60deg);
  -webkit-transform: rotate(-60deg);
  -moz-transform: rotate(-60deg);
  -ms-transform: rotate(-60deg);
  -o-transform: rotate(-60deg);
  padding: 0;
}

.fancy-card .card-body i {
  color: #ffd277;
}

@keyframes rotateBorder {
  0% {
    transform: rotateZ(45deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* <!-- ==================END ABOUT SECTION==================== --> */

/* <!-- ==================START SUBSCRIBE PAGE==================== --> */

/* ===== FORM CONTAINER ===== */
#subscription {
  position: relative;
  /* padding-top: 48px;
  padding-bottom: 48px;
  min-height: 100vh; */
}

#subscription::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.21;
  z-index: -1;
}

.subscription-section {
  background-color: var(--camel-beige);
  border: 2px dashed var(--camel-soft-border);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 6px 16px rgba(166, 94, 46, 0.05);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.subscription-section h2 {
  color: var(--camel-brown);
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.subscription-section p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.subscribe-img-container{
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  overflow: hidden;
  height: 100%;
}

.subscribe-img-container img{
  height: 100%;
}

.subscription-section label {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

.subscription-section .form-control,
.subscription-section .form-select {
  border: 1px solid var(--camel-soft-border);
  border-radius: 12px !important;
  padding: 0.6rem 1rem;
  text-align: right;
  background-color: #fffefc;
  transition: 0.2s ease;
  text-indent: 15px;
}

.subscription-section .form-control:focus {
  border-color: var(--camel-orange);
  box-shadow: 0 0 0 2px rgba(225, 135, 0, 0.1);
}

.subscription-section .input-group-text {
  background-color: transparent;
  color: #e18700;
  border: none;
  font-size: 1rem;
}

.subscription-section a {
  color: var(--camel-orange);
  text-decoration: underline;
}

.form-check .form-check-input {
  float: none;
  margin-left: 0;
}

#thankYouModal .modal-content {
  animation: bounceIn 0.6s ease;
}

#thankYouModal .modal-content {
  background-color: #fffdf9;
  border: 1px solid var(--camel-soft-border);
}

#thankYouModal h5 {
  color: var(--camel-brown);
}

@keyframes bounceIn {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  60% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* استجابة للموبايل */
@media (max-width: 768px) {
  .subscription-section {
    padding: 2rem 1.2rem;
  }

  .subscription-section h2 {
    font-size: 1.7rem;
  }
}
/* <!-- ==================END SUBSCRIBE SECTION==================== --> */

/* <!-- ==================START FEATURES SECTION==================== --> */
#features {
  position: relative;
  background-image: url("./../assets/features-bg.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-attachment: fixed;
  padding-bottom: 130px;
}

#features::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #2d1f11e8;
  /* opacity: 0.27;
  z-index: -1; */
}

.features-circle-section {
  background-color: #fff9f2;
  position: relative;
}

#features .section-title {
  background: linear-gradient(90deg, #ffd277 0%, #a67c52 50%, #77530a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 6px rgba(255, 210, 119, 0.4);
}

.circle-wrapper {
  position: relative;
  width: 650px;
  height: 450px;
}

.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-block: 50px;
  width: 450px;
}

.app-image {
  filter: drop-shadow(0 0 15px rgba(166, 124, 82, 0.5))
    drop-shadow(0 0 30px rgba(255, 210, 119, 0.3));
}

/* Feature Cards */
.feature-box {
  position: absolute;
  width: 255px;
  padding: 15px 10px;
  background: rgba(255, 248, 230, 0.05);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  border: 1px solid rgba(255, 210, 119, 0.15);
  box-shadow: 0 0 10px rgba(255, 210, 119, 0.2),
    0 0 20px rgba(166, 124, 82, 0.2), inset 0 0 8px rgba(255, 210, 119, 0.05);
  transition: all 0.3s ease;
  text-align: center;
  animation: floatCard 3s ease-in-out infinite alternate;
}

.feature-box:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 15px rgba(255, 210, 119, 0.4),
    0 0 30px rgba(166, 124, 82, 0.3), inset 0 0 10px rgba(255, 210, 119, 0.08);
}

@keyframes floatCard {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-6px);
  }
}

.icon {
  font-size: 2rem;
  color: #ffd277;
  margin-bottom: 10px;
  text-shadow: 0 0 4px rgba(255, 210, 119, 0.5);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff8e6;
  background: linear-gradient(90deg, #ffd277, #a67c52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-line {
  height: 3px;
  width: 40px;
  margin: 0 auto 10px auto;
  background: linear-gradient(to left, #a67c52, #ffce8a);
  border-radius: 5px;
}

.feature-desc {
  font-size: 0.85rem;
  color: #eee8dc;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Positions */
.top-right {
  top: 5%;
  right: -45%;
}

.bottom-left {
  bottom: 5%;
  left: -35%;
}

.top-left {
  top: 10%;
  left: -45%;
}

.bottom-right {
  bottom: 10%;
  right: -35%;
}

/* Responsive */
@media (max-width: 576px) {
  #features {
    padding-bottom: 0;
  }
  .circle-wrapper {
    width: 100%;
    height: auto;
    padding: 60px 0;
  }

  .feature-box {
    position: static;
    display: inline-block;
    margin: 1rem 0.5rem;
    width: 100%;
    margin-inline: auto;
    margin-bottom: 15px;

    /* max-width: 220px; */
  }

  .features-circle-section .center-circle {
    position: relative;
    top: -24px;
    left: 0;
    transform: none;
    margin: auto;
    width: 270px;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
  }

  .icon {
    font-size: 1.6rem;
  }
}

@media (min-width: 577px) and (max-width: 992px) {
  .feature-box {
    width: 195px;
  }
  .top-right {
    /* top: 5%; */
    right: -5%;
  }

  .bottom-left {
    /* bottom: 5%; */
    left: -5%;
  }

  .top-left {
    /* top:-5%; */
    left: -5%;
  }

  .bottom-right {
    /* bottom:-5%; */
    right: -5%;
  }
}

/* <!-- ==================END FEATURES SECTION==================== --> */

/* <!-- ==================START SERVICES==================== --> */
.services-contact-wrapper {
  position: relative;
}
.services-contact-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("./../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.21;
  z-index: -1;
}
#services .section-title {
  color: #a67c52;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 50px;
  text-align: center;
}

.main-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  padding-top: 30px;
}

.timeline {
  position: relative;
  margin: 20px 15px;
  text-align: center;
  z-index: 1;
}

.timeline-icon {
  background: linear-gradient(135deg, #ffd277, #a67c52);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  line-height: 60px;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(166, 124, 82, 0.2);
}

.timeline .border {
  height: 40px;
  width: 2px;
  background-color: #a67c52;
  margin: 0 auto;
}
.timeline-body {
  background: #ffffff;
  border: 2px solid #ffe0b3;
  border-radius: 10px;
  padding: 20px 15px;
  transition: 0.3s ease;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  margin-block: 30px;
  min-height: 160px;
  width: 170px;
  height: 170px;
  display: flex;
  align-items: center;
  transform: rotateZ(45deg);
}

.timeline-body:hover {
  background: #fff3e0;
  /* transform: translateY(-5px); */
}

.timeline-content {
  transform: rotateZ(-45deg);
}

.timeline-content h4.title {
  color: #a67c52;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.timeline-content .description {
  color: #5a4634;
  font-size: 14px;
  line-height: 1.6;
}

/* Animation */
.timeline-icon i {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .main-timeline {
    flex-direction: column;
    align-items: center;
  }
}

/* <!-- ==================END SERVICES==================== --> */

/* <!-- ==================START CONTACT==================== --> */
#contact .subscription-section {
  /* width: 60%;
  margin: auto; */
  background-color: #fff;
}

/* <!-- ==================END CONTACT==================== --> */

/* <!-- ==================START FOOTER==================== --> */
#footer {
  background: #3a2816;
  color: #fff9f1;
  padding: 0;
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

.footer-logo {
  color: #fff9f1;
}

.footer-logo-img {
  width: 140px;
}

.footer-text {
  color: #fff9f1;
  opacity: 0.85;
}

.footer-links .footer-link {
  color: #fff9f1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links .footer-link:hover {
  color: #ffd9b3;
}

.footer-social a {
  color: #fff9f1;
  margin: 0 0.25rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #ffd9b3;
}

.footer-contact {
  color: #fff9f1;
  opacity: 0.7;
}

.footer-divider {
  border-color: rgba(255, 249, 241, 0.15);
  margin: 2rem 0;
}

.footer-copy {
  color: #fff9f1;
  opacity: 0.7;
}

/* <!-- ==================END FOOTER==================== --> */
