/* ========== ROOT & RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #146689;
  --secondary-green: #199C71;
  --bg-dark: #0d1117;
  --bg-darker: #010409;
  --bg-card: #161b22;
  --text-white: #ffffff;
  --text-gray: rgba(255, 255, 255, 0.7);
}

html {
  scroll-behavior: smooth;
  direction: rtl;
  lang: ar;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 102, 137, 0.2);
  transition: all 0.4s ease;
}
.brand-logo {
    height: 60px; /* يمكنك زيادة أو تقليل الرقم حسب رغبتك */
    width: auto;  /* يحافظ على أبعاد الصورة الأصلية دون تمطيط */
    display: block;
    object-fit: contain; /* يضمن أن الصورة تظهر كاملة داخل المساحة المحددة */
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(to left, var(--primary-blue), var(--secondary-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  transition: transform 0.3s ease;
}

.logo h1:hover {
  transform: scale(1.05);
}

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

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to left, var(--primary-blue), var(--secondary-green));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-cta {
  display: none;
}

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

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

.btn-signup {
  padding: 0.75rem 1.5rem;
  background: var(--secondary-green);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Cairo', 'Tajawal', sans-serif;
  position: relative;
  overflow: hidden;
}

.btn-signup::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-signup:hover::before {
  width: 300px;
  height: 300px;
}

.btn-signup:hover {
  box-shadow: 0 10px 30px rgba(25, 156, 113, 0.5);
  transform: translateY(-2px);
}

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

.mobile-menu-btn:hover {
  transform: rotate(90deg);
}

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

.menu-icon,
.close-icon {
  display: block;
}

.hidden {
  display: none !important;
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
}

.mobile-menu.active {
  max-height: 400px;
  padding: 1rem;
}

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

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

.mobile-link:hover {
  color: var(--primary-blue);
  padding-right: 0.5rem;
}

.btn-signup.mobile {
  width: 100%;
  margin-top: 1rem;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-dark), var(--bg-card), var(--bg-dark));
}

/* Camera Lens Rings Animation */
.lens-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  pointer-events: none;
  z-index: 1;
}

.lens-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(20, 102, 137, 0.1);
  border-radius: 50%;
  animation: lensExpand 4s ease-in-out infinite;
}

.lens-ring:nth-child(1) {
  width: 100px;
  height: 100px;
  animation-delay: 0s;
}

.lens-ring:nth-child(2) {
  width: 200px;
  height: 200px;
  animation-delay: 1.3s;
}

.lens-ring:nth-child(3) {
  width: 300px;
  height: 300px;
  animation-delay: 2.6s;
}

@keyframes lensExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Floating Particles Animation */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-blue);
  border-radius: 50%;
  opacity: 0.3;
  animation: floatParticle 15s infinite ease-in-out;
}

.particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 15s;
  background: var(--secondary-green);
}

.particle:nth-child(3) {
  top: 40%;
  left: 30%;
  animation-delay: 4s;
  animation-duration: 18s;
}

.particle:nth-child(4) {
  top: 80%;
  left: 60%;
  animation-delay: 1s;
  animation-duration: 14s;
  background: var(--secondary-green);
}

.particle:nth-child(5) {
  top: 10%;
  left: 70%;
  animation-delay: 3s;
  animation-duration: 16s;
}

@keyframes floatParticle {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: translate(-15px, 20px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(30px, 15px) scale(1.1);
    opacity: 0.6;
  }
}

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

.hero-glow-1 {
  top: 0;
  right: 0;
  background: var(--primary-blue);
  opacity: 0.15;
  animation-delay: 0s;
}

.hero-glow-2 {
  bottom: 0;
  left: 0;
  background: var(--secondary-green);
  opacity: 0.1;
  animation-delay: 1s;
}

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

.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: 1fr 1fr;
  }
}

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

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

