/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f7fa;
  color: #333;
}

/* Header */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #0077cc;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu ul li a:hover {
  color: #0077cc;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

/* Mobile Menu */
.menu {
  transition: right 0.3s ease;
}

@media screen and (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px;
    background: #fff;
    flex-direction: column;
    padding: 60px 20px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }

  .menu.open {
    right: 0;
  }

  .menu ul {
    flex-direction: column;
    gap: 20px;
  }

  .hamburger {
    display: block;
  }

  .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
  }
}

/* Main Content */
main {
  padding: 60px 20px;
  text-align: center;
}

.content h1 {
  font-size: 32px;
  color: #222;
  margin-bottom: 15px;
}

.content p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.url-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.url-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.url-form button {
  padding: 12px 20px;
  background-color: #0077cc;
  border: none;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.url-form button:hover {
  background-color: #005fa3;
}

/* Footer */
footer {
  background-color: #222;
  color: #eee;
  padding: 40px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #fff;
}

.footer-column p, .footer-column ul {
  font-size: 14px;
  color: #ccc;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

/* Footer Bottom Line */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 15px;
}



/* Mobile menu close button only for mobile */
@media screen and (min-width: 769px) {
  .close {
    display: none;
  }
}

/* Short Link Result */
.short-result {
  max-width: 600px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.short-result input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  text-align: center;
}

.short-result button {
  padding: 10px 16px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.short-result button:hover {
  background-color: #005fa3;
}

#copyMessage {
  font-size: 14px;
  color: green;
  display: none;
}






/* Tracking Section */
#track-section {
  max-width: 700px;
  margin: 60px auto;
  text-align: center;
}

#track-section .section-title {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

#track-section .section-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.track-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.form-input {
  padding: 12px;
  width: 400px;
  max-width: 90%;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-button {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.form-button:hover {
  background-color: #005fa3;
}

.track-result {
  margin: 30px auto 0;
  padding: 20px;
  background: #f8f9fa;
  border-left: 4px solid #0077cc;
  max-width: 600px;
  text-align: left;
  border-radius: 6px;
  box-shadow: 0px 1px 4px rgba(0,0,0,0.05);
  font-size: 15px;
}

.track-result.error {
  border-left-color: #cc0000;
  color: #cc0000;
}






/* Report Section Styling */
#report-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 15px;
  text-align: center;
}

#report-section .section-title {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

#report-section .section-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.report-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.report-input {
  width: 100%;
  max-width: 600px;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.report-input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
}

.report-button {
  padding: 14px 30px;
  font-size: 16px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.report-button:hover {
  background-color: #c0392b;
}







/* Contact Section Styling */
#contact-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 15px;
  text-align: center;
}

#contact-section .section-title {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

#contact-section .section-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.contact-input {
  width: 100%;
  max-width: 600px;
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
}

.contact-input:focus {
  border-color: #3498db;
  outline: none;
  box-shadow: 0 0 4px rgba(52, 152, 219, 0.3);
}

.contact-button {
  padding: 14px 30px;
  font-size: 16px;
  background-color: #2ecc71;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #27ae60;
}




/* Privacy Policy Section Styling */
#privacy-policy {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

#privacy-policy .section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

#privacy-policy .section-desc {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.policy-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.policy-item h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.policy-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}





/* Terms and Conditions Section Styling */
#terms-conditions {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: left;
}

#terms-conditions .section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
  color: #222;
}

#terms-conditions .section-desc {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.terms-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.terms-item h3 {
  font-size: 20px;
  color: #333;
  margin-bottom: 8px;
}

.terms-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
}




/* Home Q&A / FAQ Section */
#home-faq {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

#home-faq .section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #222;
}

#home-faq .section-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  text-align: left;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-item h3 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}




