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

:root {
  --primary-color: #2c5f2d;
  --primary-dark: #1a3a1b;
  --primary-light: #4a8f4c;
  --accent-color: #d4af37;
  --text-dark: #2d3748;
  --text-light: #4a5568;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

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

/* Header */
header {
  background: linear-gradient(135deg, rgba(44, 95, 45, 0.4) 0%, rgba(26, 58, 27, 0.5) 100%),
              url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=2070&auto=format&fit=crop') center/cover;
  color: white;
  padding: 2rem 0;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}

.logo {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 300;
}

/* Tabs Navigation */
.tabs {
  background-color: var(--bg-white);
  border-bottom: 2px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.tabs .container {
  display: flex;
  gap: 0;
  padding: 0;
}

.tab-button {
  flex: 1;
  padding: 1.2rem 2rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-button:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  background-color: var(--bg-light);
}

/* Main Content */
main {
  padding: 3rem 2rem;
  min-height: calc(100vh - 400px);
  position: relative;
}

main::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
  z-index: -1;
  opacity: 1;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 4rem 2rem 5rem;
  background: var(--bg-white);
  border-radius: 12px;
  margin-bottom: 2rem;
  position: relative;
}

.hero h2 {
  font-size: 2.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.3rem;
  color: var(--text-light);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

/* Highlights Grid */
.highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

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

.highlight-card h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.highlight-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Content Sections */
.content-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.content-section h3 {
  color: var(--primary-dark);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.content-section p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-section ul {
  list-style: none;
  padding-left: 0;
}

.content-section li {
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  color: var(--text-light);
}

.content-section li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(74, 143, 76, 0.3) 0%, rgba(44, 95, 45, 0.4) 100%),
              url('https://images.unsplash.com/photo-1542718610-a1d656d1884c?q=80&w=2070&auto=format&fit=crop') center/cover;
  border-radius: 12px;
  margin: 3rem 0;
  color: white;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-section h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  background-color: var(--accent-color);
  color: var(--primary-dark);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background-color: #c19b2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary {
  background-color: white;
  color: var(--primary-color);
}

.cta-button.secondary:hover {
  background-color: var(--bg-light);
}

/* Application Form */
.application-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 700px;
  margin: 2rem auto;
  backdrop-filter: blur(10px);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

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

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

.form-message {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

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

footer p {
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .logo {
    font-size: 2rem;
  }

  .tab-button {
    padding: 1rem;
    font-size: 0.9rem;
  }

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

  .lead {
    font-size: 1.1rem;
  }

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

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-button {
    display: block;
    width: 100%;
    margin: 0.5rem 0;
  }
}
