/* --- Global Variables & Resets --- */
:root {
  --brand-blue: #1A3E98;      /* Primary Blue from Portal Header */
  --brand-yellow: #F1B812;    /* Primary Yellow from Buttons */
  --text-dark: #333333;
  --text-muted: #666666;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
}

* { 
  box-sizing: border-box; 
  font-family: 'Inter', sans-serif; 
}

body { 
  margin: 0; 
  padding: 0; 
  background-color: var(--white); 
  color: var(--text-dark); 
}

/* --- Navigation --- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo { font-weight: 900; font-size: 1.6rem; color: var(--brand-blue); text-decoration: none; }
.logo span { color: var(--brand-yellow); }

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  margin-left: 20px;
  font-weight: 500;
  font-size: 0.95rem;
}

.btn-login {
  background: var(--brand-blue);
  color: white !important;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
}

/* --- Hero Section & Watermarks --- */
.hero {
  background-color: var(--brand-blue);
  color: var(--white);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.1;
  background-repeat: no-repeat;
}

/* Graduation Cap */
.hero::before { 
  left: 5%; top: 20%; 
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 3L1 9l11 6 9-4.91V17h2V9L12 3z"/></svg>'); 
}

/* School Building */
.hero::after { 
  right: 5%; bottom: 10%; 
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm4 8H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm4 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm4 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2z"/></svg>'); 
}

.hero h1 { font-size: 3.5rem; margin: 0; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; margin: 15px 0 40px; opacity: 0.9; }

/* --- Attractive Buttons --- */
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-yellow { background: var(--brand-yellow); color: var(--brand-blue); border: none; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.3); }

/* --- Main Content Layout --- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.section { padding: 60px 0; }
.section-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom: 25px; 
}

.bg-light { 
  background: var(--bg-light); 
  width: 100vw; 
  margin-left: calc(-50vw + 50%); 
  padding: 60px 8%; 
}

/* --- Cards for Notices & Events --- */
.card {
  background: var(--white);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
  margin-bottom: 20px;
}

.notice-card small { color: var(--brand-blue); font-weight: 700; }
.notice-card h3 { margin: 10px 0; }

/* --- Event Specific Card --- */
.event-card { display: flex; gap: 20px; align-items: center; }
.event-date {
  background: var(--brand-blue);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  min-width: 65px;
}
.event-date span { display: block; font-size: 1.5rem; font-weight: 800; }

/* --- Featured Memory Card --- */
.featured-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-top: 30px;
}
.image-wrapper img { width: 100%; height: auto; display: block; }