/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */
/* ==========================================================================
   Ain Prokash - MCQ Pro Portal Custom Design
   ========================================================================== */

.mcqpro-wrapper {
    font-family: inherit;
    color: #333;
    line-height: 1.6;
}

/* 1. Stats Hero Section */
.mcqpro-stats-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 40px 20px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

.mcqpro-stat-box {
    text-align: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.mcqpro-stat-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.mcqpro-stat-box .mcqpro-icon {
    font-size: 32px;
    color: #facc15; /* Yellow Accent */
    margin-bottom: 15px;
}

.mcqpro-stat-box h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #ffffff !important;
}

.mcqpro-stat-box p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

/* 2. Section Titles */
.mcqpro-section-title {
    font-size: 24px;
    font-weight: bold;
    color: #1e293b !important;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 3. Subject Grid & Cards */
.mcqpro-ultra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.mcqpro-ultra-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.mcqpro-ultra-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.mcqpro-icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff; /* Light Blue */
    color: #2563eb;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.mcqpro-ultra-card h3 {
    font-size: 18px;
    color: #1e3a8a !important;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 700;
}

.mcqpro-ultra-card p {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 15px;
    flex-grow: 1; /* Pushes button to bottom evenly */
}

/* Small Stats inside Cards */
.mcqpro-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.mcqpro-stats span {
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

/* 4. Buttons */
.mcqpro-btn {
    display: block;
    width: 100%;
    background: #1e3a8a;
    color: #ffffff !important;
    padding: 12px 0;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease;
}

.mcqpro-btn:hover {
    background: #1d4ed8; /* Slightly lighter blue */
}

/* 5. Full Mock Test Section (Highlight) */
.mcqpro-full-mock {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 20px;
    margin-top: 50px;
}

.mcqpro-full-header {
    text-align: center;
    margin-bottom: 30px;
}

.mcqpro-full-header h2 {
    color: #1e3a8a !important;
    margin-top: 0;
    font-size: 28px;
}

.mcqpro-full-header p {
    color: #475569;
    font-size: 16px;
}

.mcqpro-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.mcqpro-full-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 4px solid #16a34a; /* Green Accent for Full Mocks */
    transition: all 0.3s ease;
}

.mcqpro-full-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.mcqpro-full-icon {
    font-size: 40px;
    color: #16a34a;
    margin-bottom: 15px;
}

.mcqpro-full-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.mcqpro-full-card .mcqpro-btn {
    background: #16a34a;
}

.mcqpro-full-card .mcqpro-btn:hover {
    background: #15803d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mcqpro-stats-hero {
        padding: 25px 15px;
    }
    .mcqpro-full-mock {
        padding: 25px 15px;
    }
}

/* ==========================================================================
   Ain Prokash - Exam Question Bank Custom Layout
   ========================================================================== */

.ap-exam-portal-wrapper {
    font-family: inherit;
    line-height: 1.8;
    color: #333;
}

.ap-exam-portal-wrapper p {
    margin-bottom: 20px;
}

/* Section Headings */
.ap-exam-portal-heading {
    background-color: #1e3a8a; /* Navy Blue */
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 22px;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    border-left: 5px solid #facc15; /* Yellow Accent */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Grid Layout for Links */
ul.ap-exam-portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    list-style: none !important;
    padding-left: 0 !important;
    margin-bottom: 30px;
}

ul.ap-exam-portal-grid li {
    margin: 0 !important;
    padding: 0 !important;
}

