Design System Audit — Brand DNA from almaghrib.org

AlMaghrib.org Design System Audit

Date: 2026-03-16 Source: https://www.almaghrib.org (live extraction via browser computed styles) Platform: WordPress (Salient/Nectar theme) + Tailwind CSS + Custom React components Viewport Tested: Desktop 1440x900, Mobile 375x812


1. Typography

Font Families

Role Font Stack Usage
Primary (Nav/Body) Lato, Poppins, "Open Sans", sans-serif Navigation items, body text in Tailwind components (.font-primary)
Heading Display Montserrat, sans-serif H1, H2, section headings, bold display text
UI / Body "Readex Pro", sans-serif H3, H4, buttons, card text, event details, footer headings, all UI components
Fallback Body "Open Sans", sans-serif Alternate body font (loaded weights: 400, 600, 700)

Loaded Font Weights (actually rendered on pages)

Font Weights Loaded
Lato 400, 900
Readex Pro 400, 500, 600, 700
Open Sans 400, 600, 700
Montserrat 700, 800, 900
Noto Sans 700

Type Scale

Element Font Family Size Weight Line Height Color Notes
H1 (Homepage Hero) Montserrat 70px 900 (Black) 72px #FFFFFF Mobile: 46px/47px
H1 (Page Hero) Montserrat 48px 900 (Black) 57.6px #FFFFFF Weekend Seminars hero
H2 (Section) Montserrat 34px 800 (ExtraBold) 36-44px #000000 Mobile: 30px/36px
H2 (Quote) Montserrat 48px 800 59.2px #57006B Testimonial/quote style
H2 (Catalog) Montserrat 38.4px 700 (Bold) 44px #444444 Course Catalog heading, text-align: center
H2 (Event Attend) Montserrat 40px 800 -- #FFFFFF "Attend In-Person" on purple bg
H2 (Event Detail) Montserrat 25px 800 31px #FFFFFF Event page sub-headings on dark bg
H2 (Mega Menu) Montserrat 24px 600 -- #000000 "Our Onsite Seminars" sidebar heading
H2 (Locations) Montserrat 48px 700 -- #000000 "Our Locations" with 40px margin-bottom
H3 (Section) Readex Pro 22px 700 34px #FFFFFF or #444444 Context-dependent color
H3 (Footer) Readex Pro 20px 700 22px #FFFFFF Footer column headings
H3 (Card Title) Readex Pro 24px 500 34px #222222 Seminar carousel card title
H4 Readex Pro 16px 600 22px #FFFFFF Sub-sections
Body / Paragraph varies (none) 16px 400 22px #676767 Default body, --nectar-body-line-height: 22px
Body (on dark bg) Readex Pro 16px 400 22px #FFFFFF On purple/dark sections
Small Text Readex Pro 14px 400 22px #9391A8 Footer links, meta info, copyright
Card Title (Home) Readex Pro 18px 600 18px #201B42 Homepage upcoming event card
Card Subtitle Readex Pro 12px 600 12px #528DFF Event card subtitle (blue link color)
Card Description Readex Pro 14px 400 16.8px #9391A8 Event card truncated description
Card Meta (Location/Date) Readex Pro 16px 400 22px #676767 With purple SVG icon prefix
Seminar Card Location Readex Pro 18px 500 22px #201B42 Weekend seminar carousel cards
Nav Items Lato, Poppins, "Open Sans" 16px 400 -- #000000 Hover: #811CE5
Mega Menu "Upcoming" Readex Pro 24px 600 -- #000000 Right panel heading
Copyright Readex Pro 14px (desktop: 12px via responsive text class) 400 22px #777777 Footer bottom bar

Letter Spacing


2. Color Palette

Primary Brand Colors

