/* Reset */
* {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: #333;
  max-width: 100vw;
  overflow-x: clip; /* Prevents horizontal scroll */
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: #ffffff;
  transition: box-shadow 0.3s ease;
}

/* Shadow on scroll */
.headerscrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Navigation Container */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 100%;
  background: transparent;
}

/* Logo */
.logo img {
  height: 65px;
  width: auto;
  max-width: 100%;
}

/* Nav Links (Desktop) */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: inline-block;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #007bff;
  border-bottom: 2px solid #007bff;
  padding-bottom: 2px;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: none;
  z-index: 100000;
  position: relative;
  padding: 0.5rem 1rem;
  color: #333;
}

/* Mobile Menu Styles */
@media (max-width: 1300px) {
  .logo img {
    height: 55px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    z-index: 99999;
  }

  .nav-links.show {
    transform: translateX(0);
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hamburger {
    display: block;
  }
}

/* ===============================
   Footer Styling (original)
   =============================== */

footer {
  background-color: #F7EBED;
  color: #333;
  font-family: 'Poppins', sans-serif;
  padding: 2.5rem 5%;
  width: 100%;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 1400px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section.left {
  text-align: left;
}

.footer-section.center {
  text-align: center;
  align-self: center;
}

.footer-section.right {
  text-align: right;
}

.footer h2 {
  font-size: 1.75rem;
  margin-bottom: 1.2rem;
  color: #333;
}

footer p {
  margin: 0.5rem 0;
  color: #333;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  align-items: center;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  transition: opacity 0.3s ease;
}

.social-icons a:hover .social-icon {
  opacity: 0.7;
}

/* Responsive Tweaks */
@media (max-width: 1024px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    text-align: center !important;
  }

  .social-icons {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .footer h2 {
    font-size: 1.4rem;
  }

  footer p {
    font-size: 0.95rem;
  }

  .social-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
}
