/* ================================================
   TEST PREPARATION SECTION - Dreams International
   Premium dark theme with gold accents
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ---- Index Page: Exam Listing Grid ---- */
.tp-hero {
    background: url('../images/TEST.jpg') center/cover no-repeat;
    padding: 160px 0 120px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.tp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,8,20,0.7) 0%, rgba(11,28,60,0.5) 100%);
    z-index: 1;
}
.tp-hero::after {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.tp-hero .container {
    position: relative;
    z-index: 2;
}
.tp-hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(212,175,55,0.15);
    color: #fde047;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tp-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: #fff;
}
.tp-hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px #d4af37;
    background: linear-gradient(135deg, #d4af37, #fde047);
    -webkit-background-clip: text;
}
.tp-hero p {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Exam Grid Section */
.tp-listing-section {
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, hsla(210, 100%, 93%, 0.5) 0px, transparent 50%),
        radial-gradient(at 100% 0%, hsla(43, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(at 100% 100%, hsla(210, 100%, 93%, 0.5) 0px, transparent 50%),
        radial-gradient(at 0% 100%, hsla(43, 100%, 80%, 0.3) 0px, transparent 50%),
        radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 30px 30px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

/* Background Animated Shapes */
.tp-bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    opacity: 0.6;
    animation: floatShape 15s infinite alternate cubic-bezier(0.45, 0.05, 0.55, 0.95);
}
.tp-bg-shape.shape-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(253, 224, 71, 0.1));
    top: 5%;
    left: -15%;
}
.tp-bg-shape.shape-2 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(147, 197, 253, 0.1));
    bottom: -15%;
    right: -20%;
    animation-delay: -7s;
}
.tp-bg-shape.shape-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.05));
    top: 40%;
    left: 40%;
    animation-delay: -3s;
    animation-duration: 20s;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(40px, -50px) scale(1.1) rotate(5deg); }
    66% { transform: translate(-30px, 40px) scale(0.9) rotate(-5deg); }
    100% { transform: translate(30px, 50px) scale(1.15) rotate(10deg); }
}

.relative.z-10 {
    position: relative;
    z-index: 10;
}

.exam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 35px;
}
.exam-card {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.02),
        inset 0 1px 0 rgba(255,255,255,1),
        inset 0 0 20px rgba(255,255,255,0.5);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Glow orb matching the exam color */
.exam-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background: var(--card-color);
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
    pointer-events: none;
}

.exam-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 
        0 30px 60px rgba(0,0,0,0.08),
        0 10px 20px rgba(0,0,0,0.03),
        inset 0 1px 0 rgba(255,255,255,1);
    border-color: var(--card-color);
}

.exam-card:hover::before {
    opacity: 0.15;
    transform: translate(30px, 30px);
}

.exam-card-header {
    padding: 35px 30px 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.exam-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    background: transparent !important;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(255,255,255,0.8);
    transition: transform 0.4s ease;
}
.exam-card-icon::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-color);
    opacity: 0.08;
    border-radius: 16px;
    z-index: -1;
}
.exam-card:hover .exam-card-icon {
    transform: scale(1.08) rotate(-3deg);
}

