/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  background-image: url("img/Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: white;
  font-family: Cairo, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Navbar */
nav.navbar {
  background-color: transparent !important;
  padding: 5px 10px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-nav {
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.nav-link {
  color: #a3b6b5 !important;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #ffffff !important;
}

/* Responsive Navbar */
@media (max-width: 1024px) {
  .navbar-collapse {
    display: flex;
    flex-wrap: nowrap; /* Prevent items from breaking into new rows */
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-collapse.show .navbar-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    z-index: 1000;
  }
}

/* Main Section */
.main-section {
  margin-top: 80px;
  padding: 0 20px;
}

@media (max-width: 1024px) {
  .main-section {
    margin-top: 60px;
    padding: 0 15px;
  }
}

/* Header */
#header {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

#header h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  color: #fefefe;
}

@media (max-width: 1024px) {
  #header h1 {
    font-size: 32px;
    line-height: 44px;
  }
}

/* Content Section */
#content-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  #content-section {
    flex-direction: column;
  }
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

.features-section .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 1024px) {
  .features-section .row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Footer */
.footer {
  background-color: transparent;
  color: #fff;
  padding: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .footer {
    padding: 24px 20px;
  }
}

/* More styles from original file */
/* Base Styles */
html {
  scroll-behavior: smooth;
}

body {
  /*  background-color: #000; */
  background-image: url("img/Background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  color: white;
  font-family: Cairo, sans-serif;
  margin: 0;
  /* padding: 0; */
  width: 100%;
  overflow-x: hidden;
}

/* Main Section */
.main-section {
  background-image: url("img/background.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  min-height: 100vh;
  padding: 0 20px;
  overflow: hidden;
  margin-top: 80px;
}

/* Navbar Styling */
nav.navbar {
  background-color: transparent !important;
  padding: 5px 10px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  margin-right: 10px;
}

.navbar-brand img {
  height: 40px;
  width: auto;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-nav {
  align-items: center;
  gap: 20px;
  margin-right: 0;
  margin-left: auto;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  color: #a3b6b5 !important;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 16px !important;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff !important;
}

/* Buttons styling */
.nav-buttons {
  order: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: auto;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #a3b6b5;
  color: #a3b6b5;
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.lang-switch i {
  font-size: 18px;
}

/* Language Selector */
.language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.language-selector:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.language-text {
  color: #fefefe;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
}

.globe-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Try Now Button */
.explore-bottom {
  /* Size and Layout */
  width: 108px;
  height: 48px;
  padding: 12px 24px;
  gap: 4px;

  /* Border and Border Radius */
  border-radius: 40px;
  border: 1.5px solid rgba(45, 212, 191, 1);

  /* Background */
  background: linear-gradient(0deg, #134e4a, #134e4a),
    radial-gradient(
      109.66% 100% at 50% 100%,
      rgba(20, 184, 166, 0.7) 0%,
      rgba(232, 236, 235, 0) 100%
    );

  /* Typography */
  color: #fefefe;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;

  /* Button Properties */
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.explore-bottom:hover {
  background: linear-gradient(0deg, #1d6b66, #1d6b66),
    radial-gradient(
      109.66% 100% at 50% 100%,
      rgba(20, 184, 166, 0.8) 0%,
      rgba(20, 184, 166, 0.1) 100%
    );
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .navbar-collapse {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .navbar-brand {
    order: 1;
    margin-right: 0;
  }

  .nav-right {
    order: 2;
    gap: 5px;
  }

  .navbar-toggler {
    order: 3;
  }

  .navbar-nav {
    display: none;
  }

  .navbar-collapse.show .navbar-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    width: 100%;
    z-index: 1000;
  }

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

  .explore-bottom {
    display: inline-block;
  }
}

/* Header Section */
#header {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

#header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
  padding: 8px;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(94, 234, 212, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.1);
  }
}

#header h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  text-align: center;
  padding: 0 20px;
  margin: 0 0 16px 0;
  color: #fefefe;
}

#header p {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
  margin: 0;
  max-width: 588px;
  margin: 0 auto;
  color: var(--Neutrals-Neutral-200, rgba(220, 231, 230, 1));
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .main-section {
    margin-top: 60px;
    padding: 0 15px;
  }

  #header {
    padding: 20px 15px;
  }

  #header h1 {
    font-size: 32px;
    line-height: 44px;
    padding: 0;
  }

  #header p {
    font-size: 16px;
    line-height: 24px;
    padding: 0 15px;
  }

  #header img {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    padding: 6px;
  }
}

