/*==================================
=            Fonts & Base          =
==================================*/

@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

body {
      font-family: "Cairo", sans-serif;
  scroll-behavior: smooth;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "slnt" 0;
}

/*==================================
=            Header                =
==================================*/

header {
  background: transparent;
  position: absolute;
  width: 100%;
  padding: 10px 60px;
  z-index: 10000000000;
}

.header-logo {
  width: 80px;
}

.header-text {
  font-size: 20px;
}

@media (max-width: 800px) {
  header {
    padding: 10px;
  }

  .header-logo {
    width: 60px;
    height: 40px;
  }

  .header-text {
    font-size: 18px;
  }
}

/*==================================
=            Hero Section          =
==================================*/



.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.hero-bg > * {
  position: relative;
  z-index: 2;
}

.hero-text {
  font-size: 36px;
  font-weight: 900; /* Corrected */
}

/*==================================
=            Dropdown Menu         =
==================================*/

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 50;
  min-width: 200px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/*==================================
=            Mobile Menu           =
==================================*/

.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
}

/*==================================
=       Header Content Styling     =
==================================*/

.header-container {
  position: relative;
  z-index: 10;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.logo-wrapper {
  position: relative;
  animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo {
  width: 200px;
  height: 170px;
  border-radius: 20%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/*==================================
=            Title Section         =
==================================*/

.title-container {
  text-align: center;
  position: relative;
}

.title-wrapper {
  display: inline-block;
  position: relative;
  padding: 0.4rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: titleFloat 4s ease-in-out infinite;
}

.title {
  font-family: "Scheherazade New", serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000000;
  background: linear-gradient(45deg, #000000, #000000, #000000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  line-height: 1.2;
}

.title:hover {
  transform: scale(1.05);
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
}

.highlight {
  color: #3b82f6;
  background: linear-gradient(45deg, #3b82f6, #1d4ed8, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
  animation: highlight 2s ease-in-out infinite alternate;
}

/*==================================
=         Responsive Tweaks        =
==================================*/

@media (max-width: 768px) {
  .title {
    font-size: 1.2rem;
  }

  .logo {
    width: 150px;
    height: 130px;
  }

  .header-container {
    padding: 2rem 1rem;
  }

  .title-wrapper {
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .title {
    font-size: 1.5rem;
  }

  .logo {
    width: 120px;
    height: 100px;
  }
}

/*==================================
=            Effects & UI          =
==================================*/

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.islamic-pattern {
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(34, 197, 94, 0.1) 0%,
    transparent 50%
  );
}

.download-button {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  transition: all 0.3s ease;
}

.download-button:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: scale(1.05);
}
