* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #191a1c;
}

@media (max-width: 768px) {
    body {
      zoom: 0.5; /* Scales down the entire page */
      transform-origin: 0 0;
      width: 200%; /* Compensates for zoom */
      overflow-x: auto; /* Allows horizontal scrolling */
    }
  }
  
/* ---------------------------------------Header Advertisement--------------------------------------------------- */

.top-bar {
    background-color: #e0e0e0;
    color: rgb(0, 0, 0);
    padding: 10px 10px;
    display: flex;
    font-weight: bold;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    gap: 10px;
}

.line {
    content: "";
    height: 3px;
    background-color: #b509ff;
    margin-top: 0px;
}

.promo-btn {
    background: #d9f24c;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: bold;
    color: #003b29;
    cursor: pointer;
}


/* ---------------------------------------Header--------------------------------------------------- */

.main-header {
    background: rgba(25, 26, 28, 0.5);
    /* Transparent dark background */
    backdrop-filter: blur(5px);
    /* Glass blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Light inner border */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 10px;
    /* Optional: rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    /* Optional: soft shadow */
}

.logo img {
    height: 25px;
}

.navbar ul,
.nav-right ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-right a {
    text-decoration: none;
    /* Remove underline */
    color: white;
    /* Change text color to white */
}

.nav-right a {
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
    /* Smooth transition */
}

.nav-right a:hover {
    color: rgb(153, 8, 250);
    /* Color change on hover */
    transform: scale(1.1);
    /* Slightly increase the size of the text */
    text-shadow: 2px 2px 8px rgba(153, 8, 250, 0.8);
    /* Add a glowing text shadow effect */
}

.navbar ul li,
.nav-right ul li {
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}


/* ---------------------------------------matrix Effect--------------------------------------------------- */


/* Matrix Effect Styles */

#matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
    /* Keep it behind the lock and key */
    overflow: hidden;
    color: green;
    font-family: 'Courier New', monospace;
    pointer-events: none;
    /* Prevent it from interfering with other UI elements */
}


/* ---------------------------------------Hamburger Menu -------------------------------------------------*/


/* Hamburger Menu Styles */

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.4s;
}


/* Mobile Menu Styles */

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    .nav-right ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    .nav-right ul.active {
        display: flex;
    }
    .main-header {
        flex-wrap: wrap;
    }
    .logo {
        order: 1;
    }
    .hamburger {
        order: 2;
    }
    .nav-right {
        order: 3;
        width: 100%;
    }
}


/* Animated Hamburger */

.hamburger.change .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.change .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.change .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* ---------------------------------------Password generator--------------------------------------------------- */

.home-container {
    /*background: linear-gradient(to right, #c234ff, #a687e4);
  background: linear-gradient(to right,  #d7e87a,  #e4ecad,#e5e9d2, #c7bcdf, #bca3ec, #9164e9);*/
    background: linear-gradient(90deg, rgb(239, 126, 136), rgb(212, 159, 237));
    -webkit-background: linear-gradient(90deg, rgb(231, 131, 139), rgb(163, 104, 190));
    -moz-background: linear-gradient(90deg, rgb(240, 174, 180), rgb(221, 173, 243));
    margin: 50px auto;
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 30px;
    width: 500px;
    height: 350px;
    box-shadow: 0 4 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.password-field {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.copy-message {
    position: absolute;
    right: 10px;
    top: -25px;
    background: #333;
    color: #fff;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px);
}

.copy-message.show {
    opacity: 1;
    transform: translateY(0);
}

.password-field input {
    flex: 1;
    padding: 10px;
    font-size: 1.1rem;
    border-radius: 10px 0px 0px 10px;
    border: none;
    outline: none;
    background-color: #ededed;
}

.password-field button {
    padding: 8.5px;
    font-size: 1.1rem;
    border: none;
    background-color: #ededed;
    color: #333;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
}

.options {
    text-align: left;
    margin-bottom: 20px;
}

.options label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 300px;
    /* optional */
}

.input-wrapper input {
    width: 440px;
    padding-right: 40px;
    /* space for the icon */
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

#copyBtn {
    position: absolute;
    right: 0px;
    width: 40px;
    top: 50%;
    left: 400px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

#generate {
    align-self: center;
    padding: 15px 25px;
    background-color: #82A800;
    color: #ffffff;
    margin-top: 14px;
    border-radius: 7px 0px 7px 0px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s ease;
    border: none;
}

#generate {
    transition: all 0.3s ease;
    /* Smooth transition for all properties */
}

