/* General */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #FCF5E8;
  color: #055C52;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

/* Hero Section */
.hero-section {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(80%);
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.5));
  z-index: 1;
}
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
}
.hero-logo {
  width: 150px;
  animation: float 4s ease-in-out infinite;
}
.hero-content .brand-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin: 10px 0 5px;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.hero-content .tagline {
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.95;
  margin-top: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Waves */
.wave-container {
  position: relative;
  width: 100%;
  z-index: 1;
}
.wave {
  width: 100%;
  height: auto;
}
.top-wave {
  transform: rotate(180deg);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Subscribe */
.subscribe-section {
  margin: 40px auto;
  position: relative;
  z-index: 2;
}
.subscribe-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
}
#subscribe-form {
  display: flex;
  justify-content: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
#subscribe-form input {
  padding: 12px;
  width: 260px;
  border: 2px solid #055C52;
  border-radius: 8px;
  font-size: 1rem;
}
#subscribe-form button {
  padding: 12px 25px;
  background: #055C52;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  width: 200px;
}
#subscribe-form button:hover {
  background: #033f38;
}

/* Values */
.values {
  margin: 30px auto;
  max-width: 1000px;
  padding: 20px;
  position: relative;
  z-index: 5;
}
.values h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 768px) {
  .value-list {
    grid-template-columns: 1fr;
  }
}
.value {
  padding: 40px 25px;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(5,92,82,0.2);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.value:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}
.value-icon {
  max-width: 70px;
  margin-bottom: 20px;
}
.value h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}
.value p {
  font-size: 0.95rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* Floating Background Icons */
.bg-objects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.bg-icon {
  position: absolute;
  width: 80px;
  opacity: 0.06;
}
.bg-icon.large { width: 120px; opacity: 0.05; }
.bg-icon.small { width: 60px; opacity: 0.08; }

/* Floating Animations */
@keyframes float-updown {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-24px) rotate(3deg); }
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-40px) rotate(-2deg); }
}
.float { animation: float-updown 6.1s ease-in-out infinite; }
.float-slow { animation: float-slow 9.2s ease-in-out infinite; }

/* Footer */
footer {
  margin-top: 30px;
  padding: 20px;
  background: #055C52;
  color: #fff;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

html {
  scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .hero-logo {
    width: 110px;
  }
  .hero-content .brand-title {
    font-size: 1.8rem;
  }
  .hero-content .tagline {
    font-size: 1rem;
  }
  #subscribe-form input, #subscribe-form button {
    width: 80%;
    max-width: 300px;
  }
}

/* LinkedIn Icon Fix */
.linkedin-link {
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.linkedin-icon {
  width: 18px;
  height: 18px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
}

.linkedin-link:hover .linkedin-icon {
  transform: scale(1.1);
  opacity: 1;
}
