/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* Header Styles (Desktop) */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: white;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  max-width: 300px;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  background-color: white;
}

nav a {
  display: inline-block;
  padding: 10px 15px;
  color: black;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #990000;
}

/* Toggle Button - Hidden on Desktop */
.menu-toggle {
  display: none; /* Hide toggle button by default */
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  header {
    flex-direction: initial;
    align-items: flex-start;
    padding: 0px;
  }

  .logo img {
    max-width: 200px; /* Adjust logo size for smaller screens */
  }

  .menu-toggle {
    display: block; /* Show menu toggle button only on mobile */
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
  }

  nav {
    display: none; /* Hide the menu by default on mobile */
    flex-direction: column;
    width: 100%; /* Full width menu for mobile */
    background-color: white;
  }

  nav.active {
    display: flex; /* Show the menu when active */
  }

  nav a {
    padding: 10px 20px;
    text-align: left;
    width: 100%; /* Ensure links take full width */
  }
}

/* Hero Section */
.hero {
  background-size: cover;
  background-image: url('../images/Cover_Image.jpg');
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  height: 650px;
  text-align: left;
  color: white;
  position: relative;
  font-family: archivo, sans-serif;
}

.hero h1 {
  font-size: 3.5em;
  margin-top:7%;
  margin-bottom: 20px;
  font-family: archivo, sans-serif;
}

/* Content Section */
.content-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 20px;
  gap: 40px;
}

.left-side {
  flex: 1;
  padding: 0 20px;
}

.left-side img {
  width: 100%;
  max-width: 650px;
  height: auto;
  border-radius: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-side {
  flex: 1;
  padding: 0 40px;
}

.right-side h2 {
  font-size: 26px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #990000;
}

.right-side p {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: auto;
  height: 650px;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-images img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* Footer */
footer {
  display: flex;
  flex-wrap: wrap;
  background: white;
  padding: 40px 30px;
  gap: 50px;
}

.logo-section, .links-section, .text-section {
  flex: 1;
  min-width: 350px;
  padding: 15px;
}

.logo-section {
  text-align: left;
}

.logo-section img {
  max-width: 350px;
  height: auto;
  margin-bottom: 20px;
}

.logo-section p {
  font-size: 14px;
  color: black;
  text-align: justify;
}

.links-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 150px;
  margin-top: 30px;
}

.links-section a {
  color: black;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.links-section a:hover {
  color: #990000;
}

.text-section p {
  text-align: left;
  font-size: 14px;
  margin-top: 150px;
}

.copyright-section {
  width: 100%;
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 15px;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8em;
  }

  .content-section {
    padding: 30px 15px;
  }

  .right-side {
    padding: 0 20px;
  }

  .logo-section img {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  /* Header */
  .logo img {
    max-width: 200px;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: flex;
  }

  nav a {
    width: 100%;
    text-align: center;
    padding: 15px;
  }

  /* Hero */
  .hero {
    height: 400px;
    padding: 60px 20px;
  }

  .hero h1 {
    font-size: 2em;
  }

  /* Content Section */
  .content-section {
    flex-direction: column;
    gap: 30px;
  }

  .left-side, .right-side {
    padding: 0;
  }

  .right-side h2 {
    font-size: 22px;
  }

  .right-side p {
    font-size: 16px;
  }

  /* Carousel */
  .carousel {
    height: 400px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    text-align: center;
  }

  .logo-section, .links-section, .text-section {
    width: 100%;
    margin: 0;
    padding: 5px;
    text-align: center;
  }

  .logo-section img {
    margin: 0 auto 20px;
  }

  .links-section {
    align-items: center;
    margin-top:30px;
  }
  
  .text-section p{
      font-size:12px;
      text-align: center;
  }
}

@media (max-width: 480px) {
  /* Header */
  .logo img {
    max-width: 180px;
  }

  /* Hero */
  .hero {
    height: 300px;
    padding: 40px 15px;
  }

  .hero h1 {
    font-size: 1.8em;
  }

  /* Content Section */
  .content-section {
    padding: 20px 15px;
  }

  .right-side h2 {
    font-size: 20px;
  }

  .right-side p {
    font-size: 15px;
  }

  /* Carousel */
  .carousel {
    height: 300px;
  }

  .carousel-arrow {
    padding: 8px;
    font-size: 14px;
  }
}