ul.ap-exam-portal-grid a {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b !important;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

ul.ap-exam-portal-grid a:hover {
    background: #ffffff;
    border-color: #1e3a8a;
    color: #1e3a8a !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
}

/* FontAwesome Icons before Links (Jannah Compatible) */
ul.ap-exam-portal-grid a::before {
    content: "\f02d"; /* Book icon */
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 12px;
    color: #3b82f6;
    font-size: 18px;
}

/* Tips/Guideline Box */
.ap-exam-portal-tips {
    background: #f0fdf4;
    border-left: 4px solid #16a34a; /* Green Accent */
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 30px 0;
}

.ap-exam-portal-tips h3 {
    margin-top: 0;
    color: #15803d !important;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.ap-exam-portal-tips ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.ap-exam-portal-tips li {
    margin-bottom: 8px;
    color: #166534;
}

/* Download Buttons */
.ap-exam-portal-btn {
    display: inline-block;
    background: #ef4444; /* Red color for PDF download */
    color: #ffffff !important;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.ap-exam-portal-btn:hover {
    background: #dc2626;
    transform: scale(1.02);
}

/* Divider */
.ap-exam-portal-divider {
    margin: 40px 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

/* Conclusion Text */
.ap-exam-portal-wish {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #1e3a8a;
    margin-top: 20px;
}

/* ==========================================================================
   Ain Prokash - Featured Cards (Model Test & Booklist)
   ========================================================================== */

.ap-exam-portal-featured-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.ap-exam-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

/* Gradient Background for Model Test */
.ap-exam-feature-card.model-test {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #ffffff !important;
}

/* Gradient Background for Booklist */
.ap-exam-feature-card.booklist {
    background: linear-gradient(135deg, #166534 0%, #22c55e 100%);
    color: #ffffff !important;
}

.ap-exam-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.ap-exam-feature-card i {
    font-size: 36px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.ap-exam-feature-card .feature-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.ap-exam-feature-card .feature-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* ==========================================================================
   Ain Prokash - BJS Booklist & Guidelines Layout
   ========================================================================== */

.ap-bjs-wrapper {
    font-family: inherit;
    line-height: 1.8;
    color: #333;
}

.ap-bjs-wrapper p {
    margin-bottom: 20px;
}

/* Section Headings */
.ap-bjs-heading {
    background-color: #1e3a8a; /* Navy Blue */
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 22px;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    border-left: 5px solid #facc15; /* Yellow Accent */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Intro & Conclusion Box */
.ap-bjs-info-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
}

/* Book Subject Cards */
.ap-bjs-book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ap-book-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    transition: 0.3s ease;
}

.ap-book-card:hover {
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    border-color: #cbd5e1;
}

.ap-book-card h4 {
    color: #1e3a8a !important;
    font-size: 18px;
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.ap-book-card h4::before {
    content: "\f02d";
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: #f59e0b;
}

/* Nested Book Lists */
.ap-book-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

.ap-book-list > li {
    margin-bottom: 15px;
    font-weight: bold;
    color: #1e293b;
}

.ap-book-list ul {
    list-style: none !important;
    padding-left: 15px !important;
    margin-top: 5px;
    border-left: 2px solid #e2e8f0;
}

.ap-book-list ul li {
    font-weight: normal;
    font-size: 14px;
    margin-bottom: 3px;
    position: relative;
    padding-left: 15px;
}

.ap-book-list ul li::before {
    content: "•";
    color: #3b82f6;
    position: absolute;
    left: 0;
    font-size: 18px;
    line-height: 1;
}

/* Strategy Grid */
.ap-strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.ap-strategy-item {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 15px;
    border-radius: 8px;
}

.ap-strategy-item h3 {
    color: #166534 !important;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ap-strategy-item h3::before {
    content: "\f0a4"; /* pointer icon */
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #22c55e;
}

.ap-strategy-item ul {
    margin-bottom: 0;
    padding-left: 20px;
    font-size: 14px;
}

/* Smart FAQ Accordion (No JS needed) */
.ap-faq-container {
    margin-top: 20px;
}

.ap-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.ap-faq-item summary {
    padding: 15px 20px;
    font-weight: bold;
    font-size: 16px;
    color: #1e293b;
    cursor: pointer;
    background: #f8fafc;
    list-style: none; /* Hide default arrow in some browsers */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ap-faq-item summary::-webkit-details-marker {
    display: none; /* Hide default arrow in webkit */
}

.ap-faq-item summary::after {
    content: "\f078"; /* fa-chevron-down */
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    color: #64748b;
    transition: transform 0.3s;
}

.ap-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.ap-faq-item[open] summary {
    background: #1e3a8a;
    color: #ffffff;
}

.ap-faq-item[open] summary::after {
    color: #ffffff;
}

.ap-faq-content {
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    font-size: 15px;
    color: #475569;
}
.ap-faq-content ul {
    margin-bottom: 0;
}


/* ==========================================================================
   Ain Prokash - Premium MCQ 60-Card Grid (Theme Font Size Inherited)
   ========================================================================== */

.mcq-wrapper {
    margin: 40px 0;
}

/* Smart Grid System */
.mcq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

/* Premium Card Design */
.mcq-card {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    text-decoration: none;
}

/* Card Hover Effect */
.mcq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: #3b82f6; 
}

/* Icon Box Design */
.mcq-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Auto Inject FontAwesome Icon */
.mcq-icon::before {
    content: "\f15c"; 
    font-family: "FontAwesome", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.5em; /* Only keeping relative size for icon to fit the box */
    color: #ffffff;
}

/* 6 Premium Gradient Backgrounds */
.mcq-icon.bg1 { background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%); }
.mcq-icon.bg2 { background: linear-gradient(135deg, #10b981 0%, #047857 100%); }
.mcq-icon.bg3 { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }
.mcq-icon.bg4 { background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%); }
.mcq-icon.bg5 { background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%); }
.mcq-icon.bg6 { background: linear-gradient(135deg, #ec4899 0%, #be185d 100%); }

/* Content Area */
.mcq-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #64748b; 
    font-weight: 500;
    line-height: 1.4;
}

.mcq-content h3 {
    margin: 0 0 3px 0 !important;
    font-weight: 700;
    color: #1e293b !important;
    line-height: 1.2;
}

/* Button/Link Design */
.mcq-content a {
    margin-top: 5px;
    font-weight: 700;
    color: #2563eb !important;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.mcq-content a:hover {
    color: #1e3a8a !important;
}

/* Link Arrow Animation on Card Hover */
.mcq-card:hover .mcq-content a {
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Ain Prokash - Sidebar Smart Navigation Widget
   ========================================================================== */
/* Sidebar Widget Container */
.ap-sidebar-widget {
    background: #ffffff;
    border-radius: 14px;
    padding: 20px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #f1f1f1;
}

.ap-sidebar-widget:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Title */
.ap-sidebar-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    position: relative;
    padding-left: 12px;
}

.ap-sidebar-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 4px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

/* Divider (Section Title) */
.ap-sidebar-divider {
    font-size: 13px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 18px 0 10px;
    position: relative;
}

.ap-sidebar-divider::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, transparent);
}

/* List */
.ap-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* List Item */
.ap-sidebar-list li {
    margin-bottom: 8px;
}

/* Link Style */
.ap-sidebar-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    color: #374151;
    transition: all 0.25s ease;
    background: #f9fafb;
}

/* Icon */
.ap-sidebar-list li a i {
    font-size: 15px;
    color: #2563eb;
    transition: all 0.3s ease;
}

/* Hover Effect */
.ap-sidebar-list li a:hover {
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.25);
}

