@media (min-width: 1024px) {
  .banner__image img {
    max-width: 38%;
    min-width: 220px;
  }
}
/* General Styles */
body {
  font-family: 'Poppins', Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #171717;
}

nav {
  position: fixed;
  isolation: isolate;
  width: 100%;
  z-index: 9;
  background-color: #ff310d;
  padding: 0.5rem 0;
  top: 0;
  left: 0;
}

.nav__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ff310d;
    margin-top: -10px;

  padding: 0.5rem 1rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.nav__logo .logo-white {
  max-width: 40px;
  border-radius: 50px;
  background: #fff;
  padding: 0.5rem;
}
.nav__logo .logo-dark {
  display: none;
  max-width: 80px;
  border-radius: 50px;
  background: #fff;
  padding: 0.5rem;
}

.nav__menu__btn {
  font-size: 2.2rem;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem 0.8rem;
  margin-left: 0.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
}

.nav__links {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-color: rgba(80, 78, 78, 0.953);
  transition: transform 0.5s;
  z-index: -1;
}

.nav__links a {
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  text-decoration: none;
}

.nav__links.open {
  transform: translateY(100%);
}

/* Footer Styles */
.footer__container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
}

.footer__col {
  flex: 1 1 220px;
  min-width: 180px;
  margin-bottom: 1rem;
}

.footer__col h4 {
  font-size: 1.2rem;
  font-family: 'title', sans-serif;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #ff310d;
}



@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem 0.5rem;
  }
  .footer__col {
    min-width: 140px;
    margin-bottom: 0.5rem;
  }
}


@font-face {
  font-family: 'buttons';
  src: url('fonts/LTSoul-Bold.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'title';
  src: url('fonts/Pianaforma.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}



.section__header {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d83d3d; /* Red color for the header */
  margin-bottom: 1rem;
  text-align: center; /* Centers the heading */
  position: relative; /* Enables positioning for the underline */
}

.section__header::after {
  content: ""; /* Adds a decorative underline */
  display: block;
  width: 40%; /* Adjusts the width of the underline */
  height: 4px; /* Thickness of the underline */
  background-color: #ff0099; /* Green color for the underline */
  margin: 0.5rem auto 0; /* Centers the underline and adds spacing */
}

/* Banner Section */
.banner {
  background-color: #fff; /* White background for the banner */
  padding: 4rem 2rem;
  text-align: center; /* Centers all content */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  border-radius: 1rem; /* Adds rounded corners */
  margin: 2rem auto; /* Centers the banner */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.banner:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.section__header {
  font-size: 2.5rem;
  font-weight: bold;
  color: #d83d3d; /* Red color for the header */
  margin-bottom: 1rem;
}

.banner__image {
  margin: 2rem auto; /* Centers the image */
}


.banner__image img {
  max-width: 60%; /* Reduces the image size to 60% of its container */
  border-radius: 1rem; /* Adds rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

.banner__image img:hover {
  transform: scale(1.05); /* Slight zoom effect on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.banner__content {
  margin-top: 2rem;
  text-align: left; /* Aligns text to the left */
}

.banner__content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555; /* Slightly lighter text color */
  margin-bottom: 1.5rem;
}

.banner__content p span {
  font-weight: bold;
  color: #ff0099; /* Highlights important text in green */
}

/* Box Model with Animation */
.boxed-section {
  background-color: #fff; /* White background for the boxes */
  padding: 2rem;
  margin: 2rem auto;
  border-radius: 1rem; /* Adds rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
  text-align: left; /* Aligns text to the left */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
  animation: fadeIn 0.8s ease-in-out; /* Adds fade-in animation */
}

.boxed-section:hover {
  transform: translateY(-5px); /* Slight lift on hover */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.boxed-section h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #d83d3d; /* Red color for the header */
  margin-bottom: 1.5rem;
  text-align: center; /* Centers the heading */
  text-transform: uppercase; /* Makes the heading uppercase */
  border-bottom: 3px solid #d83d3d; /* Adds a bottom border */
  display: inline-block;
  padding-bottom: 0.5rem;
}

.banner h2{
  color: #0414c4;
}
.boxed-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: #000000; /* Slightly lighter text color */
  margin-bottom: 1rem;
}

/* Keyframes for Fade-In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .section__header {
    font-size: 2rem; /* Reduces header size for tablets */
  }

  .banner__image img {
    max-width: 80%; /* Further reduces image size for tablets */
  }

  .banner__content p {
    font-size: 1rem; /* Adjusts text size for tablets */
  }

  .boxed-section {
    padding: 1.5rem;
  }

  .boxed-section h3 {
    font-size: 1.8rem;
  }

  .boxed-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 540px) {
  .banner {
    padding: 2rem 1rem; /* Reduces padding for smaller screens */
  }

  .section__header {
    font-size: 1.8rem; /* Further reduces header size for mobile */
  }

  .banner__image img {
    max-width: 90%; /* Ensures the image fits smaller screens */
  }

  .banner__content p {
    font-size: 0.9rem; /* Reduces text size for mobile */
  }

  .boxed-section {
    padding: 1rem;
  }

  .boxed-section h3 {
    font-size: 1.6rem;
  }

  .boxed-section p {
    font-size: 0.8rem;
  }
}