:root {
  --dark-bg: #001821;
  --dark-bg-secondary: #03212b;
  --card-bg: rgba(5, 42, 54, 0.88);

  --white: #ffffff;
  --text-light: #dce5e8;
  --text-muted: #b8c8ce;

  --red: #ff3621;
  --red-light: #ff4c38;

  --blue-line: rgba(55, 147, 181, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--dark-bg);
  color: var(--white);
  font-family: "Inter", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.home-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #00202a;
}

.home-banner-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/*
Clickable transparent area placed over the
"BLOCK YOUR CALENDAR" button visible inside the banner.
*/

.banner-calendar-link {
  position: absolute;
  left: 5.3%;
  top: 64.5%;
  width: 21%;
  height: 14%;
  z-index: 5;
  display: block;
  cursor: pointer;
  border-radius: 7px;
}

.banner-calendar-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}


/* =====================================================
   ABOUT SECTION
===================================================== */

.about-forum {
  position: relative;
  min-height: 100vh;
  padding: 75px 0 60px;
  overflow: hidden;
  isolation: isolate;

  background:
    radial-gradient(
      circle at 45% 42%,
      rgba(4, 81, 105, 0.33),
      transparent 37%
    ),
    radial-gradient(
      circle at 90% 10%,
      rgba(10, 75, 96, 0.22),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #031c26 0%,
      #021821 48%,
      #00131b 100%
    );
}

.about-container {
  position: relative;
  z-index: 5;
  width: min(92%, 1780px);
  margin: 0 auto;
}


/* =====================================================
   BACKGROUND DECORATIONS
===================================================== */

.about-grid {
  position: absolute;
  inset: 0;
  z-index: -4;
  opacity: 0.09;

  background-image:
    linear-gradient(
      rgba(65, 139, 163, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(65, 139, 163, 0.08) 1px,
      transparent 1px
    );

  background-size: 52px 52px;
}

.about-glow {
  position: absolute;
  z-index: -3;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

.about-glow-left {
  left: 5%;
  bottom: -10%;
  width: 420px;
  height: 420px;
  background: rgba(0, 104, 135, 0.13);
}

.about-glow-right {
  top: 5%;
  right: 3%;
  width: 380px;
  height: 380px;
  background: rgba(0, 90, 118, 0.17);
}

.about-dots {
  position: absolute;
  z-index: -1;
  width: 155px;
  height: 125px;
  opacity: 0.35;

  background-image: radial-gradient(
    circle,
    rgba(17, 130, 165, 0.9) 2px,
    transparent 2.6px
  );

  background-size: 20px 20px;
}

.dots-top {
  top: 85px;
  left: 42%;
}

.dots-bottom {
  right: 1%;
  bottom: 175px;
}


/* =====================================================
   MAIN ABOUT LAYOUT
===================================================== */

.about-main {
  display: grid;
  grid-template-columns:
    minmax(460px, 0.92fr)
    minmax(560px, 1.18fr);

  gap: 72px;
  align-items: center;
}

.about-content {
  position: relative;
  z-index: 4;
}


/* Small heading */

.section-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;

  color: var(--red);
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-label-line {
  width: 260px;
  height: 2px;

  background: linear-gradient(
    90deg,
    rgba(255, 54, 33, 0.65),
    rgba(86, 146, 168, 0.1)
  );
}


/* Main heading */

.about-heading {
  max-width: 750px;
  color: var(--white);
  font-size: clamp(36px, 4vw, 60px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -2.4px;
}

.about-heading span {
  display: block;
  margin-top: 6px;
  color: var(--red);
}

.heading-line {
  display: block;
  width: 72px;
  height: 4px;
  margin: 32px 0 28px;

  background: var(--red);
  border-radius: 20px;
}


/* Paragraphs */

.about-description {
  max-width: 790px;
}

.about-description p {
  margin-bottom: 22px;

  color: var(--text-light);
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.62;
  font-weight: 400;
}

.about-description p:last-child {
  margin-bottom: 0;
}

.about-description strong {
  color: var(--white);
  font-weight: 600;
}


/* =====================================================
   RIGHT IMAGE
===================================================== */

.about-visual {
  position: relative;
  min-height: 470px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-box {
  position: relative;
  z-index: 4;

  width: 100%;
  height: 485px;
  overflow: hidden;

  border: 1px solid rgba(43, 151, 189, 0.76);
  background: #08212b;

  clip-path: polygon(
    9% 0,
    100% 0,
    100% 76%,
    90% 100%,
    0 100%,
    0 18%
  );

  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.44),
    0 0 35px rgba(12, 105, 139, 0.1);
}

.about-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;

  filter:
    contrast(1.06)
    saturate(0.95);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(0, 16, 24, 0.27),
      transparent 38%,
      rgba(0, 12, 19, 0.13)
    ),
    linear-gradient(
      0deg,
      rgba(0, 14, 21, 0.12),
      transparent 42%
    );
}


/* Image border lines */

.image-border {
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(48, 153, 188, 0.27);
}

.image-border-one {
  inset: 3% -1% 4% 3%;

  clip-path: polygon(
    9% 0,
    100% 0,
    100% 76%,
    90% 100%,
    0 100%,
    0 18%
  );
}

.image-border-two {
  inset: 6% 2% 1% 0;
  border-color: rgba(48, 153, 188, 0.12);
}


/* Red corner decoration */

.red-corner {
  position: absolute;
  z-index: 7;
  width: 95px;
  height: 95px;
}

.red-corner::before,
.red-corner::after {
  content: "";
  position: absolute;

  background: linear-gradient(
    135deg,
    var(--red-light),
    var(--red)
  );
}

.red-corner-top {
  top: -15px;
  right: -20px;
}

.red-corner-top::before {
  top: 0;
  right: 0;
  width: 95px;
  height: 42px;
}

.red-corner-top::after {
  top: 0;
  right: 0;
  width: 42px;
  height: 112px;
}

.red-corner-bottom {
  left: -42px;
  bottom: 2px;
}

.red-corner-bottom::before {
  left: 0;
  bottom: 0;
  width: 116px;
  height: 42px;
}

.red-corner-bottom::after {
  left: 0;
  bottom: 0;
  width: 42px;
  height: 115px;
}


.forum-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  margin-top: 60px;
  overflow: hidden;

  border: 1px solid rgba(57, 126, 150, 0.12);
  border-radius: 14px;

  background: rgba(2, 32, 43, 0.48);

  box-shadow:
    0 24px 55px rgba(0, 0, 0, 0.18);
}

