/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */

.header {
  background-color: #ffffff;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #caf716;
  flex-shrink: 0;
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #333333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #a9cc1d;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 0.4rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  padding: 4rem 2rem;
  background-color: #ffffff;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  flex: 1 1 500px;
  min-width: 300px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-content h1 {
  font-size: 2.8rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  font-weight: 700;
}

.hero-content p {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  flex: 1 1 400px;
  min-width: 250px;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 20px;
  padding: 2rem 0;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: #caf716;
  color: #000000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(202, 247, 22, 0.4);
}

.cta-button:hover {
  background-color: #7d9a08;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(202, 247, 22, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-right: 4px solid #caf716;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #caf716;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #1f2937;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.feature-card p {
  color: #666666;
  line-height: 1.7;
}

/* ========================================
   SUBSCRIBER RESULTS SECTION
   ======================================== */

.subscribers-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 1.1rem;
  color: #7f8c8d;
  font-weight: 300;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding: 20px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: white;
}

.image-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.image-card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  direction: rtl;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 50px;
  letter-spacing: -0.5px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

details {
  cursor: pointer;
}

summary {
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  user-select: none;
  transition: background-color 0.3s ease;
  direction: ltr;
}

summary:hover {
  background-color: #f9f9f9;
}

summary::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #caf716;
  border-radius: 50%;
  margin-left: 12px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

details[open] summary::before {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px 24px;
  color: #555;
  line-height: 1.8;
  font-size: 1rem;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: white;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-section h2 {
  font-size: 2.2rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.cta-section p {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button-white {
  display: inline-block;
  background-color: #caf716;
  color: #000000;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button-white:hover {
  background-color: #7d9a08;
  color: #f2f3ef;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: #212223;
  color: #d1d5db;
  padding: 3rem 3.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #caf716;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.about-text {
  color: #9ca3af;
  line-height: 1.8;
  font-size: 0.95rem;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.links-list a,
.links-list p {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.links-list a:hover {
  color: #caf716;
  padding-right: 0.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid white;
  background-color: #212223;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item a {
  color: #d1d5db;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: #caf716;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 2px solid #444546;
  padding-top: 1.5rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   RESPONSIVE DESIGN - TABLET (768px)
   ======================================== */

@media (max-width: 768px) {
  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background-color: #ffffff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    max-height: 300px;
  }

  .nav-links li {
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
  }

  /* Hero Section */
  .hero {
    padding: 3rem 2rem;
  }

  .hero-container {
    flex-direction: column-reverse;
    gap: 1.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-image img {
    max-width: 100%;
    padding: 1rem 0;
  }

  /* Features */
  .features h2 {
    font-size: 1.8rem;
  }

  /* Subscribers Section */
  .images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
  }

  .image-card img {
    height: 220px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h1 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* FAQ */
  .faq-container {
    padding: 3rem 2rem;
  }

  .faq-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  summary {
    padding: 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 18px 18px;
    font-size: 0.95rem;
  }

  summary::before {
    width: 20px;
    height: 20px;
    margin-left: 8px;
  }

  /* CTA Section */
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-button-white {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer {
    padding: 40px 20px;
  }

  .footer-section h3 {
    font-size: 18px;
  }
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE (480px)
   ======================================== */

@media (max-width: 480px) {
  /* Header */
  .header {
    padding: 1rem 1.5rem;
  }

  .logo {
    font-size: 1.5rem;
  }

  /* Hero Section */
  .hero {
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .hero-image img {
    padding: 0.5rem 0;
  }

  /* Features */
  .features {
    padding: 2rem 1rem;
  }

  .features h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  /* Subscribers Section */
  .subscribers-section {
    padding: 2rem 1rem;
  }

  .images-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }

  .image-card img {
    height: 280px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-header h1 {
    font-size: 1.5rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  /* FAQ */
  .faq-container {
    padding: 2rem 1rem;
  }

  .faq-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .faq-list {
    gap: 12px;
  }

  summary {
    padding: 16px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 16px 16px 16px;
    font-size: 0.9rem;
  }

  /* CTA Section */
  .cta-section {
    padding: 2rem 1rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  .cta-button-white {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 30px 15px;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .contact-item,
  .about-text {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .footer-bottom p {
    margin: 0.3rem 0;
  }
}

/* ========================================
   RESPONSIVE DESIGN - EXTRA SMALL (400px)
   ======================================== */

@media (max-width: 400px) {
  .section-header h1 {
    font-size: 1.3rem;
  }

  .image-card img {
    height: 240px;
  }

  .images-grid {
    gap: 15px;
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 1.4rem;
  }
}
