/* =====================================================
   SCHOLARHUB — CALL FOR PAPERS
===================================================== */

:root {
  --blue: #0877ff;
  --green: #00ed00;
  --yellow: #f5f500;
  --red: #f52b32;

  --black: #000;
  --dark: #080d14;
  --white: #f8f8f6;
  --muted: #989ea8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: var(--white);

  font-family: Inter, Arial, sans-serif;

  overflow-x: hidden;
}

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


/* =====================================================
   NAVBAR
===================================================== */

.nav {
  height: 92px;

  display: flex;
  align-items: center;

  gap: 40px;

  padding: 0 32px;

  border-bottom:
    1px solid rgba(255,255,255,.08);

  position: relative;

  z-index: 20;

  background: #000;
}

.brand {
  min-width: 320px;

  display: grid;
  grid-template-columns: 56px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;

  line-height: .88;
}

.brand-logo {
  grid-row: 1 / 3;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-size: 31px;

  font-weight: 800;

  letter-spacing: -1.5px;

  color: var(--red);
}

.brand-accent {
  font-size: 31px;

  font-weight: 800;

  letter-spacing: -1.5px;

  color: #fff;
}

.brand small {
  grid-column: 2;

  font-size: 7px;

  letter-spacing: 1.1px;

  color: rgba(255,255,255,.68);

  margin-top: 5px;
}

.nav-links {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 30px;

  flex: 1;

  font-size: 14px;

  color: rgba(255,255,255,.8);
}

