* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* ========== GLOBAL ========== */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px; /* Add this if missing */
}

/* ========== HEADER ========== */
.main-header {
  background: #222;
  color: #fff;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  position: relative;
}
.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}
.menu {
  display: flex;
  gap: 20px;
}
.menu a {
  color: #fff;
  text-decoration: none;
  padding: 8px 12px;
  transition: background 0.3s;
}
.menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.close-btn {
  display: none;
}

/* ========== MAIN BOX ========== */
.main-box {
  background: #fff;
  padding: 30px;
  margin-top: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
  margin-top: 0;
}

/* ========== FORM ========== */
.shorten-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.shorten-form input[type="url"] {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.shorten-form button {
  padding: 12px 20px;
  background: #007bfc;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ========== RESULT BOX ========== */
.result-box {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-box label {
  font-weight: bold;
}
.result-box input {
  padding: 12px;
  font-size: 16px;
  border: 1px solid #999;
  border-radius: 6px;
}
.result-box button {
  width: 100%;
  padding: 10px;
  background: green;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ========== ERROR MESSAGE ========== */
.error {
  background: #ffdcdc;
  border-left: 4px solid red;
  padding: 10px;
  margin-bottom: 20px;
  color: #900;
}

/* ========== ARTICLE INFO SECTION ========== */
.info-section {
  background: #fff;
  padding: 30px;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0,0,0,0.05);
}
.info-section h2 {
  margin-top: 20px;
  color: #333;
}
.info-section p {
  line-height: 1.6;
  color: #555;
}
.info-section ul {
  margin: 10px 0 0 20px;
  color: #555;
}

/* ========== FOOTER SECTION ========== */
.footer {
  background: #222;
  color: #fff;
  padding: 40px 20px 20px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}
.footer-col {
    flex: 1 1 0px;
}
.footer-col h3 {
  margin-bottom: 10px;
  font-size: 18px;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
}
.footer-col p,
.footer-col ul,
.footer-col li {
  font-size: 14px;
  color: #ccc;
  margin: 5px 0;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col li a {
  color: #ccc;
  text-decoration: none;
}
.footer-col li a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #aaa;
}

/* ========== MOBILE MENU ========== */
.close-btn {
  display: none;
}
@media (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 220px;
    background-color: #222;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 20px 20px;
    gap: 20px;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
  }
  .menu.active {
    right: 0;
  }
  .menu-toggle {
    display: block;
  }
  .close-btn {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}


.track-info {
  background: #f9f9f9;
  padding: 20px;
  margin-top: 30px;
  border: 1px solid #ddd;
  border-radius: 10px;
}
.track-info h2 {
  margin-bottom: 15px;
}
.info-row {
  margin-bottom: 10px;
  font-size: 16px;
}
.info-row strong {
  display: inline-block;
  width: 150px;
}










.contact-form {
  max-width: 600px;
  width: 100%;
  margin: 30px auto;
  background: #fff;
  padding: 25px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
  resize: none;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 140px;
}

.contact-form button {
  background-color: #0047ab;
  color: #fff;
  font-size: 16px;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #003580;
}

.success {
  margin-top: 20px;
  color: green;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 768px) {
  .contact-form {
    padding: 20px;
  }
}


.contact-form select {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
}

