/* Global Variables */
:root {
  --primary-color: #8b79b8;    /* Soft Violet */
  --secondary-color: #a8d5e2;  /* Pale Sky Blue */
  --accent-color: #f6d8ce;     /* Soft Peach */
  --bg-color: #fdfdfd;         /* Off-white */
  --text-dark: #2d3748;        /* Dark Slate */
  --text-light: #ffffff;
  --transition-speed: 0.3s;
  --max-width: 1200px;
}

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

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

/* Header & Navigation */
header {
  background-color: var(--text-light);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h2 {
  color: var(--primary-color);
  margin-bottom: 0;
  font-size: 1.8rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  color: var(--text-light);
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* Sections */
.section-title {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
  border-radius: 2px;
}

.section-body {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.section-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.highlight-text {
  font-weight: bold;
  color: var(--secondary-color);
}

/* Cards (Staff & Programs) */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.grid-spaced {
  margin-bottom: 4rem;
}

.card {
  background: var(--text-light);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
  border-top: 5px solid var(--primary-color);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card h3 {
  color: var(--primary-color);
}

.card .role {
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.card.text-center {
  text-align: center;
}

.placeholder-img {
  width: 120px;
  height: 120px;
  background-color: var(--accent-color);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: bold;
}

/* Links */
.link-primary {
  color: var(--primary-color);
}

.email-link {
  color: var(--primary-color);
  font-weight: bold;
  margin-top: 1rem;
  display: inline-block;
}

/* Programs page */
.fee-list {
  margin-top: 1rem;
  line-height: 2;
}

.note-text {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9rem;
}

.info-box {
  background-color: var(--text-light);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.info-box h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.disc-list {
  list-style-type: disc;
  margin-left: 2rem;
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  font-style: italic;
}

.resource-text {
  margin: 1rem 0;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  box-shadow: 0 4px 6px rgba(139, 121, 184, 0.3);
}

.btn:hover {
  background-color: #6d5b99;
  transform: translateY(-2px);
  color: var(--text-light);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: var(--text-dark);
  box-shadow: 0 4px 6px rgba(246, 216, 206, 0.4);
}

.btn-secondary:hover {
  background-color: #e5c3b7;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: 4rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-content h3 {
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.footer-links {
  line-height: 2;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}

/* New Pages Styles (Programs & Policies) */
.policy-section-heading {
  color: var(--primary-color);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.policy-icon, .program-icon {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

.policy-list {
  margin-top: 1rem;
}

.policy-list li {
  margin-bottom: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Form Styles */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-speed);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-submit .btn {
  border: none;
  cursor: pointer;
  width: 100%;
  max-width: 300px;
}
