
/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
header {
  position: relative;
  background: #8B0000;
  color: white;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  animation: fadeInDown 1s ease-out;
}
.header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.header-content {
  position: relative;
  z-index: 1;
}
header h1 {
  font-size: 2.5em;
  margin: 0;
  animation: slideInLeft 1s ease-out;
}
header p {
  font-size: 1.2em;
  margin: 10px 0 0;
  animation: slideInRight 1s ease-out;
}

/* Navigation Styles */
nav {
  background: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
  animation: fadeIn 1s ease-out;
}
.nav-toggle {
  display: none;
}
/* Flex container for nav header */
.nav-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 20px;
}
/* Logo on the left */
.logo {
  height: 40px;
  cursor: pointer;
  position: absolute;
  left: 20px;
}
/* Centered tagline */
.nav-tagline {
  color: rgb(225, 80, 80);
  font-size: 0.9em;
  margin: 0;
}
/* Hamburger Toggle on the right (structure as given) */
.nav-toggle-label {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 20px;
  z-index: 1001;
}
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  background: white;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: '';
  position: absolute;
}
.nav-toggle-label span::before {
  top: -8px;
}
.nav-toggle-label span::after {
  top: 8px;
}
/* Hamburger Animation: when the checkbox is checked, transform into an “X” */
.nav-toggle:checked ~ .nav-header .nav-toggle-label span {
  transform: rotate(45deg);
}
.nav-toggle:checked ~ .nav-header .nav-toggle-label span::before {
  top: 0;
  opacity: 0;
}
.nav-toggle:checked ~ .nav-header .nav-toggle-label span::after {
  top: 0;
  transform: rotate(-90deg);
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
nav ul li {
  display: inline;
  margin: 0 15px;
}
nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
nav ul li a:hover {
  color: #f02d29;
}

/* Section and Footer Styles */
section {
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 800px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out;
}
footer {
  text-align: center;
  padding: 20px;
  background: #333;
  color: white;
  margin-top: 40px;
  animation: fadeIn 1s ease-out;
}

h1 {
  color: #f4f1f1;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
h2 {
  color: #e53636;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.cta-button {
  display: inline-block;
  padding: 10px 20px;
  background: #dd0b0b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, transform 0.3s;
}
.cta-button:hover {
  background: #B22222;
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popUp {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    padding: 40px 0;
  }
  header h1 {
    font-size: 2em;
  }
  header p {
    font-size: 1em;
  }
  .nav-toggle-label {
    display: block;
  }
  nav ul {
    display: none;
    width: 100%;
    background: #333;
    position: absolute;
    top: 60px;
    left: 0;
    flex-direction: column;
    padding: 10px 0;
  }
  nav ul li {
    display: block;
    margin: 10px 0;
    text-align: left;
    padding-left: 20px;
  }
  .nav-toggle:checked ~ ul {
    display: block;
  }
}
@media (max-width: 480px) {
  header {
    padding: 30px 0;
  }
  header h1 {
    font-size: 1.5em;
  }
  header p {
    font-size: 0.9em;
  }
  section {
    margin: 5px;
    padding: 15px;
  }
  .cta-button {
    padding: 8px 16px;
    font-size: 0.9em;
  }
}

/* WhatsApp Widget Styles */
#whatsappWidget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  animation: popUp 0.6s ease-out;
}
#whatsappLogo {
  width: 60px;
  height: 60px;
  cursor: pointer;
  transition: transform 0.3s ease;
  display: block;
}
#whatsappLogo:hover {
  transform: scale(1.1);
}
#whatsappClose {
  position: absolute;
  top: -8px;
  left: -8px;
  background: red;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
}