Name Hex RGB CSS Variable Usage
AlMaghrib Purple (Accent) #8E23B2 rgb(142, 35, 178) --nectar-accent-color Brand accent, link color, some button backgrounds, "See What's New" btn bg
Purple Bright (CTA) #811CE5 rgb(129, 28, 229) -- Primary CTA bg (Donate header, active filter pills, "Upcoming Seminars" hero btn)
Purple Light CTA #811CF3 rgb(129, 28, 243) -- Hero CTA button variant ("Upcoming Seminars" on weekend page)
Purple Deep (Text) #57006B rgb(87, 0, 107) -- Quote text color, credits badge text
Purple Dark Navy #201B42 rgb(32, 27, 66) -- Card titles, seminar meta text, inactive region filter text

CTA / Accent Colors

Name Hex RGB CSS Variable Usage
Gold Primary #FCD823 rgb(252, 216, 35) --nectar-extra-color-2 Large CTA buttons ("Maximize Your Ajr"), Learn More btn (mega menu)
Yellow Bright #F9EB22 rgb(249, 235, 34) --nectar-extra-color-1 Pill buttons ("Get Your Access", "Automate Your Sadaqa"), "Enroll Today", "Register Now/Here"
Yellow Warm #FDCA17 rgb(253, 202, 23) -- "Learn Now" card buttons, mega menu "Learn More" buttons, active region filter bg
Gold Hover #E5A820 rgb(229, 168, 32) -- Donate button hover state

Neutral Colors

Name Hex RGB Usage
Black #000000 rgb(0, 0, 0) Heading text, button text on yellow CTAs
Near Black #0A0A0A rgb(10, 10, 10) Some dark text elements
Dark Gray #333333 rgb(51, 51, 51) --nectar-extra-color-3, instructor names
Medium Gray #444444 rgb(68, 68, 68) H3 text on white bg, secondary headings, catalog heading
Body Gray #676767 rgb(103, 103, 103) Default body text color, card meta text
Muted Purple-Gray #9391A8 rgb(147, 145, 168) Card descriptions, inactive catalog pill text, footer links
Border Gray #D9DBE1 rgb(217, 219, 225) Card borders (1.11px solid)
Lavender #EBE6EC rgb(235, 230, 236) Light accent backgrounds
Off-White #F5F4F7 rgb(245, 244, 247) Inactive catalog filter pill bg, light section bg
Near White #FAFAFA rgb(250, 250, 250) Subtle section backgrounds
Overlay Light rgba(0,0,0,0.05) -- Subtle overlays
White #FFFFFF rgb(255, 255, 255) Page bg, card bg, header bg, text on dark bg

Interactive State Colors

Name Hex Context
Purple Hover Light #FAF5FF Filter preset button hover
Purple Hover Active #7C3AED Active filter button hover
Purple Active Dark #6A0FC7 Mobile filter apply hover
Purple BG Light #F5EBFF "See All" button background
Button Hover Lavender #E8B8F8 Level card button hover
Button Hover Purple #E9D4FB Filter button hover
Button Hover Soft #E5C0F5 Continue button hover
Link Blue #528DFF Event card subtitles
Scholarship Link #8E23B2 "Get A One-Click Scholarship" text
Catalog Active Hover #811CE5 Pagination and catalog pill active/hover

Footer Colors

Element Value
Footer Section Background Dark navy-purple (~`#1E1A3C`) with Islamic geometric pattern (Pattern.png baked-in image)
Footer Background Image https://www.almaghrib.org/wp-content/uploads/2024/04/Pattern.png
Footer Heading Text #FFFFFF
Footer Link Text #9391A8
Footer Copyright Text #777777
Nectar Footer Bar (below) #313233 bg, #CCCCCC text

3. Spacing System

CSS Variables

--nectar-resp-container-padding: 90px;
--mobile-container-width: 88%;
--nectar-body-line-height: 22px;
--nectar-menu-item-spacing: 10px;
--nectar-border-thickness: 2px;
--nectar-border-radius: 4px;

Container Widths

Context Max Width Side Margin Padding
Desktop (1440px+) 1416px ~92px auto 0px
Full-width sections 100% viewport 0 0
Column padding (default) -- -- 0px 14.4px per column
Mobile 88% of viewport auto --

