/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/* Top Header */
.top-header {
    /* background: #ffffff4d; */
    /* border-bottom: 1px solid #ddd; */
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    /* backdrop-filter: blur(8px); */
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 225px;
}

.logo-text h2 {
    color: var(--primary-color);
    font-weight: 700;
}

.logo-text span {
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
}

/* Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.phone {
    font-weight: 600;
    /* color: var(--primary-color); */
    color: var(--background-color);
}

.phone i {
    margin-right: 5px;
}

.btn-enroll {
    background: var(--primary-color);
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn-enroll:hover {
    background: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Navbar */
.navbar {
    /* background: #ffffff4d; */
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 50px;
    padding: 15px 0;
}

.navbar a {
    text-decoration: none;
    /* color: var(--primary-color); */
    color: var(--background-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.navbar.active {
    display: block;
    position: absolute;
    left: 0;
    background: #014599e6;
    top: 100%;
    width: 100%;
    backdrop-filter: blur(8px);
    z-index: 999999;
    color: var(--background-color);
}

.navbar.active~.dmv-exam-section {
    opacity: 0.3;
    pointer-events: none;
}



/* Section */
.dmv-section {
    padding: 200px 0px 75px 0;
    background: linear-gradient(135deg, #1e5fae5c, #3a7bd552), url('../images/bg.png') no-repeat center center / cover;
    color: white;
}

.main-title {
    text-align: center;
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0px 10px 28px #000;
}

.description{
    text-align: center;
    max-width: 900px;
    line-height: 2;
    margin: 0 auto 40px auto;
    font-weight: 600;
    text-shadow: 0px 10px 28px #000;
    font-size: 17px;
}



.sub-title {
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}







/* Section */
.pass-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
.section-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Features Grid */
.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
}

/* Card */
.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

/* Highlight Card */
.feature-card.highlight {
    /* border: 2px solid var(--primary-color); */
}

/* Icon */
.icon-wrapper {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eaf2ff, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper i {
    font-size: 36px;
    color: var(--primary-color);
}

/* Text */
.feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}




.faq-section {
    background: var(--bg-soft);
    padding: 100px 0;
    font-family: var(--font-family);
}

.faq-title {
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 70px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.faq-subtitle {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.faq-item {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    width: 100%;
    padding: 22px 25px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .icon {
    font-size: 18px;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 22px;
    max-height: 200px;
}

.faq-item.active .fa-plus {
    transform: rotate(45deg);
}

/* SVG fallback hidden by default */
.svg-fallback {
    display: none;
}




.glass-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    background: url("../images/features.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 50px 0;
}

.glass-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.35));
}

.glass-content {
    position: relative;
    margin-left: auto;
    max-width: 550px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    color: #fff;
}

.glass-content h2 {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 25px;
}

.glass-content h2 span {
    display: block;
    font-weight: 400;
    opacity: 0.9;
}

.glass-content h2 strong {
    display: block;
    font-weight: 700;
}

.banner-actions a {
    white-space: nowrap;
}

/* SVG fallback */
.glass-banner .svg-fallback {
    display: none;
    width: 16px;
    height: 16px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 30px;
}

.glass-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li:nth-child(n+4){
    display:none;
}

.feature-list li{
    display:flex;
    gap: 10px;
}
.feature-list.show-all li{
    display:flex;
    gap: 10px;
}

.see-toggle{
    margin-top:10px;
    margin-bottom: 15px;
    cursor:pointer;
    color:#fff;
    font-weight:600;
    display:inline-block;
}

.feature-list i {
    color: var(--background-color);
    font-size: 18px;
    margin-top: 4px;
}

.feature-title {
    font-weight: 600;
}

.feature-desc {
    color: #fff;
    font-size: 14px;
}


.trust-badge i {
    color: var(--green-color);
}




.review-section {
    background: #f6f6f6;
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 34px;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-light);
    margin-top: 10px;
}

.review-slider-wrapper {
    position: relative;
}

.review-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.review-card {
    flex: 0 0 calc(33.333% - 20px);
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    padding: 25px;
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

/* Reviewer */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-name {
    font-weight: 600;
    color: var(--text-dark);
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Stars */
.review-stars {
    color: #f5b50a;
    margin-bottom: 10px;
}

/* Text */
.review-text {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.review-text .more {
    display: none;
}

.read-more {
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}

/* Slider Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: none;
    box-shadow: var(--shadow-soft);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
}

.slider-btn.prev {
    left: -20px;
}

.slider-btn.next {
    right: -20px;
}




.site-footer {
    background: #111;
    color: #fff;
    padding: 30px 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-logo {
    font-family: var(--bebas-font);
    letter-spacing: 1px;
}

.footer-logo img {
    width: 120px;
}

.footer-desc {
    margin: 15px 0 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

.social a {
    border-radius: 50%;
    transition: .3s;
    font-size: 25px;
    display: inline-block;
    margin-right: 7px;
}

.social a .fa-facebook {
    color: #00a8ff;
}

.social a .fa-square-instagram {
    color: #dba6ff;
}

.social a .fa-x-twitter {
    color: #fff;
}

.social a .fa-tiktok {
    color: #000;
}


/* Columns */
.footer-col h4 {
    margin-bottom: 18px;
    font-size: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: #fff;
}

/* Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}

/* Bottom */
.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* footer end */





.dmv-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Header */
.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.exam-header h2 {
    font-family: var(--bebas-font);
    font-size: 32px;
    color: var(--primary-color);
}

.exam-info {
    display: flex;
    gap: 20px;
    font-weight: 600;
}

#timer {
    color: var(--secondary-color);
}

/* Question Card */
.question-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin-bottom: 20px;
}

.question {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Image in Question */
.question-image {
    max-width: 80px;
    margin: 15px 0;
    display: block;
}

/* Answers */
.answer {
    display: block;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: var(--border-radius);
    border: 1px solid #ddd;
    background: var(--bg-soft);
    cursor: pointer;
    transition: var(--transition);
}

.answer:hover {
    border-color: var(--primary-color);
}

.answer img {
    max-width: 120px;
    display: block;
    margin: auto;
}

.answer.correct {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid var(--green-color);
}

.answer.wrong {
    background: rgba(226, 6, 18, 0.10);
    border: 1px solid var(--secondary-color);
}

/* Result */
.result-box {
    display: none;
    padding: 25px;
    background: var(--card-bg);
    box-shadow: var(--shadow-hover);
    border-radius: var(--border-radius);
    text-align: center;
}

/* Sidebar */
.dmv-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.sidebar-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-card.highlight {
    border: 2px solid var(--secondary-color);
}

.price {
    font-size: 26px;
    font-weight: bold;
    margin: 10px 0;
    color: var(--primary-color);
}




/* User dashboard Start */
.dashboard {
    padding: 60px 0;
    background: #f5f7fb;
}

.dashboard-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.dashboard-sidebar {
    width: 250px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: 25px;
}

.user-info {
    text-align: center;
    margin-bottom: 30px;
}

.user-info i {
    font-size: 50px;
    color: var(--primary-color);
}

.dashboard-menu {
    list-style: none;
    padding: 0;
}

.dashboard-menu li {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dashboard-menu li.active {
    background: var(--primary-color);
    color: #fff;
}

.dashboard-menu a {
    text-decoration: none;
    color: inherit;
}

.dashboard-content {
    flex: 1;
    background: #fff;
    padding: 30px;
    box-shadow: var(--shadow-soft);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.user-card {
    background: #f9fbff;
    padding: 20px 0px;
    /* margin-bottom: 0px; */
}

.tab-content h2 {
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.tab-content h3 {
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
}

.pricing-table {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 220px;
    background: #fff;
    padding: 25px;
    text-align: center;
    border: 1px solid #eee;
}

.pricing-card p {
    margin-bottom: 20px;
}

.exam-table {
    width: 100%;
    border-collapse: collapse;
}

.exam-table th,
.exam-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.pass {
    color: green;
    font-weight: 600;
}

.fail {
    color: red;
    font-weight: 600;
}

.settings-form {
    max-width: 400px;
}

.settings-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}

/* User dashboard End */



.cs-btn {
        width: 100%;
        padding: 12px;
        background: #dc2c1d;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-weight: bold;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 10px;
        justify-content: center;
    }

    .cs-btn:hover {
        background: #b91c1c;
    }