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

.page-hero {
  height: 72vh;
  background:
    linear-gradient(rgba(0, 32, 70, 0.45), rgba(0, 32, 70, 0.45)),
    url("images/exam-routines.jpeg") center/cover no-repeat;

  display: flex;
  text-align: center;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 70px;
  font-weight: 300;
  letter-spacing: 1px;
}

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

.term-section {
  background: #f7f7f7;
  padding: 100px 7%;
}

.term-container {
  display: grid;
  grid-template-columns: 2fr 340px;
  gap: 60px;
  align-items: start;
}
.page-hero {
  position: relative;
}

.hero-overlay {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.hero-overlay h1 {
  color: #fff;
  font-size: 72px;
  font-weight: 300;
  margin: 0;
}
/* ================= MAIN CONTENT ================= */

.term-main h2 {
  font-size: 50px;
  font-weight: 300;
  color: #002b5c;
  margin-bottom: 22px;
}

.lead {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 45px;
}

/* ================= ROUTINE BOX ================= */

.term-box {
  background: #fff;
  padding: 38px;
  border-radius: 24px;
  margin-bottom: 30px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.07);

  position: relative;
  overflow: hidden;
}

.term-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #7a1c2e;
}

.term-box h3 {
  font-size: 30px;
  font-weight: 400;
  color: #002b5c;
  margin-bottom: 20px;
}

.term-box p {
  font-size: 15.5px;
  line-height: 1.9;
  color: #555;
  margin-bottom: 12px;
}

/* ================= BADGE ================= */

.routine-badge {
  display: inline-block;
  background: #f4f1ee;
  color: #7a1c2e;

  padding: 8px 16px;
  border-radius: 30px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;

  margin-bottom: 20px;
}

/* ================= BUTTON ================= */

.routine-download-btn {
  display: inline-block;
  margin-top: 24px;

  background: #7a1c2e;
  color: #fff;

  padding: 14px 28px;
  border-radius: 40px;

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  transition: 0.3s ease;
}

.routine-download-btn:hover {
  background: #54101d;
  transform: translateY(-2px);
}

/* ================= SIDEBAR ================= */

.term-sidebar {
  background: #0d2d63;
  color: #fff;
  padding: 40px 35px;
  border-radius: 24px;
  position: sticky;
  top: 120px;
  box-shadow: 0 15px 35px rgba(0,0,0,.12);
}
.sidebar-logo{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:30px;
}

.sidebar-logo img{
    width:85px;
    height:auto;
}

.term-sidebar h3{
    color:#fff;
    font-size:42px;
    font-weight:300;
    line-height:1.2;
    margin-bottom:35px;
}

.term-sidebar ul{
    list-style:none;
    padding:0;
    margin:0;
}

.term-sidebar li{
    border-bottom:1px solid rgba(255,255,255,.18);
}

.term-sidebar li:last-child{
    border-bottom:none;
}

.term-sidebar a{
    display:block;
    padding:16px 0;
    color:rgba(255,255,255,.9);
    text-decoration:none;
    font-size:18px;
    font-weight:500;
    transition:.3s;
}

.term-sidebar a:hover{
    color:#ffd400;
    padding-left:10px;
}

.term-sidebar a.active{
    color:#ffd400;
    font-weight:700;
}

/* ================= EMPTY ================= */

.empty {
  background: #fff;
  padding: 60px 30px;
  border-radius: 24px;
  text-align: center;
  color: #666;

  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

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

.activity-cta {
  background: #002b5c;
  color: #fff;

  text-align: center;
  padding: 90px 20px;
}

.activity-cta h2 {
  font-size: 42px;
  font-weight: 300;
  margin-bottom: 20px;
}

.activity-cta p {
  max-width: 700px;
  margin: auto;

  line-height: 1.8;
  margin-bottom: 35px;
}

.activity-cta a {
  display: inline-block;

  padding: 14px 30px;
  border-radius: 40px;

  background: #fff;
  color: #002b5c;

  text-decoration: none;
  font-weight: 600;

  transition: 0.3s ease;
}

.activity-cta a:hover {
  transform: translateY(-2px);
}

/* ================= MOBILE ================= */

@media (max-width: 1000px) {

  .term-container {
    grid-template-columns: 1fr;
  }

  .term-sidebar {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {

  .page-hero {
    height: 55vh;
  }

  .hero-overlay h1 {
    font-size: 42px;
  }

  .term-section {
    padding: 75px 22px;
  }

  .term-main h2 {
    font-size: 34px;
  }

  .lead {
    font-size: 15.5px;
  }

  .term-box {
    padding: 28px 24px;
  }

  .term-box h3 {
    font-size: 24px;
  }

  .routine-download-btn {
    width: 100%;
    text-align: center;
  }

  .activity-cta {
    padding: 75px 22px;
  }

  .activity-cta h2 {
    font-size: 32px;
  }
}