.ap-sidebar-list li a:hover i {
    color: #ffffff;
    transform: scale(1.1);
}

/* Active (Optional) */
.ap-sidebar-list li a.active {
    background: linear-gradient(135deg, #1d4ed8, #0891b2);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .ap-sidebar-widget {
        padding: 15px;
    }

    .ap-sidebar-title {
        font-size: 18px;
    }

    .ap-sidebar-list li a {
        font-size: 14px;
        padding: 9px 10px;
    }
}
/* Bullet remove */
.ap-sidebar-list,
.ap-sidebar-list ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Extra safety */
.ap-sidebar-list li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}



/* মেইন কন্টেইনার বা কার্ড ডিজাইন */
.ays-start-page {
    max-width: 500px;
    margin: 50px auto;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: 'Hind Siliguri', 'Kalpurush', sans-serif; /* বাংলা ফন্টের জন্য */
    border-top: 6px solid #4F46E5; /* উপরে একটি সুন্দর বর্ডার */
    transition: all 0.3s ease-in-out;
}

.ays-start-page:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* কুইজের মূল টাইটেল */
.ays-fs-title {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 8px;
}

/* সাবটাইটেল (আইনের নাম) */
.ays-fs-subtitle h2 {
    font-size: 20px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 25px;
}

/* প্রশ্নের তথ্য (সময়, পূর্ণমান) */
.ays-fs-subtitle p {
    background: #f3f4f6;
    padding: 15px 25px;
    border-radius: 10px;
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
    display: inline-block;
    text-align: left;
    margin-bottom: 35px;
    border-left: 4px solid #4F46E5; /* বাঁ পাশে হাইলাইট */
}