.feature-card {
  position: relative;

  display: flex;
  align-items: center;
  gap: 25px;

  min-height: 140px;
  padding: 20px 30px;

  background: linear-gradient(
    135deg,
    rgba(8, 49, 63, 0.88),
    rgba(4, 34, 45, 0.8)
  );

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.feature-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;

  width: 1px;
  height: 64%;

  background: rgba(173, 207, 217, 0.5);
}

.feature-card:hover {
  z-index: 2;
  transform: translateY(-5px);

  background: linear-gradient(
    135deg,
    rgba(10, 58, 74, 0.98),
    rgba(4, 39, 51, 0.92)
  );
}

.feature-icon {
  flex: 0 0 120px;

  width: 120px;
  height: 120px;

  display: grid;
  place-items: center;

  border: 2px solid rgba(159, 192, 202, 0.4);
  border-radius: 50%;
}

.feature-icon i {
  color: var(--red);
  font-size: 48px;
}

.feature-text h3 {
  margin-bottom: 10px;

  color: var(--white);
  font-size: clamp(17px, 1.35vw, 24px);
  line-height: 1.2;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-text p {
  color: var(--text-light);
  font-size: clamp(14px, 1vw, 18px);
  line-height: 1.5;
}


@media (max-width: 1350px) {

  .about-main {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 45px;
  }

  .about-image-box {
    height: 470px;
  }

  .about-visual {
    min-height: 510px;
  }

  .feature-card {
    gap: 20px;
    padding: 26px 24px;
  }

  .feature-icon {
    flex-basis: 95px;
    width: 95px;
    height: 95px;
  }

  .feature-icon i {
    font-size: 39px;
  }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1100px) {

  .about-forum {
    padding-top: 65px;
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .about-content {
    max-width: 900px;
  }

  .about-visual {
    min-height: auto;
    width: 100%;
  }

  .about-image-box {
    height: 520px;
  }

  .forum-features {
    grid-template-columns: 1fr;
    margin-top: 55px;
  }

  .feature-card:not(:last-child)::after {
    top: auto;
    right: 5%;
    bottom: 0;

    width: 90%;
    height: 1px;
  }

  .feature-card {
    min-height: 145px;
  }

}


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

@media (max-width: 768px) {

  .home-banner {
    min-height: 240px;
  }

  .home-banner-image {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    object-position: center;
  }

  .banner-calendar-link {
    display: none;
  }

  .about-forum {
    padding: 52px 0 42px;
  }

  .about-container {
    width: min(90%, 680px);
  }

  .section-label {
    gap: 14px;
    margin-bottom: 22px;
    letter-spacing: 1.5px;
  }

  .section-label-line {
    width: 100px;
  }

  .about-heading {
    font-size: clamp(39px, 11vw, 58px);
    letter-spacing: -1.8px;
  }

  .heading-line {
    margin: 26px 0 24px;
  }

  .about-description p {
    font-size: 16px;
    line-height: 1.68;
  }

  .about-main {
    gap: 45px;
  }

  .about-image-box {
    height: 390px;

    clip-path: polygon(
      8% 0,
      100% 0,
      100% 82%,
      91% 100%,
      0 100%,
      0 16%
    );
  }

  .red-corner-top {
    right: -12px;
  }

  .red-corner-bottom {
    left: -18px;
    bottom: -12px;
  }

  .red-corner {
    transform: scale(0.7);
  }

  .feature-card {
    gap: 20px;
    padding: 25px 22px;
  }

  .feature-icon {
    flex-basis: 84px;
    width: 84px;
    height: 84px;
  }

  .feature-icon i {
    font-size: 34px;
  }

  .feature-text h3 {
    font-size: 18px;
  }

  .feature-text p {
    font-size: 14px;
  }

  .dots-top {
    top: 40px;
    right: 0;
    left: auto;
  }

}


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

@media (max-width: 520px) {

  .home-banner {
    min-height: 210px;
  }

  .home-banner-image {
    min-height: 210px;
  }

  .about-container {
    width: min(90%, 460px);
  }

  .section-label-line {
    flex: 1;
    width: auto;
  }

  .about-heading {
    font-size: 39px;
    line-height: 1.07;
  }

  .about-heading span {
    margin-top: 7px;
  }

  .about-image-box {
    height: 290px;
  }

  .forum-features {
    border-radius: 10px;
  }

  .feature-card {
    align-items: flex-start;
    min-height: auto;
    padding: 24px 20px;
  }

  .feature-icon {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .feature-icon i {
    font-size: 28px;
  }

  .feature-text h3 {
    margin-top: 3px;
    font-size: 16px;
  }

  .feature-text p {
    line-height: 1.55;
  }

  .red-corner {
    transform: scale(0.55);
  }

  .red-corner-top {
    top: -27px;
    right: -28px;
  }

  .red-corner-bottom {
    left: -36px;
    bottom: -29px;
  }

}