/* General Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #E6F0F8;
  color: #264653;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Navbar */
.navbar {
  background-color: #2A9D8F;
  color: white;
  padding: 15px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  transition: background-color 0.4s ease;
}

.navbar:hover {
  background-color: #21867A;
}

.logo-container {
  display: flex;
  align-items: center;
  position: absolute;
  top: 10px;
  left: 20px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

.logo-container img {
  height: 60px;
  width: 60px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.logo-container img:hover {
  transform: rotate(10deg);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1B4332;
  letter-spacing: 1.2px;
  user-select: none;
  text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}

/* Language Select Button */
#langSelect {
  padding: 7px 12px;
  border: none;
  border-radius: 5px;
  background-color: #56CFE1;
  color: #0A374D;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(86,207,225,0.5);
}

#langSelect:hover {
  background-color: #4AB3C6;
  transform: scale(1.1);
}

/* Navbar Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: #1B4332;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.nav-links li a:hover {
  color: #56CFE1;
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: url('bg3.jpg') no-repeat center center/cover;
  color: #E0FBFC;
  text-align: center;
  padding: 160px 20px;
  position: relative;
  overflow: hidden;
}

.hero h2, .hero p {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation-fill-mode: forwards;
  animation-duration: 1s;
  animation-timing-function: ease-out;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  animation-name: fadeInUp;
  animation-delay: 0.3s;
}

.hero p {
  font-size: 22px;
  animation-name: fadeInUp;
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Us Section */
.about-us {
  background-color: #f0fafc;
  color: #1b4332;
  padding: 60px 20px;
  border-radius: 10px;
  margin: 40px auto;
  max-width: 900px;
  box-shadow: 0 8px 16px rgba(11, 65, 83, 0.1);
  font-size: 18px;
  line-height: 1.7;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  user-select: text;
  transition: box-shadow 0.3s ease;
}

.about-us h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #2a9d8f;
  text-align: center;
}

.about-us p {
  white-space: pre-line;
  text-align: justify;
  letter-spacing: 0.5px;
}

.about-us:hover {
  box-shadow: 0 12px 24px rgba(11, 65, 83, 0.2);
}

/* Category Section */
.category {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 30px;
  max-width: 1200px;
  margin: 60px auto;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  position: relative;
}

.category::-webkit-scrollbar {
  height: 8px;
}

.category::-webkit-scrollbar-thumb {
  background-color: #56CFE1;
  border-radius: 4px;
}

/* Card */
.card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  height: 300px;
  min-width: 250px;
  flex: 0 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  box-shadow: 0 0 0 transparent;
  transition: transform 0.4s cubic-bezier(0.2, 0.6, 0.4, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 20px rgba(86, 207, 225, 0.3);
  z-index: 10;
}

.card-content {
  position: relative;
  z-index: 1;
  text-align: left;
  user-select: none;
  color: #E0FBFC;
}

.card h3 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.card p {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.card:hover h3,
.card:hover p {
  color: #2A9D8F;
}

/* Arrow Button */
.arrow-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: #E0FBFC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B4332;
  font-size: 20px;
  z-index: 1;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
}

.arrow-btn:hover {
  background-color: #56CFE1;
  transform: scale(1.2);
}

/* Footer */
.footer {
  background-color: #2A9D8F;
  color: #E0FBFC;
  padding: 40px 20px;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.footer:hover {
  background-color: #21867A;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 500px;
  margin: 20px auto 0;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
  width: 100%;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 8px #56CFE1;
  transform: scale(1.02);
  outline: none;
}

.contact-form button {
  background-color: #56CFE1;
  color: #0A374D;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.contact-form button:hover {
  background-color: #4AB3C6;
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
  .card {
    height: 250px;
    min-width: 200px;
  }
  #langSelect {
    padding: 5px 8px;
    font-size: 14px;
    position: static;
    margin-left: auto;
  }
  .navbar {
    flex-wrap: wrap;
    gap: 10px;
  }
  .logo-container {
    position: static;
    transform: none;
  }
  .logo-text {
    font-size: 24px;
  }
}
