:root {
  /* Color Palette - Adjusted to Brand Identity */
  --primary-color: #88c543;
  /* Brand Green */
  --secondary-color: #07afd6;
  /* Brand Cyan */
  --accent-color: #ef2e2f;
  /* Brand Red */

  --text-dark: #2d3436;
  --text-light: #636e72;
  --bg-white: #ffffff;
  --bg-soft: #f8f9fa;
  --nav-height: 80px;

  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--bg-soft);
  color: var(--text-dark);
  line-height: 1.6;
  direction: rtl;
  /* Right-to-Left for Arabic */
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.3;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  /* Gradient from Green to Cyan */
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 4px 15px rgba(136, 197, 67, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(136, 197, 67, 0.5);
}

/* Header */
header {
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  /* Logo Text is Cyan to match Brand Arabic Text */
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  /* Logo Icon is Green */
  color: var(--primary-color);
  font-size: 1.8rem;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&q=80');
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  animation: fadeIn 1s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  /* Main Headline in Cyan */
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.hero h1 span {
  /* Optional accent in Green if needed, or keeping it uniform */
  color: var(--primary-color);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Social Links Grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 80px 0;
}

.social-card {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.social-card:hover::before {
  transform: scaleX(1);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  /* Icons in Cyan */
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-card:hover .icon-box {
  background: var(--primary-color);
  color: white;
}

/* Footer */
footer {
  /* Footer Background in Brand Green as per banner image */
  background: var(--primary-color);
  color: white;
  padding: 40px 0;
  text-align: center;
  /* Add a subtle top border/shadow or gradient */
  background: linear-gradient(to right, var(--primary-color), #7ab83d);
}

footer p {
  opacity: 0.9;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}