
:root {
  --navy: #0b1f3a;
  --blue: #1f6feb;
  --cyan: #22c7d8;
  --green: #18b77b;
  --gold: #f7b731;
  --soft: #f5f9ff;
  --white: #ffffff;
  --text: #223047;
  --muted: #6b7890;
  --border: rgba(11, 31, 58, 0.10);
  --shadow: 0 22px 60px rgba(11, 31, 58, 0.14);
  --radius: 26px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(34, 199, 216, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.13), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  line-height: 1.65;
}

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

.container {
  width: min(1160px, calc(100% - 38px));
  margin: auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 249, 255, 0.96);
  border-bottom: 1px solid rgba(11, 31, 58, 0.12);
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.06);
}

.nav-inner {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--navy);
  white-space: nowrap;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--green));
  box-shadow: 0 12px 28px rgba(31, 111, 235, 0.27);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--navy);
  color: white !important;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.20);
}

.hero {
  padding: 96px 0 78px;
}

.hero-content {
  max-width: 920px;
}

h1 {
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
  color: var(--navy);
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  max-width: 780px;
  color: #40506a;
  margin-bottom: 32px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.25s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: white;
  box-shadow: 0 18px 34px rgba(31, 111, 235, 0.28);
}

.btn-secondary {
  background: white;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: 0 14px 32px rgba(11, 31, 58, 0.08);
}

.btn:hover {
  transform: translateY(-3px);
}

section {
  padding: 72px 0;
}

.page-header {
  padding: 78px 0 34px;
}

.kicker {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: var(--navy);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 820px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.07);
}

.card h3 {
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.card p {
  color: var(--muted);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 1.4rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.stats-box {
  background:
    linear-gradient(135deg, rgba(11,31,58,0.96), rgba(31,111,235,0.92)),
    radial-gradient(circle at right, rgba(34,199,216,0.45), transparent 35%);
  color: white;
  border-radius: 42px;
  padding: 48px;
  box-shadow: var(--shadow);
}

.stats-box h2 {
  color: white;
}

.stat {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 9px;
}

.stat span {
  color: rgba(255,255,255,0.82);
  font-weight: 800;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  background: white;
  border-radius: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 26px;
}

.contact-info {
  border-radius: 28px;
  padding: 30px;
  color: white;
  background: linear-gradient(150deg, var(--navy), var(--blue));
}

.contact-info h2 {
  color: white;
}

.contact-item {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.86);
  font-weight: 700;
}

.form {
  padding: 8px;
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: block;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  font: inherit;
  color: var(--text);
  background: #fbfdff;
}

textarea {
  resize: vertical;
  min-height: 122px;
}

footer {
  padding: 34px 0 46px;
  color: var(--muted);
  text-align: center;
  font-weight: 700;
}

.footer-brand {
  color: var(--navy);
  font-weight: 900;
}

@media (max-width: 980px) {
  .grid-3,
  .grid-4,
  .grid-5,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .grid-5,
  .contact-panel,
  .form-row {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  h1 {
    font-size: 3.3rem;
  }
}


.timeline {
  display: grid;
  gap: 18px;
}

.activity-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: start;
}

.activity-date {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(31,111,235,0.12), rgba(34,199,216,0.14));
  color: var(--navy);
  font-weight: 900;
  text-align: center;
  border: 1px solid rgba(31,111,235,0.12);
}

.activity-date strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--blue);
}

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.activity-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  border: 1px solid rgba(31,111,235,0.10);
}

@media (max-width: 640px) {
  .activity-card {
    grid-template-columns: 1fr;
  }

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


.home-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.home-opportunity {
  background: white;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.07);
  overflow: hidden;
}

.home-opportunity-top {
  min-height: 118px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(31,111,235,0.10), rgba(34,199,216,0.12));
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.home-tag {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  border: 1px solid rgba(31,111,235,0.10);
}

.home-date-badge {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: var(--navy);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
  box-shadow: 0 14px 26px rgba(11,31,58,0.20);
}

.home-opportunity-body {
  padding: 24px;
}

