/* ===== Global Styles ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #F0F0F0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  flex: 1;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #002544;
  padding: 2.2em 50px;
  box-shadow: 0 2px 4px rgba(8, 42, 180, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
  flex-wrap: wrap;
}

.nav-title {
  font-family:'Trebuchet MS', sans-serif;
  font-size: clamp(24px, 5vw, 40px);
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  white-space: nowrap;
  margin: 0;
  line-height: 1.2;
}

.nav-content {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-content > * {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-content a,
.dropdown-button {
  position: relative;
  color: white;
  font-size: clamp(10px, 2vw, 18px);
  font-weight: bold;
  background: none;
  border: none;
  text-decoration: none;
  font-family: 'Trebuchet', sans-serif;
  cursor: pointer;
  padding: 0;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.nav-content a::after,
.dropdown-button::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right,#88ccf6, #fff);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
  border-radius: 2px;
}

.nav-content a:hover,
.dropdown-button:hover {
  color: #88ccf6;
  text-shadow: 0 0 5px rgba(239, 191, 4, 0.5);
}

.nav-content a:hover::after,
.dropdown-button:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.dropdown-button {
  appearance: none;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background-color: #f4f4f4;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 160px;
  z-index: 1;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #002544;
}

.dropdown-content a:hover {
  background-color: #dedcdc;
}

.show .dropdown-content {
  display: block;
}

/* === Contact Section Background === */
.contact-section {
  padding: 0;
  margin: 0;
}

.contact-main {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 60px 20px;
  background: url('background.webp') no-repeat center center / cover;
  box-sizing: border-box;
}

.mall-image-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 500px;
}

.mall-photo {
  flex: 1;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.contact-form {
  width: 100%;
  max-width: 500px;
}

.contact-form form {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  color: white;
  width: 100%;
  box-sizing: border-box;
}

.contact-form .section-heading {
  font-size: 32px;
  color: #002544;
  text-align: center;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: white;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 15px;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

/* === Submit Button === */
.button {
  text-align: center;
  margin-top: 10px;
}

.button button {
  background-color: #002544;
  color: white;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.button button:hover {
  background-color: #004080;
}

/* === Chat Icon === */
#chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #034378;
  border-radius: 50%;
  padding: 15px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


#chat-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);

}

/* === Chatbox === */
.chatbot {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  height: 400px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: none;
  flex-direction: column;
  padding: 15px;
  box-sizing: border-box;
}

.chatbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbox-header span {
  font-weight: bold;
  font-size: 16px;
}

.chatbox-header button {
  background-color: #ff4c4c;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
}

.chatbox-header button:hover {
  background-color: #ff0000;
}

.messages {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
}

.user-message, .bot-response {
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.user-message {
  background-color: #e1f5fe;
  align-self: flex-end;
}

.bot-response {
  background-color: #f1f1f1;
  align-self: flex-start;
}

#userInput {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

button {
  background-color: #002544;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.newsletter-subscription {
  background-color: #afbac5;
  padding: 30px 20px;
  text-align: center;
  color: white;
}

.newsletter-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.newsletter-box {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  border: 2px solid white;
  border-radius: 6px;
  overflow: hidden;
}

.newsletter-button:hover {
  background-color: #d4d1d1;
}

.newsletter-icon {
  padding: 10px 15px;
  font-size: 20px;
  background-color: transparent;
}

.newsletter-input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  background-color: transparent;
  border: none;
  color: white;
  outline: none;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-button {
  padding: 12px 18px;
  background-color: #afbac5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsletter-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.newsletter-icon-mail {
  margin-left: 10px; /* Adjust this value as needed */
} 

/* === Footer === */
footer {
  text-align: center;
  padding: 20px;
  background-color: #002544;
  color: white;
  margin-top: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  place-items: center;
  background-color: #002544;
  padding: 20px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  margin: 5px 0px;
  color: #bfe6ff;
}

.footer-section a {
  text-decoration: none;
  color: #bfe6ff;
}

.footer-bottom {
  text-align: center;
  padding: 10px 0 20px;
  background-color: #002544;
  font-size: 14px;
  color: white;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .contact-form {
    padding: 10px 15px;
  }

  .contact-form form {
    max-width: 400px;
    padding: 18px;
  }

  .button button {
    font-size: 15px;
    padding: 8px 18px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 1em 20px;
  }

  .nav-title {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5em;
  }

  .nav-content {
    justify-content: center;
    width: 100%;
    margin-top: 0.5em;
    text-align: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .contact-main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px 10px;
  }

  .mall-image-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 90%;
  }

  .mall-photo {
    width: 100%;
    margin-bottom: 10px;
  }

  .contact-form {
    width: 100%;
    max-width: 90%;
    justify-items: center;
  }

  .contact-form form {
    width: 100%;
    padding: 20px;
  }

  .button button {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .mall-photo {
    width: 100%;
  }

  .contact-form form {
    padding: 15px;
  }

  .nav-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .nav-content a,
  .dropdown-button {
    font-size: clamp(9px, 3vw, 14px);
  }
}


