/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background: #fff;
  color: #111;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
  transition: background 0.3s ease;
}

.main-header.active { background: rgba(0,0,0,0.95); }

.header-left,
.header-center,
.header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-left { justify-content: flex-start; }
.header-right { justify-content: flex-end; }

.logo { max-height: 55px; }
.icon { max-height: 45px; cursor: pointer; }

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 999;
  padding: 20px 0;
  animation: slideDown 0.3s ease forwards;
}

.dropdown-menu ul {
  display: flex;
  justify-content: center;
  gap: 60px;
  list-style: none;
}

.dropdown-menu li a {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.dropdown-menu li a:hover {
  color: #00bfff;
  transform: scale(1.05);
}

.dropdown-menu.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  flex: 1;
  padding: 120px 10% 60px;
  background: #f5f8fa;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section h1 {
  font-size: 3rem;
  margin-bottom: 50px;
  color: #003049;
  text-align: center;
}

/* FAQ Search Bar */
.faq-search-section {
  width: 100%;
  padding: 90px 10% 40px;
  background: #f5f8fa;
  display: flex;
  justify-content: center;
}

.faq-search-container {
  width: 100%;
  max-width: 700px;
  display: flex;
  gap: 10px;
}

.faq-search-container input {
  flex: 1;
  padding: 14px 20px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-search-container input:focus {
  border-color: #00bfff;
  box-shadow: 0 0 6px rgba(0,191,255,0.3);
}

.faq-search-container button {
  padding: 14px 24px;
  font-size: 1rem;
  background: #003049;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq-search-container button:hover {
  background: #005f8f;
}

/* Mobile FAQ Search */
@media (max-width: 600px) {
  .faq-search-container {
    flex-direction: column;
    gap: 12px;
  }
}

.faq-container {
  width: 100%;
  max-width: 900px;
}

.faq-item {
  margin-bottom: 25px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.faq-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

.faq-question {
  font-size: 1.4rem;
  font-weight: 700;
  color: #003049;
  cursor: pointer;
  margin-bottom: 12px;
}

.faq-answer {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  display: none;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.faq-answer.show { display: block; }

.hidden { display: none !important; }

/* ===== FOOTER ===== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 60px 5% 30px;
  width: 100%;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand img { width: 140px; margin-bottom: 15px; }
.footer-brand p { font-size: 0.95rem; color: #bbb; line-height: 1.6; max-width: 250px; }

.footer-links h4,
.footer-social h4 { font-size: 1.1rem; margin-bottom: 14px; font-weight: 600; }

.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 8px; }
.footer-links ul li a { color: #bbb; font-size: 0.95rem; text-decoration: none; transition: color 0.3s ease; }
.footer-links ul li a:hover { color: #fff; }

.social-icons a { margin-right: 12px; }
.social-icons img { width: 26px; height: 26px; filter: invert(1); transition: opacity 0.3s ease; }
.social-icons img:hover { opacity: 0.7; }

.footer-bottom { text-align: center; border-top: 1px solid #333; margin-top: 40px; padding-top: 20px; }
.footer-bottom p { font-size: 0.85rem; color: #777; }

/* Sticky Footer Fix */
html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

  /* Mobile dropdown menu */
  .dropdown-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(0,0,0,0.95);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    overflow-y: auto;
    text-align: center;
  }

  .dropdown-menu ul {
    flex-direction: column;
    gap: 30px;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .dropdown-menu li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .dropdown-menu li a {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
  }

  /* Mobile Footer 2x2 */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    text-align: center;
    padding: 0 5%;
    max-width: 100%;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-links:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-social {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: center;
  }

  .footer-brand img { width: 100px; margin-bottom: 8px; }
  .footer-brand p { font-size: 0.9rem; max-width: 100%; }

  .footer-links h4,
  .footer-social h4 { font-size: 0.95rem; margin-bottom: 6px; }

  .footer-links ul li a { font-size: 0.9rem; }

  .social-icons img { width: 22px; height: 22px; margin-right: 10px; }

  .footer-bottom { grid-column: 1 / 3; margin-top: 20px; padding-top: 10px; }
  .footer-bottom p { font-size: 0.8rem; }
}
