html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fffdf7;
  color: #183b2b;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #2f9e44;
}

.colorful-navbar {
  background: #2f8f3f;
}

.logo-image {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.hero-section {
  background: #ffe9a8;
  border-radius: 0 0 2rem 2rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  animation: float 6s ease-in-out infinite;
}

.hero-section::before {
  width: 140px;
  height: 140px;
  top: -20px;
  right: 10%;
}

.hero-section::after {
  width: 100px;
  height: 100px;
  bottom: -20px;
  left: 5%;
  animation-delay: 2s;
}

.hero-card {
  background: #ffffff;
  border: 2px solid #1f6f3f;
}

.feature-card, .cheerful-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover, .cheerful-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff8a3d;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-thumb {
  height: 180px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.gallery-thumb:hover {
  transform: scale(1.03);
  transition: transform 0.2s ease;
}

.gallery-modal-image {
  max-height: 90vh;
  width: auto;
  object-fit: contain;
}

.hero-logo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff3b0;
}

.animate-bounce {
  animation: bounce 1.5s infinite;
}

.footer-bright {
  background: #f7f7f2;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}