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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

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

/* Brand Colors */
:root {
  --primary-red: #dc2626;
  --primary-blue: #2563eb;
  --light-red: #fef2f2;
  --light-blue: #eff6ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* Header Styles */
.header {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  padding: 8px;
  border-radius: 8px;
  color: white;
  font-size: 24px;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gray-800);
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--gray-600);
}

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

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

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

.cta-button {
  background: var(--primary-red);
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #b91c1c;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
  color: white;
  padding: 5rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-motto {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  display: inline-block;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--gray-100);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: white;
}

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

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Badge */
.badge {
  background: white;
  color: var(--primary-red);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

/* Welcome Section */
.welcome-section {
  padding: 4rem 0;
  background: var(--gray-50);
}

.welcome-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.welcome-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.welcome-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--gray-800);
}

.welcome-text p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.principal-info {
  border-left: 4px solid var(--primary-red);
  padding-left: 1rem;
  margin-top: 2rem;
}

.principal-info .name {
  font-weight: bold;
  color: var(--gray-800);
}

.principal-info .title {
  color: var(--primary-red);
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.stat-item:nth-child(odd) .number {
  color: var(--primary-red);
}

.stat-item:nth-child(even) .number {
  color: var(--primary-blue);
}

.stat-item .label {
  color: var(--gray-600);
}

/* Features Section */
.features-section {
  padding: 4rem 0;
  background: var(--gray-50);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--gray-800);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.feature-card:nth-child(odd) .feature-icon {
  color: var(--primary-red);
}

.feature-card:nth-child(even) .feature-icon {
  color: var(--primary-blue);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card:nth-child(odd) h3 {
  color: var(--primary-blue);
}

.feature-card:nth-child(even) h3 {
  color: var(--primary-red);
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.6;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
}

.team-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.team-card .position {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.team-card:nth-child(odd) .position {
  color: var(--primary-red);
}

.team-card:nth-child(even) .position {
  color: var(--primary-blue);
}

.team-card .credentials {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-red));
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.contact-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-item p {
  opacity: 0.9;
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-section.brand h3 {
  color: var(--primary-red);
}

.footer-section.links h3 {
  color: var(--primary-blue);
}

.footer-section.programs h3 {
  color: var(--primary-red);
}

.footer-section.contact h3 {
  color: var(--primary-blue);
}

.footer-section p {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: #9ca3af;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
}

/* Form Styles */
.form-section {
  padding: 4rem 0;
}

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

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.btn-submit {
  background: var(--primary-red);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
}

.btn-submit:hover {
  background: #b91c1c;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  background: var(--light-red);
  padding: 12px;
  border-radius: 8px;
  font-size: 1.5rem;
}

.info-card:nth-child(even) .info-icon {
  background: var(--light-blue);
}

.info-card:nth-child(odd) .info-icon {
  color: var(--primary-red);
}

.info-card:nth-child(even) .info-icon {
  color: var(--primary-blue);
}

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

  .nav-menu {
    display: none;
  }

  .hero-content,
  .welcome-content,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .stats-grid,
  .features-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 3rem 0;
  }

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

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

  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 0.5rem;
}
.mb-2 {
  margin-bottom: 1rem;
}
.mb-3 {
  margin-bottom: 1.5rem;
}
.mb-4 {
  margin-bottom: 2rem;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.text-red {
  color: var(--primary-red);
}
.text-blue {
  color: var(--primary-blue);
}
.text-gray {
  color: var(--gray-600);
}

.bg-gray-50 {
  background-color: var(--gray-50);
}
.bg-white {
  background-color: white;
}
