/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* footer */
.site-footer .widget-title {
    margin-bottom: 10px;
}

#block-19 .wp-block-button a:hover {
    background-color: #046bd2 !important;
}

.site-footer .wp-container-core-group-is-layout-fe9cc265 {
    gap: 10px;
}

#nav_menu-3 .menu-footer-menu-container {
    text-align: left;
}

.click-group {
    position: relative;
}

.click-group .group-link {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 10;
    background: transparent;
}

/*  header menubar */
#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item.mega-current-menu-item>a.mega-menu-link {
    background-color: #fff;
    color: #000;
}

#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu {
    top: 68px;
}

.mega-left .country-btn {
    margin-bottom: 10px;
    width: 100%;
    max-width: 220px;
    color: #000;
    border-radius: 10px;
}

.mega-left .country-btn:hover {
    background-color: #fff;
    color: #000;
}

/* quiz */
.quiz-container {
    max-width: 900px;
    border-radius: 12px;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.quiz-progress {
    width: 70%;
    height: 10px;
    background: #ddd;
    border-radius: 20px;
    overflow: hidden;
}

.quiz-progress-bar {
    width: 0%;
    height: 100%;
    background: #4caf50;
}

.quiz-question {
    padding: 20px 25px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.quiz-question h3 {
    margin-top: 10px;
    font-size: 17px;
    padding: 20px;
    border-radius: 14px;
    border-left-color: #0950c3;
    border-left-width: 3px;
    background-color: #fff;
    border-style: outset;
    box-shadow: 0 1px 3px hsl(220 20% 20% / 0.06), 0 4px 12px hsl(220 20% 20% / 0.08);
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #e7f0fe;
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #2c3e50;
}

.quiz-option:hover {
    border-color: #3b6df0;
    background: #e7f0fecc;
}

.opt-letter {
    font-weight: bold;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #d6dbff;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 16px;
    color: #3b50ff;
    user-select: none;
}

.quiz-option.selected {
    border-color: #3b50ff;
    background: #dae1ff;
}

.quiz-option.correct {
    background: #d4ffd4 !important;
    border-color: #12c112 !important;
    color: #0b770b;
    font-weight: 600;
}

.quiz-option.wrong {
    background: #ffd4d4 !important;
    border-color: #e61212 !important;
    color: #a00000;
    font-weight: 600;
}

.quiz-submit-btn {
    display: block;
    width: 100%;
    margin-bottom: 15px;
    padding: 11px 0;
    font-size: 19px;
    background: linear-gradient(90deg, #3b50ff, #1a37e8);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(59, 80, 255, 0.5);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.quiz-submit-btn:hover {
    background: linear-gradient(90deg, #1a37e8, #3b50ff);
    box-shadow: 0 8px 20px rgba(26, 55, 232, 0.7);
}

#quiz-results {
    display: none;
    margin-top: 25px;
    text-align: center;
    font-size: 24px;
    padding: 20px;
    border-radius: 14px;
    background: #eef5ff;
    border: 2px solid #3b50ff;
    box-shadow: 0 4px 15px rgba(59, 80, 255, 0.3);
    color: #2c3e50;
    font-weight: 700;
}

#quiz-results p {
    font-size: 18px;
    margin-top: 12px;
    color: #555;
    font-weight: 600;
}

.back_to_button {
    max-width: 900px !important;
}



/* rto office locations */
.office_country h5 {
    margin-bottom: 10px;
}

.office_states h5 {
    margin-bottom: 10px;
}

.custom-select {
    position: relative;
    width: 100%;
    min-width: 300px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px;
    background: #fff;
    cursor: pointer;
}

.custom-select .selected {
    color: #111;
    font-weight: 500;
}

.custom-select .options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-top: 5px;
    display: none;
    z-index: 9999;
    list-style: none;
    overflow-y: auto;
    max-height: 220px;
}

.custom-select .options.show {
    display: block;
}

.custom-select .options li {
    padding: 8px 7px;
    cursor: pointer;
}

.wp-block-media-text__content {
    padding-left: 14px;
}

@media(max-width:768px) {
    .are-vertically-aligned-center {
        max-width: 100% !important
    }

    .banner-main-text {
        font-size: 30px !important;
    }

    .main_location {
        display: block !important;
        max-width: none;
    }

    .custom-select {
        min-width: 100px;
    }
}

@media(max-width:921px) {
    .traffic-description {
        padding-top: 20px !important;
    }

    .driver-ready-container-section {
        /* padding-top: 20px !important; */
    }

    .country-flag a img {
        width: 20px;
        height: auto;
    }

}

@media(max-width:576px) {
    .quiz-question {
        padding: 10px;
    }

    .driver-ready-container {
        padding: 0 !important;
    }

    .driving-test-section .wp-block-heading {
        font-size: 38px !important;
    }

    .driving-test-section p {
        margin-bottom: 10px !important;
    }

    .traffic-description {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .wp-block-buttons.is-content-justification-right {
        justify-content: flex-start;
    }

    .driver-ready-container-section h2 {
        font-size: 28px !important;
        padding: 10px !important;
    }
}

.office-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #f0f0f0;
    transition: 0.3s ease;
}

.office-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: auto;
}

