/* CSS Variables */
:root {
  --primary-blue: #0071e3;
  --primary-teal: #00d9ff;
  --primary-light: #e8f6ff;
  --dark-navy: #001a4d;

  --background: oklch(0.98 0 0);
  --foreground: #1a3a4d;
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.15 0 0);
  --primary: #0071e3;
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.97 0 0);
  --secondary-foreground: oklch(0.205 0 0);
  --muted: oklch(0.97 0 0);
  --muted-foreground: oklch(0.556 0 0);
  --accent: #00d9ff;
  --accent-foreground: oklch(0.145 0 0);
  --destructive: oklch(0.577 0.245 27.325);
  --destructive-foreground: oklch(0.577 0.245 27.325);
  --border: oklch(0.92 0 0);
  --input: oklch(0.92 0 0);
  --ring: oklch(0.708 0 0);
  --radius: 0.75rem;
}

.dark {
  --background: oklch(0.12 0 0);
  --foreground: oklch(0.95 0 0);
  --card: oklch(0.16 0 0);
  --card-foreground: oklch(0.95 0 0);
  --popover: oklch(0.12 0 0);
  --popover-foreground: oklch(0.95 0 0);
  --primary: #0071e3;
  --primary-foreground: oklch(0.205 0 0);
  --secondary: oklch(0.269 0 0);
  --secondary-foreground: oklch(0.985 0 0);
  --muted: oklch(0.269 0 0);
  --muted-foreground: oklch(0.708 0 0);
  --accent: #00d9ff;
  --accent-foreground: oklch(0.145 0 0);
  --destructive: oklch(0.396 0.141 25.723);
  --destructive-foreground: oklch(0.637 0.237 25.331);
  --border: oklch(0.269 0 0);
  --input: oklch(0.269 0 0);
  --ring: oklch(0.439 0 0);
}

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

html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.8;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 113, 227, 0.1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

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

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-content {
    height: 5rem;
    gap: 2rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--foreground);
  transition: transform 0.2s ease;
}

@media (min-width: 640px) {
  .logo {
    gap: 0.75rem;
    font-size: 1.5rem;
  }
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  padding: 0;
  background: transparent;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  background: transparent;
}

.logo-svg {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.logo-img {
  width: auto;
  height: 2rem;
  object-fit: contain;
  display: block;
}

@media (min-width: 640px) {
  .logo-img {
    height: 2.5rem;
  }
}

.logo-text {
  color: var(--foreground);
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: center;
}

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

.nav-link {
  position: relative;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
  background-color: rgba(0, 113, 227, 0.05);
}

.nav-link:hover::before {
  width: 80%;
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

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

.nav-cta .btn {
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.nav-cta .btn-outline {
  border: 2px solid rgba(0, 113, 227, 0.2);
  background: transparent;
}

.nav-cta .btn-outline:hover {
  border-color: var(--primary-blue);
  background: rgba(0, 113, 227, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
}

.nav-cta .btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border: none;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.nav-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.mobile-menu-btn {
  display: block;
  padding: 0.625rem;
  background: rgba(0, 113, 227, 0.05);
  border: 2px solid rgba(0, 113, 227, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(0, 113, 227, 0.1);
  border-color: var(--primary-blue);
  transform: scale(1.05);
}

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

.menu-icon,
.close-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

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

.hidden {
  display: none !important;
}

.mobile-menu {
  padding: 1.5rem 0;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(0, 113, 227, 0.1);
  margin-top: 1rem;
  animation: slideDown 0.3s ease;
}

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

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

.mobile-menu.show {
  display: flex;
}

.mobile-nav-link {
  display: block;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
  position: relative;
}

.mobile-nav-link:hover {
  color: var(--primary-blue);
  background-color: rgba(0, 113, 227, 0.05);
  padding-left: 1.25rem;
}

.mobile-menu-buttons {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(0, 113, 227, 0.1);
  margin-top: 0.5rem;
  padding-top: 1.5rem;
}

.mobile-menu-buttons .btn {
  font-weight: 600;
  transition: all 0.3s ease;
}

.mobile-menu-buttons .btn-outline {
  border: 2px solid rgba(0, 113, 227, 0.2);
  background: transparent;
}

.mobile-menu-buttons .btn-outline:hover {
  border-color: var(--primary-blue);
  background: rgba(0, 113, 227, 0.05);
}

.mobile-menu-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border: none;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.mobile-menu-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  outline: none;
}

.btn:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background-color: rgba(0, 113, 227, 0.9);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.btn-sm {
  height: 2rem;
  padding: 0 0.625rem;
  font-size: 0.8125rem;
}

@media (min-width: 640px) {
  .btn-sm {
    padding: 0 0.75rem;
    font-size: 0.875rem;
  }
}

.btn-lg {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 0.5rem;
}

@media (min-width: 640px) {
  .btn-lg {
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1rem;
  }
}

.btn-full {
  width: 100%;
}

/* Main */
.main {
  width: 100%;
  overflow-x: hidden;
  background-color: var(--background);
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  animation: videoFadeIn 2s ease-in-out forwards, videoZoom 20s ease-in-out infinite alternate;
  transform: scale(1.1);
}

@keyframes videoFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes videoZoom {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1.05);
  }
}

@keyframes overlayFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .hero-section {
    background-attachment: scroll;
  }
}

/* .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
} */


.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1rem;
  padding-top: 6rem;
}