Section Vertical Padding

Value Usage
80px 0px Major content sections ("Upcoming" section row)
56px 0px 32px Footer links section
32px 0px 40px Footer copyright section
0px Hero sections (rely on content height)
40px Sub-section heading bottom margin

Component Spacing

Element Value
Event card gap (home) 16px
Event card internal padding 16px
Event card image-to-content gap 16px (home), 30px (seminar carousel)
Course catalog grid gap 16px
Mega menu left sidebar padding 84.5px 64px
Nav item padding (button) 18px 8px
Nav item internal gap (icon to text) 8px
Footer column heading margin-bottom 8px
Mobile event card margin 19.2px 0px
Mobile event card padding 8px 8px 12px

4. Component Library

Buttons

A. Large CTA (Yellow/Gold - Nectar Button)

background: #FCD823;
color: #000000;
font: 600 18px/22px "Readex Pro", sans-serif; /* weight may show as body default */
padding: 23px 50px;
border-radius: 4px;
border: none;
display: inline-block;
/* Class: .nectar-button.jumbo.regular.extra-color-2 */

Used for: "Maximize Your Ajr", large section CTAs

B. Primary CTA (Purple)

background: #811CE5;
color: #FFFFFF;
font: 600 18px "Readex Pro", sans-serif;
padding: 16px 24px;
border-radius: 4px; /* or 8px in some contexts */
border: none;
/* Custom component styling */

Used for: "Upcoming Seminars" hero button, "See What's New" (uses #8E23B2 variant)

C. Donate Button (Header)

background: #811CE5;
color: #FFFFFF;
font: 400 16px "Readex Pro", sans-serif;
padding: 13px 31px;
border-radius: 4px;
border: none;
display: flex;
/* Class: .donate-btn */
/* Has chain-link icon prefix */

D. Outline Button (White on Dark BG)

background: transparent;
color: #F9F9F9;
font: 600 18px "Readex Pro", sans-serif;
padding: 16px 24px;
border: 1.11px solid #FFFFFF;
border-radius: 4px;

Used for: "Seminar Catalogue" on hero

E. Pill Button (Yellow Rounded)

background: #F9EB22;
color: #000000;
font: 600 16px "Readex Pro", sans-serif;
padding: 8px 22.4px;
border-radius: 100px;
border: none;
/* Class: .link_wrap */

Used for: "Get Your Access", "Automate Your Sadaqa"

F. "See All" Button (Light Purple)

background: #F5EBFF;
color: #811CE5;
font: 600 "Readex Pro";
padding: 8px 16px 8px 12px;
border-radius: 4px;
border: none;
/* Has right-arrow icon */

G. "See What's New" Button (Purple Filled Accent)

background: #8E23B2;
color: #FDCA17; /* Gold text on purple */
font: 600 "Readex Pro";
padding: 16px 24px;
border-radius: 8px;
border: none;

H. Learn More (Mega Menu Card - Full Width)

background: oklch(0.852 0.199 91.936); /* ~#FDCA17 */
color: #191533;
font: 600 12px "Readex Pro";
padding: 10px 0px;
border-radius: 8px;
width: 100%;
text-align: center;
/* Class: .btn-learn-more */

I. Learn More (Seminar Page)

background: #FDCA17;
color: #000000;
font: 400 18px "Readex Pro", sans-serif;
padding: 12px 26px;
border-radius: 4px;
border: none;
/* Class: .btn-learn-more */

J. Register Here (Event Page)

background: #F9EB22;
color: #000000;
font: 600 18px "Readex Pro";
border-radius: 0px; /* Square corners */
/* Large click target */

K. Learn Now (Home Card - Compact)

background: #FDCA17;
color: #000000;
font: 400 12px "Readex Pro", sans-serif;
padding: 0px; /* Minimal */
border-radius: 8px;

Cards

Event Card - Homepage Upcoming Section

/* .event-card */
background: #FFFFFF;
border: 1.11px solid #D9DBE1;
border-radius: 16px;
padding: 16px;
box-shadow: 0px 4px 10px rgba(0,0,0,0.08);
display: flex;
flex-direction: row;
gap: 16px;

/* Image */
width: 184px;
height: 200px;
border-radius: 10px;
object-fit: cover;

/* Card Typography */
.event-title: Readex Pro 18px/18px 600 #201B42
.event-subtitle: Readex Pro 12px/12px 600 #528DFF
.event-desc: Readex Pro 14px/16.8px 400 #9391A8
.icon (location/date): Readex Pro 16px/22px 400 #676767

Event Card - Mobile

display: flex;
flex-direction: column; /* Stacks vertically */
width: ~382px; /* Full container */
padding: 8px 8px 12px;
border-radius: 15px;
margin: 19.2px 0px;
/* Image becomes full-width above content */
/* "Learn Now" button becomes full-width */

Seminar Card - Weekend Seminars Carousel

/* .seminar-card */
background: #FFFFFF;
border: 1.11px solid #D9DBE1;
border-radius: 24px;
padding: 0px; /* Image bleeds to edge */
box-shadow: 0px 3px 10px rgba(0,0,0,0.08);
display: flex;
flex-direction: row;
gap: 30px;
width: ~882px;
overflow: hidden;

/* Card Typography */
.instructor-name-avatar: 14px 500 #333333
.seminar-title (H3): Readex Pro 24px/34px 500 #222222
.seminar-desc: Readex Pro 18px/22px 500 #9391A8
.padding-top-5 (meta): Readex Pro 18px/22px 500 #201B42

Mega Menu Event Card

border: 1.11px solid #D9DBE1;
border-radius: 8px;
box-shadow: 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1);
max-width: 300px;
padding: 0px;
overflow: visible;
/* Tailwind classes: !w-full !border !border-[#D9DBE1] !rounded-lg !shadow-sm !max-w-[300px] */