/* ========== HERO BADGE ========== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(20, 102, 137, 0.15);
  border: 1px solid rgba(20, 102, 137, 0.3);
  border-radius: 9999px;
  width: fit-content;
  animation: fadeInUp 0.6s ease 0.3s both, badgePulse 3s ease-in-out 2s infinite;
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(20, 102, 137, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(20, 102, 137, 0);
  }
}

.badge-icon {
  color: var(--primary-blue);
  width: 16px;
  height: 16px;
  animation: cameraFlash 3s ease-in-out infinite;
}

@keyframes cameraFlash {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
    transform: scale(1.1);
  }
}

.hero-badge span {
  font-size: 0.875rem;
  color: var(--primary-blue);
}

/* ========== HERO TITLES ========== */
.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin: 0;
  animation: fadeInUp 0.8s ease 0.4s both;
}

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

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

.gradient-text {
  background: linear-gradient(to left, var(--primary-blue), var(--secondary-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease-in-out infinite;
  background-size: 200% auto;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  animation: fadeInUp 0.8s ease 0.5s both;
}

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

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

.blue-text {
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.blue-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-blue);
  animation: underlineExpand 2s ease-in-out infinite;
}

@keyframes underlineExpand {
  0%, 100% {
    width: 100%;
    opacity: 0.5;
  }
  50% {
    width: 80%;
    opacity: 1;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  line-height: 1.75;
  max-width: 42rem;
  margin: 0;
  animation: fadeInUp 0.8s ease 0.6s both;
}

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

/* ========== CTA BUTTON ========== */
.btn-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--secondary-green);
  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, ctaFloat 3s ease-in-out 1s infinite;
  position: relative;
  overflow: hidden;
}

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

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

.btn-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-cta:hover::before {
  width: 400px;
  height: 400px;
}

.btn-cta:hover {
  background: #157a58;
  box-shadow: 0 20px 50px rgba(25, 156, 113, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

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

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

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

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

.stat-item {
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

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

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-blue);
  animation: numberGlow 3s ease-in-out infinite;
}

@keyframes numberGlow {
  0%, 100% {
    text-shadow: 0 0 10px rgba(20, 102, 137, 0.3);
  }
  50% {
    text-shadow: 0 0 20px rgba(20, 102, 137, 0.6);
  }
}

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

/* ========== HERO IMAGE ========== */
.hero-visual {
  position: relative;
  animation: fadeInUp 0.8s ease 0.7s both;
}

.hero-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(20, 102, 137, 0.3);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.02);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.hero-image:hover img {
  transform: scale(1.05);
}

/* Camera Shutter Effect */
.shutter-effect {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  animation: shutterFlash 8s ease-in-out infinite;
}

@keyframes shutterFlash {
  0%, 90%, 100% {
    background: rgba(255, 255, 255, 0);
  }
  91% {
    background: rgba(255, 255, 255, 0.3);
  }
  92% {
    background: rgba(255, 255, 255, 0);
  }
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.9), transparent);
}

.floating-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(22, 27, 34, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(20, 102, 137, 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: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-green));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: 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: var(--primary-blue);
}

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