.home-opportunity h3 {
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.home-opportunity p {
  color: var(--muted);
  margin-bottom: 18px;
  font-size: 0.96rem;
}

.learn-more {
  color: var(--blue);
  font-weight: 900;
}

.partner-box {
  min-height: 126px;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
}

@media (max-width: 980px) {
  .home-opportunity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .home-opportunity-grid {
    grid-template-columns: 1fr;
  }
}


.brand-logo {
  height: 84px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  display: block;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}


.campaign-hero-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
  margin-top: 28px;
}

.campaign-highlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.campaign-panel {
  background: linear-gradient(135deg, rgba(31,111,235,0.10), rgba(34,199,216,0.12));
  border: 1px solid rgba(31,111,235,0.12);
  border-radius: 28px;
  padding: 28px;
}

.campaign-panel h3 {
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}

.campaign-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.campaign-list div {
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-weight: 800;
  color: var(--navy);
}

.info-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.info-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(11, 31, 58, 0.06);
}

.info-box h3 {
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.info-box p,
.info-box li {
  color: var(--muted);
}

.info-box ul {
  padding-left: 20px;
}

.apply-strip {
  margin-top: 34px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.apply-strip h2 {
  color: white;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 100;
}

.modal:target {
  display: flex;
}

.modal-box {
  width: min(980px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: white;
  border-radius: 34px;
  padding: 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--navy);
  font-weight: 900;
  border: 1px solid var(--border);
}

.checkbox-list {
  display: grid;
  gap: 14px;
}

.check-option {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #fbfdff;
  font-weight: 800;
  color: var(--navy);
}

.check-option input {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .campaign-highlight,
  .info-boxes {
    grid-template-columns: 1fr;
  }
}


/* Rooh W Reya 3 campaign page redesign */
.rooh-page {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.94)),
    url("assets/rooh-page-background.png");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  background-color: #ffffff;
}

.rooh-hero {
  padding: 64px 0 40px;
}

.rooh-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.rooh-copy h1 {
  font-size: clamp(2.8rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  color: var(--navy);
  margin-bottom: 26px;
}

.rooh-copy .lead {
  max-width: 760px;
  font-size: 1.18rem;
  color: #40506a;
  font-weight: 650;
}

.rooh-bullets {
  display: grid;
  gap: 18px;
  margin: 34px 0;
}

.rooh-bullet {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  align-items: start;
  color: #30405a;
  font-weight: 900;
  font-size: 1.02rem;
}

.checkmark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #17b7a4;
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 900;
  margin-top: 3px;
}

.rooh-apply-btn {
  min-width: 250px;
  background: linear-gradient(135deg, #129c8c, #17b7a4);
  color: white;
  box-shadow: 0 18px 34px rgba(18, 156, 140, 0.28);
}

.rooh-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.image-placeholder {
  min-height: 235px;
  border-radius: 24px;
  border: 2px dashed rgba(31, 111, 235, 0.24);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(232,247,255,0.9)),
    radial-gradient(circle at top right, rgba(34,199,216,0.18), transparent 36%);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.08);
  overflow: hidden;
}

.image-placeholder.large {
  grid-column: span 2;
  min-height: 315px;
}

.image-placeholder span {
  display: block;
  padding: 18px;
}

.image-placeholder small {
  display: block;
  margin-top: 6px;
  color: #8795aa;
  font-weight: 800;
}

.rooh-info-section {
  padding: 34px 0 76px;
}

.rooh-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rooh-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.07);
}

.rooh-info-card h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.rooh-info-card p,
.rooh-info-card li {
  color: var(--muted);
}

.rooh-info-card ul {
  padding-left: 20px;
}

@media (max-width: 1000px) {
  .rooh-layout {
    grid-template-columns: 1fr;
  }

  .rooh-images {
    max-width: 760px;
  }

  .rooh-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rooh-images {
    grid-template-columns: 1fr;
  }

  .image-placeholder.large {
    grid-column: span 1;
  }
}


.rooh-card-bg {
  background-image: url("assets/rooh-w-reya-banner.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffffff;
  min-height: 190px;
  padding: 18px 22px;
}


@media (max-width: 640px) {
  .rooh-card-bg {
  background-image: url("assets/rooh-w-reya-banner.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #ffffff;
  min-height: 190px;
  padding: 18px 22px;
}
}


/* Rooh W Reya photo layout - no cropping */
.rooh-images {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 18px;
  align-items: stretch;
}

.rooh-photo-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 18px;
}

.rooh-photo-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.08);
  overflow: hidden;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rooh-photo-card.tall {
  min-height: 620px;
}

