/* 
  Custom CSS for Shree Divines School 
  Built on top of Bootstrap 5
*/

:root {
  --primary-color: #800020;
  --primary-dark: #5c0018;
  --primary-light: #9a1030;
  --gold-color: #C9A84C;
  --gold-light: #F5D08A;
  --gold-dark: #a07828;
  --cream: #FAF8F5;
  --mist: #F0EBE3;
  --ink: #1A1A2E;
}

body {
  font-family: 'Quicksand', sans-serif;
  background-color: var(--cream);
  color: var(--ink);
}

/* Custom Text & BG Colors */
.text-primary-custom { color: var(--primary-color) !important; }
.text-gold-custom { color: var(--gold-color) !important; }
.bg-primary-custom { background-color: var(--primary-color) !important; }
.bg-cream-custom { background-color: var(--cream) !important; }
.bg-mist-custom { background-color: var(--mist) !important; }

/* Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 50rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}

.btn-outline-custom {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50rem;
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-custom:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Navbar */
.navbar-custom {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-custom .nav-link {
  color: var(--ink);
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover {
  color: var(--primary-color);
}
.navbar-brand .logo-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1;
}
.navbar-brand .logo-sub {
  color: #6c757d;
  font-size: 0.75rem;
  font-weight: 500;
  display: block;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 50%, var(--mist) 100%);
  padding-top: 80px; /* offset for fixed navbar */
}
.hero-image-wrapper {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(128, 0, 32, 0.15);
  aspect-ratio: 4/5;
  background-color: rgba(128,0,32,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Stats Section */
.stats-section {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0;
}
.stat-item {
  text-align: center;
}
.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(45deg, var(--gold-light), var(--gold-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}
.stat-item p {
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.8;
  margin-bottom: 0;
}

/* Section Headings */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 1rem;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--gold-color);
}
.section-title {
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* Cards */
.program-card {
  border: none;
  border-radius: 1rem;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
  height: 100%;
}
.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(128,0,32,0.1);
}
.program-card .icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 0.5rem;
  background: rgba(128,0,32,0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.program-card.highlight {
  background: var(--primary-color);
  color: white;
}
.program-card.highlight .icon-wrapper {
  background: rgba(255,255,255,0.2);
  color: var(--gold-light);
}
.program-card.highlight h4 { color: white; }

/* Facility Pill */
.facility-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--mist);
  border-radius: 50rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin: 0.25rem;
}
.facility-pill:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}
.facility-pill i { color: var(--gold-color); }
.facility-pill:hover i { color: var(--gold-light); }

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.testimonial-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(128,0,32,0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Footer */
.footer-section {
  background-color: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-section h5 {
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}
.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover { color: #fff; }
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
  margin-right: 0.5rem;
}
.social-icon:hover {
  background: var(--primary-color);
  color: var(--gold-light);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
