
:root {
    --primary-green: #355E3B; /* Rich Olive Green for organic depth */
    --secondary-green: #6CC4A1; /* Vibrant Mint Green for freshness */
    --accent-earthy: #E8B923; /* Warm Golden Ochre for quality and warmth */
    --text-dark: #2A2A2A; /* Deep Charcoal for readability */
    --bg-light: #FDFBF5; /* Soft Cream for a clean, natural backdrop */
    --font-size-base: 16px;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal overflow at root level */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: background-color 0.6s ease-in-out, color 0.6s ease-in-out;
    font-size: var(--font-size-base);
}

body[dir="rtl"] {
    text-align: right;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1rem, 5vw, 2rem);
    background-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    max-width: 100vw; /* Ensure no overflow */
    animation: fadeInHeader 0.8s ease-in-out;
}

@keyframes fadeInHeader {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo img {
    height: clamp(70px, 10vw, 70px);
    border-radius: 8px;
    object-fit: contain;
    max-width: 100%; /* Prevent image overflow */
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.logo img:hover {
    transform: scale(1.1) rotate(3deg);
    opacity: 0.92;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    text-decoration: none;
    color: #ffffff;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    transition: color 0.3s ease, transform 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--accent-earthy);
    transform: translateY(-3px);
}


 .hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
  }

  .hamburger span {
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    width: 100%;
    display: block;
    transition: 0.3s;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Mobile nav menu styles */
  .mobile-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }

  .mobile-nav.active {
    display: block;
  }

  .mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-nav a {
    color: #210A62;
    font-weight: 500;
    text-decoration: none;
  }

  /* Responsive: show hamburger only on small screens */
  @media (max-width: 768px) {
    .hamburger {
      display: flex;
    }

    .desktop-nav {
      display: none;
    }
  }

















.hero-gradient {
  background: linear-gradient(135deg, #059669 0%, #34d399 100%);
}

.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.btn-primary {
  background-color: #059669;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #047857;
}

.btn-secondary {
  border: 1px solid white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}