/* Content Section Layout */
#content-section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  margin: 0 auto;
}

/* Process Section */
.process {
  scrollbar-width: none;
  flex: 1;
  height: auto;
  overflow-y: visible;
  padding-right: 24px;
  position: relative;
}

.process .mobile-image {
  background-color: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  );
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  /* Ensure no other borders are applied */
  border-right: none;
  border-bottom: none;
  border-left: none;
}
.process .cards-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.process .card-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  /* margin-bottom: 20px; */
  margin-left: 0;
}

.process .card {
  flex: 1;
  margin-left: 20px;
  background: transparent !important;
  border: none !important;
  cursor: pointer;
  height: 100%;
}

.process .card-body {
  /* padding: 0 !important; */
}

.process .card-title {
  color: var(--Base-White, rgba(254, 254, 254, 1));
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.process .card-text {
  color: var(--Neutrals-Neutral-400, rgba(163, 182, 181, 1));
  font-size: 20px;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .process .card-body .card-title {
    font-size: 18px;
  }
  .process .card-body .card-text {
    font-size: 14px;
  }
}
/* Mobile Image */
.mobile-image {
  display: none;
  margin-right: 10px;
}

/* Dynamic Image */
.how-it-works-image {
  width: 150px;
  height: 150px;
  border-radius: 32px;
}

.how-it-works-box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid rgba(204, 235, 235, 0.1);
  background: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  );
  border-radius: 32px;
  padding: 15px;
}

.how-it-works-box img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

/* Custom Scrollbar */
/* .process::-webkit-scrollbar {
  width: 4px;
  background: rgba(163, 182, 181, 0.1);
  border-radius: 2px;
  position: absolute;
  right: 0;
}

.process::-webkit-scrollbar-track {
  background: rgba(163, 182, 181, 0.1);
  border-radius: 2px;
}

.process::-webkit-scrollbar-thumb {
  background: #5EEAD4;
  border-radius: 2px;
  transition: height 0.3s ease;
} */

/* Scrollbar States
.process:has(#card1:hover) ::-webkit-scrollbar-thumb {
  height: 33.33%;
}

.process:has(#card2:hover) ::-webkit-scrollbar-thumb {
  height: 66.66%;
}

.process:has(#card3:hover) ::-webkit-scrollbar-thumb {
  height: 100%;
} */

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .how-it-works-image,
  .how-it-works-box {
    display: none !important; /* Hide dynamic image on mobile and medium screens */
  }

  .mobile-image {
    display: block; /* Ensure the image is visible */
    text-align: start;
    top: 0; /* Give some space from the top */
    padding: 20px;
    border-radius: 16px;

    background: linear-gradient(
      117.58deg,
      rgba(215, 237, 237, 0.16) -47.79%,
      rgba(204, 235, 235, 0) 100%
    );

    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-image img {
    width: 32px; /* Fixed size for mobile and medium screens */
    height: 32px;
  }

  .card-wrapper {
    margin-bottom: 24px; /* Space between cards */
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Align everything to the right */
  }

  .card {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align content to the right */
    text-align: right; /* Align text to the right */
    padding: 16px;
    background: transparent;
    border: none;
    position: relative;
  }

  .card-body {
    /* padding: 0 !important;  */
    width: 100%;
    margin-top: 50px;
  }
  .process .card-body {
    margin-top: 0;
  }
}