.office-code {
    background: #0950c3;
    color: #fff;
    padding: 6px 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
}

.office-title {
    flex: 1;
    margin-left: 12px;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: auto;
}

.office-website {
    color: #0f1729;
    font-size: 14px;
    background: #f3f4f6;
    padding: 7px 18px;
    border-radius: 9px;
    font-weight: 600;
}

.office-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 15px;
}

.info-box {
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 12px;
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.info-icon {
    font-size: 18px;
    margin-top: 3px;
}

.info-content strong {
    display: block;
    color: #374151;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-size: 15px;
}

.info-content span {
    color: #6b7280;
    font-size: 15px;
    font-weight: 600;
}

.office-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.office-btn {
    padding: 6px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    font-size: 14px;
}

.office-btn.directions {
    background: #1F50C3;
    color: #ffffff;
}

.office-btn.call {
    background: #41c55c;
    color: #ffffff;
}

#prevPage,
#nextPage {
    background-color: #1F50C3;
    padding: 10px;
}

.custom-select .selected {
    position: relative;
    padding-right: 30px;
    cursor: pointer;
}

.custom-select .selected::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #1f50c3;
    transition: transform 0.3s ease;
}

.custom-select.open .selected::after {
    transform: translateY(-50%) rotate(180deg);
}

@media (max-width: 781px) {
    .office-info-grid {
        grid-template-columns: 1fr;
    }

    .office-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    #officeResults {
        max-width: 100%;
    }

    .wp-block-buttons.is-content-justification-right {
        justify-content: flex-start;
    }

    .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: auto !important;
    }

    .practice_rules {
        display: grid;
    }

    .feature_images {
        flex-grow: 0;
    }
}

@media (max-width: 921px) {
    .step-section {
        padding-top: 20px !important;
    }

    .driver-ready-container {
        margin-bottom: 10px !important;
    }
}

.image-details-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

.image-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Image */
.image-item img {
    width: 100%;
    height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Text */
.image-item p {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
}

/* Mobile reposnsive */
@media (max-width: 480px) {
    .image-details-container {
        gap: 12px;
    }

    .image-item {
        padding: 10px;
    }

    .image-item p {
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .site-footer .ast-builder-footer-grid-columns {
        grid-column-gap: 40px !important;
    }
}

@media (min-width: 769px) and (max-width:921px) {
    .site-footer .ast-builder-footer-grid-columns {
        grid-column-gap: 40px !important;
    }
}


/* Flag icon */
.mega-left img {
    width: 25px;
    height: 25px;
}


/* jerking issue  */
.site-footer {
    position: relative;
    z-index: 1;
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
}

.quiz-error {
    color: #d32f2f;
    font-weight: 600;
    margin-top: 6px;
}

/* New dynamic flow  */
.language-selector {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

/* Base button style */
.lang-btn {
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #1a2b48;
    background: transparent;
    color: #1a2b48;
}

.lang-btn.active {
    background: #1a2b48;
    color: #ffffff;
}




/* new home  */
.driver-ready-container {
    margin: 30px auto;
    padding: 20px;
    color: #1a2b48;
}

.driver-ready-container-section {
    /* 	max-width: 1100px; */
}

.section-title {
    display: flex;
    align-items: center;
    font-size: 18px;
    /* font-weight: 600; */
    /* margin-bottom: 25px; */
    color: #1e2228;
}

.section-title span {
    background: #045cb4;
    color: white;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 12px;
    font-size: 14px;
}

/* Country Grid Layout */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    /*     margin-bottom: 50px; */
}

/* Individual Country Cards */
.country-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.country-card img {
    width: 40px;
    height: auto;
    margin-bottom: 12px;
    border-radius: 4px;
}

.country-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #1f2937;
}

.country-card p {
    font-size: 14px;
    color: #767f8e;
    margin: 0;
}



.country-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.state-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 50px;
}

.state-badge-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: 0.2s;
}

.state-badge-item:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    color: #374151;
}

#stateSearch {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 15px;
}

/* Modal Styling */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 700px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 29px;
    cursor: pointer;
    color: #9ca3af;
}


/* Modal Search Box Style */
.modal-search-wrapper {
    margin-bottom: 20px;
}

.modal-search-wrapper input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    outline: none;
    font-size: 14px;
}

.modal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding: 5px;
}

