/* =============== GLOBAL =============== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  padding-top: 110px; /* for fixed header */
}

/* =============== NAVBAR =============== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo img {
  height: 70px;
}

nav.desktop-nav {
  display: flex;
  gap: 30px;
}

nav a {
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #0a46c2;
}

/* =============== CONTACT HERO =============== */
.contact-hero {
  position: relative;
  text-align: center;
  color: white;
  padding: 100px 20px;
  height: 320px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("building.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-hero h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}

.contact-hero p {
  font-size: 1.1rem;
}

/* =============== CONTACT CONTENT =============== */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px 10%;
  gap: 40px;
  background-color: #f8f9ff;
}

.contact-info {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 25px;
}

.contact-info h2 {
  color: #0a46c2;
  margin-top: 0;
}

.contact-info a {
  color: #0a46c2;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-info ul {
  padding-left: 15px;
  line-height: 1.8;
}

.map {
  flex: 1.5;
  min-width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =============== FOOTER =============== */
footer {
  background-color: #0a46c2;
  color: white;
  text-align: center;
  padding: 15px 10px 20px;
  font-size: 0.9rem;
}

.cookie-settings-link {
  margin-top: 8px;
  padding: 6px 12px;
  background: white;
  color: #0a46c2;
  border-radius: 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

/* =============== MOBILE NAVBAR =============== */
.hamburger {
  display: none;
}

/* =============== HAMBURGER (DESKTOP DEFAULT) =============== */
.hamburger {
  display: none;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.hamburger span {
  display: block;
  height: 4px;
  background: #0a46c2;
  border-radius: 3px;
}


/* Slide-in menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 12px rgba(0,0,0,0.2);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  padding: 80px 25px;
  gap: 25px;
  transition: right 0.3s ease;
}

.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0a46c2;
  text-decoration: none;
}

/* Dark overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45);
  display: none;
  z-index: 9000;
}

.mobile-menu.active {
  right: 0;
}

.menu-overlay.active {
  display: block;
}

/* =============== COOKIE POPUP =============== */
#cookie-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  font-family: Poppins, sans-serif;
  display: none;
}

#cookie-popup h2 {
  margin-top: 0;
  color: #0a46c2;
  font-weight: 700;
  font-size: 1.3rem;
}

#cookie-popup p {
  margin-top: 5px;
  margin-bottom: 15px;
}

.cookie-option {
  margin-bottom: 12px;
}

.cookie-option label {
  font-weight: 600;
}

.cookie-option .desc {
  font-size: 0.8rem;
  color: #555;
  margin: 3px 0 0;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

#cookie-popup button {
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

#accept-all {
  background: #0a46c2;
  color: white;
}

#decline-all {
  background: #e4e4e4;
}

#save-cookie-settings {
  background: #05c6c6;
  color: white;
}

/* Close (X) button */
#cookie-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #444;
}

#cookie-close:hover {
  color: #000;
}

/* =============== RESPONSIVE =============== */
@media (max-width: 900px) {

  header {
    padding: 15px 20px;
  }

  .logo img {
    height: 55px;
  }

  nav.desktop-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }


  .contact-hero {
    padding: 80px 20px;
    height: auto;
  }

  .contact-hero h1 {
    font-size: 2rem;
  }

  .contact-hero p {
    font-size: 1rem;
  }

  .contact-container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .contact-info {
    max-width: 100%;
  }

  .map {
    max-width: 100%;
  }

  .map iframe {
    height: 300px;
  }

  #cookie-popup {
    width: 90%;
    right: 5%;
  }
}