/* Large Screens */
@media (min-width: 992px) {
  .mobile-image {
    display: none; /* Hide mobile image on large screens */
    background-color: linear-gradient(
      117.58deg,
      rgba(215, 237, 237, 0.16) -47.79%,
      rgba(204, 235, 235, 0) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .how-it-works-image {
    display: block; /* Show dynamic image */
    width: 325px; /* Fixed size for large screens */
    height: 325px;
    background-color: linear-gradient(
      117.58deg,
      rgba(215, 237, 237, 0.16) -47.79%,
      rgba(204, 235, 235, 0) 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .card-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* Align items to the top */
  }

  .card {
    margin-left: 20px; /* Add left margin */
  }
}

/* .process {
  height: auto;
    overflow-y: visible;
    padding-right: 0;
  }

  .mobile-image {
    display: block;
    margin-bottom: 10px;
    align-self: flex-end;
  }

  .mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .how-it-works-image {
    display: none;
  } }*/

/* Card Styling */
.how-it-work .card {
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
  background: transparent !important;
  border: none !important;
  border-radius: 8px;
}

.how-it-work .card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  padding: 20px;
}

.how-it-work .card-icon {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.how-it-work .card-icon img {
  width: 100%;
  height: 150px;
  object-fit: contain;
}

.how-it-work .card-title {
  color: #a3b6b5;
  transition: color 0.3s ease-in-out;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  width: 100%;
  text-align: right;
}

.how-it-work .card-text {
  color: #a3b6b5;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  text-align: right;
}

.how-it-work .card:hover {
  transform: scale(1.02);
}

.how-it-work .card:hover .card-title {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .how-it-work .card {
    min-width: unset;
  }

  .process {
    max-width: 600px;
  }
}

/* ScrollSpy Active Link
.nav-link.active {
  font-weight: bold;
  color: #007bff !important;
} */

/* Button Styling */
.btn-light,
.btn-primary {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.btn-light i,
.btn-primary i {
  color: white !important;
}

/* Change placeholder text color to white */
::placeholder {
  color: white !important;
  opacity: 1;
}

.form-control {
  border: none !important;
  background: transparent !important;
  color: white !important;
  box-shadow: none !important;
}

/* Make input group rounded */
.input-group {
  background-color: rgba(13, 15, 16, 0.5);
  border: 1px solid #324341;
  border-radius: 40px;
  height: 64px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Star Icon */
.search-icon {
  display: flex;
  align-items: center;
  padding-top: 4px;
}

.search-icon img {
  width: 20px;
  height: 20px;
}

/* Input Field */
.input-group .form-control {
  border: none !important;
  background: transparent !important;
  color: #fefefe !important;
  padding: 0;
  margin: 0;
  height: 100%;
  flex: 1;
  font-size: 16px;
  box-shadow: none !important;
}

.input-group .form-control::placeholder {
  color: #a3b6b5 !important;
  opacity: 1;
}

/* Attach Button */
.input-group .btn-light {
  background: transparent !important;
  border: none !important;
  padding: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Send Button */
.input-group .btn-primary {
  background-color: rgba(254, 254, 254, 0.1) !important;
  border: none !important;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.input-group .btn-primary:hover {
  background-color: rgba(254, 254, 254, 0.1) !important;
  border: 1px solid #5bb7a9 !important;
}

/* Remove focus outlines */
.input-group .form-control:focus,
.input-group .btn:focus {
  box-shadow: none;
  outline: none;
}

/* Features Section */
.features-section {
  padding: 80px 0;
}

.features-section .container-fluid {
  /* max-width: 1240px; */
  margin: 0 auto;
}

.features-section .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  justify-content: center;
}

.features-section .col-md-6 {
  width: 100%;
}

/* Card Styling */
.features-section .card {
  width: 100%;
  height: 172px;
  transition: all 0.3s ease;
}

.features-section .card:hover {
  border-color: #5eead4 !important;
  transform: translateY(-2px);
}

.features-section .card-body {
  /* padding: 0 !important; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  ) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  padding: 40px 32px;
}

/* Card Content */
.features-section .text-content {
  /* flex: 1; */
  text-align: right;
}

.features-section .card-title {
  color: #fefefe;
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin-bottom: 8px;
}

.features-section .card-text {
  color: #a3b6b5;
  font-size: 18px;
  line-height: 24px;
  margin: 0;
}

/* Icon Styling */
.features-section .icon-box {
  width: 92px;
  height: 92px;
  display: flex;
  justify-content: center;
  /* align-items: -; */
  text-align: center;
  border-radius: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  );
  padding: 24px;
}

.features-section .icon-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(94, 234, 212, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(94, 234, 212, 0.1);
  }
}

/* Responsive Design */
@media (max-width: 1240px) {
  .features-section .row {
    grid-template-columns: repeat(2, minmax(400px, 500px));
    gap: 24px;
  }

  .features-section .card {
    width: 100%;
  }
}

@media (max-width: 992px) {
  .features-section .row {
    grid-template-columns: minmax(400px, 500px);
  }
}

@media (max-width: 768px) {
  .features-section .container-fluid {
    padding: 0 20px;
  }

  .features-section .row {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-section .card {
    height: auto;
    padding: 24px !important;
  }

  .features-section .card-body {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .features-section .text-content {
    text-align: center;
  }

  .features-section .icon-box {
    width: 64px;
    height: 64px;
    padding: 16px;
    margin-left: 16px;
  }
}

/* Section Styling */
.tafsir-section {
  padding: 80px 0;
  background-color: transparent;
  text-align: center;
}

.tafsir-section .container {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}

.tafsir-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: white;
}

.tafsir-paragraph {
  font-size: 20px;
  color: #dce7e6;
  font-weight: 400;
  line-height: 36px;
  margin-bottom: 30px;
}

.tafsir-image-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tafsir-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Tafsir Reason Section */
.tafsir-reason-section {
  padding: 60px 0;
}

.tafsir-reason-section .section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
}

.tafsir-reason-section .d-flex {
  gap: 30px;
}

.tafsir-reason-section .reason {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.tafsir-reason-section .icon-box {
  width: 92px;
  height: 92px;
  background: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  );
  border: 1px solid rgba(50, 67, 65, 1); /* Border applied */
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.tafsir-reason-section .icon-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.tafsir-reason-section .reason-text {
  color: #a3b6b5;
  font-size: 18px;
  line-height: 28px;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tafsir-reason-section .d-flex {
    flex-direction: column;
    align-items: center;
  }

  .tafsir-reason-section .reason {
    margin-bottom: 30px;
  }
}

.maqasid-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: transparent;
}

.maqasid-container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 40px;
  background-color: rgb(50, 67, 65, 0.4);
  border-radius: 24px;
  padding: 40px;
}

.maqasid-text {
  flex: 1;
  text-align: right;
  gap: 32px;
  padding: 20px;
}

.maqasid-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 48px;
  color: #fefefe;
  margin-bottom: 24px;
  text-align: right;
}

.maqasid-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #dce7e6;
  margin-bottom: 32px;
  text-align: right;
}

.maqasid-bottom {
  font-size: 16px;
  color: #5eead4;
  margin-top: 24px;
  font-weight: 700;
  line-height: 24px;
  border-radius: 24px;
  padding: 12px 24px;
  border: 1.5px solid #5eead4;
  background-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.maqasid-bottom:hover {
  background-color: #5eead4;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(94, 234, 212, 0.2);
}

.maqasid-bottom p {
  margin: 0;
}

.maqasid-image {
  flex: 1;
  text-align: left;
  width: 442px;
}

.maqasid-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

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

  .maqasid-text {
    order: 2;
  }

  .maqasid-image {
    order: 1;
  }
}

.explore-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background-color: transparent;
  background-image: url("img/Pattern.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
}

.explore-content {
  text-align: center;
  width: 605px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.explore-title {
  line-height: 57.6px;
  font-size: 36px;
  font-weight: 700;
  gap: 24;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 15px;
}

.explore-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  color: rgba(220, 231, 230, 1);
  margin-bottom: 20px;
}

.explore-bottom {
  font-size: 18px;
  font-weight: 700;
  color: #fefefe;
  background-color: #134e4a;
  border: 2px solid #2dd4bf;
  padding: 12px 12;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.explore-bottom:hover {
  background-color: #1d6b66;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 212, 191, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .explore-bottom {
    font-size: 16px;
    padding: 10px 24px;
  }
}

/* Footer Styling */
.footer {
  background-color: transparent;
  color: #fff;
  padding: 40px 40px 20px;
  text-align: center;
  position: relative;
}

/* Top border line */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background-color: rgba(163, 182, 181, 0.2); /* #A3B6B5 with opacity */
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

/* Horizontal line between sections */
hr {
  border: 2px;
  height: 1px;
  background-color: rgba(163, 182, 181, 0.2);
  margin: 0 0 24px 0;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo {
  max-height: 40px;
  margin-right: 15px;
}

.footer-left p {
  margin: 0;
  font-size: 16px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links p {
  margin: 0;
}

.footer-links a {
  color: #fefefe;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5eead4;
  text-decoration: none;
}

.footer-icons {
  display: flex;
  gap: 15px;
}

.footer-icons a img {
  width: 30px;
  height: 30px;
}

.footer-bottom {
  color: rgba(130, 152, 151, 1) !important;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding-top: 24px;
}

.footer-bottom-left p {
  margin: 0;
}

.footer-bottom-right p {
  margin: 0;
  align-items: right;
  color: rgba(130, 152, 151, 1) !important;
}

.footer-bottom a {
  color: #829897;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #5eead4;
  text-decoration: none;
}

.footer-bottom p {
  color: #fefefe;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0;
  margin: 0;
}

/* Main section styles */
.main-section {
  margin-top: 80px;
  padding: 0 15px;
}

.stars-icon {
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 64px;
  text-align: center;
  padding: 0 60px;
}

.main-description {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
}

/* Search styles */
.search-container {
  width: 100%;
  max-width: 600px;
  margin: 2rem auto;
}

.search-card {
  border-radius: 15px;
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.search-input {
  background-color: transparent;
  border-radius: 0;
}

/* Container adjustments */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Search Box Styling */
.card {
  border: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Custom search input styling */
.input-group.search-input-custom {
  background-color: rgba(13, 15, 16, 0.5) !important;
  border: 1px solid #324341 !important;
  border-radius: 40px !important;
  height: 64px !important;
  padding: 8px 20px 8px 8px !important;
}

/* Send button ball style */
.input-group.search-input-custom .btn-primary {
  background-color: #134e4a !important;
  border-radius: 50% !important;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  align-content: center;
}

/* Clean input group styling */
.input-group {
  background-color: rgba(13, 15, 16, 0.5);
  border: 1px solid #324341;
  border-radius: 40px;
  height: 64px;
  padding: 8px 20px 8px 8px;
  display: flex;
  align-items: center;
  align-content: center;
  gap: 16px;
}

/* Clean input field */
.input-group .form-control {
  border: none !important;
  background: transparent !important;
  color: #fefefe !important;
  padding: 0;
  margin: 0;
  height: 100%;
  flex: 1;
  font-size: 16px;
  box-shadow: none !important;
}

/* Clean button styling */
.input-group .btn {
  box-shadow: none !important;
  border: none !important;
}

/* General responsive adjustments */
@media (max-width: 991.98px) {
  /* Main container */
  .container-fluid {
    width: 100% !important;
    padding: 0 20px;
  }

  /* Header section */
  #header {
    padding: 40px 0;
    margin-top: 40px;
  }

  .main-title {
    font-size: 28px;
    line-height: 38px;
    padding: 0 20px;
  }

  .main-description {
    font-size: 18px;
    line-height: 28px;
    padding: 0 20px;
  }

  /* Search box */
  .input-group {
    padding: 8px 12px;
    gap: 8px;
  }

  .search-icon img {
    width: 16px;
    height: 16px;
  }

  .input-group .form-control {
    font-size: 14px;
  }

  .input-group .btn img {
    width: 40px;
    height: 40px;
  }

  .input-group .btn-primary {
    width: 40px;
    height: 40px;
  }

  /* How it works section */
  /* #content-section {
    padding: 0 20px;
  } */

  .how-it-work h1 {
    font-size: 28px;
    line-height: 38px;
  }

  .process {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
  }

  .how-it-work .card {
    min-width: unset;
    margin: 0 auto;
    position: relative;
  }

  .how-it-works-image {
    display: block !important;
    position: static;
    width: 120px;
    height: 120px;
    margin: -20px auto 40px;
    transform: none;
    left: auto;
    top: auto;
  }

  .how-it-works-box {
    width: 125px;
    height: 125px;
    padding: 10px;
  }

  .how-it-works-box img {
    width: 100px !important;
    height: 100px !important;
  }

  /* Features section */
  .features-section .card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
  }

  .features-section .text-content {
    align-items: flex-end;
  }

  .features-section .card-title {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
  }

  .features-section .card-text {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
  }

  /* Maqasid section */
  .maqasid-container {
    flex-direction: column;
    padding: 24px;
    gap: 24px;
  }

  .maqasid-text {
    padding: 0;
  }

  .maqasid-title {
    font-size: 28px;
    line-height: 38px;
  }

  .maqasid-description {
    font-size: 16px;
    line-height: 26px;
  }

  .maqasid-image {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: 24px 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  .how-it-work h1 {
    font-size: 24px !important;
  }
  #content-section {
    gap: 10px;
  }
}
/* Small screen adjustments */
@media (max-width: 480px) {
  .main-title {
    font-size: 28px;
    line-height: 38px;
  }

  .input-group {
    height: 56px;
  }

  .explore-bottom {
    width: 100%;
  }
}

/* Header Star Icon Container */
#header .star-container {
  width: 80px;
  height: 80px;
  position: relative;
  margin: 0 auto 24px;
  border-radius: 40px;
  /* transform: rotate(-180deg); */
  background: linear-gradient(
    117.58deg,
    rgba(215, 237, 237, 0.16) -47.79%,
    rgba(204, 235, 235, 0) 100%
  );
  box-shadow: 0px 8px 12px 0px rgba(255, 255, 255, 0.08) inset,
    0px 24px 24px -16px rgba(15, 26, 24, 0.12),
    16px 24px 64px -24px rgba(255, 255, 255, 0.08) inset,
    0px 0px 64px 0px rgba(20, 184, 164, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Star Image */
#header .star-container img {
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
}

/* Hide language selector on small screens */
@media (max-width: 768px) {
  .language-selector {
    display: none; /* Hide the language selector */
  }
}

/* Line Image Container */
.line-image-container {
  position: absolute; /* Position it relative to the parent */
  right: 20px; /* Adjust as needed */
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Adjust for exact centering */
  z-index: 1; /* Ensure it appears above other content */
  height: 100%; /* Match the height of the cards */
  margin-left: 10px; /* Add space between the cards and the line image */
}

/* Line Image */
.line-image {
  width: 64px; /* Set the desired width */
  height: 100%; /* Set height to 100% to match the card height */
  object-fit: contain; /* Maintain aspect ratio */
  display: none; /* Initially hide the image */
  margin-left: 10px;
}

/* Show the line image when a card is hovered */
.card-wrapper:hover + .line-image-container .line-image {
  display: block; /* Show the line image on hover */
}