@media (min-width: 640px) {
  .hero-content {
    padding-top: 7rem;
  }
}

@media (min-width: 768px) {
  .hero-content {
    padding-top: 7rem;
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 6rem;
    justify-content: flex-start;
  }
}

.hero-text {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: textFadeInUp 1.2s ease-out 1s forwards;
}

@keyframes textFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .hero-text {
    margin-top: 0.5rem;
  }
}

@media (min-width: 768px) {
  .hero-text {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .hero-text {
    margin-top: 0;
  }
}

.hero-title {
  direction: ltr;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background-color: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary-teal);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

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

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--foreground);
  display: block;
}

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

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
  }
}

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

.hero-title-gradient {
  display: block;
  background: #031a1f;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2rem;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 20px rgba(0, 113, 227, 0.3);
}

@media (min-width: 480px) {
  .hero-title-gradient {
    font-size: 5rem;
  }
}

@media (min-width: 768px) {
  .hero-title-gradient {
    font-size: 4rem;
  }
}

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

.hero-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .hero-description {
    font-size: 1.0625rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
    line-height: 1.75;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  padding-top: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  padding-top: 2rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .hero-stats {
    flex-direction: row;
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-value {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-blue);
}

.stat-label {
  color: var(--muted-foreground);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 1s infinite;
}

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

.scroll-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-blue);
}

/* Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  height: 5rem;
  overflow: hidden;
}

.wave-svg {
  width: 100%;
  height: 100%;
}

.wave-path {
  filter: drop-shadow(0 10px 8px rgb(0 0 0 / 0.04)) drop-shadow(0 4px 3px rgb(0 0 0 / 0.1));
}

/* Services Section */
.services-section {
  width: 100%;
  padding: 0;
  background-color: #fbfbfb;
}

.services-content {
  background-color: #fbfbfb;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .services-content {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .services-content {
    padding: 5rem 1rem;
  }
}

.services-container {
  max-width: 72rem;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 0 0.5rem;
  direction: rtl;
}

@media (min-width: 640px) {
  .section-header {
    margin-bottom: 3rem;
    gap: 1rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  text-wrap: balance;
  line-height: 1.3;
}

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

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

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

.section-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .section-description {
    font-size: 1.0625rem;
    padding: 0;
  }
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1.125rem;
    line-height: 1.75;
  }
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.service-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 2px solid rgba(0, 113, 227, 0.08);
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  opacity: 0;
  transform: translateY(40px) scale(0.9);
}

.service-card.animate {
  animation: cardFadeInUp 0.8s ease-out forwards;
}

.service-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.service-card:nth-child(2).animate {
  animation-delay: 0.2s;
}

.service-card:nth-child(3).animate {
  animation-delay: 0.3s;
}

