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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #596a5a;
  background-color: #c6e5ef;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Colors */
:root {
  --forest-50: #f0f9ff;
  --forest-100: #c6e5ef;
  --forest-200: #a9d6e5;
  --forest-300: #7fb3c9;
  --forest-400: #2a6f97;
  --forest-500: #014f86;
  --forest-600: #01497c;
  --forest-700: #013a63;
  --forest-800: #012a4a;
  --forest-900: #001d35;
  --forest-950: #001220;
  --brand-50: #f0f9ff;
  --brand-100: #c6e5ef;
  --brand-200: #a9d6e5;
  --brand-300: #7fb3c9;
  --brand-400: #2a6f97;
  --brand-500: #014f86;
  --brand-600: #01497c;
  --brand-700: #013a63;
  --brand-800: #012a4a;
  --brand-900: #001d35;
  --earth-50: #f0f1f3;
  --earth-100: #e8e8e8;
  --earth-200: #c6e5ef;
  --earth-900: #012a4a;
  --earth-950: #001220;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e7e5e4;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-container {
    padding: 0 2rem;
  }
}

.logo {
  color: var(--forest-900);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.025em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: #596a5a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--brand-600);
}

.cta-button {
  display: none;
  align-items: center;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  background-color: var(--forest-700);
  color: white;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background-color 0.2s;
}

@media (min-width: 768px) {
  .cta-button {
    display: inline-flex;
  }
}

.cta-button:hover {
  background-color: var(--forest-800);
}

.menu-toggle {
  display: flex;
  padding: 0.5rem;
  color: #596a5a;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  border-top: 1px solid #f5f5f4;
  background-color: white;
  padding: 0 1rem 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  list-style: none;
  color: #596a5a;
  font-weight: 500;
}

.mobile-nav-links a {
  color: #596a5a;
  text-decoration: none;
  display: block;
}

.mobile-nav-links a:hover {
  color: var(--brand-600);
}

.mobile-cta {
  width: 100%;
  text-align: center;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background-color: var(--forest-700);
  color: white;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 5rem;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--forest-900);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 680px;
  }
}

.slider-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 29, 53, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

@media (min-width: 640px) {
  .hero-content {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 0 2rem;
  }
}

.hero-subtitle {
  color: white;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-description {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background-color: var(--brand-500);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background-color: var(--brand-600);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: none;
  padding: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background-color 0.2s;
}

@media (min-width: 640px) {
  .slider-btn {
    display: flex;
  }
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.slider-btn.prev {
  left: 1rem;
}

.slider-btn.next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.dot.active {
  background-color: white;
  transform: scale(1.1);
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 5rem 0;
  }
}

.section-header {
  max-width: 48rem;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .section-header h2 {
    font-size: 2.25rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  color: #596a5a;
  line-height: 1.75;
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* FieldLab Section */
.fieldlab {
  background-color: white;
}

.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background-color: var(--forest-50);
  border: 1px solid var(--forest-100);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--forest-700);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #596a5a;
}

.fieldlab-destination {
  margin-top: 2.5rem;
  color: #596a5a;
  line-height: 1.75;
}

.fieldlab-destination strong {
  color: var(--forest-900);
}

.tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: var(--forest-100);
  border: 1px solid var(--forest-200);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest-800);
}

/* Destination Section */
.destination {
  position: relative;
  background-color: var(--earth-50);
  background-image: url('public/images/background_01.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.destination::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.destination .container {
  position: relative;
  z-index: 10;
}

.destination-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .destination-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.destination-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  height: 20rem;
  background-color: var(--earth-200);
}

@media (min-width: 640px) {
  .destination-image {
    height: 24rem;
  }
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-label {
  color: var(--brand-600);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.destination-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .destination-content h2 {
    font-size: 2.25rem;
  }
}

.destination-subtitle {
  font-size: 1.25rem;
  color: #000000;
  font-weight: 500;
  margin-bottom: 1rem;
}

.destination-description {
  color: #000000;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.destination-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--forest-900);
  margin-bottom: 1rem;
}

.research-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.research-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background-color: white;
  border: 1px solid #e7e5e4;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.research-item svg {
  color: var(--brand-600);
  flex-shrink: 0;
}

.research-item span {
  color: #596a5a;
  font-weight: 500;
}

.destination-footer {
  margin-top: 2rem;
  color: #000000;
  line-height: 1.75;
}

/* Programs Section */
.programs {
  background-color: white;
}

.programs-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .programs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.program-card {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #fafaf9;
  border: 1px solid #f5f5f4;
  transition: all 0.2s;
}

.program-card:hover {
  border-color: var(--brand-200);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.program-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background-color: var(--brand-100);
  color: var(--brand-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
}

.program-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 1.5rem;
}

.program-duration svg {
  width: 16px;
  height: 16px;
}

.program-card p {
  color: #596a5a;
  margin-bottom: 1.5rem;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--forest-700);
  text-decoration: none;
  transition: color 0.2s;
}

.program-link:hover {
  color: var(--brand-600);
}

.program-link svg {
  width: 16px;
  height: 16px;
}

/* About Section */
.about {
  position: relative;
  background-image: url('public/images/background_02.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: white;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(1, 29, 53, 0.7);
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 10;
}

.about-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 2.25rem;
  }
}

.about-subtitle {
  font-size: 1.5rem;
  color: var(--brand-200);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.about-pillars {
  display: grid;
  gap: 1rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--brand-300);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.pillar-item h3 {
  font-weight: 600;
  font-size: 1.125rem;
}

.pillar-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  margin-bottom: 0;
}

.vision-box {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 1.5rem;
  background: linear-gradient(to right, var(--brand-800), var(--forest-800));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vision-box h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vision-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  line-height: 1.75;
}

/* CTA Section */
.cta {
  background-color: var(--brand-700);
}

.cta-content {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

.cta-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta-content h2 {
    font-size: 2.25rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--brand-100);
  margin-bottom: 2.5rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background-color: white;
  color: var(--brand-800);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background-color: #fafaf9;
}

.btn-cta svg {
  width: 20px;
  height: 20px;
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .contact-header h2 {
    font-size: 2.25rem;
  }
}

.contact-header p {
  color: #596a5a;
}

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

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-form-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-image {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  height: 100%;
  min-height: 400px;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-form {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: #fafaf9;
  border: 1px solid #e7e5e4;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2.5rem;
  }
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #596a5a;
  margin-bottom: 0.5rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d6d3d1;
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-500);
}

.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #d6d3d1;
  background-color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.2s;
  min-height: 120px;
  resize: vertical;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px var(--brand-500);
}

.submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  background-color: var(--forest-700);
  color: white;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.submit-btn:hover {
  background-color: var(--forest-800);
}

.submit-btn svg {
  width: 20px;
  height: 20px;
}

.success-message {
  padding: 2rem;
  border-radius: 1.5rem;
  background-color: var(--forest-50);
  text-align: center;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  color: var(--forest-600);
  margin: 0 auto 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--forest-900);
  margin-bottom: 0.5rem;
}

.success-message p {
  color: #596a5a;
}

/* Footer */
.footer {
  background-color: var(--forest-950);
  color: rgba(255, 255, 255, 0.6);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-note {
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.footer-partners {
  max-width: 28rem;
}

.footer-partners p {
  font-size: 0.875rem;
  line-height: 1.75;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
}