/* Modal Card Style */
.modal-card {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.modal-card img {
    width: 30px;
    height: auto;
    margin-bottom: 8px;
}

.modal-card span {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}

.custom-modal {
    max-width: none;
}

/* Hover & Active States */
.modal-card:hover,
.modal-card.active {
    border-color: #045cb4;
    background: #f0f7ff;
}

.state-badge-item {
    display: inline-block;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.state-badge-item:hover {
    background: #045cb4;
    border-color: #045cb4;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 92, 180, 0.2);
}

#stateSearch:focus {
    outline: none;
    border-color: #045cb4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(4, 92, 180, 0.1);
}

#no-state-results {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    color: #9ca3af;
    font-size: 15px;
}

#state-badges-container:empty {
    margin: 0;
    padding: 0;
}

@media (max-width: 768px) {
    .modal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-block-media-text__media img {
        width: auto;
    }

    .main-heading {
        font-size: 28px !important;
    }
}

/* Benefits Section Container */
.benefits-container {
    background-color: #045cb4;
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid rgba(4, 92, 180, 0.05);
}

.benefits-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 16px;
}

.benefits-header p {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* Icons styling */
.benefits-main-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.benefit-icon {
    background: white;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.benefit-icon svg {
    width: 18px;
    height: 18px;
    color: #3b82f6;
}

/* List Item styling */
.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.benefit-item span {
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
}

/*  language buttons */
.quiz-lang-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    padding: 10px;
}

.lang-btn {
    padding: 8px 24px;
    border: 1px solid #215cb4;
    ;
    background-color: #ffffff;
    color: #1a2a47;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    min-width: 100px;
}

.lang-btn.active {
    background-color: #215cb4;
    color: #ffffff;
}

@media (max-width: 600px) {
    .quiz-lang-wrapper {
        gap: 8px;
    }
    .lang-btn {
        flex: 1 1 45%;
        font-size: 14px;
        padding: 6px 12px;
        text-align: center;
    }
}

/* traffic-quiz-container */
.traffic-quiz-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.sign-card {
    border: 1px solid #eee;
    padding: 10px 20px;
    text-align: center;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sign-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 8px;
}

.sign-card p {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.hp-redirection-area {
    text-align: center;
    margin-top: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 10px 22px;
    background: #286bd2;
    color: #fff !important;
    font-weight: 600;
    border-radius: 15px;

}

/* Mobile */
@media (max-width: 900px) {
    .traffic-quiz-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .traffic-quiz-container {
        grid-template-columns: repeat(1, 1fr);
    }
}



.hp-traffic-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    padding: 10px 0;
}

.hp-sign-card {
    border: 1px solid #eee;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hp-sign-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #0073aa;
}

.hp-sign-card img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    margin-bottom: 10px;
}

.hp-sign-card p {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.hp-quiz-footer {
    text-align: center;
    margin-top: 25px;
}

.hp-view-all-btn {
    display: inline-block;
    padding: 12px 35px;
    background: #0073aa;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 700;
    transition: background 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hp-view-all-btn:hover {
    background: #005177;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .hp-traffic-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hp-traffic-container {
        grid-template-columns: repeat(2, 1fr);
    }
}



.custom-banner-widget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 12px 24px;
}

.banner-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #2c3e50;
    font-size: 15px;
}

.learner-count {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars {
    color: #ffc107;
    font-size: 18px;
    letter-spacing: -1px;
}

.separator {
    width: 1px;
    height: 20px;
    background-color: #cbd5e0;
}

.update-text {
    color: #5a6c7d;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .custom-banner-widget {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .banner-info {
        flex-direction: column;
        gap: 5px;
    }

    .separator {
        display: none;
    }

    #block-19 .wp-block-buttons {
        justify-content: center !important;
    }

    .site-footer-primary-section-3 {
        max-width: 100%;
        margin-left: initial;
    }
}

/* No state select manage "space" */
#state-badges-container:empty {
    margin-bottom: 0 !important;
}

#no-state-results {
    padding: 10px 0;
    color: #6c757d;
    text-align: center;
    width: 100%;
    font-size: 14px;
}

/* practice page open card in new tab */
.wp-block-column[style*="cursor: pointer"] {
    user-select: none;
    -webkit-user-select: none;
}



/* New Flow SEO*/
/* Home2 design  */
#menu-item-1320 .sub-menu .country-flag img {
    max-width: 24px;
    width: 100px;
}

.main-header-menu .sub-menu .sub-menu {
    display: none !important;
}

.main-header-menu .sub-menu {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
}

.ast-builder-menu-1 .main-header-menu>.menu-item>.sub-menu {
    margin-top: 0;
}

.sub-menu li a {
    font-size: 16px !important;
    font-weight: 700;

}

