/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: #1a1a1a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Utility Classes */
.gradient-text {
  background: linear-gradient(to left, #199C71, #146689);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-text {
  color: #199C71;
}

.hidden {
  display: none;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(44, 44, 44, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(25, 156, 113, 0.2);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 60px; /* يمكنك زيادة أو تقليل الرقم حسب رغبتك */
    width: auto;  /* يحافظ على أبعاد الصورة الأصلية دون تمطيط */
    display: block;
    object-fit: contain; /* يضمن أن الصورة تظهر كاملة داخل المساحة المحددة */
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to left, #199C71, #146689);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
  .logo h1 {
    font-size: 1.875rem;
  }
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #199C71;
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-cta {
    display: block;
  }
}

.btn-signup-link {
  text-decoration: none;
  display: inline-block;
}

.btn-signup {
  padding: 0.75rem 1.5rem;
  background: #199C71;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

.btn-signup:hover {
  background: #157a58;
  box-shadow: 0 10px 25px rgba(25, 156, 113, 0.5);
  transform: scale(1.05);
}

.btn-signup.mobile {
  width: 100%;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  display: flex;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.mobile-link:hover {
  color: #199C71;
}

/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
  clear: both;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2C2C2C 50%, #1a1a1a 100%);
}

.hero-glow {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 8s ease-in-out infinite;
}

.hero-glow-1 {
  top: 0;
  right: 0;
  background: #199C71;
  opacity: 0.1;
}

.hero-glow-2 {
  bottom: 0;
  left: 0;
  background: #146689;
  opacity: 0.1;
  animation-delay: 1s;
  animation-duration: 10s;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.hero-text {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .hero-text {
    gap: 2rem;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(25, 156, 113, 0.1);
  border: 1px solid rgba(25, 156, 113, 0.3);
  border-radius: 9999px;
  width: fit-content;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.badge-icon {
  color: #199C71;
}

.hero-badge span {
  font-size: 0.875rem;
  color: #199C71;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease 0.2s both;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  animation: fadeInUp 0.8s ease 0.4s both;
}

@media (min-width: 640px) {
  .hero-subtitle {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 2.25rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  max-width: 48rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.btn-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(to left, #199C71, #146689);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
  margin: 0 auto;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  animation: fadeInUp 0.8s ease 0.8s both;
}

@media (min-width: 1024px) {
  .btn-cta {
    margin: 0;
  }
}

.btn-cta:hover {
  box-shadow: 0 20px 50px rgba(25, 156, 113, 0.5);
  transform: scale(1.05);
}

.btn-cta svg {
  transition: transform 0.3s ease;
}

.btn-cta:hover svg {
  transform: translateX(-4px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding-top: 1rem;
  animation: fadeInUp 0.8s ease 1s both;
}

@media (min-width: 1024px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

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

@media (min-width: 1024px) {
  .stat-item {
    text-align: right;
  }
}

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: #199C71;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

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

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease 0.4s both;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(25, 156, 113, 0.2);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44, 44, 44, 0.8), transparent);
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(44, 44, 44, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(25, 156, 113, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
  animation: float 3s ease-in-out infinite;
}

@media (min-width: 768px) {
  .floating-card {
    display: block;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.card-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #199C71, #146689);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  color: white;
}

.card-text {
  text-align: right;
}

.card-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.card-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #199C71;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
  background: linear-gradient(to bottom, #2C2C2C, #1a1a1a);
  overflow: hidden;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-section > .container {
  width: 100%;
}

.features-glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  filter: blur(80px);
}

.features-glow-1 {
  top: 50%;
  right: 0;
  background: rgba(25, 156, 113, 0.05);
}

.features-glow-2 {
  top: 25%;
  left: 0;
  background: rgba(20, 102, 137, 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.6s ease both;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  position: relative;
  background: linear-gradient(135deg, #2C2C2C, #1a1a1a);
  border: 1px solid rgba(25, 156, 113, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(25, 156, 113, 0.5);
}

.feature-glow {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.feature-card:hover .feature-glow {
  opacity: 1;
}

.feature-card[data-color="#199C71"] .feature-glow {
  background: radial-gradient(circle at center, rgba(25, 156, 113, 0.15), transparent 70%);
}

.feature-card[data-color="#146689"] .feature-glow {
  background: radial-gradient(circle at center, rgba(20, 102, 137, 0.15), transparent 70%);
}

.feature-content {
  position: relative;
  z-index: 10;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card[data-color="#199C71"] .feature-icon {
  background: linear-gradient(135deg, rgba(25, 156, 113, 0.2), rgba(25, 156, 113, 0.1));
}

.feature-card[data-color="#146689"] .feature-icon {
  background: linear-gradient(135deg, rgba(20, 102, 137, 0.2), rgba(20, 102, 137, 0.1));
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: right;
}

.feature-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  text-align: right;
}

.feature-corner {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 3rem;
  height: 3rem;
  opacity: 0.1;
  border-radius: 0 0 100% 0;
  transition: opacity 0.3s ease;
}

.feature-card[data-color="#199C71"] .feature-corner {
  background: linear-gradient(135deg, #199C71, transparent);
}

.feature-card[data-color="#146689"] .feature-corner {
  background: linear-gradient(135deg, #146689, transparent);
}

.feature-card:hover .feature-corner {
  opacity: 0.2;
}

.features-cta {
  text-align: center;
  margin-top: 4rem;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(25, 156, 113, 0.1);
  border: 1px solid rgba(25, 156, 113, 0.3);
  border-radius: 9999px;
}

.cta-badge span {
  color: rgba(255, 255, 255, 0.9);
}

.emoji {
  font-size: 1.5rem;
}

/* ========== QUOTE SECTION ========== */
.quote-section {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-section > .container {
  width: 100%;
}

.quote-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(25, 156, 113, 0.1), #2C2C2C, rgba(20, 102, 137, 0.1));
}

.quote-pattern {
  position: absolute;
  border: 1px solid;
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.quote-pattern-1 {
  top: 50%;
  left: 25%;
  width: 16rem;
  height: 16rem;
  border-color: rgba(25, 156, 113, 0.1);
}

.quote-pattern-2 {
  top: 33.333%;
  right: 25%;
  width: 24rem;
  height: 24rem;
  border-color: rgba(20, 102, 137, 0.1);
  animation-direction: reverse;
  animation-duration: 40s;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.quote-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.8s ease both;
}

.quote-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(25, 156, 113, 0.2), rgba(20, 102, 137, 0.2));
  border: 1px solid rgba(25, 156, 113, 0.3);
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.quote-main {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .quote-main {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .quote-main {
    font-size: 3rem;
  }
}

.quote-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.divider-line {
  height: 2px;
  width: 4rem;
}

.divider-line-right {
  background: linear-gradient(to right, transparent, #199C71);
}

.divider-line-left {
  background: linear-gradient(to left, transparent, #199C71);
}

.divider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #199C71;
}

.quote-author {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.quote-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

@media (min-width: 768px) {
  .quote-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quote-stat {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(44, 44, 44, 0.5);
  border: 1px solid rgba(25, 156, 113, 0.2);
}

.quote-stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.quote-stat-number.green {
  color: #199C71;
}

.quote-stat-number.blue {
  color: #146689;
}

.quote-stat-label {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
  border-top: 1px solid rgba(25, 156, 113, 0.2);
}

.footer-container {
  padding: 4rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-section {
  text-align: right;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to left, #199C71, #146689);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: #2C2C2C;
  border: 1px solid rgba(25, 156, 113, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(25, 156, 113, 0.2);
  border-color: rgba(25, 156, 113, 0.5);
  color: #199C71;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #199C71;
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(25, 156, 113, 0.2);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: right;
  }
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #199C71;
}

.footer-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, #199C71, #146689, #199C71);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}