.exam-card-header h3 {
    font-size: 1.6rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -0.5px;
}
.exam-card-header p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
    font-weight: 500;
}
.exam-card-body {
    padding: 0 30px 10px;
    flex-grow: 1;
}
.exam-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
.exam-card-tags span {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    color: #475569;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 4px rgba(0,0,0,0.01);
}
.exam-card-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 20px;
}
.exam-card-meta div {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.95rem;
    color: #334155;
    font-weight: 600;
}
.exam-card-meta div i {
    color: var(--card-color);
    font-size: 1.1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241, 245, 249, 0.6);
    border-radius: 8px;
    opacity: 0.8;
}
.exam-card-footer {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    background: linear-gradient(to bottom, transparent, #f8fafc);
    margin-top: auto;
}
.exam-card-footer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.4s ease;
}
.exam-card-footer a:hover {
    color: var(--card-color);
}
.exam-card-footer a i {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    font-size: 0.85rem;
    color: #0f172a;
}
.exam-card:hover .exam-card-footer a i {
    background: var(--card-color);
    color: #fff;
    transform: translateX(6px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* ---- Detail Page ---- */

/* Exam Detail Hero */
.tp-detail-hero {
    padding: 140px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
    background: url('../images/TEST.jpg') center/cover no-repeat !important;
}
.tp-detail-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(4,8,20,0.92) 0%, rgba(11,28,60,0.85) 100%);
    z-index: 1;
}
.tp-detail-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.tp-detail-hero .container {
    position: relative;
    z-index: 2;
}
.tp-detail-hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}
.tp-detail-hero-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    flex-shrink: 0;
}
.tp-detail-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #ffffff !important;
}
.tp-detail-hero .subtitle {
    font-size: 1.15rem;
    color: #94a3b8;
    margin: 0;
}
.tp-detail-hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 35px;
    flex-wrap: wrap;
}
.tp-detail-hero-stats .stat {
    text-align: center;
}
.tp-detail-hero-stats .stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #d4af37;
}
.tp-detail-hero-stats .stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Detail Layout: Sidebar + Content */
.tp-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 60px 0 80px;
    align-items: start;
}

/* Sticky Sidebar */
.tp-sidebar {
    position: sticky;
    top: 100px;
}
.tp-sidebar-nav {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.tp-sidebar-nav h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.tp-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.25s;
    margin-bottom: 4px;
}
.tp-sidebar-nav a i {
    width: 18px;
    font-size: 0.8rem;
    color: #94a3b8;
    transition: color 0.25s;
}
.tp-sidebar-nav a:hover,
.tp-sidebar-nav a.active {
    background: #f0f4ff;
    color: #1e3a8a;
}
.tp-sidebar-nav a:hover i,
.tp-sidebar-nav a.active i {
    color: #d4af37;
}

/* Detail Content Sections */
.tp-section {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
}
.tp-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.tp-section-title i {
    color: #d4af37;
    font-size: 1.2rem;
}
.tp-section p {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
}

/* Introduction Section */
.tp-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}
.tp-intro-card {
    background: #f8fafc;
    border-radius: 4px;
    padding: 25px;
    border-left: 4px solid #d4af37;
}
.tp-intro-card h4 {
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 8px;
}
.tp-intro-card p {
    font-size: 0.92rem;
    margin: 0;
}
.tp-intro-card ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}
.tp-intro-card ul li {
    padding: 6px 0;
    color: #475569;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.tp-intro-card ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #10b981;
    font-size: 0.75rem;
}

/* Countries Grid */
.tp-countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.tp-country-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 12px;
    transition: all 0.3s;
    border: 1px solid transparent;
}
.tp-country-item:hover {
    background: #fff;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.06);
}
.tp-country-item img {
    width: 28px;
    border-radius: 3px;
}
.tp-country-item span {
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
}

/* Types Cards */
.tp-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.tp-type-card {
    background: linear-gradient(135deg, #f8fafc, #fff);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-align: center;
}
.tp-type-card:hover {
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.tp-type-card h4 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 8px;
}
.tp-type-card p {
    font-size: 0.88rem;
    margin: 0;
}

/* Exam Pattern Table */
.tp-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-top: 20px;
}
.tp-table {
    width: 100%;
    border-collapse: collapse;
}
.tp-table thead th {
    background: #040814;
    color: #d4af37;
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}
.tp-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 0.95rem;
}
.tp-table tbody tr:last-child td {
    border-bottom: none;
}
.tp-table tbody tr:hover {
    background: #f8fafc;
}
.tp-table-total {
    background: #f0f4ff;
    margin-top: 15px;
    padding: 18px 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e3a8a;
}

