* { box-sizing: border-box; }
:root {
  --green: #075b47;
  --green-dark: #064b3c;
  --green-bright: #168765;
  --mint: #e6f4ee;
  --text: #263f4f;
  --gold: #dfb52b;
  --paper: #fbfdfc;
}
html { min-height: 100%; }
body {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", Arial, sans-serif;
  background:
    radial-gradient(ellipse at 8% 55%, rgba(188,224,211,.24), transparent 30%),
    radial-gradient(ellipse at 97% 35%, rgba(204,228,217,.4), transparent 27%),
    #f5faf8;
}
.site-header { padding: 0 3.25%; }
.masthead {
  height: 139px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.masthead:after {
  content: "۞";
  position: absolute;
  right: -20px;
  top: -67px;
  color: rgba(26,133,101,.08);
  font-size: 245px;
  line-height: 1;
  pointer-events: none;
}
.brand { display: flex; align-items: center; gap: 20px; text-decoration: none; color: inherit; z-index: 1; }
.brand-mark { width: 132px; height: 105px; display: flex; align-items: center; justify-content: center; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-title {
  color: #07553f;
  font: 800 clamp(28px, 2.4vw, 42px)/1.15 "Playfair Display", Georgia, serif;
  letter-spacing: -.8px;
  white-space: nowrap;
}
.brand-title em { font-weight: 600; }
.brand-subtitle { color: #47756c; font-size: 16px; margin-top: 8px; display: flex; align-items: center; gap: 12px; }
.brand-subtitle span { width: 35px; height: 3px; background: var(--gold); display: inline-block; }
.tagline {
  z-index: 1;
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-right: 9%;
  color: #075b47;
  font: italic 600 18px/1.5 "Playfair Display", Georgia, serif;
}
.top-nav {
  min-height: 57px;
  border-radius: 18px;
  background: linear-gradient(100deg, #07523f, #00654d 60%, #075641);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 8px 18px;
  box-shadow: 0 8px 22px rgba(6,76,57,.08);
}
.top-nav a {
  color: #f4fffb;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  transition: background .2s ease;
}
.top-nav a:hover, .top-nav a.active { background: linear-gradient(135deg, #1e9c75, #087c5c); }
.top-nav i { font-size: 17px; }
.page-layout {
  margin: 20px 3.35% 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 395px;
  gap: 24px;
  align-items: start;
}
.main-column { min-width: 0; }
.hero {
  height: 210px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(239,248,244,.97) 0%, rgba(242,249,246,.93) 43%, rgba(231,241,233,.2) 100%),
    radial-gradient(ellipse at 75% 30%, #d6e5d5, transparent 45%),
    linear-gradient(120deg, #e0eee8, #d6e3d9);
  box-shadow: 0 8px 24px rgba(20,79,63,.06);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244,250,247,.18), transparent 75%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding: 27px 0 0 14.5%; }
.eyebrow { margin: 0 0 7px; color: #064d40; font: 600 21px/1.4 "Playfair Display", Georgia, serif; }
.hero h1 { margin: 0; color: #063e35; font: 800 clamp(27px, 3vw, 47px)/1.2 "Playfair Display", Georgia, serif; letter-spacing: -1.3px; }
.hero h1 em { font-weight: 700; }
.hero-subtitle { margin: 10px 0 15px; font-size: 19px; color: #315d5d; }
.gold-line { display: block; width: 49px; height: 4px; background: var(--gold); }
.mosque-silhouette { position: absolute; inset: 0 auto 0 0; width: 135px; opacity: .27; }
.mosque-silhouette:before { content: ""; position: absolute; bottom: -22px; left: -30px; width: 145px; height: 85px; border-radius: 55% 55% 0 0; background: #4e9b87; }
.minaret { position: absolute; bottom: 46px; left: 18px; height: 125px; width: 22px; background: #4e9b87; clip-path: polygon(50% 0,70% 10%,65% 18%,90% 25%,90% 100%,10% 100%,10% 25%,35% 18%,30% 10%); }
.dome { position: absolute; bottom: 18px; background: #4e9b87; border-radius: 55% 55% 0 0; }
.dome-one { left: 38px; width: 65px; height: 66px; }
.dome-two { left: 89px; width: 58px; height: 46px; }
.hero-books { position: absolute; right: 0; bottom: 0; width: 35%; height: 100%; opacity: .85; }
.desk { position: absolute; right: -15px; bottom: 0; width: 100%; height: 16px; background: linear-gradient(#c6b9a3,#a69d8a); transform: skewX(-12deg); }
.book { position: absolute; right: 8%; width: 52%; height: 25px; border-radius: 2px 5px 4px 2px; box-shadow: 0 5px 9px #8b988d66; transform: skewX(-8deg); }
.book-back { bottom: 16px; background: linear-gradient(#a9b2ac 0 12%, #f2eee3 13% 85%, #c7c5b8 86%); }
.book-middle { bottom: 40px; right: 13%; background: linear-gradient(#6e7d77 0 15%, #fffdf4 16% 84%, #aeb5ad 85%); }
.book-front { bottom: 64px; right: 7%; width: 47%; height: 29px; background: linear-gradient(#87958b 0 12%, #f6f2e6 13% 82%, #b9b8ab 83%); }
.plant { position: absolute; right: 5%; top: 12px; width: 45px; height: 66px; border-bottom: 7px solid #a9a28e; }
.plant b { position: absolute; bottom: 5px; left: 8px; width: 29px; height: 28px; border-radius: 2px 2px 8px 8px; background: #c5bba4; }
.plant i { position: absolute; bottom: 26px; left: 18px; width: 12px; height: 30px; border-radius: 100% 0 100% 0; background: #739c75; transform-origin: bottom; }
.plant i:nth-child(1) { transform: rotate(-35deg); left: 7px; }
.plant i:nth-child(2) { transform: rotate(22deg); left: 20px; }
.plant i:nth-child(3) { transform: rotate(-5deg); bottom: 32px; }
.plant i:nth-child(4) { transform: rotate(45deg); left: 25px; bottom: 23px; }
.journal-card {
  margin: 16px 6px 0;
  padding: 0 20px 16px;
  background: rgba(255,255,255,.94);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(26,83,67,.07);
}
.breadcrumb { height: 57px; display: flex; align-items: center; gap: 14px; font-size: 14px; color: #087357; }
.breadcrumb i { font-size: 17px; }
.breadcrumb a { text-decoration: none; color: #087357; }
.breadcrumb span { color: #aabcb6; font-size: 23px; }
.breadcrumb strong { font-weight: 700; }
.journal-panel {
  min-height: 322px;
  border: 1px solid #e0ece7;
  border-radius: 13px;
  padding: 26px 18px 24px;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, rgba(255,255,255,.99), rgba(255,255,255,.91));
}
.journal-icon {
  position: relative; z-index: 1;
  width: 67px; height: 67px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 29px;
  background: linear-gradient(135deg, #20a77c, #08785a);
  box-shadow: inset 0 1px 4px #ffffff45;
}
.journal-content { position: relative; z-index: 1; min-width: 0; }
.journal-content h2 { font: 800 28px/1.2 "Playfair Display", Georgia, serif; color: #07533f; margin: 0 0 14px; letter-spacing: -.4px; }
.journal-content p { margin: 28px 0 21px; line-height: 1.48; font-size: 15.5px; color: #34495a; }
.journal-content p strong { color: #273f50; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature {
  min-height: 85px; display: flex; align-items: center; gap: 15px;
  padding: 13px 17px; border-radius: 12px;
  background: linear-gradient(110deg, #eff8f4, #f1f8f6);
}
.feature-icon {
  width: 53px; height: 53px; flex: 0 0 53px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #08614b; background: #d6eee4; font-size: 24px;
}
.feature strong { display: block; font-size: 13px; color: #076047; margin-bottom: 4px; }
.feature small { display: block; font-size: 12px; color: #4e6871; white-space: nowrap; }
.corner-decoration {
  position: absolute; bottom: -56px; left: -42px; width: 130px; height: 130px;
  border: 12px solid #e2b72d; border-radius: 0 70% 0 0; transform: rotate(-15deg);
  background: #075640; box-shadow: 0 0 0 5px #f7fbf9 inset;
}
.sidebar {
  margin-top: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,.93);
  box-shadow: 0 9px 27px rgba(27,78,64,.09);
  border: 1px solid rgba(221,236,230,.65);
}
.sidebar-heading {
  min-height: 71px; padding: 0 25px; display: flex; align-items: center; gap: 15px;
  color: #fff; background: linear-gradient(100deg, #087457, #005541);
  position: relative; overflow: hidden;
}
.sidebar-heading:after { content: "۞"; position: absolute; right: -6px; top: -36px; font-size: 115px; color: #ffffff12; }
.sidebar-heading i { font-size: 20px; }
.sidebar-heading h2 { font: 700 21px "Playfair Display", Georgia, serif; margin: 0; }
.sidebar-body { padding: 19px 18px 28px; }
.menu-parent {
  width: 100%; border: 0; border-radius: 7px; padding: 13px 14px;
  display: flex; align-items: center; gap: 18px; text-align: left;
  color: #084f41; background: linear-gradient(90deg, #dff2e9, #e2f4ed);
  font: inherit; cursor: pointer; min-height: 45px;
}
.menu-parent > i:first-child { font-size: 21px; }
.menu-parent strong { font-size: 15px; flex: 1; }
.menu-parent .chevron { font-size: 14px; }
.submenu { padding: 4px 0 16px 35px; }
.submenu a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  text-decoration: none; color: #405667; font-size: 14.5px; line-height: 1.45;
  min-height: 42px; padding: 7px 0 7px 20px;
}
.submenu a:before { content: ""; position: absolute; left: 0; top: 11px; bottom: 11px; width: 2px; background: #299775; }
.submenu a i { font-size: 12px; margin: 0 1px 0 8px; }
.menu-row {
  min-height: 58px; border-top: 1px solid #e1ece7; display: flex; align-items: center;
  gap: 19px; text-decoration: none; color: #073f37; padding: 12px 12px;
}
.menu-row > i:first-child { width: 25px; text-align: center; color: #08664e; font-size: 24px; }
.menu-row strong { flex: 1; font-size: 15px; }
.menu-row > i:last-child { font-size: 16px; }
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 18px; }
  .brand-mark { width: 100px; }
  .tagline { margin-right: 2%; }
  .top-nav { gap: 0; }
  .top-nav a { padding: 12px 17px; }
  .feature-grid { gap: 9px; }
  .feature { padding: 10px; gap: 9px; }
  .feature-icon { width: 43px; height: 43px; flex-basis: 43px; }
}
@media (max-width: 800px) {
  .site-header { padding: 0 16px; }
  .masthead { height: auto; min-height: 112px; padding: 14px 0; }
  .brand { gap: 10px; }
  .brand-mark { width: 65px; height: 70px; }
  .brand-title { white-space: normal; font-size: clamp(22px, 5vw, 32px); }
  .brand-subtitle { font-size: 11px; gap: 7px; }
  .brand-subtitle span { width: 22px; }
  .tagline { display: none; }
  .top-nav { justify-content: flex-start; overflow-x: auto; border-radius: 12px; padding: 6px; }
  .top-nav a { padding: 11px 14px; font-size: 13px; }
  .page-layout { margin: 16px; grid-template-columns: 1fr; }
  .hero { height: 205px; }
  .hero-copy { padding-left: 9%; padding-top: 30px; }
  .hero h1 { max-width: 85%; font-size: clamp(26px, 5.6vw, 39px); }
  .hero-subtitle { font-size: 15px; max-width: 80%; }
  .hero-books { width: 30%; opacity: .35; }
  .journal-card { margin: 14px 0 0; padding: 0 12px 12px; }
  .journal-panel { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 20px 12px; }
  .journal-icon { width: 52px; height: 52px; font-size: 23px; }
  .journal-content h2 { font-size: 23px; }
  .journal-content p { font-size: 14px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 70px; }
  .feature small { white-space: normal; }
  .sidebar { margin-top: 0; }
}
@media (max-width: 430px) {
  .brand-mark { width: 48px; height: 56px; }
  .brand-title { font-size: 21px; }
  .brand-subtitle { font-size: 10px; }
  .top-nav a { padding: 10px 12px; }
  .top-nav a i { font-size: 14px; }
  .hero-copy { padding-left: 7%; }
  .eyebrow { font-size: 18px; }
  .hero h1 { font-size: 27px; }
  .hero-subtitle { font-size: 13px; }
  .journal-panel { grid-template-columns: 1fr; }
  .journal-icon { margin-bottom: 2px; }
  .breadcrumb { font-size: 12px; gap: 9px; }
  .desktop-break { display: none; }
}