/* ========== FEATURES SECTION ========== */
.features-section {
  position: relative;
  min-height: 100vh;
  padding: 6rem 0;
  background: linear-gradient(to bottom, var(--bg-card), var(--bg-dark));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.features-glow {
  position: absolute;
  width: 288px;
  height: 288px;
  border-radius: 50%;
  filter: blur(96px);
  animation: glowMove 10s ease-in-out infinite;
}

@keyframes glowMove {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.features-glow-1 {
  top: 50%;
  right: 0;
  background: var(--primary-blue);
  opacity: 0.05;
}

.features-glow-2 {
  top: 25%;
  left: 0;
  background: var(--secondary-green);
  opacity: 0.05;
  animation-delay: 2s;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease;
}

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

.section-description {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 42rem;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.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, var(--bg-card), var(--bg-dark));
  border: 1px solid rgba(20, 102, 137, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.reveal {
  animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }
.feature-card:nth-child(7) { animation-delay: 0.6s; }
.feature-card:nth-child(8) { animation-delay: 0.7s; }
.feature-card:nth-child(9) { animation-delay: 0.8s; }

.feature-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(20, 102, 137, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 1rem;
  filter: blur(40px);
  pointer-events: none;
}

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

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

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

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

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.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[data-color="#199C71"] .feature-icon {
  background: linear-gradient(135deg, rgba(25, 156, 113, 0.2), rgba(25, 156, 113, 0.1));
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-align: right;
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--primary-blue);
}

.feature-description {
  color: var(--text-gray);
  line-height: 1.75;
  text-align: right;
}

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

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

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

.feature-card:hover .feature-corner {
  opacity: 0.3;
  transform: scale(1.2);
}

.features-cta {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 10;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(20, 102, 137, 0.1);
  border: 1px solid rgba(20, 102, 137, 0.3);
  border-radius: 9999px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease 1s both;
}

.cta-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(20, 102, 137, 0.2);
}

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

.emoji {
  font-size: 1.5rem;
  animation: clapperboard 2s ease-in-out infinite;
}

@keyframes clapperboard {
  0%, 100% {
    transform: rotate(0deg);
  }
  10% {
    transform: rotate(-15deg);
  }
  20% {
    transform: rotate(10deg);
  }
  30% {
    transform: rotate(0deg);
  }
}

/* ========== QUOTE SECTION ========== */
.quote-section {
  position: relative;
  min-height: 100vh;
  padding: 8rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

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

.quote-pattern {
  position: absolute;
  border: 1px solid rgba(20, 102, 137, 0.1);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

.quote-pattern-1 {
  top: 50%;
  left: 25%;
  width: 256px;
  height: 256px;
}

.quote-pattern-2 {
  top: 33.333%;
  right: 25%;
  width: 384px;
  height: 384px;
  animation-direction: reverse;
  animation-duration: 40s;
}

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

.quote-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 10;
}

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

.quote-icon {
  width: 40px;
  height: 40px;
}

.quote-text {
  position: relative;
  margin: 0;
}

.quote-main {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  line-height: 1.75;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease;
}

@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;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.divider-line {
  height: 2px;
  width: 64px;
  animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
  0%, 100% {
    width: 64px;
  }
  50% {
    width: 80px;
  }
}

.divider-line-right {
  background: linear-gradient(to right, transparent, var(--primary-blue));
}

.divider-line-left {
  background: linear-gradient(to left, transparent, var(--primary-blue));
}

.divider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-blue);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(20, 102, 137, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(20, 102, 137, 0);
  }
}

.quote-author {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.quote-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

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

.quote-stat {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: rgba(22, 27, 34, 0.5);
  border: 1px solid rgba(20, 102, 137, 0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.quote-stat:hover {
  transform: translateY(-5px);
  border-color: rgba(20, 102, 137, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-stat.active {
  animation: fadeInUp 0.6s ease forwards;
}

.quote-stat:nth-child(1) { animation-delay: 0.3s; }
.quote-stat:nth-child(2) { animation-delay: 0.4s; }
.quote-stat:nth-child(3) { animation-delay: 0.5s; }

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

.quote-stat-number.blue {
  color: var(--primary-blue);
}

.quote-stat-number.green {
  color: var(--secondary-green);
}

.quote-stat-label {
  color: var(--text-gray);
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  background: linear-gradient(to bottom, var(--bg-dark), var(--bg-darker));
  border-top: 1px solid rgba(20, 102, 137, 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, var(--primary-blue), var(--secondary-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--text-gray);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(20, 102, 137, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(20, 102, 137, 0.2);
  border-color: rgba(20, 102, 137, 0.5);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

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

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-blue);
  padding-right: 0.5rem;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-start;
  color: var(--text-gray);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.footer-contact li:hover {
  transform: translateX(-5px);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

@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: var(--primary-blue);
}

.footer-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-green), var(--primary-blue));
  animation: gradientFlow 3s ease-in-out infinite;
  background-size: 200% auto;
}

@keyframes gradientFlow {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

/* ========== RESPONSIVE UTILITIES ========== */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .quote-main {
    font-size: 1.5rem;
  }
}

/* ========== SMOOTH SCROLL IMPROVEMENTS ========== */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}