/* বাটন কন্টেইনার */
.ays_buttons_div {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* সাধারণ বাটন স্টাইল */
.action-button {
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
    letter-spacing: 0.5px;
}

/* Start বাটন ডিজাইন */
.start_button {
    background-color: #4F46E5;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.start_button:hover {
    background-color: #4338ca;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

/* Resume বাটন ডিজাইন */
.ays_resume_quiz {
    background-color: #ffffff;
    color: #4F46E5;
    border: 2px solid #4F46E5;
    display: inline-flex;
    align-items: center;
}

.ays_resume_quiz:hover {
    background-color: #e0e7ff;
    transform: translateY(-3px);
}

/* মোবাইল ভিউয়ের জন্য রেসপন্সিভ ডিজাইন */
@media (max-width: 480px) {
    .ays-start-page {
        margin: 20px;
        padding: 30px 20px;
    }
    
    .ays-fs-title {
        font-size: 24px;
    }
    
    .action-button {
        width: 100%; /* মোবাইলে বাটনগুলো ফুল-উইডথ হবে */
        text-align: center;
    }
}

/* --- Ultra-Smart Sticky Quiz Timer --- */

.ays-quiz-container .ays_quiz_timer_container {
    position: sticky !important;
    top: 15px !important; /* স্ক্রল করলেও উপরে আটকে থাকবে */
    z-index: 9999 !important; /* সবকিছুর উপরে দেখাবে */
    display: flex !important;
    justify-content: center !important;
    pointer-events: none !important; /* টাইমারের ওপর ক্লিক লাগলে সমস্যা হবে না */
}

.ays-quiz-container .ays-quiz-timer {
    background: rgba(255, 255, 255, 0.85) !important; /* ট্রান্সপারেন্ট গ্লাস ইফেক্ট */
    backdrop-filter: blur(12px) !important; /* পেছনের অংশ ব্লার করবে (Glassmorphism) */
    border: 1px solid rgba(93, 108, 249, 0.2) !important;
    border-radius: 50px !important; /* সুন্দর পিল (Pill) শেপ */
    padding: 10px 25px !important;
    display: inline-flex !important;
    align-items: center !important;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1) !important; /* প্রিমিয়াম থ্রিডি শ্যাডো */
    margin: 0 auto 25px auto !important;
    width: fit-content !important;
    transition: all 0.3s ease !important;
}

/* CSS দিয়ে অটোমেটিক ঘড়ির আইকন যুক্ত করা (HTML এ হাত না দিয়েই) */
.ays-quiz-container .ays-quiz-timer::before {
    content: "" !important;
    display: inline-block !important;
    width: 22px !important;
    height: 22px !important;
    margin-right: 12px !important;
    /* একটি সুন্দর নীল রঙের ডাইনামিক ঘড়ি */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235d6cf9'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    animation: tickTock 2s infinite ease-in-out !important; /* আইকনে হালকা পালস অ্যানিমেশন */
}

/* টাইমারের ভেতরের টেক্সট */
.ays-quiz-container .ays-quiz-timer p {
    color: #1e293b !important; /* প্রফেশনাল ডার্ক স্লেট কালার */
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: 0.3px !important;
}

/* ঘড়ির আইকনের জন্য স্মুথ অ্যানিমেশন */
@keyframes tickTock {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* মোবাইল ভিউ অপটিমাইজেশন */
@media (max-width: 768px) {
    .ays-quiz-container .ays_quiz_timer_container {
        top: 10px !important;
    }
    .ays-quiz-container .ays-quiz-timer {
        padding: 8px 20px !important;
    }
}


ইইইইইইইইইইইইইইইইইইইইইইইইই

/* =======================================================
   Ain Prokash - Ultra Premium UI & SEO Optimized Design
   ======================================================= */

.ap-premium-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Hind Siliguri', 'Kalpurush', sans-serif;
    color: #334155;
    line-height: 1.7;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Typography & General */
.ap-text {
    font-size: 17px;
    margin-bottom: 16px;
    color: #64748b;
}

.text-center {
    text-align: center;
}

/* Sections */
.ap-content-section {
    padding: 40px;
}

.ap-bg-light {
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.ap-section-title {
    color: #1e3a8a;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

/* Fancy underline for section titles */
.ap-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1e3a8a);
    border-radius: 2px;
}

.text-center.ap-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Hero Section - FIXED: Left Aligned & Solid Colors */
.ap-hero-section {
    background-color: #eff6ff; /* Soft Blue Background */
    border-bottom: 2px solid #bfdbfe;
    padding: 50px 40px;
    text-align: left; /* Left Aligned */
    border-radius: 16px 16px 0 0;
}

.ap-hero-section h1 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #1e3a8a; /* Deep Blue Text */
}

.ap-hero-section p {
    font-size: 18px;
    color: #334155; /* Slate Text - fully visible */
    margin-bottom: 30px;
    max-width: 800px;
}

/* Buttons */
.ap-btn-primary {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.ap-btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.ap-btn-outline {
    display: inline-block;
    border: 2px solid #1e3a8a;
    color: #1e3a8a !important;
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ap-btn-outline:hover {
    background-color: #1e3a8a;
    color: #ffffff !important;
}

/* Feature Grid Cards */
.ap-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.ap-feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.ap-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.1);
    border-color: #bfdbfe;
}

.ap-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.ap-sub-title {
    color: #0f172a;
    font-size: 20px;
    margin: 0 0 12px 0;
}

/* Custom Check List */
.ap-highlight-box {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 5px solid #3b82f6;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.ap-highlight-title {
    color: #1e3a8a;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.ap-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ap-check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #334155;
}

.ap-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 18px;
}

