/* Googlefont Poppins CDN Link */
        @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }
        body {
            min-height: 100vh;
        }
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 70px;
            background: #21282e;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            z-index: 99;
        }
        nav .navbar {
            height: 100%;
            max-width: 1250px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin: auto;
            padding: 0 20px; /* Reduced padding for smaller space */
        }
        .navbar .logo a {
            font-size: 30px;
            color: #fff;
            text-decoration: none;
            font-weight: 600;
        }
        nav .navbar .nav-links {
            line-height: 70px;
            height: 100%;
        }
        nav .navbar .links {
            display: flex;
            gap: 20px; /* Added space between menu items */
        }
        nav .navbar .links li {
            position: relative;
            display: flex;
            align-items: center;
            list-style: none;
            padding: 0 10px; /* Reduced padding for smaller space */
        }
        nav .navbar .links li a {
            height: 100%;
            text-decoration: none;
            white-space: nowrap;
            color: #fff;
            font-size: 15px;
            font-weight: 500;
        }
        .links li:hover .htmlcss-arrow,
        .links li:hover .js-arrow {
            transform: rotate(180deg);
        }
        nav .navbar .links li .arrow {
            height: 100%;
            width: 22px;
            line-height: 70px;
            text-align: center;
            display: inline-block;
            color: #fff;
            transition: all 0.3s ease;
        }
        nav .navbar .links li .sub-menu {
            position: absolute;
            top: 70px;
            left: 0;
            line-height: 40px;
            background: #21282e;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
            border-radius: 0 0 4px 4px;
            display: none;
            z-index: 2;
        }
        nav .navbar .links li:hover .htmlCss-sub-menu,
        nav .navbar .links li:hover .js-sub-menu {
            display: block;
        }
        .navbar .links li .sub-menu li {
            padding: 0 22px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        .navbar .links li .sub-menu a {
            color: #fff;
            font-size: 15px;
            font-weight: 500;
        }
        .navbar .links li .sub-menu .more-arrow {
            line-height: 40px;
        }
        .navbar .links li .sub-menu .more-sub-menu {
            position: absolute;
            top: 0;
            left: 100%;
            border-radius: 0 4px 4px 4px;
            z-index: 1;
            display: none;
        }
        .links li .sub-menu .more:hover .more-sub-menu {
            display: block;
        }
        .navbar .search-box {
            position: relative;
            height: 40px;
            width: 40px;
        }
        .navbar .search-box i {
            position: absolute;
            height: 100%;
            width: 100%;
            line-height: 40px;
            text-align: center;
            font-size: 22px;
            color: #fff;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .navbar .search-box .input-box {
            position: absolute;
            right: calc(100% - 40px);
            top: 80px;
            height: 60px;
            width: 300px;
            background: #21282e;
            border-radius: 6px;
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s ease;
        }
        .navbar.showInput .search-box .input-box {
            top: 65px;
            opacity: 1;
            pointer-events: auto;
            background: #21282e;
        }
        .search-box .input-box::before {
            content: '';
            position: absolute;
            height: 20px;
            width: 20px;
            background: #21282e;
            right: 10px;
            top: -6px;
            transform: rotate(45deg);
        }
        .search-box .input-box input {
            position: absolute;
            top: 50%;
            left: 50%;
            border-radius: 4px;
            transform: translate(-50%, -50%);
            height: 35px;
            width: 280px;
            outline: none;
            padding: 0 15px;
            font-size: 16px;
            border: none;
        }
        .navbar .nav-links .sidebar-logo {
            display: none;
        }
        .navbar .bx-menu {
            display: none;
        }
        .navbar .login-button {
            display: flex;
            align-items: center;
        }
        .navbar .login-button button {
            background: #fff;
            color: #21282e;
            border: none;
            padding: 10px 36px; /* Increase padding for larger button */
            border-radius: 6px; /* Rounded corners */
           /* padding: 10px 20px;
            border-radius: 4px;*/
            cursor: pointer;
            font-weight: 500;
        }
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgb(0, 0, 0);
            background-color: rgba(0, 0, 0, 0.4);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: #fefefe;
            margin: auto;
            padding: 20px;
            border: 1px solid #888;
            width: 80%;
            max-width: 400px;
            border-radius: 8px;
        }
        .modal-content h2 {
            margin-bottom: 20px;
        }
        .modal-content form {
            display: flex;
            flex-direction: column;
        }
        .modal-content form label {
            margin-bottom: 8px;
            font-weight: 500;
        }
        .modal-content form input {
            margin-bottom: 20px;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 4px;
        }
        .modal-content form button {
            background-color: #21282e;
            color: #fff;
            padding: 10px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }
        .modal-content form button:hover {
            background-color: #333;
        }
        .close {
            color: #aaa;
            float: right;
            font-size: 28px;
            font-weight: bold;
        }
        .close:hover,
        .close:focus {
            color: black;
            text-decoration: none;
            cursor: pointer;
        }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  
  .modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
  }
  
  .modal-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
  }
  
  .modal-content form {
    display: flex;
    flex-direction: column;
  }
  
  .modal-content label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #555;
  }
  
  .modal-content input[type="text"],
  .modal-content input[type="email"],
  .modal-content input[type="tel"],
  .modal-content input[type="password"],
  .modal-content input[type="text"] {
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
  }
  
  .modal-content input[type="submit"] {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .modal-content input[type="submit"]:hover {
    background-color: #0056b3;
  }
  
  .modal-content .login-link,
  .modal-content .register-link {
    text-align: center;
    margin-top: 10px;
  }
  
  .modal-content .login-link a,
  .modal-content .register-link a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .modal-content .login-link a:hover,
  .modal-content .register-link a:hover {
    text-decoration: underline;
  }
  
  .modal-content .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
  }
  
  
  
        @media (max-width: 920px) {
            nav .navbar {
                max-width: 100%;
                padding: 0 15px; /* Adjusted for smaller padding */
            }
            nav .navbar .logo a {
                font-size: 27px;
            }
            nav .navbar .links li {
                padding: 0 8px; /* Adjusted for smaller padding */
                white-space: nowrap;
            }
            nav .navbar .links li a {
                font-size: 15px;
            }
        }
        @media (max-width: 800px) {
            .navbar .bx-menu {
                display: block;
            }
            nav .navbar .nav-links {
                position: fixed;
                top: 0;
                left: -100%;
                display: block;
                max-width: 270px;
                width: 100%;
                background: #21282e;
                line-height: 40px;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
                transition: all 0.5s ease;
                z-index: 1000;
            }
            .navbar .nav-links .sidebar-logo {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .sidebar-logo .logo-name {
                font-size: 25px;
                color: #fff;
            }
            .sidebar-logo i,
            .navbar .bx-menu {
                font-size: 25px;
                color: #fff;
            }
            nav .navbar .links {
                display: block;
                margin-top: 20px;
            }
            nav .navbar .links li .arrow {
                line-height: 40px;
            }
            nav .navbar .links li {
                display: block;
            }
            nav .navbar .links li .sub-menu {
                position: relative;
                top: 0;
                box-shadow: none;
                display: none;
            }
            nav .navbar .links li .sub-menu li {
                border-bottom: none;
            }
            .navbar .links li .sub-menu .more-sub-menu {
                display: none;
                position: relative;
                left: 0;
            }
            .navbar .links li .sub-menu .more-sub-menu li {
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            .links li:hover .htmlcss-arrow,
            .links li:hover .js-arrow {
                transform: rotate(0deg);
            }
            .navbar .links li .sub-menu .more-sub-menu {
                display: none;
            }
            .navbar .links li .sub-menu .more span {
                display: flex;
                align-items: center;
            }
            .links li .sub-menu .more:hover .more-sub-menu {
                display: none;
            }
            nav .navbar .links li:hover .htmlCss-sub-menu,
            nav .navbar .links li:hover .js-sub-menu {
                display: none;
            }
            .navbar .nav-links.show1 .links .htmlCss-sub-menu,
            .navbar .nav-links.show3 .links .js-sub-menu,
            .navbar .nav-links.show2 .links .more .more-sub-menu {
                display: block;
            }
            .navbar .nav-links.show1 .links .htmlcss-arrow,
            .navbar .nav-links.show3 .links .js-arrow {
                transform: rotate(180deg);
            }
            .navbar .nav-links.show2 .links .more-arrow {
                transform: rotate(90deg);
            }

            /* Search icon and login button alignment */
            .navbar .login-button {
                display: flex;
                align-items: center;
                gap: 10px; /* Space between login button and search icon */
            }
           /* .navbar .search-box {
                order: 1; /* Move search box before login button 
            }*/
            .navbar .login-button button {
                order: 2; /* Move login button after search box */
            }
        }

        @media (max-width: 480px) {
            .navbar .search-box {
                width: 5px; /* Example adjustment for smaller search box */
            }

            
            .modal-content {
              width: 90%;
              padding: 15px;
            }
            
            .modal-content input[type="submit"] {
              padding: 8px 12px;
            }
            
            .modal-content h2 {
              font-size: 20px;
            }
          }

        @media (max-width: 425px) {

            nav .navbar .search-box {
                display: none; /* Hide search box for small screens */
            }
            .navbar .search-box {
                width: 20px; /* Example adjustment for smaller search box */
            }
            .navbar .links li {
                padding: 0 5px; /* Example adjustment for smaller menu items */
            }
            .modal-content {
                width: 90%; /* Example adjustment for smaller modal content */
                padding: 15px;
            }
        }

        @media (max-width: 375px) {
            nav .navbar .search-box {
                display: none; /* Hide search box for small screens */
            }
            .navbar .search-box {
                width: 25px; /* Example adjustment for even smaller search box */
            }
            .navbar .links li {
                padding: 0 3px; /* Example adjustment for even smaller menu items */
            }
            /* Reduce size of registration form for all screens */
            .modal-content form {
                max-width: 250px; /* Adjust the width as needed */
                margin: auto; /* Center align the form */
            }
        }

        

        @media (max-width: 370px) {
            nav .navbar .nav-links {
                max-width: 100%;
            }
        }
        
          

          @media (max-width: 320px) {
            .navbar .search-box {
                width: 20px; /* Example adjustment for very small search box */
            }
            .navbar .links {
                display: none; /* Example hiding menu items for smallest screens */
            }
            .modal-content {
                width: 80%; /* Example adjustment for smallest modal content */
            }
        }