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

body {
  font-family: "Tw Cen MT", "Century Gothic", Arial, sans-serif;
  background-color: #f5deb3;
  color: #8b4513;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
  background-color: #deb887 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.language-selector {
  display: flex;
  gap: 0.5rem;
  margin-right: 1rem;
  margin-left: 1rem;
}

.lang-btn {
  background: none;
  border: 2px solid transparent;
  padding: 0.25rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  border-color: #8b4513;
  transform: scale(1.1);
}

.lang-btn.active {
  border-color: #8b4513;
  background-color: rgba(139, 69, 19, 0.1);
}

.lang-btn svg {
  display: block;
}

.navbar-nav {
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-link {
  color: #8b4513 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.1rem; 
}

.nav-link:hover {
  text-decoration: underline;
  transform: translateY(-2px);
}

.navbar-toggler {
  border-color: #8b4513;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28139, 69, 19, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* First Section Spacing */
.first-section {
  margin-top: 2rem;
}

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

.section-title {
  color: #8b4513;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #deb887;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #8b4513;
}

.bg-light-custom {
  background-color: rgba(222, 184, 135, 0.2) !important;
}

/* Formatted Text Styles */
.formatted-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
  line-height: 1.9;
}

.formatted-text strong {
  color: #654321;
  font-weight: 600;
}

/* Value Cards */
.value-card {
  background-color: white;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.value-title {
  color: #8b4513;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.value-text {
  color: #8b4513;
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.6;
  margin: 0;
}

/* Sustainability Items */
.sustainability-item {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.sustainability-item:hover {
  transform: translateX(10px);
}

.sustainability-title {
  color: #8b4513;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sustainability-item p {
  color: #8b4513;
  margin: 0;
  line-height: 1.7;
}

/* Button Styles */
.btn-primary {
  background-color: #8b4513;
  border-color: #8b4513;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #654321;
  border-color: #654321;
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Footer Styles */
footer {
  background-color: #deb887;
  color: #8b4513;
  margin-top: 3rem;
}

footer h5 {
  color: #654321;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer p {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-nav {
    margin-top: 1rem;
    text-align: center;
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
  }

  .language-selector {
    margin: 0.5rem auto;
    justify-content: center;
  }

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

  .value-card {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }

  .section-text {
    font-size: 1rem;
  }

  .navbar-brand img {
    max-height: 50px;
  }

  .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.5rem;
  }

  .value-card {
    padding: 1.5rem 1rem;
    min-height: 150px;
  }

  .value-title {
    font-size: 1rem;
  }

  .value-text {
    font-size: 0.9rem;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 400px) {
  .navbar-brand img {
    max-height: 40px;
  }

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

  .lang-btn svg {
    width: 24px;
    height: auto;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: fadeIn 0.6s ease-in-out;
}
