/* Soan Chirhi – SACE Page Theme (matches main site) */

:root{
  --blue:#002c5f;
  --blue2:#003f7d;
  --gold:#ffd700;
  --text:#1f2937;
  --muted:#6b7280;
  --card:#ffffff;
  --bg:#f5f7fb;
  --shadow: 0 10px 28px rgba(0,0,0,.14);
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--blue) 0%, var(--bg) 280px);
}

/* Header */
.simple-page-header{
  background: var(--blue);
  color:#fff;
  padding: 36px 18px 22px;
  text-align:center;
  border-bottom: 4px solid var(--gold);
}

.simple-page-header h1{
  margin:0;
  font-size: 2.1rem;
  letter-spacing: .3px;
}

.simple-page-subtitle{
  margin: 10px 0 0;
  font-size: 1.05rem;
  opacity: .95;
}

.back-home-link{
  display:inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
  background: var(--gold);
  color: var(--blue);
  transition: transform .15s ease, background-color .15s ease;
}

.back-home-link:hover{
  transform: translateY(-1px);
  background: #ffe46b;
}

/* Page layout */
.simple-page-content{
  max-width: 1000px;
  margin: 28px auto 60px;
  padding: 0 16px;
}

/* Cards */
.info-card{
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
  margin: 18px 0;
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  overflow:hidden;
}

.info-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width: 6px;
  height: 100%;
  background: var(--gold);
}

.info-card h2{
  margin:0 0 12px;
  font-size: 1.55rem;
  color: var(--blue);
}

.info-card h3{
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--blue2);
}

.info-card p{
  margin: 10px 0;
  line-height: 1.75;
  color: var(--text);
}

.info-card ul{
  margin: 10px 0 0;
  padding-left: 20px;
}

.info-card li{
  margin: 8px 0;
  line-height: 1.65;
}

/* Notes */
.small-note{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0,63,125,.06);
  border: 1px dashed rgba(0,63,125,.25);
  color: var(--muted);
}

/* Apply button */
.sace-apply-wrap{
  text-align:center;
  margin: 14px 0 6px;
}

.sace-apply-btn{
  display:inline-block;
  background: var(--gold);
  color: var(--blue);
  text-decoration:none;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 10px;
  transition: transform .15s ease, background-color .15s ease;
}

.sace-apply-btn:hover{
  transform: translateY(-1px);
  background: #ffe46b;
}

/* Mobile */
@media (max-width:768px){
  .simple-page-header h1{ font-size: 1.7rem; }
  .info-card{ padding: 20px 18px; }
}
/* Smooth scrolling for SACE nav */
html {
  scroll-behavior: smooth;
}

/* SACE Navigation Bar */
.sace-nav {
  background: #002c5f;                 /* same as main site blue */
  border-top: 3px solid #ffd700;       /* same yellow */
  border-bottom: 3px solid #ffd700;
  padding: 10px 0;
  position: sticky;                    /* stays visible when scrolling */
  top: 0;
  z-index: 999;
}

.sace-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sace-nav ul li a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 999px;               /* pill shape */
  transition: 0.25s ease-in-out;
}

/* Hover */
.sace-nav ul li a:hover {
  background: #ffd700;
  color: #002c5f;
}

/* Optional: make the Enrolment link look like a button if you want later */
/*
.sace-nav ul li a[href="#enrolment"] {
  background: #ffd700;
  color: #002c5f;
}
.sace-nav ul li a[href="#enrolment"]:hover {
  background: #ffffff;
  color: #002c5f;
}
*/

/* Mobile layout */
@media (max-width: 768px) {
  .sace-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .sace-nav ul li a {
    width: 92%;
    text-align: center;
    padding: 12px 14px;
  }
}
/* Smooth scrolling for SACE nav */
html {
  scroll-behavior: smooth;
}

/* SACE Navigation Bar */
.sace-nav {
  background: #002c5f;                 /* same as main site blue */
  border-top: 3px solid #ffd700;       /* same yellow */
  border-bottom: 3px solid #ffd700;
  padding: 10px 0;
  position: sticky;                    /* stays visible when scrolling */
  top: 0;
  z-index: 999;
}

.sace-nav ul {
  list-style: none;
  margin: 0;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sace-nav ul li a {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-radius: 999px;               /* pill shape */
  transition: 0.25s ease-in-out;
}

/* Hover */
.sace-nav ul li a:hover {
  background: #ffd700;
  color: #002c5f;
}

/* Optional: make the Enrolment link look like a button if you want later */
/*
.sace-nav ul li a[href="#enrolment"] {
  background: #ffd700;
  color: #002c5f;
}
.sace-nav ul li a[href="#enrolment"]:hover {
  background: #ffffff;
  color: #002c5f;
}
*/

/* Mobile layout */
@media (max-width: 768px) {
  .sace-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .sace-nav ul li a {
    width: 92%;
    text-align: center;
    padding: 12px 14px;
  }
}