.service-card:nth-child(4).animate {
  animation-delay: 0.4s;
}

@keyframes cardFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.9);
  }
  60% {
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.03) 0%, rgba(0, 217, 255, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.service-card:hover::before {
  opacity: 1;
}

@media (min-width: 640px) {
  .service-card {
    padding: 2.25rem;
  }
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 20px 40px -10px rgba(0, 113, 227, 0.25), 
              0 10px 20px -5px rgba(0, 217, 255, 0.15),
              0 0 0 1px rgba(0, 113, 227, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(232, 246, 255, 0.6) 100%);
}

.service-icon {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(0, 113, 227, 0.1), rgba(0, 217, 255, 0.1));
  border-radius: 1rem;
  width: fit-content;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
  opacity: 0;
  transform: scale(0.8) rotate(-10deg);
}

.service-card.animate .service-icon {
  animation: iconFadeIn 0.6s ease-out forwards;
}

.service-card:nth-child(1).animate .service-icon {
  animation-delay: 0.3s;
}

.service-card:nth-child(2).animate .service-icon {
  animation-delay: 0.4s;
}

.service-card:nth-child(3).animate .service-icon {
  animation-delay: 0.5s;
}

.service-card:nth-child(4).animate .service-icon {
  animation-delay: 0.6s;
}

@keyframes iconFadeIn {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
}

.service-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-blue);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon svg {
  color: white;
  transform: scale(1.1);
}

.service-title {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
}

.service-card.animate .service-title {
  animation: titleSlideIn 0.6s ease-out forwards;
}

.service-card:nth-child(1).animate .service-title {
  animation-delay: 0.4s;
}

.service-card:nth-child(2).animate .service-title {
  animation-delay: 0.5s;
}

.service-card:nth-child(3).animate .service-title {
  animation-delay: 0.6s;
}

.service-card:nth-child(4).animate .service-title {
  animation-delay: 0.7s;
}

@keyframes titleSlideIn {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

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

.service-description {
  font-size: 0.9375rem;
  color: var(--muted-foreground);
  line-height: 1.8;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  opacity: 0;
  transform: translateX(20px);
}

.service-card.animate .service-description {
  animation: descriptionSlideIn 0.6s ease-out forwards;
}

.service-card:nth-child(1).animate .service-description {
  animation-delay: 0.5s;
}

.service-card:nth-child(2).animate .service-description {
  animation-delay: 0.6s;
}

.service-card:nth-child(3).animate .service-description {
  animation-delay: 0.7s;
}

.service-card:nth-child(4).animate .service-description {
  animation-delay: 0.8s;
}

@keyframes descriptionSlideIn {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.service-card:hover .service-description {
  color: var(--foreground);
}

/* Vision Section */
.vision-section {
  width: 100%;
  padding: 3rem 1rem;
  background-color: var(--background);
}

@media (min-width: 640px) {
  .vision-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .vision-section {
    padding: 5rem 1rem;
  }
}

.section-container {
  max-width: 80rem;
  margin: 0 auto;
}

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

@media (min-width: 640px) {
  .vision-grid {
    gap: 2.5rem;
  }
}

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

.vision-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
}

.vision-content.animate {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

@keyframes slideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.section-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary-teal);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(0, 217, 255, 0.1);
  border: 1px solid rgba(0, 217, 255, 0.3);
  width: fit-content;
}

.section-text {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-text {
    font-size: 1.0625rem;
    line-height: 1.7;
  }
}

@media (min-width: 768px) {
  .section-text {
    font-size: 1.125rem;
    line-height: 1.75;
  }
}

.vision-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.vision-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.vision-dot {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: rgba(0, 217, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border: 1px solid rgba(0, 217, 255, 0.4);
}

.vision-dot::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary-teal);
}

.vision-item span {
  color: var(--foreground);
  font-weight: 500;
}

.vision-image,
.features-image,
.why-choose-image {
  position: relative;
  height: 20rem;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateX(50px) scale(0.95);
}

.vision-image.animate,
.features-image.animate,
.why-choose-image.animate {
  animation: slideInFromRight 0.8s ease-out forwards;
}

