@font-face {
    font-family: 'Zain';
    src: url("/fonts/Zain-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: 'Zain1';
    src: url("/fonts/Zain-Light.ttf") format("truetype");
    font-weight: 400;
}
*{
       font-family: 'Zain1', Helvetica, sans-serif !important;
}
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.div-demo {
    min-height: 640px;
    height: auto;
    background-color: white;
    padding-bottom: 50px;
}

form {
    margin: 20px 0px 30px 0px;
    padding: 0 20px;
}

input {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
    border-radius: 7px;
    border: 1px solid #ccc;
    /* Visible border */
    background-color: rgba(8, 8, 8);
    color: white;
    margin-bottom: 10px;
}

textarea {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    height: 80px;
    /* Increased height for better UX */
    border-radius: 7px;
    border: 1px solid #ccc;
    background-color: rgba(8, 8, 8);
    color: white;
    resize: vertical;
}

/* Extracted from demo.html inline styles */

.nav-dropdown-medium {
    width: 240px;
}

.nav-row {
    display: flex;
    width: 100%;
    /* Changed from fixed 360px */
    flex-wrap: wrap;
}

.nav-dropdown-large {
    width: 350px;
}

.nav-column-header {
    text-align: center;
    padding: 20px;
    font-weight: 550;
}

.login-icon {
    vertical-align: middle;
    margin-left: 5px;
}

.demo-layout {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 50px;
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
    padding-left: 10px;
    padding-right: 10px;
}

.demo-info-panel {
    background-color: white;
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 400px;
}

.demo-logo-container {
    padding-top: 10px;
}

.demo-list-container {
    padding-top: 20px;
    padding-right: 15px;
    line-height: 25px;
}

.contact-panel {
    background-color: rgb(8, 8, 8);
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 560px;
    color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px #3d3d3d;
    padding-bottom: 20px;
}

.contact-title {
    margin-left: 60px;
    margin-top: 40px;
}

.form-label {
    margin-top: 20px;
}

.required-asterisk {
    color: rgb(255, 115, 0);
}

.terms-text {
    line-height: normal;
    margin-top: 15px;
    font-size: 0.9em;
}

.terms-link {
    color: #0072bc;
    cursor: pointer;
}

.submit-btn {
    background-color: #0072bc;
    color: white;
    width: 150px;
    margin: 20px auto 0 auto;
    display: block;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.footer-logo {
    width: 220px;
    height: 50px;
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 768px) {
    .demo-layout {
        flex-direction: column;
        align-items: center;
    }

    .contact-title {
        margin-left: 20px;
    }

    .demo-info-panel,
    .contact-panel {
        width: 100%;
    }

    form {
        margin-left: 0;
        padding: 0 20px;
    }
}