/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #F7F7F7;
  color: #333;
  line-height: 1.6;
}

/* Header / Nav */
header {
  background-color: #FF6B6B;
  padding: 1rem 2rem;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transform: translateY(-100%);
  animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
  to { transform: translateY(0); }
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
  color: #FFE66D;
  transform: scale(1.05);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: #FF6B6B;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
}

.mobile-menu a {
  margin: 0.5rem 0;
  color: white;
  text-decoration: none;
}

/* Hamburger animation */
.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

/* Hero */
.hero {
  text-align: center;
  min-height: 60vh;
  padding: 80px 2rem 120px;
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Darken hero text */
.hero h1, .hero p {
  color: #222;
}

.hero h1, .hero p, .cta-button {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.hero p { animation-delay: 0.3s; }
.cta-button { animation-delay: 0.6s; margin-top: 20px; z-index:1; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.cta-button {
  background-color: #FFE66D;
  color: #333;
  padding: 1rem 2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
}

.cta-button:hover { opacity: 0.9; }

/* Sections */
section { padding: 2rem 2rem 4rem; }

/* Cards */
.card {
  background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
  color: white;
  padding: 2rem;
  margin: 1rem 0;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.card.visible { opacity: 1; transform: translateY(0); }

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

.card img {
  width: 90px;
  margin-bottom: 12px;
}

/* Forms */
form input, form textarea, form button {
  width: 100%;
  padding: 0.8rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

form button {
  background-color: #4ECDC4;
  color: white;
  border: none;
  cursor: pointer;
}

form button:hover { opacity: 0.9; }

/* Footer */
footer {
  background: linear-gradient(135deg,#FF6B6B,#4ECDC4);
  color: white;
  padding: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

footer.visible { opacity: 1; transform: translateY(0); }

footer h3 { margin-bottom: 0.5rem; }

footer a {
  color: white;
  text-decoration: none;
}

footer a:hover { text-decoration: underline; }

footer div { margin-bottom: 1rem; }

/* Hero Logo */
.hero-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

/* Responsive hero logo */
@media (max-width: 768px) {
  .hero-logo { max-width: 200px; margin-bottom: 20px; }
}

/* Responsive */
@media(max-width:768px){
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .hero h1 { font-size:2rem; }
  .hero p { font-size:1rem; }
  footer div { flex:100%; margin-bottom:1rem; }
}
