@import url('https://fonts.googleapis.com/css2?family=Rammetto+One&display=swap');

.nav-containe {
    background-color: #2168ba;
    margin-bottom: 30px;
    padding: 20px 95px;
}

.navbar {
    max-width: 1140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
    flex-wrap: wrap;
    position: relative;
    margin: auto;
    background-color: transparent;
    transition: all 0.3s ease;
}

.micro-nav {
    width: 100%;
    text-align: center;
    color: #2168BA;
    background-color: #ffd703;
    font-size: 13px;
    font-weight: 300;
    line-height: 21.45px;
    padding: 10px;
    font-family: 'Rammetto One', sans-serif;
}

.logo {
    position: relative;
    flex: 1;
}

.logo img {
    width: 322px;
    max-width: 100%;
    height: auto;
    transition: width 0.3s ease;
    padding-top: 5px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-right: 40px;
    transition: all 0.3s ease;


}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 17px;
    font-weight: 500;
    line-height: 20px;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: white;
}

.quote-btn {
    background-color: #2168BA;
    color: white;
    border: none;
    padding: 13px 30px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.2s ease;
    font-family: 'Jost', sans-serif;
}

.quote-btn:hover {
    background-color: #0056b3;
    color: white;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    color: #ffd704;
}

#menu-toggle {
    display: none;
}

.nav-btn {
    background-color: white;
    color: #2569ba;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo img {
        width: 350px;
        
    }

    .nav-links {
        gap: 15px;
        margin-right: 20px;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-links a:hover {
    color: #2168BA;
}

    .quote-btn {
        padding: 12px 18px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .nav-containe {
        padding: 0px;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .logo img {
        width: 300px;
    }


    .micro-nav {
        font-size: 13px;
    }

    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        padding: 60px 20px 20px;
        margin: 0;
        display: flex;
        align-items: flex-start;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    #menu-toggle:checked+.hamburger+.nav-links {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        text-align: left;
        color: #2168BA;
    }

    .quote-btn.desktop {
        display: none;
    }

    .quote-btn.mobile {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
        font-size: 18px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .nav-containe {
        padding: 0px;
    }

    .navbar {
        padding: 10px 15px;
    }


    .hamburger {
        font-size: 20px;
    }

    .nav-links {
        width: 200px;
        padding: 50px 15px 15px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .quote-btn.mobile {
        font-size: 16px;
        padding: 10px;
    }
}

/* Rest of the CSS (hero section, form, etc.) remains unchanged */
.hero-section {
    background: rgba(33, 104, 186, 1);
    color: white;
    padding: 40px 0px 20px;
    border-radius: 20px;
    max-width: 1340px;
    margin: auto;
}



.quotes-container {
    max-width: 1440px;
    margin: auto;
}

.header {
    font-size: 24px;
    font-weight: 600;
    padding: 10px;
    background-color: white;
    box-shadow: 0px 5px 0 rgba(101, 148, 183, 0.4);
}



/* Table  */

/* Desktop Styles */
table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    box-shadow: 0px 5px 12px rgba(101, 148, 183, 0.4);

}

th,
td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #f9f9f9;
    font-weight: 600;
    font-size: 15px;
    color: #444;
}

.rating {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 50%;
    background-color: #2168BA;
    color: white;
    font-weight: bold;
}

.premium {
    font-weight: bold;
    color: #2e7d32;
    background-color: #e7f7ed;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 16px;
}

.button {
    background-color: #2168BA;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 16px;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #154a90;
}

.logo {
    width: 50px;
    height: auto;
}



/* Mobile Card Layout */
@media (max-width: 768px) {
    .header {
        box-shadow: none;
        border-radius: 16px;
        border-bottom: 1px solid rgba(128, 128, 128, 0.166);
    }

    table {
        display: block;
        width: 100%;
        border: none;
        box-shadow: none;
    }

    thead {
        display: none;
    }

    tr {

        width: 95%;
        margin: auto;
        margin-top: 10px;
        display: block;
        background-color: #fff;
        border-radius: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
        margin-bottom: 24px;
        padding: 20px;
    }

    td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        padding: 12px 0;
        font-size: 15px;
        border: none;
        color: #333;
    }

    td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #666;
        flex: 1;
        text-align: left;
    }

    td>*:not(:first-child) {
        flex: 1;
        text-align: right;
    }

    td img.logo {
        width: 60px;
        height: auto;
        margin-left: auto;
    }

    .rating {
        width: 36px;
        height: 36px;
        line-height: 36px;
        border-radius: 50%;
        font-size: 14px;
        font-weight: bold;
        background-color: #2168BA;
        color: #fff;
        text-align: center;
        margin-left: auto;
    }

    .premium {
        background-color: #e0f3e5;
        color: #2e7d32;
        font-weight: bold;
        font-size: 16px;
        padding: 6px 12px;
        border-radius: 16px;
        text-align: right;
        margin-left: auto;
    }

    td[data-label="Exam Info"] {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
        margin-top: 10px;
        padding-top: 10px;
    }

    td[data-label="Start Application"] {
        justify-content: center;
        padding-top: 10px;
    }

    .button {
        width: 100%;
        text-align: center;
        padding: 14px;
        font-size: 16px;
        border-radius: 12px;
        margin-top: 10px;
    }
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 999;
    cursor: pointer;
}

/* Show overlay only when menu is open */
#menu-toggle:checked~.menu-overlay {
    display: block;
}