:root {
    --primary: rgb(62, 187, 140);
    --primary-dark: rgb(45, 160, 120);
    --primary-light: rgba(62, 187, 140, 0.15);
    --gradient: linear-gradient(135deg, var(--primary) 0%, #2ecc71 100%);
    --dark: #2c3e50;
    --light: #f8f9fa;
    --gray: #6c757d;
}

body {

    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    background-color: #f8f9fa;
    color: var(--dark);
    overflow-x: hidden;
}

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    background-color: white !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary) !important;
    font-size: 1.8rem;
}

.nav-link {
    font-weight: 500;
    color: var(--dark) !important;
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary) !important;
}

.navbar .btn-primary {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}


/* mobile */

/* end mobile */

/* Hero Section */
.hero-section {
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    margin-bottom: 60px;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23f8f9fa" d="M1200 120L0 16.48 0 0 1200 0 1200 120z"></path></svg>'); */
    /* background-size: cover; */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Section Styles */
.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Exam Cards */
.exam-card {
    border-radius: 15px;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    background: white;
}

.exam-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.exam-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.premium-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient);
    color: white;
    font-weight: 600;
    padding: 6px 15px;
    border-radius: 30px;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.exam-card .card-body {
    padding: 20px;
}

.exam-card .card-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

.exam-card .card-text {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.exam-duration,
.exam-questions {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 0.85rem;
}

.exam-duration i,
.exam-questions i {
    margin-right: 5px;
    color: var(--primary);
}

.exam-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(62, 187, 140, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 187, 140, 0.45);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #27ae60 100%);
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(62, 187, 140, 0.35);
}

/* Stats Section */
.stats-section {
    background: var(--gradient);
    color: white;
    padding: 80px 0;
    margin: 100px 0;
}

.stats-content {
    /* background: var(--gradient); */
    /* color: white; */
    /* padding: 80px 0; */
    margin: 100px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 25px;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 25px;
}

/* Profile Image */
.profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* History Items */
.history-item {
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 80px 0 30px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Subscription Cards */
.subscription-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s;
    border: none;
    margin-bottom: 25px;
}

.subscription-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.subscription-card .card-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.subscription-card .card-body {
    padding: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* modal login */
.nav-tabs {
    border-bottom: none;
    margin-bottom: 25px;
    position: relative;
    display: flex;
    background: var(--primary-light);
    border-radius: 30px;
    padding: 5px;
}

.nav-tabs .nav-item {
    flex: 1;
    text-align: center;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 30px;
    padding: 10px 15px;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.3s;
}

/* end modal */


/* page header exam list */

/* Page Header */
.page-header {
    background: var(--gradient);
    color: white;
    padding: 80px 0 60px;
    margin-bottom: 40px;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path fill="%23f8f9fa" d="M1200 120L0 16.48 0 0 1200 0 1200 120z"></path></svg>');
    background-size: cover;
}

.page-title {
    margin-top: 80px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* end page header exam list */

/* search box */

.search-box {
    position: relative;
    margin-bottom: 25px;
}

.search-box input {
    padding: 12px 20px 12px 45px;
    border-radius: 30px;
    border: 2px solid #e9ecef;
    width: 100%;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(62, 187, 140, 0.25);
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* end search box */

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 40px;
}

.page-link {
    border: none;
    color: var(--dark);
    padding: 10px 18px;
    border-radius: 10px !important;
    margin: 0 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.page-item.active .page-link {
    background: var(--gradient);
    border-color: var(--primary);
}

/* end pagination */



/* Exam Detail Header */
.exam-detail {
    padding: 120px 0;
}

.exam-header {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    /* padding: 125px 0; */
}

.exam-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.exam-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exam-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: flex-end;
    padding: 30px;
    color: white;
}

.exam-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.exam-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 15px;
}

.premium-badge {
    background: var(--gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

/* Exam Content */
.exam-content {
    padding: 30px;
}

.exam-info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 30px;
}

.section-title {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
    display: flex;
    align-items: center;
    text-align: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--primary);
}

.exam-description {
    line-height: 1.8;
    color: var(--dark);
}

/* Exam Details */
.exam-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--primary-light);
    border-radius: 10px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
}

.detail-text {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.detail-value {
    font-weight: 600;
    color: var(--dark);
}

/* Pricing Section */
.pricing-section {
    background: var(--primary-light);
    color: var(--dark);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.price-period {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* .btn-primary {
    background: white;
    color: var(--primary);
    border: none;
    border-radius: 30px;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
} */

/* .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
    color: var(--dark);
} */