Course Catalog Card

/* .cc-card-img */
border-radius: 20px;
overflow: clip;
width: ~267px;
/* Image-only cards, no text content */
cursor: pointer;

Filter Pills

Catalog Category - Active

/* .btn-filter-1.active */
background: #811CE5;
color: #FFFFFF;
font: 600 14px "Readex Pro", sans-serif;
padding: 12px 24px;
border-radius: 40px;
border: none;
cursor: pointer;

Catalog Category - Inactive

/* .btn-filter-1 */
background: #F5F4F7;
color: #9391A8;
font: 600 14px "Readex Pro", sans-serif;
padding: 12px 24px;
border-radius: 40px;
border: none;
cursor: pointer;

Region Filter - Active

background: #FDCA17;
color: #000000;
font: 700 16px "Readex Pro", sans-serif;
padding: 10px 24px;
border-radius: 44px;
border: 1.11px solid #FDCA17;

Region Filter - Inactive

background: #FFFFFF;
color: #201B42;
font: 700 16px "Readex Pro", sans-serif;
padding: 10px 24px;
border-radius: 44px;
border: 1.11px solid #201B42;

Navigation

Desktop Header

#header-outer {
  height: ~83px;
  background: #FFFFFF;
  position: fixed;
  z-index: 9999;
  padding: 0;
  border-bottom: none;
  box-shadow: none;
}

Nav Menu Items

/* <button> with flex layout */
button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  border-radius: 8px; /* rounded-lg */
  transition: colors;
  cursor: pointer;
}

/* <span> with text */
span {
  font-family: Lato, Poppins, "Open Sans", sans-serif; /* .font-primary */
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  /* Tailwind: !font-primary !text-[16px] !text-black group-hover:!text-[#811CE5] */
}

Mobile Header

height: ~57px;
background: #FFFFFF;
/* Hamburger icon: 3-line menu, right-aligned */
/* Logo: left-aligned, scaled down */

5. Layout Patterns

Page Structure

