/* Base styles same as before */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

#nav-bar {
  background-color: #2b2d42;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo h3 {
  margin: 0;              /* remove browser default spacing */
  line-height: 1;         /* avoid extra vertical space */
  display: flex;
  align-items: center;    /* vertically center */
  font-size: 20px;        /* optional: adjust text size if needed */
}

.logo img {
  height: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 8px 12px;
  transition: background 0.3s ease;
}

.nav-links a:hover {
  background-color: #8d99ae;
  border-radius: 5px;
}

.nav-links a.active {
  background-color: #8d99ae;
  border-radius: 5px;
}

/* Dropdown */
.dropdown {
  display: flex;
  align-items: center;
}

.dropdown-arrow {
  margin-left: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* always under the dropdown row */
  left: 0;
  background-color: #2b2d42;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 5px;
  margin-top: 5px;
  z-index: 10;
  width: max-content; /* adjust width to content */
}

.dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 180px;
}

.dropdown-menu a {
  display: block;
  padding: 10px;
  color: white;
}

.dropdown-menu a:hover {
  background-color: #8d99ae;
  border-radius: 0;
}

/* Mobile */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #2b2d42;
    width: 100%;
    display: none;
    padding: 15px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    justify-content: center;
    margin: 5px 0;
  }

  /* Keep Kids Zone + arrow in a fixed row */
  .dropdown {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative; /* dropdown menu will position absolute relative to this */
  }

  .dropdown-menu {
    position: absolute;
    top: 100%; /* always below the row */
    left: 0;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 5px;
  }

  .dropdown-menu li {
    width: 100%;
  }
}










/* main body style */

/* ===== General Styles ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
}

/* background image  */
/* body {
  font-family: Arial, sans-serif;
  background: url() no-repeat center center fixed;
  background-size: cover; 
  color: #333;
  line-height: 1.6;
} */


body {
  background: radial-gradient(
      circle at top left,
      rgba(39, 65, 133, 0.9) 0%,
      rgba(90, 98, 214, 0.2) 40%,
      rgba(39, 65, 133, 0.9) 100% )  no-repeat center center fixed;

      background-size: cover;

}





.wrappr {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #222;
    margin-bottom: 30px;
}

/* ===== Container Layout ===== */
.container_1 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sections hold two tools side-by-side on larger screens */
.section_1,
.section_2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== Tool Box Styles ===== */
.tool_1,
.tool_2 {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 260px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool_1:hover,
.tool_2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.tool_1 img,
.tool_2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

h3 {
    margin: 15px 0 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

button {
    background: #2b2d42;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #8d99ae;
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 992px) {
    .section_1,
    .section_2 {
        justify-content: center;
    }

    .tool_1,
    .tool_2 {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .section_1,
    .section_2 {
        flex-direction: column;
        align-items: center;
    }

    .tool_1,
    .tool_2 {
        width: 100%;
        max-width: 350px;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* neotort heading : Neotort A free online tool hub for everyone */
h1 {
      font-size: 8vw;       /* 4% of the viewport width */
      text-align: center;
      margin: 2px;
      color: #333;
    }
    
    /* Medium devices - tablets and up */
    @media (min-width: 600px) {
      h1 {
        font-size: 8vw;
      }
    }
    
    /* Larger devices - desktops */
    @media (min-width: 1024px) {
      h1 {
        font-size: 5vw;
      }
    }











/* Footer styles */
footer {
  background-color: #2b2d42;
  color: white;
  padding: 20px 40px;
}

/* Make page stretch full height */
html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-content p {
  margin: 10px 0;
  font-size: 1rem;
}

.footer-content ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 10px 0;
  padding: 0;
}

.footer-content ul li a {
  text-decoration: none;
  color: #ffffffcc;
  transition: color 0.3s ease;
}

.footer-content ul li a:hover {
  color: #ffffff;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .footer-content ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-content ul li {
    margin: 5px 10px;
  }
}










