/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styling */
body {
  background-color: #1c1c1e;
  font-family: 'Poppins', sans-serif;
  color: #f1f1f1;
  transition: background-color 0.5s ease-in-out;
}

/* Navbar Styling */
header {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  position: relative;
  z-index: 10;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.logo img {
  display: block;
}
ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.3s ease;
}
ul li a:hover {
  color: #ffcc00;
  transform: scale(1.1);
}

/* Hamburger and Cancel Button Styling */
.hamburger, .cancel {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}
.pdf2{
  display: none;
}
@media screen and (max-width: 800px) {
    .pdf1{
      /* display: none; */
    }
    .pdf2{
      display: block;
    }
  }
@media screen and (max-width: 800px) {
  .hamburger {
    display: block;
    margin-right: 5vh;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 20px;
    z-index: 20;
  }
  .heading {
    display: none;
  }
  header {
    padding: 0;
  }
  .nav-links.show {
    display: flex;
  }
  .cancel {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  .nav-links li {
    margin-bottom: 20px;
  }
}

/* Heading Styling */
h1.heading {
  font-size: 48px;
  text-align: center;
  margin: 10px 0;
  color: #f5ba13;
  animation: fadeInDown 1s ease;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes fadeInDown {
  from {
      opacity: 0;
      transform: translateY(-50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Main Container Styling */
.main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto; /* Updated to auto for better responsiveness */
  padding: 20px;
  gap: 40px;
  flex-direction: row;
}

/* Flex1 Styling */
.flex1 {
  background-color: #2c2c2e;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  flex: 1;
}
.flex1:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Text and Info Styling */
h2 {
  font-size: 24px;
  text-align: center;
  color: #f5ba13;
  margin-bottom: 10px;
}

p {
  color: #b3b3b3;
  line-height: 1.8;
  text-align: center;
}

/* Flex2 (Map) Styling */
.flex2 {
  flex: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes up available space */
}
.map-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  width: 700px;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 4px solid #f5ba13;
  transition: box-shadow 0.3s ease-in-out;
}
.map-container:hover {
  box-shadow: 0 8px 20px
}
.map-container:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

iframe {
  width: 100%;
  height: 700px;
  border: none;
}

/* Footer Styling */
footer {
  background-color: #2c2c2e;
  padding: 20px 0;
  text-align: center;
  margin-top: 10px; /* Adjusted margin for better spacing */
  color: white;
}

.footer-content p {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-socials {
  margin-top: 15px;
}

.social-icon {
  color: #f5ba13;
  font-size: 24px;
  margin: 0 10px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icon:hover {
  color: #fff;
  transform: scale(1.2);
}

/* Responsive Design */
@media screen and (max-width: 900px) {
  .main {
    width: 100vw;
    flex-direction: column; /* Stack flex items vertically */
    gap: 20px; /* Adjust spacing */
  }
  .flex1, .flex2 {
    width: 90vw; /* Ensure elements fit within viewport width */
  }
  .map-container {
    width: 90vw; /* Ensure map fits within viewport */
    height: 50vh; /* Adjust height as needed */
  }
}

@media screen and (max-width: 768px) {
  .main {
    padding: 0;
    margin-top: 100px;
  }
  .flex1, .flex2 {
    width: 85vw;
  }
  .map-container {
    width: 85vw;
    height: 450px;
  }  
  iframe {
    width: 100%;
    height: 700px;
  }

  footer {
    margin-top: 60px;
  }
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-thumb {
  background-color: #5e5d5d; /* Dark color for the thumb */
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background-color: #222; /* Dark color for the track */
}