:root {
  --primaryColor: #921224;
  --helperColor: #00224D;
  --lightHelper: #d4dce6;
  --bgSoft: #f1f5f9;
  --middleColor: #334155;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  background: #f8fafc;
}


.page-hero {
  background: linear-gradient(135deg, var(--primaryColor),var(--helperColor));
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 700;
}

/* CONTAINER */
.links-container {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

/* SECTION TITLE */
.section-title {
  background: #fff;
  padding: 15px 25px;
  border-radius: 12px;
  margin: 40px 0 25px;
  border-right: 6px solid var(--helperColor);
  border-left: 6px solid var(--helperColor);
  border-bottom: 6px solid var(--helperColor);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title h2 {
  font-size: 1.4rem;
}

/* GRID */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}


.link-box {
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--middleColor);
  font-weight: 600;
  position: relative;

  /* 3D Shadow */
  box-shadow:
    0 8px 20px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.5);

  border: 1px solid #e2e8f0;
}

.link-box::before {
  content: "";
  width: 5px;
  height: 60%;
  background: var(--helperColor);
  position: absolute;
  right: 0;
  border-radius: 10px;
}


.link-box::after {
  content: "\f060";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: auto;
  color: var(--helperColor);
  background: #eef2ff;
  padding: 8px;
  border-radius: 50%;
  font-size: 0.9rem;
}


.link-box span {
  flex: 1;
}


.subsection-header {
  background: var(--bgSoft);
  padding: 12px 20px;
  border-radius: 10px;
  margin: 25px 0 15px;
  border-right: 4px solid var(--helperColor);
  border-bottom: 4px solid var(--helperColor);
}

.subsection-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

/* MOBILE */
@media (max-width:768px) {
  .links-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 1.8rem;
  }
}
