body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden;
}    



header {
    background-color: rgb(255, 255, 255); /* Changed background color to white */
    color: #060606;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* Move logo to the left */
}

header .logo h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: 1.5px;
    position: relative;
}

header .logo img {
    height: 50px;
    margin-left: 10px;
    margin-right: 5px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #000000;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
    text-decoration: none;
}

header nav ul li a:hover {
    color: #246bc7;
    border-bottom: 2px solid rgb(255, 0, 0);
}

.menu-btn {
    display: none;
    font-size: 28px;
    cursor: pointer;
    margin-right: 10px;
}

.menu-btn:hover {
    color: #246bc7;
}

@media (max-width: 768px) {
    header nav ul {
        display: none; /* Hide the menu on mobile by default */
        flex-direction: column;
        position: absolute;
        right: 1px;
        top: 70px;
        /* align-items: center; */
        background-color: rgba(0, 0, 0, 0.489);
        width: 100%;
        height: 420px;
        border-radius: 0px;
        /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
        font-size: 50px;
        
    }
    header nav ul li a {
        color: white;
        text-decoration: none;
        border-bottom: 2px solid rgb(0, 162, 255);
    }

    header nav ul.active {
        display: flex; /* Show the menu when active class is applied */
    }

    .menu-btn {
        display: flex;

        
    }
    .menu{
        border-bottom: 2px solid white;
    }
}



.container1 {
    background-color: rgba(255, 255, 255, 0); /* White background with 50% transparency */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
    margin: 50px auto;
    margin-top: 150px;
    border: 1px solid  rgba(7, 7, 7, 0.22);
}



h1 {
    font-size: 26px;
    margin-bottom: 20px;
}

input[type="text"] {
    width: 93%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

input[type="button"] {
    width: 100%;
    padding: 10px;
    background-color: #246bc7d6;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="button"]:hover {
    background-color: #246bc7;
}

.result-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 400px;
    margin: 20px auto;
    border: 1px solid  rgba(7, 7, 7, 0.22);
}

.result-heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
    color: #333;
}

.box {
    border-bottom: 2px solid #ccc;
    padding: 10px;
    margin-top: 10px;
    font-size: 25px;
    text-align: left;
}

.hidden {
    display: none;
}

.message {
    margin-top: 10px;
    font-size: 16px;
    color: red;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .container1, .result-container {
        width: 80%; /* Make containers adjust to smaller widths on tablets and smaller devices */
        padding: 15px; /* Reduce padding */
    }

    h1 {
        font-size: 22px; /* Slightly reduce the font size */
    }

    input[type="text"],
    input[type="button"] {
        font-size: 14px; /* Reduce font size */
    }

    .result-heading {
        font-size: 18px; /* Slightly reduce heading size */
    }

    .box {
        font-size: 14px; /* Reduce box text size */
    }
}

@media (max-width: 480px) {
    .container1, .result-container {
        width: 70%; /* Increase width percentage for mobile */
        padding: 10px; /* Reduce padding further for small screens */
    }

    h1 {
        font-size: 20px; /* Further reduce font size */
    }

    input[type="text"],
    input[type="button"] {
        font-size: 12px; /* Make input text size smaller */
    }

    .result-heading {
        font-size: 16px; /* Adjust heading size for mobile */
    }

    .box {
        font-size: 12px; /* Make box text smaller */
    }

    .message {
        font-size: 14px; /* Adjust error message font size */
    }
}


footer {
    background-color: #246bc7;
    color: #d3d7da;
    padding: 25px 0;
    margin-top: 150px;
    font-family: 'Arial', sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: #ff6f61;
    left: 0;
    bottom: -5px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #bcbec2;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #d3d7da;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section ul li a:hover {
    color: #ff6f61;
}

.footer-section a {
    color: #d3d7da;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer-section a:hover {
    color: #ff2d2d;
}

.social-icons a {
    font-size: 20px;
    color: #d3d7da;
    margin-right: 15px;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #ff1500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ffffff;
    margin-top: 30px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #bcbec2;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    .why {
        flex-direction: column;
        align-items: center;
    }

    .why-image,
    .why-text {
        max-width: 90%;
        margin: 10px;
    }
}

@media (max-width: 768px) {
    .section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .why-image,
    .why-text {
        max-width: 100%;
        margin: 10px 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        min-width: 100%;
        margin-bottom: 20px;
    }

    .footer-section h4 {
        font-size: 16px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .footer-section ul li a {
        font-size: 12px;
    }

    .social-icons a {
        font-size: 18px;
    }

    .footer-bottom p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .section h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .why-image,
    .why-text {
        margin: 5px 0;
    }

    .footer-section h4 {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 10px;
    }

    .footer-section ul li a {
        font-size: 10px;
    }

    .social-icons a {
        font-size: 16px;
    }

    .footer-bottom p {
        font-size: 10px;
    }
}