#generate:hover {
    /* background: #c51073; Background color change 
  background-color: #82A800;*/
    background: #f9dcf3;
    color: #2b2b2b;
    font-weight: 300px;
    border: 2px solid #fc92e7;
    transform: scale(1.1);
    /* Slightly increase the size of the button */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Add a subtle shadow for depth */
    /* Add a border on hover to make it stand out */
}

#length:focus::-webkit-slider-runnable-track {
    background: #ffffff;
}

#lengthValue {
    font-size: 1.2rem;
    margin-top: 10px;
}


/* ---------------------------------------About Section --------------------------------------------------- */

.about-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    margin: auto;
    padding: 25px;
    background-color: #ffffff;
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);*/
    min-height: 400px;
    /* Ensures a consistent height for alignment */
}

.about-bar {
    flex: 1;
    color: #000;
    margin-top: 0px;
    display: flex;
    margin-left: 30px;
    flex-direction: column;
    justify-content: center;
}

.about-bar h1.about-contenthead {
    font-size: 37px;
    margin-bottom: 30px;
    margin-left: 25px;
    font-weight: bold;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.about-bar h2 {
    font-size: 16px;
    font-weight: normal;
    line-height: 1.6;
    margin-left: 25px;
    margin-top: 0px;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    max-height: 370px;
    /* Increase the height */
    width: auto;
    /* Keep the aspect ratio */
    border-radius: 12px;
    object-fit: contain;
}


/* ---- RESPONSIVE FOR SMALL SCREENS ---- */

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        min-height: auto;
    }
    .about-bar,
    .about-image {
        width: 100%;
    }
    .about-bar h1.about-contenthead,
    .about-bar h2 {
        text-align: center;
        margin-left: 0;
    }
}

.about-sect {
    text-align: center;
    align-items: center;
    background-color: #ffffff;
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);*/
}

