body {
       font-family: 'Segoe UI', sans-serif;
      margin: 0;
      background-color: #13191f;
      color: #333;
      padding-bottom: 50px;
    }

    /* WHITE TOP SECTION */
    .title-wrapper {
      position: relative;              /* enables manual positioning of children */
      background-color: #13191f(122, 113, 113);
      padding: 40px;
      display: flex;
      justify-content: center;         /* keep logo centered */
      align-items: center;
      border-bottom: 1px solid #4e4141;
    }

    .logo-wrapper {
      position: absolute;
      left: 50%;
      transform: translateX(-60%);     /* perfect mathematical center */
    }

    .logo-wrapper img {
      height: 70px;
    }

    .social-icons {
      position: absolute;
      top: 50%;                        /* aligns vertically with title */
      transform: translateY(-50%);
      right: 80px;                     /* adjust this value manually (move left/right) */
      display: flex;
      gap: 18px;
    }

    .extra-buttons {
      display: flex;
      gap: 12px;
    }

    .extra-buttons a {
      color: #0A84FF;
      text-decoration: none;
      font-size: 0.9em;
      font-weight: bold;
      transition: color 0.3s;
    }

    .extra-buttons a:hover {
      color: #ffffff;
      text-decoration: none;
    }

    .social-links {
      display: flex;
      gap: 15px;
    }

    .social-links a {
      color: #0A84FF;
      font-size: 20px;
      text-decoration: none;
      transition: color 0.3s;

      /* circle styles */
      width: 30px;
      height: 30px;
      border-radius: 80%;
      border: 2px solid #0A84FF;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .social-links a:hover {
      color: #ffffff;
      border-color: #ffffff;
    }

    /* NAVIGATION BAR */
    header {
      background-color: #0a84ff;
      padding: 1px 2px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
    }
    .nav-link {
      color: #fff;
      text-decoration: none;
      font-weight: bold;
      padding: 2px 6px;
      font-size: 0.9em;
      line-height: 1.1;
      transition: color 0.3s;
    }

    .nav-link:hover {
      color: #000000;
      background: none;
    }

    .intro {
  background: linear-gradient(to right, #4a4a4a, #000000);
  padding: 40px 20px;
  text-align: center;
}

    .intro h2 {
      margin: 0;
      color: #ffffff;
    }

    .intro p {
      margin-top: 8px;
      font-size: 0.95rem;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      color: #ffffff;
    }

    /* TOOLS SECTION */
    .tool-section {
      padding: 40px 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px 30px;
      max-width: 1400px;
      margin: 0 auto;
      align-items: stretch;
    }

    .tool-box {
      background: #fff;
      padding: 18px;
      border-radius: 12px;
      border: 1px solid #ddd;
      text-align: center;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
      box-sizing: border-box;
    }

   .tool-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}


    .tool-box h3 {
      font-size: 1.35em;
      font-weight: 800;
      margin-bottom: 8px;
      color: #555;
    }

    .tool-box p {
      font-size: 1.05em;
      color: #555;
      margin-bottom: 10px;
      line-height: 1.5;
      flex-grow: 1;
    }

    .explore-btn {
      background: #0a84ff;
      color: #fff;
      padding: 8px 14px;
      border-radius: 20px;
      text-decoration: none;
      font-size: 0.95em;
      font-weight: bold;
      display: inline-block;
      margin-top: auto;
      transition: background 0.3s, transform 0.3s;
    }

    .explore-btn:hover {
      background: #035664;
      transform: scale(1.05);
    }

    footer {
      background-color: #e9ecef;
      padding: 20px;
      text-align: center;
      font-size: 0.9em;
      margin-top: 50px;
      border-top: 1px solid #ddd;
    }

    .search-wrapper {
      text-align: center;
      margin: 15px 0;
    }

    .search-form {
      display: inline-flex;
      align-items: center;
    }

    .search-form input {
      padding: 6px 20px;
      border: 1px solid #0A84FF;
      border-radius: 20px 0 0 20px;
      outline: none;
      font-size: 0.9em;
      width: 600px;
    }

    .search-form button {
      padding: 6px 12px;
      border: 1px solid #0a84ff;
      background: #0A84FF;
      color: white;
      border-radius: 0 20px 20px 0;
      cursor: pointer;
      font-size: 0.9em;
    }

    .search-form button:hover {
      background: #063a5e;
    }



      /* --- Horizontal Scrolling Video Bar Styles --- */
    .video-scroller-wrapper {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background: #13191f;
      border-top: 2px solid #0A84FF;
      padding: 10px 0;
      box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
      overflow: hidden;
      z-index: 9999;
    }

    .video-scroller {
      display: flex;
      gap: 15px;
      white-space: nowrap;
      will-change: transform;
      width: max-content;
      animation: scrollLeft linear infinite;
      animation-duration: 880s;
    }

    .video-scroller:hover {
      animation-play-state: paused;
      cursor: pointer;
    }

    .video-scroller-item {
      flex: 0 0 auto;
      width: 160px;
      background: #f9f9f9;
      border-radius: 6px;
      box-shadow: 0 1px 3px rgba(0,0,0,0.15);
      text-align: center;
      font-size: 0.85em;
      color: #ffffff;
      cursor: pointer;
      transition: transform 0.2s ease;
    }

    .video-scroller-item:hover {
      transform: scale(1.05);
    }

    .video-scroller-item img {
      width: 100%;
      height: 90px;
      object-fit: cover;
      border-bottom: 1px solid #ddd;
    }

    .video-scroller-item a {
      display: block;
      padding: 6px 8px;
      color: #031c35;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    @keyframes scrollLeft {
      0% { transform: translateX(0); }
      100% { transform: translateX(-100%); }
    }


    /* Hamburger & mobile */
    .hamburger {
      display: none;
      font-size: 26px;
      cursor: pointer;
      position: absolute;
      top: 15px;
      left: 15px;
      z-index: 1000;
      transition: transform 0.3s ease;
      color: #0A84FF;
    }

    .hamburger.active {
      transform: rotate(90deg);
    }

    .mobile-menu {
      display: flex;
      flex-direction: column;
      background-color: #000000;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      z-index: 999;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.5s ease, opacity 0.4s ease;
    }

   