@keyframes slideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(50px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@media (min-width: 480px) {
  .vision-image,
  .features-image,
  .why-choose-image {
    height: 24rem;
  }
}

@media (min-width: 768px) {
  .vision-image,
  .features-image,
  .why-choose-image {
    height: 31.25rem;
  }
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 113, 227, 0.2), rgba(0, 217, 255, 0.1));
  z-index: 10;
}

.vision-image img,
.features-image img,
.why-choose-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Section */
.features-section {
  width: 100%;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, var(--background), rgba(232, 246, 255, 0.03));
}

@media (min-width: 640px) {
  .features-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .features-section {
    padding: 5rem 1rem;
  }
}

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

@media (min-width: 640px) {
  .features-grid {
    gap: 2.5rem;
  }
}

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

.features-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  order: 1;
  opacity: 0;
  transform: translateX(50px);
}

.features-content.animate {
  animation: slideInFromRight 0.8s ease-out forwards;
}

@media (min-width: 1024px) {
  .features-content {
    order: 2;
  }
}

.features-image {
  order: 2;
  opacity: 0;
  transform: translateX(-50px) scale(0.95);
}

.features-image.animate {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

@media (min-width: 1024px) {
  .features-image {
    order: 1;
  }
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.feature-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.feature-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background-color: rgba(0, 113, 227, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(0, 113, 227, 0.5);
}

.feature-dot::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary-blue);
}

.feature-item span {
  color: var(--foreground);
  font-weight: 600;
  font-size: 1.125rem;
}

/* Why Choose Us Section */
.why-choose-section {
  width: 100%;
  padding: 3rem 1rem;
  background-color: var(--background);
}

@media (min-width: 640px) {
  .why-choose-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .why-choose-section {
    padding: 5rem 1rem;
  }
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 640px) {
  .why-choose-grid {
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

.why-choose-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
}

.why-choose-content.animate {
  animation: slideInFromLeft 0.8s ease-out forwards;
}

/* Testimonials Section */
.testimonials-section {
  width: 100%;
  padding: 3rem 1rem;
  background: linear-gradient(to bottom, var(--background), rgba(232, 246, 255, 0.05));
}

@media (min-width: 640px) {
  .testimonials-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .testimonials-section {
    padding: 5rem 1rem;
  }
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 113, 227, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.testimonial-card:hover {
  border-color: rgba(0, 217, 255, 0.3);
  box-shadow: 0 10px 15px -3px rgba(0, 217, 255, 0.1), 0 4px 6px -4px rgba(0, 217, 255, 0.1);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.star {
  width: 1.25rem;
  height: 1.25rem;
}

.star.filled {
  color: var(--primary-teal);
  fill: var(--primary-teal);
}

.testimonial-text {
  color: var(--foreground);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--foreground);
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Image Cards Section */
.image-cards-section {
  width: 100%;
  padding: 3rem 1rem;
  background-color: var(--background);
}

@media (min-width: 640px) {
  .image-cards-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .image-cards-section {
    padding: 5rem 1rem;
  }
}

.image-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .image-cards-grid {
    gap: 1.75rem;
  }
}

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

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

.image-card {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(50px) scale(0.95);
}

.image-card.animate {
  animation: imageCardFadeIn 0.9s ease-out forwards;
}

.image-card:nth-child(1).animate {
  animation-delay: 0.1s;
}

.image-card:nth-child(2).animate {
  animation-delay: 0.25s;
}

.image-card:nth-child(3).animate {
  animation-delay: 0.4s;
}

@keyframes imageCardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  60% {
    transform: translateY(-8px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.image-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.image-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 480px) {
  .image-card-image {
    height: 220px;
  }
}

@media (min-width: 640px) {
  .image-card-image {
    height: 250px;
  }
}

.image-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: scale(1.1);
}

.image-card.animate .image-card-image img {
  animation: imageFadeIn 0.8s ease-out forwards;
}

.image-card:nth-child(1).animate .image-card-image img {
  animation-delay: 0.3s;
}

.image-card:nth-child(2).animate .image-card-image img {
  animation-delay: 0.45s;
}

.image-card:nth-child(3).animate .image-card-image img {
  animation-delay: 0.6s;
}

@keyframes imageFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

.image-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

@media (min-width: 640px) {
  .image-card-content {
    padding: 2rem;
    gap: 1rem;
  }
}

.image-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.3;
  margin: 0;
  opacity: 0;
  transform: translateY(15px);
}

.image-card.animate .image-card-title {
  animation: imageCardTitleFadeIn 0.6s ease-out forwards;
}

.image-card:nth-child(1).animate .image-card-title {
  animation-delay: 0.4s;
}

.image-card:nth-child(2).animate .image-card-title {
  animation-delay: 0.55s;
}

.image-card:nth-child(3).animate .image-card-title {
  animation-delay: 0.7s;
}

@keyframes imageCardTitleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 640px) {
  .image-card-title {
    font-size: 1.5rem;
  }
}

