/* Header styles - Responsive */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(28, 96, 243);
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap */
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    padding-left: 80px;
}

/* Tooltip text */
.logo .tooltip-text {
    visibility: hidden;
    width: 350px;
    background-color: rgba(0, 0, 0, 0);
    color: #3271f8;
    text-align: center;
    border-radius: 5px;
    padding-top: 25px;
    position: absolute;
    bottom: -45%; /* Position above the logo */
    left: 10%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show tooltip on hover */
.logo:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* navigation section */
.nav-menu {
    display: flex;
    flex-wrap: wrap; /* Allow links to wrap */
    gap: 20px; /* Reduced gap for smaller screens */
    justify-content: center; /* Center links on smaller screens */
    padding-right: 80px;
    text-transform: uppercase;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}
.nav-menu a:hover {
    text-decoration-line: underline;
}


/* Basic Styling */
.container {
    width: 70%; /* Or a fixed width if you prefer */
    margin: 20px auto; /* Center the container */
    /*max-width: 1200px;  Optional: Set a maximum width */
}

.row {
    display: flex; /* Enable flexbox */
    flex-wrap: wrap; /* Allow wrapping to new rows if needed */
}

.toprow {
    display: flex; /* Enable flexbox */
    flex-wrap: wrap; /* Allow wrapping to new rows if needed */
    padding-top: 30px;
}

.span8 {
    width: 770px;
}
.span6 {
    flex: 0 0 50%; /* Each column takes 50% width */
    box-sizing: border-box; /* Include padding and border in width */
    padding: 5px; /* Add some padding around content */
}
.span4 {
    width: 370px;
}



.cont_info { /* Style your content areas */
    /* border: 1px solid #ccc; Example border */
    padding-left: 50px;
}

.cont_info h2 { /* Style your content areas */
    text-transform: uppercase;
    padding-top: 30px;
}

.cont_info h3 { /* Style your content areas */
    text-transform: uppercase;
    padding-top: 10px;
}

.marg_1 {
    margin-left: 55px;
}

.paralist ul {
    list-style-type: disc;
    padding-left: 45px;
}
.paralist li {
    margin-bottom: 2px; /* add some spacing between list items */
}
.list_1 {
    list-style-type: disc; /* list-style-type: none; remove bullet points */
    padding: 0;
}
.list_1 li {
    margin-bottom: 5px; /* add some spacing between list items */
    display: flex; /* make badge and content display in one line */
    align-items: flex-start; /* align items to top */
}

.list_2 {
    list-style-type: disc; /* list-style-type: none; remove bullet points */
    padding: 0;
}
.list_2 li {
    margin-bottom: 5px; /* add some spacing between list items */
    display: flex; /* make badge and content display in one line */
    align-items: flex-start; /* align items to top */
}

.badge {
    width: 30px; /* set width for the badge */
    height: 30px; /* set height for the badge */
    background-color: #007bff; /* set background color for the badge */
    color: white; /* set color for the badge */
    border-radius: 50%; /* make the badge round */
    margin-right: 10px; /* add some spacing between badge and content */
    display: flex; /* use flexbox to center content */
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

.imgcontainer {
    overflow: hidden;
    width: auto;
    height: auto;
}
.imgcontainer img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.extra-wrap {
    overflow: hidden;
}

.list-content {  /* Style the main content area */
    list-style-type: disc;
    flex: 1; /* Allow content to expand */
}

.sublist { /* Style the sublists */
    margin-top: 5px;  /* Space between main text and sublist */
    padding: 0; /* Indent the sublist */
}


/*
.banner {
    width: 100%;
    height: 50px;
    background-color: #333;
    color: white;
    text-align: center;
    position: relative;
    line-height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
*/

.banner {
    display: flex;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 5px;
    position: fixed;
    bottom: 0;
    max-height: 50px;
    width: 100%;
    box-sizing: border-box;
}

.banner-section {
    flex-basis: calc(100% / 3);
    text-align: center;
    display: flex;
    align-items: center; /* Center content vertically */
    justify-content: center;
}
.banner-section img {
    max-width: 100%;
    max-height: 24px; /* Adjust this to control the image height */
    height: auto;
    margin-bottom: 10px;
}

.banner-section a {
    color: white;
    text-decoration: none;
}



.social-icons a {
    display: inline-block;
    margin-left: 10px;
    color: white; /* Example icon color */
    font-size: 20px; /* Example icon size */
}

#imgcontain{
    max-height: 30px;
    padding-top: 18px;
    overflow: hidden;
}

#cellcontain{
    max-height: 50px;
    padding-top: 18px;
    overflow: hidden;
}