/* Table Design */
.ap-table-responsive {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.ap-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 600px;
}

.ap-table th, .ap-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.ap-table th {
    background-color: #f8fafc;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 16px;
}

.ap-table tbody tr:hover {
    background-color: #f1f5f9;
}

.ap-table tfoot td {
    background-color: #eff6ff;
    color: #1e3a8a;
}

.ap-note {
    font-size: 14px;
    color: #ef4444;
    font-style: italic;
}

/* Download Banner */
.ap-download-banner {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.ap-download-banner h5 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #1e3a8a;
}

.ap-download-banner p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* INTERACTIVE FAQ ACCORDION */
.ap-faq-container {
    margin-top: 25px;
}

.ap-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.ap-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.ap-faq-item[open] {
    border-color: #3b82f6;
}

.ap-faq-q {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    cursor: pointer;
    position: relative;
    list-style: none;
    user-select: none;
    background: #f8fafc;
}

.ap-faq-q::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #3b82f6;
    transition: transform 0.3s ease;
}

.ap-faq-item[open] .ap-faq-q::after {
    content: '−';
    color: #ef4444;
}

.ap-faq-q::-webkit-details-marker {
    display: none;
}

.ap-faq-a {
    padding: 0 20px 20px 20px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.6;
    border-top: 1px solid transparent;
}
.ap-faq-item[open] .ap-faq-a {
    border-top-color: #e2e8f0;
    padding-top: 15px;
}

/* Bottom CTA Section - FIXED: Left Aligned */
.ap-cta-bottom {
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
    color: #1e3a8a;
    text-align: left;
    padding: 50px 40px;
    border-radius: 0 0 16px 16px;
}

.ap-cta-bottom h2 {
    color: #1e3a8a;
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 15px;
}

.ap-cta-bottom p {
    font-size: 18px;
    color: #334155;
    margin-bottom: 30px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .ap-content-section {
        padding: 30px 20px;
    }
    
    .ap-hero-section, .ap-cta-bottom {
        padding: 40px 20px;
    }

    .ap-hero-section h1 {
        font-size: 26px;
    }

    .ap-download-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .ap-section-title {
        font-size: 22px;
    }
}