.image-card-description {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  opacity: 0;
  transform: translateY(10px);
}

.image-card.animate .image-card-description {
  animation: imageCardDescriptionFadeIn 0.6s ease-out forwards;
}

.image-card:nth-child(1).animate .image-card-description {
  animation-delay: 0.5s;
}

.image-card:nth-child(2).animate .image-card-description {
  animation-delay: 0.65s;
}

.image-card:nth-child(3).animate .image-card-description {
  animation-delay: 0.8s;
}

@keyframes imageCardDescriptionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.image-card-content .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* Contact Section */
.contact-section {
  width: 100%;
  padding: 3rem 1rem;
  background: linear-gradient(135deg, rgba(232, 246, 255, 0.3) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(232, 246, 255, 0.2) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(0, 113, 227, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(0, 217, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact-section .section-container {
  position: relative;
  z-index: 1;
}

.contact-section .section-header {
  margin-bottom: 3rem;
}

.contact-section .section-title {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.contact-section .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue), var(--primary-teal));
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.3);
}

.contact-section .section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .contact-section {
    padding: 4rem 1rem;
  }
}

@media (min-width: 768px) {
  .contact-section {
    padding: 5rem 1rem;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .contact-grid {
    gap: 2.5rem;
  }
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(0, 113, 227, 0.1);
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Tajawal', sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
  opacity: 0.7;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.1), 0 4px 12px rgba(0, 113, 227, 0.15);
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-1px);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(0, 113, 227, 0.2);
}

.form-textarea {
  resize: none;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contact-info {
    gap: 1.75rem;
  }
}

.contact-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 2px solid rgba(0, 113, 227, 0.1);
  border-radius: 1rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-blue), var(--primary-teal));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 113, 227, 0.3);
  box-shadow: 0 10px 25px -5px rgba(0, 113, 227, 0.2), 0 8px 10px -6px rgba(0, 113, 227, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(232, 246, 255, 0.5) 100%);
}

.contact-card:hover::before {
  opacity: 1;
}

@media (min-width: 640px) {
  .contact-card {
    padding: 1.75rem;
    gap: 1.25rem;
  }
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  color: white;
  flex-shrink: 0;
  padding: 0.5rem;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0, 113, 227, 0.4);
}

.contact-card-title {
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  transition: color 0.3s ease;
}

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

.contact-card-text {
  color: var(--muted-foreground);
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.contact-card:hover .contact-card-text {
  color: var(--foreground);
}

/* Footer */
.footer {
  width: 100%;
  background: linear-gradient(to bottom, var(--background), rgba(232, 246, 255, 0.1));
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

@media (min-width: 640px) {
  .footer-container {
    padding: 3.5rem 1rem;
  }
}

@media (min-width: 768px) {
  .footer-container {
    padding: 4rem 1rem;
  }
}

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

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

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  color: var(--foreground);
}

.footer-description {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: rgba(0, 113, 227, 0.1);
  color: var(--primary-blue);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn:hover {
  background-color: rgba(0, 113, 227, 0.2);
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column-title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

.footer-bottom-links {
  display: flex;
  gap: 1rem;
}

.footer-bottom-links a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--foreground);
}