.rooh-photo-card.wide {
  min-height: 300px;
}

.rooh-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 16px;
}

@media (max-width: 1000px) {
  .rooh-images {
    grid-template-columns: 1fr;
  }

  .rooh-photo-card.tall {
    min-height: 460px;
  }

  .rooh-photo-card.wide {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .rooh-photo-card.tall {
    min-height: 380px;
  }

  .rooh-photo-card.wide {
    min-height: 220px;
  }
}


/* Rooh W Reya real image gallery - no cropping */
.rooh-images {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  grid-template-areas:
    "photo1 photo2"
    "photo1 photo3";
  gap: 18px;
  align-items: start;
}

.rooh-photo-card {
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 24px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(11, 31, 58, 0.08);
  overflow: hidden;
}

.rooh-photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.rooh-photo-1 {
  grid-area: photo1;
}

.rooh-photo-2 {
  grid-area: photo2;
}

.rooh-photo-3 {
  grid-area: photo3;
}

@media (max-width: 1000px) {
  .rooh-images {
    grid-template-columns: 1fr;
    grid-template-areas:
      "photo1"
      "photo2"
      "photo3";
  }
}


/* Arabic volunteer form */
.arabic-form-wrap {
  direction: rtl;
  text-align: right;
}

.arabic-form-wrap h2,
.arabic-form-wrap p,
.arabic-form-wrap label {
  text-align: right;
}

.arabic-form-wrap input,
.arabic-form-wrap select,
.arabic-form-wrap textarea {
  direction: rtl;
  text-align: right;
}

.arabic-form-wrap .form-row {
  direction: rtl;
}

.arabic-form-wrap .check-option {
  direction: rtl;
  justify-content: flex-start;
}

.arabic-form-wrap .check-option input {
  margin-left: 10px;
  margin-right: 0;
}

.arabic-form-wrap .btn {
  width: 100%;
  font-size: 1.08rem;
}


/* Previous Activities compact campaign card */
.previous-single-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 900px;
}

.previous-activity-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: white;
}

.previous-activity-body {
  padding: 30px;
}

.previous-activity-body h2 {
  margin-bottom: 10px;
}

.compact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 900;
  font-size: 0.92rem;
  box-shadow: 0 12px 26px rgba(11, 31, 58, 0.18);
}


/* Rooh W Reya place map */
.place-map {
  width: 100%;
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  display: block;
  object-fit: contain;
  background: white;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
}


/* Larger Rooh W Reya place section */
.rooh-info-card.place-card-large {
  grid-column: 1 / -1;
}

.place-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.place-map,
.place-photo {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  display: block;
  object-fit: contain;
  background: white;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.08);
}

@media (max-width: 800px) {
  .place-images {
    grid-template-columns: 1fr;
  }
}






/* Campaign schedule as plain text */
.rooh-info-card.schedule-card-large {
  grid-column: 1 / -1;
}

.schedule-list {
  display: block;
  margin-top: 14px;
  max-width: 980px;
}

.schedule-list p {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.schedule-list p:last-child {
  margin-bottom: 0;
}

.schedule-list strong {
  color: var(--navy);
}


/* BeyondUni opportunities categories and SurgWeek-2 page */
.opportunities-section {
  padding-top: 34px;
}

.opportunity-category {
  margin-bottom: 58px;
}

.opportunity-category:last-child {
  margin-bottom: 0;
}

.opportunity-category-heading {
  margin-bottom: 22px;
}

.opportunity-category-heading h2 {
  max-width: 850px;
}

.research-grid-single {
  grid-template-columns: minmax(280px, 420px);
}

.research-grid-double {
  grid-template-columns: repeat(2, minmax(280px, 420px));
}

.surgweek-card-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.32)),
    url("assets/surgweek-card-banner.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  min-height: 190px;
}

.surgweek-card-bg::after {
  content: "";
}

