/* Enhanced CSS with animations and new sections */
:root {
  --primary-color: #511655;
  --primary-white: #caa9cc;
  --primary-dark: #2b082b;
  --primary-light: #6d3569;
  --bright-primary: #7b3081;
  --light-primary: rgba(127, 59, 132, 0.7);
  --secondary: #f9c761;
  --secondary-dark: #f5b430;
  --text-color: #2b082b;
  --light-bg: #f8f8f8;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

/* Enhanced Header */
header {
  backdrop-filter: blur(10px);
  background-color: rgba(81, 22, 85, 0.95);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(43, 8, 43, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h1 {
  color: white;
  font-size: 1.5rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 2rem;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--secondary);
}

/* Enhanced Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(81, 22, 85, 0.95), rgba(43, 8, 43, 0.9)),
    url('assets/hero-bg.png');
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.hero-text {
  text-align: left;
}

.hero-image {
  position: relative;
  animation: float 6s ease-in-out infinite;
  margin-left: 10rem;
}

.hero-image-img {
  height: 700px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}
.hero-content h1 {
  font-size: 4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, var(--secondary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--primary-white);
  max-width: 600px;
}
.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.download-btn {
  display: inline-block;
  padding: 1.2rem 2.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(249, 199, 97, 0.3);
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
}

.download-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.download-btn:hover::before {
  left: 100%;
}

.download-btn.primary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.download-btn.secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}

.download-btn:hover {
  transform: translateY(-2px);
}

/* App Stats */
.app-stats {
  display: flex;
  gap: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-item {
  text-align: center;
}

.stat-item span {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--secondary), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.features {
  padding: 5rem 2rem;
  background-color: var(--light-bg);
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Feature Cards Animation */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--primary-white);
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease-out forwards;
  transform: translateY(0);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(81, 22, 85, 0.15);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--bright-primary);
  margin-bottom: 1rem;
}

footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 2rem;
  text-align: center;
}

.social-links {
  margin-top: 1rem;
}

.social-links a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.5rem;
  transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
  display: inline-block;
}

.about {
  padding: 5rem 2rem;
  background-color: white;
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(81, 22, 85, 0.1);
}

.about h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.app-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.detail-item {
  padding: 1.5rem;
  background-color: var(--light-bg);
  border-radius: 10px;
  border: 1px solid var(--primary-white);
  transition: transform 0.3s ease;
}

.detail-item:hover {
  transform: scale(1.05);
}

.key-features ul {
  columns: 2;
  margin: 2rem 0;
  list-style-type: none;
}

.key-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.key-features li:before {
  content: '•';
  color: var(--bright-primary);
  position: absolute;
  left: 0;
}

/* New Sections */
.quran-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
}

.quran-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.quran-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(81, 22, 85, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quran-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(81, 22, 85, 0.2);
}

.card-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--bright-primary));
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: white;
}

.quran-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.quran-card ul {
  list-style: none;
  padding: 0;
}

.quran-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-color);
}

.quran-card ul li i {
  color: var(--secondary);
  margin-right: 10px;
}

@media (max-width: 768px) {
  .quran-features {
      grid-template-columns: 1fr;
  }
    
  .section-title {
      font-size: 2rem;
  }
}

.hadith-section {
padding: 5rem 2rem;
background: var(--light-bg);
}

html {
  scroll-behavior: smooth;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .key-features ul {
    columns: 1;
  }
}