/* contact form */
form {
    width: 600px;
    margin: 0 auto;
}
label {
    display: block;
    margin-bottom: 5px;
}
input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}
button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
}
.error {
    color: red;
}
.success {
    color: green;
}

fieldset {
    border:0 none;
}
.teminfo {
    padding-top: 30px;
    padding-left: 10px;
}

.teminfo h2 {
    text-transform: uppercase;
}



/* Responsive adjustments (Optional) */
@media (max-width: 768px) {
    .overlay {
        font-size: 2.5vw; /* Use viewport width for responsive font size */
        padding: 10px;
    }

    .overlay h1 { font-size: 4vw; } /* Responsive font size for h1 */
    .overlay p { font-size: 2.5vw; } /* Responsive font size for paragraphs */
    .overlay button { font-size: 2.5vw; padding: 6px 12px; } /* Responsive font size for buttons */

    .arrow { font-size: 5vw; padding: 6px; } /* Responsive font size for arrows */

    .main-content h2 { font-size: 4.5vw; } /* Responsive font size for h2 */
    .main-content p, .main-content ul { font-size: 2.5vw; } /* Responsive font size for text */

    .toprow p {
        padding-top: 30px;
    }

    .banner {
        flex-direction: column; /* Stack sections vertically on smaller screens */
        align-items: center;
        height: auto; /* Adjust height as needed */
        padding: 2px;
        max-width: 100%;
    }
    .banner-section {
        width: 100%;
        /*flex-basis: 100%;  Each section takes full width */
        /*margin: 5px 0;  Increased vertical margin */
        /*padding: 5px;  Added padding for better spacing */
        font-size: clamp(10px, 4vw, 16px);  /* Adjust values as needed */
    }

    .banner-section img {
        max-width: 24px;
        height: auto;
    }
    .banner-section +.banner-section {
        margin-left: 0; /* Remove horizontal margin */
    }

    form {
        width: 100%;
        margin: 0 auto;
    }

    .span8,.span6,.span4 {
        flex: 0 0 100%; /* Each column takes full width on small screens */
        /*box-sizing: border-box;  Include padding and border in width */
    }
    .cont_info {
        padding: 15px; /* Reduce padding on smaller screens */
    }
    .cont_info input,
    .cont_info textarea {
        font-size: 16px; /* Adjust font size as needed */
    }
    .teminfo {
        padding: 15px; /* Reduce padding on smaller screens */
        text-align: center; /* Center the contact info */
    }

    .container {
        flex: 0 0 100%;
    }
    .row {
        display: flex; /* Enable flexbox */
        flex-wrap: wrap; /* Allow wrapping to new rows if needed */
    }
}

@media (max-width: 480px) {
    .banner {
        flex-direction: column; /* Stack icons and text vertically */
        align-items: center;
        height: auto; /* Allow height to adjust based on content */
        padding: 5px;
        max-width: 100%;
    }
    .banner-section {
        flex-basis: 100%; /* Each section takes full width */
        /*margin: 5px 0;  Increased vertical margin */
        padding: 5px; /* Added padding for better spacing */
        font-size: clamp(10px, 3vw, 12px);  /* Adjust values as needed */
    }
    .banner-section a {
        margin-bottom: 5px; /* Add space between elements */
    }

    .banner-section img {
        max-width: 30px;
        height: auto;
    }

    .container {
        flex: 0 0 100%;
    }
    .row {
        display: flex; /* Enable flexbox */
        flex-wrap: wrap; /* Allow wrapping to new rows if needed */
    }

    .nav-menu a {
        font-size: 10px; /* Even smaller font size */
    }
    .toprow p {
        padding-top: 30px;
    }
}


/* Style for form-messages */
#form-messages {
    display: none;
    margin: 20px auto;
    padding: 15px;
    border-radius: 5px;
    max-width: 600px;
    text-align: center;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close button for form messages */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #333;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Style for success and error messages */
#form-messages.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    max-width: 80%;
    text-align: center;
}

#form-messages.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    max-width: 80%;
    text-align: center;
}

.highlight {
    font-weight: bold;
    color: #8b11ed;
}
.key-features, .impact {
    background-color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}
.key-features ul, .impact ul {
    list-style-type: disc;
    margin-left: 20px;
}
.conclusion {
    margin-top: 20px;
}