.surgweek-card-bg .home-tag,
.surgweek-card-bg .home-date-badge {
  position: relative;
  z-index: 1;
}

.gaspout-card-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.10)),
    url("assets/gaspout-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  min-height: 190px;
}

.gaspout-card-bg .home-tag,
.gaspout-card-bg .home-date-badge {
  position: relative;
  z-index: 1;
}

.surgweek-header {
  padding: 92px 0 70px;
  background-image:
    linear-gradient(rgba(3, 12, 25, 0.72), rgba(3, 12, 25, 0.74)),
    url("assets/surgweek-page-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
}

.surgweek-header .kicker,
.surgweek-header h1,
.surgweek-header .hero-subtitle {
  color: white;
}

.surgweek-header .hero-subtitle {
  max-width: 840px;
}

.gaspout-header {
  padding: 92px 0 70px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.88)),
    url("assets/gaspout-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
}

.gaspout-header .hero-subtitle {
  max-width: 860px;
}

.surgweek-section {
  padding-top: 18px;
}

.surgweek-header .btn-secondary {
  background: rgba(255,255,255,0.95);
}

.surgweek-card,
.gaspout-card-page {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.surgweek-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 46px);
}

.surgweek-card-header {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.research-pill {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--blue);
  border: 1px solid rgba(31,111,235,0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.surgweek-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 30px;
}

.gaspout-secondary-grid {
  margin-top: 18px;
}

.surgweek-detail-box {
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  background: #fbfdff;
}

.surgweek-detail-box h3,
.surgweek-contact-box h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.surgweek-detail-box p,
.surgweek-contact-box p {
  color: var(--muted);
  margin-bottom: 14px;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(31,111,235,0.09), rgba(34,199,216,0.13));
}

.surgweek-contact-box {
  margin-top: 20px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: white;
}

.surgweek-contact-box h3,
.surgweek-contact-box p {
  color: white;
}

.email-link {
  display: inline-flex;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: white;
  color: var(--navy);
  font-weight: 900;
}

/* Opportunity action links */
.opportunity-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.opportunity-actions .learn-more + .learn-more {
  color: #129c8c;
}

@media (max-width: 980px) {
  .research-grid-single,
  .research-grid-double {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .surgweek-detail-grid,
  .research-grid-single,
  .research-grid-double {
    grid-template-columns: 1fr;
  }
}




/* Stronger BeyondUni logo presence */
@media (max-width: 640px) {
  .nav-inner {
    min-height: 78px;
  }

  .brand-logo {
    height: 62px;
    max-width: 260px;
  }
}


/* Imami Medics International opportunity */
.imami-card-bg {
  position: relative;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.32)),
    url("assets/imami-medics-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  min-height: 190px;
}

.imami-card-bg .home-tag,
.imami-card-bg .home-date-badge {
  position: relative;
  z-index: 1;
}

.imami-header {
  padding: 92px 0 70px;
  background-image:
    linear-gradient(rgba(3, 12, 25, 0.64), rgba(3, 12, 25, 0.68)),
    url("assets/imami-medics-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  border-bottom-left-radius: 34px;
  border-bottom-right-radius: 34px;
  overflow: hidden;
}

.imami-header .kicker,
.imami-header h1,
.imami-header .hero-subtitle {
  color: white;
}

.imami-card-page {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}


/* Organized Rooh W Reya collaboration logos */
.rooh-collaboration-section {
  padding: 18px 0 76px;
}

.collaboration-strip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 34px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 18px 45px rgba(11, 31, 58, 0.08);
}

.collaboration-title {
  color: var(--navy);
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  text-align: center;
}

.collaboration-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.collaboration-logo-card {
  min-height: 250px;
  background: #ffffff;
  border: 1px solid rgba(11, 31, 58, 0.10);
  border-radius: 26px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.06);
}

.collaboration-logo-card img {
  width: 100%;
  max-width: 160px;
  height: 135px;
  object-fit: contain;
  display: block;
}

.collaboration-logo-card span {
  color: var(--navy);
  font-weight: 900;
  font-size: 1.02rem;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .collaboration-logos {
    grid-template-columns: 1fr;
  }

  .collaboration-logo-card {
    min-height: 210px;
  }
}
