html {
  scroll-behavior: smooth;
}

.logo {
  height: 60px;
  width: auto;
}

section {
  padding: 50px 15px;
  scroll-margin-top: 100px;
  animation: fadeSection 1.5s ease;
}

@keyframes fadeSection {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a:hover {
  text-decoration: underline;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
  }
  nav {
    margin-top: 15px;
  }
  nav a {
    display: block;
    margin: 5px 0;
  }
}

:root {
  --primary: #008037;
  --secondary: #C1121F;
  --light-bg: #F5F5F5;
  --white: #ffffff;
  --text: #333;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--light-bg);
  margin: 0;
  color: var(--text);
  opacity: 0;
  transition: opacity 1.2s ease-in;
}
body.loaded {
  opacity: 1;
}

header {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav a {
  color: var(--white);
  margin: 0 1rem;
  text-decoration: none;
}

.hero {
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: var(--white);
  animation: fadeIn 2s ease;
}

.hero-logo {
  width: 150px;
  animation: logoBounce 2s infinite;
}

.btn {
  padding: 10px 25px;
  background-color: var(--secondary);
  color: var(--white);
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  margin-top: 20px;
}
.btn:hover {
  box-shadow: 0 0 0 4px rgba(193, 18, 31, 0.2);
}

.card {
  background: var(--white);
  margin: 20px auto;
  padding: 20px;
  max-width: 800px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-left: 5px solid var(--secondary);
}

footer {
  text-align: center;
  padding: 20px;
  background: var(--primary);
  color: var(--white);
}

.contact-info i {
  color: var(--secondary);
  margin-right: 5px;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes logoBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

section h2 {
  text-align: center;
  font-size: 2rem;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
}

nav .btn {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

nav .btn:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-3px);
}

footer {
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

section:nth-child(even) {
  background-color: #eef8f2;
  padding-bottom: 2rem;
  padding-top: 2rem;
  border-radius: 15px;
}

.hero {
  animation: fadeIn 2s ease, slideUp 1.5s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-info i {
  transition: transform 0.3s ease;
}

.contact-info i:hover {
  transform: scale(1.2);
}
