:root {
  --navy: #1f3d4d;
  --navy-deep: #00004c;
  --navy-hover: #043b58;
  --mint: #66ccaa;
  --ink: #121212;
  --muted: #666666;
  --paper: #ffffff;
  --fog: #f6f7fb;
  --max: 1200px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Crimson Text", Georgia, serif;
  font-size: 22px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--navy);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--mint);
}

h1,
h2,
h3,
h4 {
  font-family: "Rubik", sans-serif;
  color: var(--navy);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

h1 {
  font-size: 48px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 30px;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 30px;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 25px;
}

p {
  margin: 0 0 1.5em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1.5em;
  padding-left: 1.2em;
}

main li + li,
.about-copy li + li {
  margin-top: 0.6em;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

.wrap,
.hero-inner,
.header-inner {
  width: min(100% - (2 * var(--gutter)), var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  color: #fff;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
}

.logo img {
  width: 150px;
  display: block;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  padding: 8px 10px;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 44px;
  height: 44px;
}

.nav-toggle::after {
  content: "Menu";
  font-family: "Rubik", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  position: relative;
}

.menu-bars::before,
.menu-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bars::before {
  top: -6px;
}

.menu-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .menu-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .menu-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .menu-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li,
.site-nav li + li {
  display: flex;
  align-items: center;
  margin: 0;
}

.site-nav .sub-menu {
  display: none;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 140px;
  background: var(--navy);
  padding: 8px 0;
  z-index: 30;
}

.site-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 12px;
}

.site-nav .has-sub:hover > .sub-menu,
.site-nav .has-sub:focus-within > .sub-menu,
.site-nav .has-sub.open > .sub-menu {
  display: flex;
}

.site-nav a {
  display: flex;
  align-items: center;
  color: #fff;
  font-family: "Rubik", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0 13px;
}

.site-nav > ul > li > a {
  height: 50px;
  line-height: 50px;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav .current > a {
  color: var(--mint);
}

.site-nav .current > a {
  color: #fff;
}

.site-nav .current > a:hover {
  color: var(--mint);
}

.nav-button a {
  color: #fff !important;
  border: 3px solid var(--mint);
  padding: 0 18px !important;
  border-radius: 2px;
  margin-left: 16px;
  height: 50px;
  line-height: 44px;
  transition: all 0.25s ease;
}

.nav-button a:hover,
.nav-button a:focus {
  color: var(--mint) !important;
  border-color: #fff;
}

.menu-face > a {
  padding: 0 10px;
}

.menu-face img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid #ddd;
  object-fit: cover;
}

.has-sub {
  position: relative;
}

.sub-menu a {
  display: block;
  width: 100%;
  font-size: 14px;
  line-height: 1.3;
  padding: 10px 16px;
  text-transform: none;
  letter-spacing: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: 568px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-inner {
  position: relative;
  z-index: 1;
  margin-top: 160px;
  margin-bottom: 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.rashid-quote{
  background: var(--fog);
padding:40px;
margin-bottom:40px;
text-size:small;
}

.hero-copy,
.hero-copy p,
.hero p,
.hero h1 {
  color: white;
}

.hero-title {
  color: #fff;
  text-align: left;
}

.hero-title-banner {
  min-height: 360px;
}

.hero-title-banner .hero-inner {
  margin: 120px auto 36px;
}

.book {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  transform-origin: center center;
  transition: transform 0.3s ease;
}

.book:hover,
.book:focus-within {
  transform: scale(1.1);
}

.book img {
  display: block;
  width: 100%;
}

.book-buy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.book:hover .book-buy,
.book:focus-within .book-buy {
  opacity: 1;
  transform: scale(1.05);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 15px 20px;
  background: var(--navy-deep);
  color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.16), 0 8px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--navy-hover);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #111;
}

.btn-light:hover,
.btn-light:focus {
  background: var(--navy-deep);
  color: #fff;
}

.btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

/* Sections */
.section {
  padding: 80px 0 100px;
}

.section-tight {
  padding: 80px 0;
}

.section h2,
.section h3 {
  font-weight: 600;
  padding-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.shadow {
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08), 0 2px 2px rgba(0, 0, 0, 0.12),
    0 4px 4px rgba(0, 0, 0, 0.16), 0 8px 8px rgba(0, 0, 0, 0.2);
}

.author {
  background: var(--fog);
}

.author-photo {
  max-width: 420px;
  margin-left: auto;
}

.quote {
  text-align: right;
  font-style: italic;
}

.about-copy,
.chapter-list-wrap {
  max-width: 920px;
}

/* Video */
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.embed {
  position: relative;
  padding-top: 56.25%;
  background: #000;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

figcaption {
  margin-top: 0.6em;
  font-size: 0.85em;
  color: var(--muted);
}

/* Buy */
.buy-band {
  background: var(--fog);
  padding: 80px 0;
}

.buy-box {
  background-image: linear-gradient(0deg, #000000, #00004c);
  color: #fff;
  max-width: 1160px;
  margin: 0 auto;
  padding: 30px;
}

.buy-box h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 20px;
}

.retailers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 30px;
}

.retailer {
  display: block;
  opacity: 0.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.retailer:hover,
.retailer:focus {
  opacity: 1;
  transform: translateY(-3px);
}

.retailer img {
  width: 100%;
  display: block;
}

/* Chapter abstracts */
.abstracts-layout {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 48px;
  max-width: 1080px;
}

.abstract-tabs {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-self: start;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.abstract-tab {
  appearance: none;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-left: 3px solid transparent;
  text-align: left;
  padding: 8px 12px;
  cursor: pointer;
  line-height: 1.3;
}

.abstract-tab:hover,
.abstract-tab:focus-visible {
  color: var(--navy-hover);
  background: var(--fog);
}

.abstract-tab[aria-selected="true"] {
  border-left-color: var(--mint);
  background: var(--fog);
  font-weight: 600;
}

.abstract-panel h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.abstract-panel h3 {
  margin: 0 0 24px;
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.abstract-quote {
  margin: 0 0 1.5em;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--mint);
  color: var(--navy);
  font-style: italic;
}

.abstract-keywords {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
  font-size: 0.9em;
  color: var(--muted);
}

.abstract-status {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #eee;
  text-align: center;
  padding: 22px 20px;
  font-size: 16px;
}

@media (min-width: 1025px) {
  .nav-toggle {
    display: none;
  }
}

/* Mobile */
@media (max-width: 1024px) {
  .header-inner {
    padding-top: 10px;
  }

  .logo img {
    height: 60px;
    width: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 16px 24px;
  }

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

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a,
  .site-nav > ul > li > a,
  .nav-button a {
    height: auto;
    font-size: 16px;
    line-height: 44px;
    padding: 4px 8px;
  }

  .nav-button a {
    margin: 12px 0 0;
    justify-content: center;
    padding: 4px 18px !important;
  }

  .site-nav .sub-menu {
    position: static;
    min-width: 0;
    background: transparent;
  }

  .site-nav .sub-menu::before {
    content: none;
  }

  .site-nav .menu-face {
    display: block;
  }

  .site-nav .menu-face > a {
    display: none;
  }

  .site-nav .menu-face .sub-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 4px;
    padding: 0 8px 8px;
  }

  .site-nav .menu-face .sub-menu a {
    display: inline-flex;
    width: auto;
    padding: 0 8px;
    line-height: 36px;
    font-size: 14px;
  }

  .hero-inner {
    margin: 90px auto 60px;
  }

  .hero-title-banner .hero-inner {
    margin: 80px auto 28px;
  }

  .hero-grid,
  .two-col,
  .video-grid,
  .abstracts-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .abstract-tabs {
    flex-direction: row;
    position: sticky;
    top: 0;
    z-index: 5;
    max-height: none;
    overflow-x: auto;
    background: var(--paper);
    padding: 8px 0 12px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .abstract-tab {
    flex: 0 0 auto;
    border-left: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .abstract-tab[aria-selected="true"] {
    border-left-color: transparent;
    border-bottom-color: var(--mint);
  }

  .author-photo {
    margin: 0 auto;
  }

  .buy-box {
    margin: 0 20px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 20px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .section {
    padding: 60px 0 80px;
  }

  .buy-box {
    margin: 0;
    padding: 20px;
  }

  .buy-box h2 {
    font-size: 24px;
    text-align: center;
  }

  .retailers {
    grid-template-columns: 1fr 1fr;
  }
}