<body>
  <div id="header-outer"> /* fixed header, ~83px */
  <div class="ocm-effect-wrap">
    <div class="container-wrap"> /* bg: white */
      <div class="main-content"> /* max-width: 1416px, margin: 0 ~92px */
        <div class="vc_row full-width-section"> /* full-bleed rows */
        <div class="vc_row"> /* contained rows */
      </div>
    </div>
    <div class="nectar-global-section before-footer"> /* custom footer section */
  </div>
  <div id="footer-outer"> /* Nectar footer bar, 30px, bg: #313233 */
</body>

Grid System

Section Patterns

Pattern Description
Hero (Full Bleed) Full-width bg image/video + content split (image left 50%, text right 50% on dark bg)
Content + Image 2-column: text left, image right (or reversed), inside contained row
Card Carousel Swiper.js carousel with prev/next arrows and dot pagination
CTA Banner Full-width purple bg with centered heading + gold CTA button
Testimonial Large centered Montserrat quote text + attribution below
Stats Row 4-column equal-width cards with animated counters
Locations Grid Bordered cards grouped by region (US purple, Europe blue, Canada red, Australia yellow, Asia green)

Breakpoints (observed)

Name Width Key Changes
Mobile <768px Single column, hamburger nav, 88% container, stacked cards
Tablet 768-999px 2-column stacks, reduced padding
Desktop 1000-1439px Standard layout
Desktop XL 1440px+ Full layout, 1416px container, 12-col grid

6. Mobile Patterns

Navigation

Content Stacking

Typography Scaling

Element Desktop Mobile
H1 70px 46px
H2 34px 30px
Body 16px 16px (unchanged)

Footer on Mobile


7. Footer Specification

Layout

Full-Width Section (bg: Pattern.png dark navy geometric pattern)
  Logo Row: AlMaghrib white logo (left, sm-4)
  Content Row (padding: 56px 0 32px):
    Col sm-4: Logo
    Col sm-2: "About Us" (H3) + links
    Col sm-2: "Contact Us" (H3) + links
    Col sm-2: "Join Us" (H3) + links
  Copyright Row (padding: 32px 0 40px):
    HR divider
    Left: Copyright text
    Right: "Managed & Designed by AlMaghrib Institute"

Footer Styles

Element Style
Background Pattern.png image (~`#1E1A3C` dark navy-purple with Islamic geometric pattern baked in)
Logo White/light version of AlMaghrib brand mark
Column Headings (H3) Readex Pro, 20px, 700, #FFFFFF, margin-bottom 8px
Column Links (P) Readex Pro, 14px, 400, #9391A8, line-height 22px
Link Hover Underline effect (.nectar-link-underline-effect)
Copyright Text Readex Pro, 12px (responsive text class), 400, #9391A8
Nectar Footer Bar bg #313233, 30px height, text #CCCCCC

Footer Content

Column Items
About Us Our Instructors, About AlMaghrib, Curriculum, Careers
Contact Us Contact Us, Terms & Policies
Join Us Facebook, Twitter, Youtube, Instagram

8. Icon System

Icon Libraries

Library Status Usage
Font Awesome 6 (Free + Brands) Loaded Social media icons, generic UI icons
Font Awesome 5 (Free + Brands) Loaded Legacy compatibility
icomoon Loaded Custom Salient theme icons

Icon Usage by Context

Context Type Size
Nav "In Person" Custom inline SVG (location pin, purple) ~20px
Nav "Online" Custom inline SVG (wifi/broadcast, purple) ~20px
Nav "Travel" Custom inline SVG (suitcase, purple) ~20px
Nav "Studio" Custom inline SVG (purple dot/star) ~20px
Calendar (header utility) Custom SVG ~20px
User account (header utility) Custom SVG ~20px
Donate icon Custom SVG/chain-link icon ~16px
Location pin (event cards) Custom SVG (purple outline) ~16px
Calendar (event cards) Custom SVG (purple outline) ~16px
Clock (seminar cards) Custom SVG (purple outline) ~16px
Dropdown chevron Custom SVG chevron-down ~12px
Carousel prev/next Text characters < > or custom arrows ~44px (swiper)
Checkmarks (features list) Custom purple check-circle SVGs ~20px
Credits badge Custom SVG icon ~16px

