/* RESET */
/* Make full page height layout */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  background:#f8f9fa;
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.7;
}

/* Page wrapper takes full height and pushes footer */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* Main takes remaining space */
main {
  flex: 1;
}

/* HEADER NAVIGATION */
.site-header {
  background:black;
  color: #fff;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: bold;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.navbar ul li a:hover {
  color: #00c8ff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background:black;
  transition: 0.3s ease;
}

/* Toggle Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.logo {
  font-size: 1rem;
  font-weight: bold;
}



/* MAIN CONTAINER */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  max-width: 960px;
  margin: 40px auto;
  padding: 20px;
  background: transparent;
  border-radius: 10px;
  box-shadow: 0 0 12px transparent;
  border: 1px solid transparent;
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
  margin-bottom: 20px;
  margin-top:60px;
 }

/* HERO SECTION */
.hero h1 {
  text-align: center;
  font-size: 2 rem;
  color:#00796b;
  text-decoration: underline;
  font-weight: 600;
     
}

.hero p {
  text-align: center;
  font-size:1.02rem;
  color: black;
  margin-bottom: 30px;
  font-weight: 600;
}

/* FORM */
.tool-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

input[type="url"] {
  width: 100%;
  max-width: 500px;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input.honeypot {
  display: none;
}

button.check-btn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button.check-btn:hover {
  background-color: #0097a7;
}

/* REFRESH BUTTON */
.refresh-container {
  text-align: center;
  margin-top: 10px;
}

.refresh-container button {
  background: #333;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
 
}

.refresh-container button:hover {
  background:black;
}

/* RESULTS */
.scan-result, .error {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
}

.scan-result {
  color: #2e7d32;
}

.error {
  color: #d32f2f;
}

/* LINK RESULTS */
.link-results {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.link-results li {
  padding: 10px;
  margin-bottom: 5px;
  border-radius: 5px;
  word-break: break-word;
}

.link-results li.ok {
  background-color: #e0f7fa;
  color: #00695c;
}

.link-results li.broken {
  background-color: #ffebee;
  color: #c62828;
}

/* ABOUT SECTION */
.about-wsiteview {
  max-width: 960px;       /* Limit maximum width */
  margin: 40px auto;      /* Center it with margin */
  padding: 20px;
  margin-bottom:-25px;
  background-color:transparent;
  border-left: 1px solid transparent;
  border-radius: 6px;
  line-height: 1.7;
}

.about-wsiteview h2, .about-wsiteview h3 {
  margin-bottom: 10px;
  color: #00796b;
  font-size: 1.3rem;
  font-weight: 600;
}

.about-wsiteview ul {
  margin-left: 20px;
  list-style: disc;
  color: #444;
}

.about-wsiteview ol {
  margin-left: 20px;
  list-style: decimal;
  color: #444;
}

.about-wsiteview p {
  margin-bottom: 15px;
  color: #555;
  font-size: 1.01rem;
}

/***************  contact.php*****************/
.contact-page h1, .contact-page h2, .contact-page h3 {
  color:#00796b;
  font-weight: 550;
  margin-top: 20px;
  font-size: 1.4rem;
  text-align: center;
  text-decoration:underline;
  margin-bottom: 15px;
}

.contact-page p, .contact-page li {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.contact-form, .comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin-top: 20px;
}

.contact-form input, 
.contact-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.contact-form button, .comment-form button {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.contact-form button:hover, .comment-form button:hover {
  background-color: #388E3C;
}

.comment-box {
  margin-top: 40px;
}

.faq {
  margin-top: -50px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
}
 
/* FOOTER */
footer {
  text-align: center;
  padding: 15px;
  background:black;
  color: #ccc;
  font-size:1rem;
  margin-top: 50px;
}
/* Scroll-to-Top Button */
#scrollTopBtn {
  display: none;
  position: fixed;
  bottom:20px;
  right: 25px;
  background-color: #00c8ff;
  color: white;
  padding: 10px 14px;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  z-index: 9999;
}

#scrollTopBtn:hover {
  background-color: #008cc8;
}


/* MEDIA QUERIES */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
  }

  .hero h1 {
    font-size: 26px;
    margin-top: 0px;
  }
  .navbar {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background: #1a1a1a;
    width: 100%;
    padding: 20px;
    animation: slideDown 0.4s ease forwards;
  }

  .navbar.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hamburger {
    display: flex;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  input[type="url"] {
    width: 90%;
  }

  button.check-btn,
  .refresh-container button {
    width: 90%;
  }

  .container {
    margin: 20px 15px;
  }
}

@media (max-width: 480px) {

.logo a {
  
  font-size: 1.7rem;
  font-weight:700;
}
 .hero h1 {
    font-size:1.25rem;
  }

  .hero p {
    font-size:0.95rem;
    line-height: 1.6;
  }
  input[type="url"] {
 
  font-size:0.83rem;
  
}
  .container {
  
  border: 1px solid transparent;
   box-shadow: 0 0 12px transparent;
 }

  .about-wsiteview {
     margin-top: -25px;
  }
  .about-wsiteview h2,  .about-wsiteview h3 {
     font-size: 1.12rem;
     margin-bottom: -10px;
  }
  .about-wsiteview p {
     font-size:0.95rem;
    line-height: 1.6;
    margin-bottom: -15px;
  }
  .about-wsiteview ul, .about-wsiteview ol {

   font-size:0.95rem;
}
footer {
  text-align:center;
  font-size: 0.85rem;
  
}

  #scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 35px;
  right:9px;
  background-color: #00c8ff;
  color: white;
  padding: 10px 14px;
  border: none;
  border-radius: 50%;
  font-size:15px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.4);
  z-index: 9999;
}
/***************  contact.php*****************/
.contact-page h1 {
  
  font-size: 1.25rem;
  margin-top: 0px;
}
.contact-page h3, .contact-page h2 {
    margin-bottom: -20px;
    font-size: 1.12rem;
}

.contact-page p, .contact-page li {
  font-size:0.95rem;
  line-height: 1.6;
}
.contact-page p{
    margin-bottom: 0px;
}

.contact-form input, 
.contact-form textarea,
.comment-form input,
.comment-form textarea {
  
  font-size: 0.85rem;
}
.faq li {
 font-size:0.95rem;
  line-height: 1.6;
}

.faq ul {
  margin-bottom: -15px;
}
 
}