.nav-links a {
  transition: .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

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

.nav-cta {
  background: var(--blue);

  padding: 23px 28px;

  font-weight: 800;

  font-size: 13px;

  letter-spacing: .5px;

  transition: .25s;
}

.nav-cta:hover {
  background: var(--green);

  color: #000;
}

.menu {
  display: none;

  background: none;

  border: 0;
}

.menu span {
  display: block;

  width: 24px;
  height: 2px;

  background: #fff;

  margin: 5px;
}


/* =====================================================
   MAIN
===================================================== */

.papers-page {
  position: relative;

  overflow: hidden;

  background: #000;
}


/* background grid */

.papers-page::before {

  content: "";

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(
      rgba(255,255,255,.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,.02) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  pointer-events: none;
}


/* =====================================================
   DECORATIVE SHAPES
===================================================== */

.papers-shape {
  position: absolute;

  pointer-events: none;
}

.papers-shape-blue {

  width: 330px;
  height: 330px;

  right: -140px;
  top: 120px;

  background: var(--blue);

  border-radius:
    60% 40% 70% 30%
    / 40% 60% 40% 60%;

  transform: rotate(25deg);

  opacity: .9;
}

.papers-shape-green {

  width: 150px;
  height: 150px;

  left: -70px;
  top: 900px;

  background: var(--green);

  border-radius:
    50% 50% 30% 70%;

  transform: rotate(-25deg);
}


/* =====================================================
   HERO
===================================================== */

.papers-hero {

  position: relative;

  max-width: 1200px;

  margin: auto;

  padding:
    145px
    40px
    150px;
}

.papers-eyebrow {

  display: inline-flex;

  align-items: center;

  gap: 12px;

  padding: 10px 20px;

  border:
    1px solid
    rgba(245,245,0,.5);

  border-radius: 100px;

  color: var(--yellow);

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 3px;

  margin-bottom: 35px;
}

.papers-eyebrow span {
  font-size: 18px;
}

.papers-hero h1 {

  max-width: 900px;

  font-family:
    "Barlow Condensed",
    Impact,
    sans-serif;

  font-size:
    clamp(
      90px,
      13vw,
      180px
    );

  font-weight: 900;

  line-height: .7;

  letter-spacing: -6px;
}

.papers-hero h1 span {

  display: block;

  color: var(--blue);
}

.hero-description {

  max-width: 730px;

  margin-top: 50px;

  color: #a4a8af;

  font-size: 18px;

  line-height: 1.7;
}

.hero-actions {

  display: flex;

  gap: 15px;

  margin-top: 40px;
}

.primary-button,
.secondary-button {

  display: inline-flex;

  align-items: center;

  gap: 15px;

  padding: 17px 25px;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1px;

  transition: .25s;
}

.primary-button {

  background: var(--blue);

  color: #fff;
}

.primary-button:hover {

  background: var(--green);

  color: #000;

  transform: translateY(-3px);
}

.primary-button span {

  font-size: 20px;
}

.secondary-button {

  border:
    1px solid
    rgba(255,255,255,.3);
}

.secondary-button:hover {

  background: #fff;

  color: #000;
}


/* =====================================================
   SHARED SECTION
===================================================== */

.papers-intro,
.paper-themes,
.guidelines-section,
.publication-section,
.dates-section,
.papers-contact {

  max-width: 1200px;

  margin: auto;

  padding:
    120px 40px;
}

.section-label {

  display: flex;

  align-items: center;

  gap: 15px;

  color: #777e88;

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 3px;

  margin-bottom: 35px;
}

.section-label span {

  color: var(--blue);

  font-family:
    "Barlow Condensed";

  font-size: 18px;
}


/* =====================================================
   INTRO
===================================================== */

.intro-content {

  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 100px;

  align-items: start;
}

.intro-content h2,
.paper-themes h2,
.guidelines-header h2,
.publication-title h2,
.dates-section h2 {

  font-family:
    "Barlow Condensed",
    Impact,
    sans-serif;

  font-size:
    clamp(
      65px,
      8vw,
      115px
    );

  font-weight: 900;

  line-height: .76;

  letter-spacing: -4px;
}

.intro-content h2 span,
.paper-themes h2 span,
.guidelines-header h2 span,
.publication-title h2 span,
.dates-section h2 span {

  display: block;

  color: var(--blue);
}

.intro-content p {

  color: #9da2aa;

  font-size: 16px;

  line-height: 1.8;

  margin-bottom: 25px;
}


/* =====================================================
   RESEARCH THEMES
===================================================== */

.paper-themes {

  border-top:
    1px solid
    rgba(255,255,255,.08);
}

.paper-themes > h2 {

  margin-bottom: 65px;
}

.research-grid {

  display: grid;

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

  gap: 18px;
}

.research-grid article {

  position: relative;

  min-height: 250px;

  padding: 30px;

  background:
    linear-gradient(
      145deg,
      #111923,
      #070b10
    );

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 18px;

  overflow: hidden;

  transition: .3s;
}

.research-grid article:hover {

  transform: translateY(-6px);

  border-color:
    rgba(8,119,255,.6);
}

.research-grid article:nth-child(2n) {
  border-top-color: var(--green);
}

.research-grid article:nth-child(3n) {
  border-top-color: var(--yellow);
}

.research-grid strong {

  color: var(--blue);

  font-family:
    "Barlow Condensed";

  font-size: 18px;

  letter-spacing: 2px;
}

.research-grid h3 {

  margin-top: 55px;

  max-width: 330px;

  font-family:
    "Barlow Condensed",
    sans-serif;

  font-size: 32px;

  line-height: .95;
}


/* =====================================================
   GUIDELINES
===================================================== */

.guidelines-section {

  border-top:
    1px solid
    rgba(255,255,255,.08);
}

.guidelines-header {

  display: flex;

  justify-content: space-between;

  gap: 70px;

  margin-bottom: 65px;
}

.guidelines-header p {

  max-width: 420px;

  color: #999fa8;

  line-height: 1.7;

  padding-top: 15px;
}

.guidelines-grid {

  display: grid;

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

  gap: 18px;
}

.guideline-card {

  min-height: 280px;

  padding: 30px;

  position: relative;

  border:
    1px solid
    rgba(255,255,255,.1);

  border-radius: 18px;

  background: #0b1017;

  transition: .3s;
}

.guideline-card:hover {

  transform: translateY(-5px);

  border-color: var(--blue);
}

.card-number {

  color: var(--blue);

  font-family:
    "Barlow Condensed";

  font-size: 18px;

  font-weight: 800;
}

.guideline-card h3 {

  margin-top: 45px;

  font-family:
    "Barlow Condensed";

  font-size: 32px;

  line-height: .9;
}

.guideline-card p {

  margin-top: 20px;

  color: #9298a1;

  font-size: 14px;

  line-height: 1.6;
}

.download-link {

  display: inline-block;

  margin-top: 20px;

  color: var(--green);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;
}


/* =====================================================
   PUBLICATION
===================================================== */

.publication-section {

  border-top:
    1px solid
    rgba(255,255,255,.08);
}

.publication-layout {

  display: grid;

  grid-template-columns:
    .9fr 1.1fr;

  gap: 100px;
}

.publication-title p {

  margin-top: 35px;

  max-width: 500px;

  color: #999fa8;

  line-height: 1.7;
}

.publication-card {

  border:
    1px solid
    rgba(255,255,255,.12);

  border-radius: 22px;

  overflow: hidden;

  background: #0b1017;
}

.publication-item {

  display: grid;

  grid-template-columns: 55px 1fr;

  gap: 15px;

  padding: 30px;

  border-bottom:
    1px solid
    rgba(255,255,255,.08);
}

.publication-item:last-child {
  border-bottom: 0;
}

.publication-item > span {

  color: var(--blue);

  font-family:
    "Barlow Condensed";

  font-size: 20px;

  font-weight: 800;
}

.publication-item h3 {

  font-family:
    "Barlow Condensed";

  font-size: 29px;
}

.publication-item p {

  margin-top: 10px;

  color: #8f969f;

  font-size: 13px;

  line-height: 1.6;
}


/* =====================================================
   DATES
===================================================== */

.dates-section {

  border-top:
    1px solid
    rgba(255,255,255,.08);
}

.dates-section h2 {

  margin-bottom: 65px;
}

.dates-list {

  border-top:
    1px solid
    rgba(255,255,255,.15);
}

.date-row {

  display: grid;

  grid-template-columns:
    80px 1fr 240px;

  align-items: center;

  min-height: 90px;

  border-bottom:
    1px solid
    rgba(255,255,255,.1);
}

.date-number {

  color: var(--blue);

  font-family:
    "Barlow Condensed";

  font-size: 20px;
}

.date-name {

  font-family:
    "Barlow Condensed";

  font-size: 27px;

  font-weight: 700;
}

.date-value {

  justify-self: end;

  color: var(--yellow);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 2px;
}


/* =====================================================
   SUBMISSION CTA
===================================================== */

.submission-section {

  position: relative;

  overflow: hidden;

  background: var(--blue);

  color: #fff;

  padding:
    130px
    max(8vw, 40px);

  text-align: center;
}

.submission-content {

  position: relative;

  z-index: 2;

  max-width: 850px;

  margin: auto;
}

.submission-content > span {

  color: var(--yellow);

  font-size: 11px;

  font-weight: 900;

  letter-spacing: 3px;
}

.submission-content h2 {

  margin-top: 25px;

  font-family:
    "Barlow Condensed";

  font-size:
    clamp(
      75px,
      10vw,
      140px
    );

  font-weight: 900;

  line-height: .72;

  letter-spacing: -4px;
}

.submission-content h2 strong {

  display: block;

  color: #000;
}

.submission-content p {

  max-width: 650px;

  margin: 35px auto;

  color: rgba(255,255,255,.8);

  line-height: 1.6;
}

.submit-button {

  display: inline-flex;

  align-items: center;

  gap: 15px;

  padding: 18px 28px;

  background: #000;

  color: #fff;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 1px;

  transition: .25s;
}

.submit-button:hover {

  background: var(--yellow);

  color: #000;

  transform: translateY(-4px);
}

.submit-button span {

  font-size: 20px;
}


/* =====================================================
   CONTACT
===================================================== */

.papers-contact {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}

.papers-contact > div > span {

  color: var(--green);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 3px;
}

.papers-contact h2 {

  margin-top: 20px;

  font-family:
    "Barlow Condensed";

  font-size: 65px;

  line-height: .8;
}

.papers-contact h2 strong {

  color: var(--blue);
}

.papers-contact > a {

  color: var(--blue);

  font-weight: 700;

  border-bottom:
    2px solid
    var(--blue);

  padding-bottom: 8px;
}

.papers-contact > a span {

  margin-left: 15px;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {

  background: #f7f7f3;

  color: #050505;

  border-top: 1px solid #ddd;
}

.footer-cta {

  position: relative;

  min-height: 430px;

  padding:
    85px max(8vw, 50px);

  background: #fff;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  gap: 60px;

  overflow: hidden;
}

.footer-cta::before {

  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -180px;
  top: -230px;

  background: var(--blue);

  border-radius: 50%;
}

.footer-cta::after {

  content: "✱";

  position: absolute;

  right: 310px;
  bottom: -45px;

  font-size: 150px;

  color: var(--green);
}

.footer-cta-content {

  position: relative;

  z-index: 2;

  max-width: 700px;
}

.footer-label {

  display: inline-block;

  margin-bottom: 22px;

  color: var(--blue);

  font-size: 12px;

  font-weight: 900;

  letter-spacing: 3px;
}

.footer-cta h2 {

  font-family:
    "Barlow Condensed";

  font-size:
    clamp(
      80px,
      10vw,
      145px
    );

  font-weight: 900;

  line-height: .76;

  letter-spacing: -4px;
}

.footer-cta h2 span {

  color: var(--blue);
}

.footer-cta p {

  max-width: 600px;

  margin-top: 30px;

  color: #555;

  font-size: 16px;

  line-height: 1.6;
}

.footer-register {

  position: relative;

  z-index: 3;

  width: 210px;
  height: 210px;

  border-radius: 50%;

  background: var(--blue);

  color: #fff;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 12px;

  font-family:
    "Barlow Condensed";

  font-size: 22px;

  font-weight: 800;

  transition: .3s;
}

.footer-register span {

  font-size: 35px;
}

.footer-register:hover {

  background: var(--green);

  color: #000;

  transform: rotate(-8deg) scale(1.05);
}

.footer-main {

  padding:
    75px max(8vw, 50px)
    70px;

  display: grid;

  grid-template-columns:
    2.2fr 1fr 1fr 1.4fr;

  gap: 70px;

  border-top: 1px solid #ddd;
}

.footer-logo {

  display: flex;

  align-items: baseline;

  gap: 5px;

  font-family:
    "Barlow Condensed";

  font-size: 47px;

  font-weight: 900;

  line-height: .8;
}

.footer-logo img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 18px;
  background: #fff;
}

.footer-logo strong {

  color: var(--blue);
}

.footer-brand > p {

  max-width: 400px;

  margin-top: 25px;

  color: #666;

  font-size: 14px;

  line-height: 1.7;
}

.footer-socials {

  display: flex;

  gap: 10px;

  margin-top: 28px;
}

.footer-socials a {

  width: 40px;
  height: 40px;

  border: 1px solid #bbb;

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 13px;

  font-weight: 700;

  transition: .25s;
}

.footer-socials a:hover {

  background: var(--blue);

  border-color: var(--blue);

  color: #fff;
}

.footer-column {

  display: flex;

  flex-direction: column;

  align-items: flex-start;
}

.footer-column h3 {

  margin-bottom: 25px;

  font-family:
    "Barlow Condensed";

  font-size: 18px;

  letter-spacing: 2px;
}

.footer-column a {

  margin-bottom: 13px;

  color: #555;

  font-size: 14px;

  transition: .2s;
}

.footer-column a:hover {

  color: var(--blue);

  transform: translateX(4px);
}

.footer-contact p {

  margin-top: 15px;

  color: #777;

  font-size: 13px;

  line-height: 1.7;
}

.footer-bottom {

  min-height: 75px;

  padding:
    20px max(8vw, 50px);

  border-top: 1px solid #d7d7d7;

  display: grid;

  grid-template-columns:
    1fr auto 1fr;

  align-items: center;

  gap: 30px;

  color: #777;

  font-size: 11px;
}

.footer-legal {

  display: flex;

  gap: 25px;
}

.footer-mark {

  justify-self: end;

  color: #111;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 2px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

  .nav-links {
    gap: 15px;
  }

  .brand {
    min-width: 220px;
  }

  .research-grid,
  .guidelines-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .publication-layout,
  .intro-content {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns:
      1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}


@media (max-width: 700px) {

  .nav {
    height: 76px;

    padding: 0 18px;
  }

  .brand {
    min-width: 0;
    flex: 1;
    grid-template-columns: 46px auto;
    column-gap: 10px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .brand-main,
  .brand-accent {
    font-size: 24px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .menu {
    display: block;
  }


  .papers-hero {

    padding:
      100px 20px
      100px;
  }

  .papers-hero h1 {

    font-size: 80px;

    letter-spacing: -3px;
  }

  .hero-description {

    font-size: 15px;

    margin-top: 35px;
  }

  .hero-actions {

    flex-direction: column;

    align-items: flex-start;
  }


  .papers-intro,
  .paper-themes,
  .guidelines-section,
  .publication-section,
  .dates-section,
  .papers-contact {

    padding:
      80px 20px;
  }


  .intro-content {

    gap: 40px;
  }


  .research-grid,
  .guidelines-grid {

    grid-template-columns: 1fr;
  }


  .guidelines-header {

    display: block;
  }


  .guidelines-header p {

    margin-top: 30px;
  }


  .date-row {

    grid-template-columns:
      40px 1fr;

    padding: 20px 0;

    gap: 10px;
  }


  .date-value {

    grid-column: 2;

    justify-self: start;
  }


  .date-name {

    font-size: 22px;
  }


  .papers-contact {

    display: block;
  }


  .papers-contact h2 {

    font-size: 55px;
  }


  .papers-contact > a {

    display: inline-block;

    margin-top: 40px;
  }


  .footer-cta {

    min-height: 550px;

    padding: 70px 25px;

    display: block;
  }


  .footer-cta h2 {

    font-size: 75px;
  }


  .footer-register {

    width: 150px;
    height: 150px;

    margin-top: 45px;

    font-size: 17px;
  }


  .footer-main {

    padding:
      55px 25px;

    grid-template-columns:
      1fr 1fr;

    gap: 45px 30px;
  }


  .footer-brand {

    grid-column: 1 / -1;
  }


  .footer-bottom {

    padding: 25px;

    grid-template-columns: 1fr;
  }


  .footer-mark {

    justify-self: start;
  }

}


@media (max-width: 450px) {

  .footer-main {

    grid-template-columns: 1fr;
  }

}