9. Animation / Transition Patterns

CSS Transitions

Pattern Duration Easing Properties
Button hover (primary) 0.45s cubic-bezier(0.25, 1, 0.33, 1) opacity, transform, border-color, color, background-color, box-shadow
Nav link hover 0.65s default --nectar-header-hover-timing
Simple color 0.3s ease color
Box shadow + bg 0.3s cubic-bezier(0.55, 0, 0.1, 1) box-shadow, background-color
Transform 0.8s cubic-bezier(0.15, 0.2, 0.1, 1) transform
Background size 0.55s cubic-bezier(0.2, 0.75, 0.5, 1) background-size
Margin 0.15s ease margin
Generic -- -- all (some elements)

Custom Easing Curves (CSS Variables)

--nectar-cubic-bezier-out: cubic-bezier(0.3, 1, 0.3, 1);
--nectar-cubic-bezier-in-out: cubic-bezier(0.76, 0, 0.24, 1);

Carousel (Swiper.js)

--swiper-navigation-size: 44px;
--swiper-theme-color: #007AFF;
/* Slide transition with pagination dots */

Mega Menu Animation

Page-Level


10. Border Radius Scale

Value Usage
0px "Register Here" button (square), some section elements
4px Default Nectar theme radius (--nectar-border-radius), standard buttons, "See All" button
8px Mega menu cards, "See What's New" btn, nav item buttons (rounded-lg), Learn More card btn
10px Card images (home upcoming)
15px Mobile event cards
16px Desktop event cards (home)
20px Course catalog card images
24px Seminar carousel cards
40px Catalog category filter pills
44px Region filter pills
100px Yellow pill buttons ("Get Your Access")

11. Box Shadow Scale

Name Value Usage
Card SM 0px 1px 3px rgba(0,0,0,0.1), 0px 1px 2px -1px rgba(0,0,0,0.1) Mega menu cards (Tailwind shadow-sm)
Card MD 0px 3px 10px rgba(0,0,0,0.08) Seminar carousel cards
Card LG 0px 4px 10px rgba(0,0,0,0.08) Home event cards
Mega Menu Glow rgba(217,119,87,0.62) 0px 0px 13px inset, ...23px inset, ...33px inset Mega menu warm glow overlay

12. Key Implementation Reference

Technology Stack

Z-Index Layers

Layer Z-Index
Header (#header-outer) 9999
Mega Menu fixed, above header
Popup/Modal overlays Above content

CSS Variable Summary

:root {
  --nectar-accent-color: #8E23B2;
  --nectar-extra-color-1: #F9EB22;
  --nectar-extra-color-2: #FCD823;
  --nectar-extra-color-3: #333333;
  --nectar-bg-color: #FFFFFF;
  --nectar-border-radius: 4px;
  --nectar-border-thickness: 2px;
  --nectar-body-line-height: 22px;
  --nectar-menu-item-spacing: 10px;
  --nectar-resp-container-padding: 90px;
  --nectar-header-hover-timing: 0.65s;
  --nectar-cubic-bezier-out: cubic-bezier(0.3, 1, 0.3, 1);
  --nectar-cubic-bezier-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --mobile-container-width: 88%;
  --nectar-font-light-color: #FFFFFF;
  --nectar-ocm-icon-width: 22px;
  --swiper-navigation-size: 44px;
  --swiper-theme-color: #007AFF;
}

Responsive Container Implementation

/* Desktop */
.main-content {
  max-width: 1416px;
  margin: 0 auto;
}

/* Full-bleed sections */
.full-width-section {
  width: 100vw;
}

/* Mobile */
/* Container width controlled by --mobile-container-width: 88% */