/* .country-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 20px; } */
.country-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    position: relative;
}

/* .country-card.active { border-color: #0056b3; background: #f0f7ff; } */
/* .country-card img { width: 50px; border-radius: 50%; margin-bottom: 10px; } */
.check-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #0056b3;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
}

.search-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

.state-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.state-btn {
    border: 1px solid #ddd;
    padding: 6px 21px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.state-btn:hover {
    border-color: #bbb;
}

.step-num {
    background: #0056b3;
    color: white;
    padding: 2px 8px;
    border-radius: 50%;
    margin-right: 10px;
}

/* page india */
.state-item {
    padding: 7px 17px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.state-item.selected {
    background: #286bd2 !important;
    color: #fff !important;
    border-color: #286bd2 !important;
}

.driver-ready-container-section {
    box-shadow: 0px 1px 7px 2px #e7e7e7;
}


.choose_us_section {
    /* box-shadow: 2px 2px 2px 2px #eef3fa; */
    border: 1px solid #eef3fa;
}

.wp-block-accordion-item .wp-block-accordion-heading__toggle:hover {
    background-color: #f5f7fa;
    color: #000000;
}

.wp-block-accordion-item .wp-block-accordion-heading__toggle:focus {
    background-color: #f5f7fa;
    color: #000000;
}

.wp-block-accordion-heading button {
    padding: 16px;
}

.wp-block-accordion-heading__toggle-title {
    text-decoration: none !important;
}


.site-content .ast-container {
    width: 100%;
    max-width: 100%;
}

.site-content .ast-container {
    padding-left: 0;
    padding-right: 0;
    ;
}

.driving-test-section {
    width: 100%;
    max-width: 100% !important;
}

.driving-test-section img {
    height: 100%;
    max-height: 450px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.lang-btn:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.lang-btn.active {
    background: #045cb4 !important;
    color: white !important;
    border-color: #0073aa !important;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.3);
}

@media (max-width: 768px) {
    .lang-btn {
        padding: 8px 16px !important;
        font-size: 0.9rem;
    }
}

#quiz-container {
    max-width: 950px;
    margin: 0 auto;
}

.question-card {
    margin-bottom: 20px;
    transition: transform 0.2s;
}

.loading-spinner {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.state-item {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.state-item.selected {
    background-color: #0061ff;
    color: white;
    border-color: #0061ff;
}

#practice_test_btn:hover {
    background-color: #0052d9;
    transform: translateY(-1px);
}

.section-contact-us {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px !important;
    padding: 25px 45px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 20px !important;
}

.wpforms-head-container {
    padding: 0 !important;
}

.wpforms-field-required {
    background-color: #f9fafb;
}

#menu-item-1320 .sub-menu {
    border-radius: 10px !important;
}

@media (min-width: 630px) and (max-width:781px) {
    .how-it-works-section .wp-block-columns-is-layout-flex {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}



/* home page icons  */
.icon-wrapper {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.icon-box {
    width: 50px;
    height: 50px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    background: #fff;
}

.icon-box svg {
    width: 29px;
    height: 29px;
    stroke-width: 1.8;
}


/* traffic guidelines  */
.tr-layout {
    display: flex;
    gap: 20px;
    max-width: 1100px;
    margin: 30px auto;
    align-items: flex-start;
}

.tr-left {
    width: 260px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px 12px;
}

.tr-left h4 {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #2863eb;
    padding: 0 10px;
    margin-bottom: 12px;
}

.tr-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 2px;
    transition: background 0.15s;
}

.tr-item:hover {
    background: #f3f4f6;
}

.tr-item.active {
    background: #2563eb;
    color: #fff;
}

.tr-right {
    flex: 1;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 36px;
    min-height: 500px;
    max-height: 80vh;      
    overflow-y: auto; 
}

.tr-section {
    display: none;
}

.tr-section.active {
    display: block;
}

.tr-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 25px;
    font-weight: 700;
    color: #111827;
}

.tr-paragraph {
    font-size: 15px;
    line-height: 1.75;
    color: #4b5563;
    margin-bottom: 20px;
}

.tr-rule {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.tr-rule:last-child {
    border-bottom: none;
}

.tr-check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.tr-text {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

.tr-qa-card {
    padding: 14px 0;
    border-bottom: 1px solid #f3f4f6;
}

.tr-qa-card:last-child {
    border-bottom: none;
}

.tr-qa-q {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
}

.tr-qa-a {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.tr-sub-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin: 10px 0 12px;
}

@media (max-width: 768px) {
    .tr-layout {
        flex-direction: column;
        margin: 16px;
        gap: 12px;
    }

    .tr-left {
        width: 100%;
    }

    .tr-right {
        padding: 24px 20px;
    }

    .tr-title {
        font-size: 20px;
    }
}