:root {
  --primary: #141e30;
  --secondary: #243b55;
  --emerald: #059669;
  --cream: #FDFBF7;
  --beige: #F5F5DC;
  --navy: #0A192F;
  --gold: #FFC107;
  --teal: #14b8a6;
  --charcoal: #374151;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-light: #f3f4f6;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.title-center {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 10px 5px;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--emerald);
  color: var(--white);
  border-color: var(--emerald);
}
.btn-primary:hover {
  background-color: #047857;
  border-color: #047857;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-dark {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background-color: #0d131f;
  border-color: #0d131f;
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--primary);
}
.btn-gold:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
}

/* Background Utils */
.bg-cream { background-color: var(--cream); }
.bg-beige { background-color: var(--beige); }
.bg-navy { background-color: var(--navy); color: var(--text-light); }
.bg-teal { background-color: var(--teal); color: var(--white); }
.bg-grey { background-color: #f9f9f9; }
.bg-emerald { background-color: var(--emerald); color: var(--white); }
.bg-charcoal { background-color: var(--charcoal); color: var(--white); }
.bg-dark { background-color: var(--primary); color: var(--white); }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: rgba(20, 30, 48, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-left: 50px;
}
.navbar .nav-links a {
  color: var(--white);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar .nav-links a:hover {
  color: var(--gold);
}
.navbar .btn {
  margin-right: 50px;
  padding: 8px 20px;
}

/* Sect 1 Hero */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  padding-top: 80px;
}
.hero h1 { font-size: 4rem; text-shadow: 0 4px 10px rgba(0,0,0,0.5); color: #fff; max-width: 900px; margin: 0 auto 20px; }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 40px; text-shadow: 0 2px 5px rgba(0,0,0,0.5); color: #f3f4f6; }
.arrow-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--white);
}

/* Split Layouts */
.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-container img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Hover collages */
.college-wrapper {
  position: relative;
}
.college-img {
  width: 100%;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.college-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
  text-align: center;
  color: #fff;
}
.college-wrapper:hover .college-overlay {
  opacity: 1;
}

/* Glass Cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  transition: transform 0.4s ease, background 0.4s ease;
  height: 100%;
}
.glass-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}
.glass-card h3 { color: var(--gold); font-size: 1.5rem; }
.glass-card p { font-size: 1rem; color: #e5e7eb; }

/* Counters */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.counter-box h2 {
  font-size: 4rem;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px;
  color: var(--white);
}

/* Story Carousel mock */
.carousel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.story-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.story-card:hover { transform: translateY(-5px); }

/* Leadership Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.team-card {
  text-align: center;
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.team-card h3 { margin-bottom: 5px; }
.team-card p.title { color: var(--emerald); font-weight: 600; margin-bottom: 15px; }

/* Partner Ticker */
.ticker-wrap {
  overflow: hidden;
  background: rgba(255,255,255,0.5);
  padding: 20px 0;
  margin-top: 40px;
  border-radius: 8px;
}
.ticker {
  display: flex;
  width: 200%;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  flex-shrink: 0;
  width: 20%;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #777;
}
@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Accordion */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.accordion-header {
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background 0.3s ease;
}
.accordion-header:hover { background: rgba(255,255,255,0.1); }
.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 500px;
}

/* Donation Box */
.donation-box {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(10px);
  max-width: 600px;
  margin: 40px auto 0;
}
.amounts {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}
.amount-btn {
  padding: 10px 25px;
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.amount-btn:hover, .amount-btn.active {
  background: var(--white);
  color: var(--emerald);
}
.impact-text {
  font-style: italic;
  margin-bottom: 30px;
}

/* Footer */
footer { padding: 60px 0 20px; font-size: 0.95rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 40px;
}
.footer-grid h4 { color: var(--gold); }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.footer-grid ul li a:hover { color: var(--gold); }
.newsletter-form { display: flex; }
.newsletter-form input {
  padding: 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  flex: 1;
}
.newsletter-form button {
  border-radius: 0 4px 4px 0;
  margin: 0;
  border: none;
}
.footer-bottom { text-align: center; opacity: 0.7; }

/* Animations Utilities */
.anim-target { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.anim-target.visible { opacity: 1; transform: translateY(0); }
.bounce { animation: bounce 2s infinite; }
@keyframes bounce { 
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); } 
  40% { transform: translateY(-20px); } 
  60% { transform: translateY(-10px); } 
}