/* Menu visible */
.mobile-menu.show {
  max-height: 100vh;
  overflow-y: auto;
  opacity: 1;
}

    .mobile-menu a {
      color: #0A84FF;
      text-decoration: none;
      font-weight: bold;
      padding: 12px 20px;
      font-size: 0.9em;
      line-height: 1.2;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
      transition: background 0.3s;
    }

    .mobile-menu a:last-child {
      border-bottom: none;
    }

    .mobile-menu a:hover {
      background-color: #035664;
      color: #000;
    }

    @media screen and (max-width: 768px) {
      .hamburger {
        display: block;
      }
      header .nav-link {
        display: none;
      }
      .search-wrapper {
        margin: 12px 0;
        padding: 0 10px;
      }
      .search-form {
        width: 100%;
        justify-content: center;
      }
      .search-form input {
        width: 70%;
        font-size: 0.85em;
        padding: 6px 12px;
        border-radius: 20px 0 0 20px;
      }
      .search-form button {
        padding: 6px 10px;
        font-size: 0.85em;
        border-radius: 0 20px 20px 0;
      }
    }

    @media screen and (min-width: 769px) {
      .hamburger, .mobile-menu {
        display: none;
      }
    }

    @media screen and (max-width: 1024px) {
      .video-grid {
        grid-template-columns: repeat(3, 1fr);
      }
    }

    @media screen and (max-width: 768px) {
      .video-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media screen and (max-width: 480px) {
      .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }
    }

    @media screen and (max-width: 768px) {
      .title-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 20px 12px;
      }
      .logo-wrapper {
        position: relative;
        left: auto;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-bottom: 25px;
      }
      .logo-wrapper img {
        height: 40px;
        margin: 0;
      }
      .social-icons {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 14px;
        margin-bottom: 18px;
      }
      .social-links a {
        font-size: 16px;
        width: 30px;
        height: 30px;
        border-width: 1.5px;
      }
      .extra-buttons {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 14px;
      }
      .extra-buttons a {
        font-size: 0.8em;
        padding: 4px 8px;
      }
    }