/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Cabinet Grotesk', sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  
  padding: 0;
  margin: 0;
  font-family: 'Cabinet Grotesk', sans-serif;
  line-height: 1.6;
  background-color: #f7f7f7;
  color: #333333;
}

nav {
  padding: 5px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  z-index: 1;
}
nav .logo {
  
  display: flex;
  align-items: center;
}
nav .logo img {
  height: 50px;
  width: auto;
  margin-right: 10px;
}


nav .logo h1 {
  font-size: 1.1rem;
  background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  list-style: none;
  display: flex;
}
nav ul li {
  margin-left: 1.5rem;
}
nav ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 5px;
}

nav ul li a:hover {
  background-color: #DC143C;
  color: #fff;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 1px;
  background-color: #DC143C;
  display: block;
  margin: 7px auto;
  transition: all 0.3s ease-in-out;
}
.hamburger-active {
  transition: all 0.3s ease-in-out;
  transition-delay: 0.6s;
  transform: rotate(45deg);
}

.hamburger-active .line:nth-child(2) {
  width: 0px;
}

.hamburger-active .line:nth-child(1),
.hamburger-active .line:nth-child(3) {
  transition-delay: 0.3s;
}

.hamburger-active .line:nth-child(1) {
  transform: translateY(12px);
}

.hamburger-active .line:nth-child(3) {
  transform: translateY(-5px) rotate(90deg);
}

.menubar {
  position: absolute;
  top: 0;
  left: -60%;
  font-family: 'Cabinet Grotesk', sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 60%;
  height: 100vh;
  padding: 20% 0;
  background: rgba(255, 255, 255);
  transition: all 0.5s ease-in;
  z-index: 2;
}
.active {
  left: 0;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.menubar ul {
  padding: 0;
  list-style: none;
}
.menubar ul li {
  margin-bottom: 32px;
}

.menubar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 95%;
  font-weight: 400;
  padding: 5px 10px;
  border-radius: 5px;
}

.menubar ul li a:hover {
  background-color: #DC143C;
  color: #fff;
}
@media screen and (max-width: 790px) {
  .hamburger {
    display: block;
  }
  nav ul {
    display: none;
  }
}

/* General Styling */
body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* background-color: #f4f4f4; */
}

/* Navbar Styling (Consistent with Provided Navbar Styles) */
nav {
  padding: 5px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 10; /* Ensure the navbar stays above the slider */
   background: rgba(255, 255, 255, 0.9); 
  position: fixed;
  width: 100%;
  top: 0;
}

nav .logo h1 {
  font-size: 1.1rem;
  background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul li a:hover {
  background-color: #DC143C;
  color: #fff;
}



/* Slider Styles */
/* Slider Styles */
.slider {
  position: relative;
  width: auto;
  height: 100vh;
  overflow: hidden;
  margin-top: 60px; /* Adjust this value based on the height of your navbar */
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  margin-top: auto;
  padding: 10px;
  width: 100%;
  height: auto;
  
}

.content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.content h2 {
  font-size: 2rem;
  background-color: rgba(0, 0, 0, 0.5); 
  padding: 10px 20px;
  border-radius: 5px;
  margin: 0;
 
}

.slide-button {
  margin-top: 20px;
  padding: 10px 30px;
  font-size: 1rem;
  color: white;
  background-color: #DA1F27;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.slide-button:hover {
  background-color: #4e8826;
}

/* Responsive Slider */
@media (max-width: 768px) {
  .content h2 {
    font-size: 1.5rem;
  }
  .slide-button {
    font-size: 0.9rem;
    padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .content h2 {
    font-size: 1.2rem;
  }
  .slide-button {
    font-size: 0.8rem;
    padding: 6px 15px;
  }
}

/* Modal Styles */
#videoModal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

/* Footer Styles */
footer {
  position: relative;
  background: rgb(57,96,53);
  background: linear-gradient(0deg, rgba(57,96,53,1) 0%, rgba(218,31,39,1) 100%);
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  border-top: 7px solid #DA1F27;
  border-radius: 5px 5px 0 0;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  padding: 10px;
}

.footer-section h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section a {
  display: inline-flex;
  gap: 50px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.footer-section a:hover {
  color: #DC143C;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-section {
    text-align: center;
    padding: 20px 0;
  }
}