/* Syllabus Accordion */
.tp-syllabus-section {
    margin-top: 20px;
}
.tp-syllabus-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.tp-syllabus-header {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #f8fafc;
    transition: background 0.3s;
    user-select: none;
}
.tp-syllabus-header:hover {
    background: #f0f4ff;
}
.tp-syllabus-header h4 {
    font-size: 1.05rem;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tp-syllabus-header i.chevron {
    transition: transform 0.3s;
    color: #94a3b8;
}
.tp-syllabus-item.open .tp-syllabus-header i.chevron {
    transform: rotate(180deg);
}
.tp-syllabus-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tp-syllabus-item.open .tp-syllabus-body {
    max-height: 500px;
}
.tp-syllabus-body-inner {
    padding: 20px 25px;
}
.tp-syllabus-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.tp-syllabus-body ul li {
    padding: 8px 0;
    color: #475569;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tp-syllabus-body ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #d4af37;
    font-size: 0.8rem;
}

/* Scoring Section */
.tp-scoring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.tp-score-card {
    background: linear-gradient(135deg, #040814, #0b1c3c);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    color: #fff;
}
.tp-score-card .score-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 5px;
}
.tp-score-card .score-label {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Details Grid */
.tp-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.tp-detail-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 25px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.tp-detail-item-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(212,175,55,0.1);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.tp-detail-item h4 {
    font-size: 0.85rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 5px;
}
.tp-detail-item p {
    font-size: 1rem;
    color: #0f172a;
    font-weight: 600;
    margin: 0;
}

/* Preparation Tips */
.tp-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 20px;
}
.tp-tip-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s;
}
.tp-tip-item:hover {
    background: #f0f4ff;
    transform: translateX(5px);
}
.tp-tip-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #b8952e);
    color: #040814;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.tp-tip-item span {
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Documents */
.tp-docs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
}
.tp-doc-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    padding: 12px 20px;
    border-radius: 10px;
    color: #334155;
    font-weight: 500;
    font-size: 0.92rem;
}
.tp-doc-tag i {
    color: #d4af37;
}

/* FAQ */
.tp-faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.tp-faq-question {
    padding: 18px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s;
    font-weight: 600;
    color: #0f172a;
    font-size: 1rem;
}
.tp-faq-question:hover {
    background: #f8fafc;
}
.tp-faq-question i {
    color: #d4af37;
    transition: transform 0.3s;
}
.tp-faq-item.open .tp-faq-question i {
    transform: rotate(45deg);
}
.tp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.tp-faq-item.open .tp-faq-answer {
    max-height: 300px;
}
.tp-faq-answer-inner {
    padding: 0 25px 20px;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* CTA Section */
.tp-cta {
    background: linear-gradient(135deg, #040814 0%, #0b1c3c 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}
.tp-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,175,55,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.tp-cta h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    color: #ffffff !important;
}
.tp-cta p {
    color: #94a3b8;
    font-size: 1.05rem;
    margin-bottom: 30px;
    position: relative;
}
.tp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #d4af37, #b8952e);
    color: #040814;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s;
    position: relative;
}
.tp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .tp-detail-layout {
        grid-template-columns: 1fr;
    }
    .tp-sidebar {
        position: static;
        order: -1;
    }
    .tp-sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        padding: 15px;
    }
    .tp-sidebar-nav h4 {
        width: 100%;
        margin-bottom: 10px;
    }
    .tp-sidebar-nav a {
        padding: 8px 12px;
        font-size: 0.82rem;
    }
}
@media (max-width: 768px) {
    .tp-hero h1 {
        font-size: 2.2rem;
    }
    .exam-grid {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }
    .tp-detail-hero h1 {
        font-size: 2rem;
    }
    .tp-detail-hero-content {
        flex-direction: column;
        text-align: center;
    }
    .tp-detail-hero-stats {
        justify-content: center;
    }
    .tp-section {
        padding: 25px;
    }
    .tp-intro-grid {
        grid-template-columns: 1fr;
    }
    .tp-countries-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .tp-syllabus-body ul {
        grid-template-columns: 1fr;
    }
    .tp-cta {
        padding: 35px 20px;
    }
    .tp-cta h3 {
        font-size: 1.4rem;
    }
    .tp-scoring-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .tp-hero h1 {
        font-size: 1.8rem;
    }
    .tp-countries-grid {
        grid-template-columns: 1fr 1fr;
    }
    .tp-scoring-grid {
        grid-template-columns: 1fr;
    }
    .tp-details-grid {
        grid-template-columns: 1fr;
    }
}
