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

:root {
  --wine-red: #8b1538;
  --deep-blue: #1e3a5f;
  --light-blue: #4a7ba7;
  --white: #ffffff;
  --off-white: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: var(--white);
}

/* Navigation */
.navbar {
  background-color: var(--wine-red);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 100%);
  color: var(--white);
  padding: 5rem 20px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.95;
}

.cta-button {
  background-color: var(--wine-red);
  color: var(--white);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(139, 21, 56, 0.4);
}

/* Enhanced hero section styles with animations */
.hero-home {
  background: linear-gradient(135deg, var(--deep-blue) 0%, var(--light-blue) 60%, var(--wine-red) 100%);
  padding: 6rem 20px;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 21, 56, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(74, 123, 167, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

.hero-highlight {
  color: var(--wine-red);
  background: var(--white);
  padding: 0 0.5rem;
  border-radius: 8px;
  display: inline-block;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  opacity: 0.95;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cta-primary {
  background-color: var(--wine-red);
  color: var(--white);
}

.cta-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-secondary:hover {
  background-color: var(--white);
  color: var(--deep-blue);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Content Sections */
.content-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--wine-red);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.8rem;
  color: var(--deep-blue);
  margin: 2rem 0 1.5rem;
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.about-card {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--wine-red);
}

.about-card h3 {
  color: var(--deep-blue);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Staff Section */
.staff-categories {
  margin-top: 3rem;
}

.staff-category {
  margin-bottom: 4rem;
}

/* Staff category selector styles */
.staff-category-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.category-btn {
  padding: 0.75rem 2rem;
  border: 2px solid var(--wine-red);
  background-color: var(--white);
  color: var(--wine-red);
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover {
  background-color: var(--off-white);
  transform: translateY(-2px);
}

.category-btn.active {
  background-color: var(--wine-red);
  color: var(--white);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.staff-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--wine-red);
}

.staff-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wine-red);
  margin-bottom: 0.5rem;
}

.staff-position {
  font-size: 1rem;
  color: var(--deep-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.staff-subject {
  font-size: 0.95rem;
  color: var(--gray);
  font-style: italic;
}

/* Form Styles */
.form-container {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--off-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--deep-blue);
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--light-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--wine-red);
}

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

.submit-button {
  background-color: var(--deep-blue);
  color: var(--white);
  padding: 1rem 3rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s, transform 0.3s;
}

.submit-button:hover {
  background-color: var(--wine-red);
  transform: translateY(-2px);
}

/* Contact Section */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--wine-red);
}

.contact-card h3 {
  color: var(--deep-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--gray);
  line-height: 1.8;
}

/* Enhanced footer styles */
.footer {
  background: linear-gradient(135deg, var(--deep-blue) 0%, #0f1f3d 100%);
  color: var(--white);
  padding: 3rem 20px 1.5rem;
  margin-top: 4rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column h3,
.footer-column h4 {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-social {
  margin-top: 1rem;
}

.footer-social span {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-link {
  color: var(--white);
  text-decoration: none;
  margin-right: 1rem;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--wine-red);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--wine-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
}

.footer-bottom p {
  margin-bottom: 0.3rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-commitment {
  color: var(--wine-red);
  font-weight: 600;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--wine-red);
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
    display: none;
  }

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

  .nav-menu li {
    padding: 0.75rem 20px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social span {
    display: inline;
    margin-right: 0.5rem;
  }
}