.about-head {
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-head h1.about-heading {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 13px;
    margin-left: 25px;
    margin-top: 70px;
    font-weight: bolder;
    text-align: center;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-wrapper {
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 40px;
    background-color: #ffffff;
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);*/
    min-height: 300px;
    /* Ensures a consistent height for alignment */
}

.contact-bar {
    color: #000000;
    justify-content: center;
}

.contact-bar h1.contact-heading {
    font-size: 37px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 30px;
    margin-left: 25px;
    font-weight: bold;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-field {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center items inside */
    margin: 40px auto;
    /* Center the whole div horizontally */
    gap: 10px;
    /* Optional: space between input and button */
    flex-wrap: wrap;
    /* Makes it responsive if space is tight */
}

input::placeholder,
textarea::placeholder {
    color: #404040;
    /* or any color you prefer */
    opacity: 1;
    /* optional: make sure it's fully visible */
    align-content: center;
}

.contact-field input {
    padding: 11px;
    width: 450px;
    font-size: 1.1rem;
    border-radius: 10px 10px 10px 10px;
    border: none;
    outline: none;
    text-align: center;
    background: linear-gradient(90deg, rgb(238, 186, 189), rgb(241, 210, 255));
}

.contact-field button {
    padding: 9.5px;
    font-size: 1.1rem;
    border: none;
    background-color: #ededed;
    color: #333;
    cursor: pointer;
    border-radius: 0 10px 10px 0;
}


/* Responsive behavior */

@media (max-width: 768px) {
    .contact-field {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        padding: 0 20px;
    }
    .contact-field input {
        width: 100%;
        max-width: 100%;
        margin-bottom: 10px;
    }
    .contact-field button {
        width: 100%;
        border-radius: 10px;
    }
}

.about-wrapper4 {
    justify-content: space-between;
    align-items: center;
    margin: auto;
    padding: 40px;
    background-color: #ffffff;
    /* box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);*/
    min-height: 300px;
    /* Ensures a consistent height for alignment */
}

.about-bar4 {
    color: #000000;
    justify-content: center;
}

.about-bar4 h1.aboutheading4 {
    font-size: 37px;
    text-align: center;
    font-weight: 400;
    margin-bottom: 30px;
    margin-left: 25px;
    font-weight: bold;
    font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}


/* ---------------------------------------Footer--------------------------------------------------- */

footer {
    background: linear-gradient(90deg, rgba(244, 108, 119, 1), rgba(202, 124, 238, 1));
    -webkit-background: linear-gradient(90deg, rgba(244, 108, 119, 1), rgba(202, 124, 238, 1));
    -moz-background: linear-gradient(90deg, rgba(244, 108, 119, 1), rgba(202, 124, 238, 1));
    /*
  background: linear-gradient(90deg, rgba(255, 95, 109, 1), rgba(196, 84, 248, 1));
  -webkit-background: linear-gradient(90deg, rgba(255, 95, 109, 1), rgba(196, 84, 248, 1));
  -moz-background: linear-gradient(90deg, rgba(255, 95, 109, 1), rgba(196, 84, 248, 1));*/
    padding: 14px 7px 7px;
    color: #191a1c;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
    max-width: 1050px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-column {
    flex: 1 1 200px;
    min-width: 100px;
    margin-top: 0px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 0px;
    color: #2d2d2d;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #5d00b4;
    font-weight: 600;
    font-size: 1.05em;
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    font-size: 13px;
    color: #202020;
    border-top: 1px solid #c6c6c6;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        min-width: 100%;
    }
}


/* ---------------------------------------Radio Buttons --------------------------------------------------- */

.strong-radiobtn label {
    margin-top: 25px;
    margin-left: 10px;
    align-items: center;
    position: relative;
    width: 200px;
    align-items: center;
    background: none;
    border: 1px solid #2b2b2b;
    border-radius: 0px 10px 1px 10px;
    font-weight: 500;
    padding: 10px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    gap: 10px;
}

.strong-radiobtn input[type="radio"] {
    appearance: none;
    width: 20px;
    background-color: #fff;
    height: 20px;
    border: 2px solid #171717;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
}

.strong-radiobtn input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #d60076;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.strong-radiobtn label:hover {
    background: #eaeaea;
}

.easy-radiobtn label:hover {
    background: #eaeaea;
}

.radio-group {
    display: flex;
    align-items: center;
    gap: 10px;
    /* space between the radio buttons */
}

.options {
    display: flex;
    align-items: center;
}

.strong-radiobtn i {
    color: #a4005a;
    font-size: 18px;
    margin-left: 18px;
}

.easy-radiobtn i {
    color: #a4005a;
    font-size: 18px;
    margin-left: 0px;
}

.easy-radiobtn label {
    align-items: center;
    position: relative;
    width: 220px;
    background: none;
    border: 1px solid #2b2b2b;
    border-radius: 0px 10px 1px 10px;
    font-weight: 500;
    align-items: center;
    /*background: linear-gradient(90deg, rgba(202, 124, 238, 1), rgb(254, 135, 145));*/
    padding: 10px 15px;
    margin-top: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #0c0c0c;
    gap: 0px;
}

.easy-radiobtn input[type="radio"] {
    appearance: none;
    width: 20px;
    background-color: #fff;
    height: 20px;
    border: 2px solid #171717;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    vertical-align: middle;
    margin-right: 10px;
}

.easy-radiobtn input[type="radio"]:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background-color: #d60076;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.easy-radiobtn input[type="radio"]:checked::before {
    display: block;
}

