@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

* {
    box-sizing: border-box;
}


:root {
    /* Layout & Spacing */
    --site-max-width: 1500px;
    --gutter: 1rem;
    --section-vertical: 1em;
    --border-radius: 8px;
    --border-radius-lg: 18px;

    /* Brand Colors */
    --brand-color: #9723ad;
    --brand-color-light: #f4e9f7;
    --brand-light: #ccddb7;
    --brand-orange: #fa824c;
    --brand-green: #9fd356;
    --brand-blue: #3c91e6;
    --brand-white: #fafffd;
    --external-color: #2c7a7b;

    /* Backgrounds & UI Elements */
    --bg1: #ff2e88;
    --bg2: #7c3aed;
    --bg3: #00d4ff;
    --light-border: #e5e7eb;
    --text-color: #5e5e5e;
    --text-muted: #6b7280;
    --Arabic-font: 'Tajawal', sans-serif;
    --brand-font: 'Inter', sans-serif;

    /* Effects & Transitions */
    --shadow-soft: 0 8px 20px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 14px 35px rgba(15, 23, 42, 0.14);
    --transition-fast: 0.18s ease-out;
}

html, 
body, p {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Inter", "Tajawal", sans-serif;
    color: var(--text-color);
    font-size: clamp(.8rem, 1rem, 1.25rem);
    line-height: 1.6;
    background: radial-gradient(circle at top, #e0ecff 0, #f5f5f7 42%, #f5f5f7 100%);

}

h1, h2, h3, h4, h5 {
    color: var(--brand-color);
    margin: 0px;
}

h1 { font-size: clamp(1.7rem, 4vw, 3rem); }   /* 32px → 48px */
h2 { font-size: clamp(1.4rem, 3.5vw, 2rem); } /* 24px → 32px */
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); } /* 20px → 24px */
h4 { font-size: clamp(1.1rem, 2vw, 1.25rem); margin: 0px;} /* 20px → 24px */
h5 { font-size: clamp(.9rem, 1vw, 1.1rem); margin: 0px;} /* 20px → 24px */


a {
    color: var(--brand-color);
    text-decoration: none;
}

.page-title {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
    color: var(--brand-color);
    text-align: center;
}

.page-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}



/************* utilities***********************/
.muted-text {
    color: var(--text-muted);
}

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.rtl {
  direction: rtl;
  text-align: right;
}

.arabic-font {
    font-family:var(--Arabic-font);
}

.center{
    text-align: center;
}

.rounded-img {
    width: 100px;
    border-radius: 50%;
    transition: transform 0.3s ease-in-out;
}

.rounded-img:hover {
    transform: scale(1.2);
}

.white {
    color: #fff;
}

.paragraph-max-width {
    max-width: 600px;
}

.small {
    font-size: clamp(.6rem, .8vw, .7rem);
    display: inline-block; 
    max-width: 400px;
}

.space-top {
    margin-top: 2em;
}

.icon-title-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: .5em;
}

.icon-title-row img{
    width: 50px;
}

.centered-heading {
    margin: 0 auto;
}

.basic-card {
    background: #fff;
    border-radius: var(--border-radius-lg);
    padding: 1em;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    min-height: 8em;
}

.basic-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}


.flex-col-centered {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.section-no-padding {
    padding: 0;
}

.card-hr{
    margin: .5em 0;
}

.charitable-submit-field.button {
    padding: .8em 1em;
}

