/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Font */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar */
.navbar {
  background-color: #fff;
  border-bottom: 2px solid #c20000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 50px;
  margin-right: 20px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #c20000;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* sits right under the parent */
  left: 0;
  min-width: 200px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  list-style: none;
  z-index: 1000;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.dropdown-menu li a:hover {
  background-color: #f5f5f5;
  color: #c20000;
}

/* Show dropdown on hover (fix gap issue too) */
.dropdown:hover > .dropdown-menu {
  display: block;
}

/* Prevent dropdown from disappearing when hovering between items */
.dropdown {
  position: relative;
}

.dropdown-menu:hover {
  display: block;
}


.contact-info-section {
  padding: 40px 20px;
  background-color: #fdfdfd;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  color: #c20000;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.section-description {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-email {
  font-size: 16px;
  color: #222;
  margin-bottom: 25px;
}

.email-link {
  color: #c20000;
  font-weight: 500;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}

.operating-hours-container {
  margin-top: 10px;
}

.operating-title {
  font-size: 16px;
  font-weight: bold;
  color: #c20000;
}

.timezone {
  font-weight: normal;
  color: #666;
  font-size: 14px;
}

.operating-time {
  font-size: 15px;
  color: #555;
  margin-top: 5px;
}

.feedback-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #f1f1f1;
  border-radius: 30px;
}

.section-title {
  font-size: 28px;
  color: #c20000;
  font-weight: bold;
  margin-bottom: 20px;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.upload-note {
  font-size: 13px;
  color: #666;
  margin-top: 5px;
  line-height: 1.5;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.privacy-notice {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.privacy-notice a {
  color: #c20000;
  text-decoration: underline;
}

.submit-btn {
  padding: 12px 25px;
  background-color: #c20000;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background-color: #a80000;
}

.contact-section {
  padding: 40px 20px;
  background-color: #fff;
  max-width: 1000px;
  margin: auto;
}

.section-title {
  font-size: 28px;
  color: #c20000;
  font-weight: bold;
  margin-bottom: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-item h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 15px;
  color: #333;
  margin: 8px 0;
}

.contact-item a {
  color: #c20000;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: none;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-links a {
  font-size: 15px;
  color: #c20000;
}

.social-links a i {
  margin-right: 8px;
}

.social-links a {
  font-size: 15px;
  color: #c20000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.social-links a i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  color: #a00000;
  transform: scale(1.05);
}

.social-links a:hover i {
  color: #a00000;
  transform: scale(1.2);
}

.thank-you-msg {
  background-color: #fff0f0;
  color: #c20000;
  padding: 1.5rem;
  border-left: 4px solid #c20000;
  border-right: 4px solid #c20000;
  margin: 2rem auto;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 800px;
  line-height: 1.6;
  border-radius: 8px;
}

.career-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.career-container h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.highlight {
  color: #c20000;
  font-weight: bold;
}

.career-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.learn-more-btn a {
  display: inline-block;
  background-color: #c20000;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.learn-more-btn a:hover {
  background-color: #a10000;
}

/*----------chatbox-------*/

    /* Chatbot Bubble Button */
    #chatbot-toggle {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #c20000;
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 60px;
      height: 60px;
      font-size: 24px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    /* Chatbox */
    #chatbot-box {
      position: fixed;
      bottom: 90px;
      right: 20px;
      width: 320px;
      max-height: 400px;
      background: #fff;
      border: 1px solid #ccc;
      border-radius: 10px;
      display: none;
      flex-direction: column;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.2);
      z-index: 999;
    }

    #chatbot-messages {
      flex: 1;
      overflow-y: auto;
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .message {
      display: flex;
      align-items: flex-start;
      gap: 10px;
    }

    .user-message {
      justify-content: flex-end;
    }

    .bot-message {
      justify-content: flex-start;
    }

    .avatar {
      width: 30px;
      height: 30px;
      border-radius: 50%;
    }

    .message-text {
      max-width: 200px;
      padding: 8px 12px;
      border-radius: 15px;
      background-color: #f1f1f1;
      font-size: 14px;
    }

    .user-message .message-text {
      background-color: #c20000;
      color: white;
      border-bottom-right-radius: 0;
    }

    .bot-message .message-text {
      background-color: #f1f1f1;
      border-bottom-left-radius: 0;
    }

    #chatbot-input-container {
      display: flex;
      border-top: 1px solid #ddd;
    }

    #chatbot-input {
      flex: 1;
      border: none;
      padding: 10px;
      font-size: 14px;
      outline: none;
    }

    #chatbot-send {
      background: #c20000;
      color: white;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
    }

.footer {
  background-color: white;
  padding: 40px 20px 20px;
  border-top: 2px solid #c20000; /* line merah */
}

.footer-top {
  text-align: center;
  margin-bottom: 30px;
}
.footer-logo {
  max-width: 150px;
  margin-bottom: 15px;
}
.footer-description {
  font-size: 14px;
  max-width: 500px;
  margin: 0 auto 20px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  font-size: 18px;
}
.social-icons a {
  color: #c20000;
  transition: transform 0.3s ease;
}
.social-icons a:hover {
  transform: scale(1.2);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.footer-column h3 {
  color: #c20000;
  margin-bottom: 10px;
}
.footer-column a {
  display: inline-block;
  margin: 4px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a {
  display: block;
  margin: 6px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-column a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: #c20000;
  transition: width 0.3s ease;
}

.footer-column a:hover {
  color: #c20000;
  transform: translateX(4px);
}

.footer-column a:hover::after {
  width: 100%;
}


.footer-rights {
  text-align: center;
  font-size: 13px;
  margin-top: 40px;
  color: #777;
}