.strong-radiobtn input[type="radio"]:checked::before {
    display: block;
}

html {
    scroll-behavior: smooth;
}

.features-section {
    background-color: rgba(25, 26, 28, 0.6);
    /* Semi-transparent background */
    padding: 60px 20px;
    font-weight: bold;
    text-align: center;
    border-radius: 15px;
    /* Optional: Add rounded corners */
    backdrop-filter: blur(3px);
    /* Apply blur effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Optional: Add shadow for more depth */
}

.feature-box:hover i {
    background: none;
    -webkit-text-fill-color: white;
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f6f6f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    font-weight: bold;
}

.feature-box:hover {
    transform: translateY(-5px);
    background: linear-gradient(90deg, rgba(244, 108, 119, 1), rgba(202, 124, 238, 1));
    color: white
}

.feature-box i {
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 13px;
    background: linear-gradient(90deg, rgba(202, 124, 238, 1), rgb(254, 135, 145));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Optional for Firefox */
    background-clip: text;
    color: transparent;
}

.feature-subtext {
    font-size: 14px;
    font-weight: 500;
    color: #2b2b2b;
    margin-top: 8px;
}

.feature-box:hover .feature-subtext {
    color: white;
}

.asterisk-icons {
    display: flex;
    /* Use flexbox to arrange the icons horizontally */
    align-items: center;
    /* Optional: Align icons vertically in the center */
    gap: 5px;
    /* Optional: Add spacing between the icons */
}


/* Responsive */

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------- Effects --------------------------------------------------- */


/* ==== GLOBAL TRANSITION EFFECTS ==== */

* {
    transition: all 0.3s ease-in-out;
}

.promo-btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}


/* ==== BUTTON HOVER EFFECTS ==== */

button:hover,
.promo-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
}

.promo-btn:hover {
    background-color: #cde030;
    transform: translateY(-2px);
}


/* ==== INPUT FOCUS EFFECT ==== */

input:focus,
textarea:focus {
    outline: none;
    border: 2px solid #8fffb6;
    box-shadow: 0 0 10px rgba(181, 9, 255, 0.4);
    background-color: #fdfdfd;
}


/* ==== NAVBAR LINK INTERACTIONS ==== */

.navbar ul li:hover,
.nav-right ul li:hover {
    color: #c51073;
    transform: translateY(-2px);
}


/* ==== FOOTER INTERACTION ==== */

footer:hover {
    background: linear-gradient(90deg, #ff6984, #d17bfb);
}


/* ==== COPY BUTTON INTERACTION ==== */

.password-field button:hover,
.contact-field button:hover {
    background-color: #dcdcdc;
    transform: scale(1.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.about-head h1.about-heading:hover,
.contact-bar h1.contact-heading:hover {
    color: #c51073;
    transform: translateY(-5px);
}


/* ==== SLIDER CUSTOMIZATION ==== */

#length:hover::-webkit-slider-thumb {
    background-color: #c51073;
    box-shadow: 0 0 5px rgba(197, 16, 115, 0.5);
}

@media screen and (max-width: 600px) {
    body {
        overflow-x: hidden
    }
    .home-container {
        width: 95% !important;
    }
    .input-wrapper input {
        width: 100%;
        padding-right: 0;
    }
    #copyBtn {
        right: 0;
        left: auto;
    }
    .radio-group {
        flex-direction: column;
        gap: 0
    }
    .options {
        margin-bottom: 0;
        margin-top: 6px;
    }
    .strong-radiobtn label {
        margin: 0;
        border-radius: 0;
    }
    .easy-radiobtn label {
        margin: 0;
        border-radius: 0;
    }
    .about-head h1.about-heading {
    margin: 0;
    padding: 22px 0;
    font-size: 35px;
}
    .about-bar h1.about-contenthead {
    font-size: 23px;
}
    .about-bar {
    margin-left: 0;
}
}

