@import url("https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;900&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family: "Tajawal", sans-serif;
  background: #f9fafb;
  color: #1f2937;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.site-wrapper {
  min-height: 100vh;
  background: linear-gradient(to bottom right, #f9fafb, #ffffff, #f9fafb);
}

.container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  margin: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.section-underline {
  width: 6rem;
  height: 0.25rem;
  background: #008996;
  border-radius: 999px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.grid-6 {
  /* Mobile: one card per row */
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .grid-6 {
    /* Tablet: three cards per row */
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .grid-6 {
    /* Desktop: six cards per row */
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

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

.text-left {
  text-align: left;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #008996;
}

.site-header {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.primary-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo img {
  height: 4.5rem;
  width: auto;
}

.logo-text {
  display: none;
}

@media (min-width: 1024px) {
  .logo-text {
    display: block;
  }
}
.logo-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #008996;
  margin: 0;
}

.logo-tagline {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-toggle,
.menu-toggle {
  border: none;
  background: transparent;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #374151;
  transition: all 0.2s ease;
}

.lang-toggle-button {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  font-size: 0.875rem;
}

.lang-toggle-label {
  font-weight: 600;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}
.menu-toggle-icon {
  display: block;
  line-height: 0;
}

.menu-toggle-close {
  display: none;
}

.menu-toggle.is-open .menu-toggle-hamburger {
  display: none;
}

.menu-toggle.is-open .menu-toggle-close {
  display: block;
}

.lang-toggle:hover,
.menu-toggle:hover {
  background: #f3f4f6;
  color: #374151;
}

.lang-toggle-button:hover {
  background: #f3f4f6;
}

.primary-nav {
  display: none;
}

@media (min-width: 1024px) {
  .primary-nav {
    display: block;
  }
}
.primary-nav .nav-list,
.primary-nav ul,
.primary-nav .page-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.primary-nav a,
.primary-nav button {
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav button:hover {
  background: #e6f7f8;
  color: #006771;
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a,
.primary-nav .current_page_ancestor > a {
  background: #008996 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.primary-nav .menu-item-has-children {
  position: relative;
}

.primary-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.25rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0.2s ease-out;
  z-index: 50;
  border: 1px solid #f3f4f6;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .menu-item-has-children.open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-nav .sub-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.primary-nav .sub-menu .current-menu-item > a,
.primary-nav .sub-menu .current_page_item > a {
  background: #008996 !important;
  color: #ffffff !important;
}

.mobile-nav {
  display: none;
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.mobile-nav a,
.mobile-nav button {
  width: 100%;
  text-align: inherit;
  border: none;
  background: #f9fafb;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav a:hover,
.mobile-nav button:hover {
  background: #e6f7f8;
  color: #006771;
}

.mobile-nav .current-menu-item > a,
.mobile-nav .current-menu-ancestor > a {
  background: #008996 !important;
  color: #ffffff !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.mobile-nav .sub-menu {
  display: none;
  padding-left: 1rem;
}

.mobile-nav .menu-item-has-children.open > .sub-menu {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.site-footer {
  background: linear-gradient(to bottom right, #1f2937, #111827, #1f2937);
  color: #ffffff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid #008996;
}

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

.footer-title {
  color: #33bfcb;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #d1d5db;
}

.footer-links a {
  display: inline-block;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: #33bfcb;
  transform: translateX(4px);
}

[dir=rtl] .footer-links a:hover {
  transform: translateX(-4px);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #e6f7f8 100%);
  padding: 4rem 1.5rem;
  border-radius: 2rem;
  margin-bottom: 4rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 72rem;
  margin: 0 auto;
}

.hero-logo {
  height: 14rem;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #4b5563;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

.hero-divider-line {
  height: 4px;
  width: 5rem;
  background: linear-gradient(to right, transparent, #878786);
  border-radius: 999px;
}

.hero-divider-line.reverse {
  background: linear-gradient(to left, transparent, #878786);
}

.hero-divider-dot {
  width: 0.75rem;
  height: 0.75rem;
  background: #008996;
  border-radius: 50%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.btn-primary {
  background: linear-gradient(90deg, #008996, #006771);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #006771, #00454b);
  transform: translateY(-2px);
}

.btn-outline {
  background: #ffffff;
  color: #006771;
  border-color: #008996;
}

.btn-outline:hover {
  background: #e6f7f8;
  transform: translateY(-2px);
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
}

/* Make cards in grids equal height and fully clickable when wrapped in <a> */
.grid > a {
  display: block;
  height: 100%;
}

.grid .card {
  height: 100%;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon--green {
  background: #cceff2;
  color: #008996;
}

.card-icon--blue {
  background: #dbeafe;
  color: #2563eb;
}

.card-icon--orange {
  background: #ffedd5;
  color: #ea580c;
}

.card-icon--red {
  background: #fee2e2;
  color: #dc2626;
}

.card--hover:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: #bfdbfe;
  transition: all 0.3s ease;
}

.donate-cards .card--hover:nth-child(1):hover {
  border-color: #bfdbfe;
}

.donate-cards .card--hover:nth-child(2):hover {
  border-color: #bbf7d0;
}

.donate-cards .card--hover:nth-child(3):hover {
  border-color: #fed7aa;
}

.card-icon--hover {
  transition: transform 0.3s ease;
}

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

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.card-text {
  color: #6b7280;
  line-height: 1.6;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #e6f7f8;
  color: #008996;
}

.profile-card {
  text-align: center;
}

.profile-image {
  width: 6rem;
  height: 6rem;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid #cceff2;
}

.partner-logo {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
}

.activity-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
}

.form-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-field {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-weight: 700;
  color: #374151;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: #008996;
  box-shadow: 0 0 0 2px rgba(0, 137, 150, 0.2);
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #008996;
  color: #ffffff;
  border: none;
  padding: 0.85rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-submit:hover {
  background: #006771;
}

.alert {
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.alert-success {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #7f1d1d;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-content {
  display: block;
  min-width: 0;
}

.contact-item-label {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  margin: 0;
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-icon--email {
  background: #cceff2;
  color: #008996;
}

.contact-icon--phone {
  background: #dbeafe;
  color: #2563eb;
}

.contact-icon--address {
  background: #ffedd5;
  color: #ea580c;
}

.contact-form-fallback .card-text {
  margin-bottom: 1rem;
}
.contact-form-fallback .card-text:last-of-type {
  margin-top: 1rem;
  margin-bottom: 0;
}
.contact-form-fallback .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.contact-form-fallback-code {
  display: block;
  padding: 1rem;
  background: #f3f4f6;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  overflow-x: auto;
  margin: 0 0 1rem;
  text-align: left;
  direction: ltr;
}

/* Contact Form 7 - enhanced theme styling */
.form-card .wpcf7 {
  margin-top: 1rem;
}

.form-card .wpcf7-form {
  display: grid;
  gap: 1.25rem;
}

.form-card .wpcf7-form p {
  margin: 0;
}

.form-card .wpcf7-form label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-card .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.375rem;
}

.form-card .wpcf7-form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-card .wpcf7-form-control:focus {
  outline: none;
  border-color: #008996;
  box-shadow: 0 0 0 2px rgba(0, 137, 150, 0.2);
}

.form-card .wpcf7-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-card .wpcf7-submit {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(to right, #008996, #006771);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.form-card .wpcf7-submit:hover {
  background: linear-gradient(to right, #006771, #00454b);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.form-card .wpcf7-not-valid {
  border-color: #ef4444;
}

.form-card .wpcf7-not-valid-tip {
  font-size: 0.875rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

.form-card .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.form-card .wpcf7-mail-sent-ok {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-card .wpcf7-validation-errors,
.form-card .wpcf7-mail-sent-ng {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #7f1d1d;
}

.info-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.tab-button {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  border: none;
  background: #f3f4f6;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-button.active,
.tab-button:hover {
  background: #008996;
  color: #ffffff;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #6b7280;
  font-size: 0.9rem;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

[dir=rtl] body {
  direction: rtl;
}
[dir=rtl] .text-left {
  text-align: right;
}
[dir=rtl] .text-right {
  text-align: left;
}
[dir=rtl] .primary-nav .sub-menu {
  left: auto;
  right: 0;
}
[dir=rtl] .nav-dropdown {
  left: auto;
  right: 0;
}
[dir=rtl] .mobile-nav .sub-menu {
  padding-left: 0;
  padding-right: 1rem;
}
[dir=rtl] .mobile-dropdown {
  padding-left: 0;
  padding-right: 1rem;
}
[dir=rtl] .contact-item {
  flex-direction: row;
  text-align: right;
}
[dir=rtl] .contact-item .contact-icon {
  order: 0;
}
[dir=rtl] .contact-item .contact-item-content {
  order: 1;
}
[dir=rtl] .contact-info {
  text-align: right;
}
[dir=rtl] .contact-item-content,
[dir=rtl] .contact-item > div:last-child {
  text-align: right;
}
[dir=rtl] .contact-form-fallback {
  text-align: right;
}
[dir=rtl] .contact-form-fallback .btn {
  margin-right: 0;
  margin-left: 0;
}
[dir=rtl] .form-card .wpcf7-form label,
[dir=rtl] .form-card .wpcf7-form p {
  text-align: right;
}
[dir=rtl] .form-card .wpcf7-form-control {
  text-align: right;
}
[dir=rtl] .form-card .wpcf7-not-valid-tip {
  text-align: right;
}
[dir=rtl] .form-card .wpcf7-response-output {
  text-align: right;
}

/*# sourceMappingURL=style.css.map */
