/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Mukta', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    padding: 20px;
}

.page-container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

/* ============================================
   HEADER SECTION
   ============================================ */
.page-header-section {
    background: linear-gradient(135deg, #6c3483 0%, #8e44ad 50%, #f39c12 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-section::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="rgba(255,255,255,0.08)"><circle cx="50" cy="50" r="40"/><circle cx="20" cy="20" r="15"/><circle cx="80" cy="80" r="20"/></svg>');
    animation: float 25s linear infinite;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.page-sub-title {
    font-size: 1.4rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

/* ============================================
   CURRENT AFFAIRS BOX
   ============================================ */
.ca-box {
    background: linear-gradient(135deg, #e74c3c 0%, #f39c12 100%);
    margin: 30px 40px;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
}

.ca-content { position: relative; z-index: 2; }
.ca-title { font-size: 2.2rem; color: white; margin-bottom: 15px; font-weight: 700; }
.ca-subtitle { font-size: 1.2rem; color: rgba(255, 255, 255, 0.95); margin-bottom: 20px; }

.ca-decoration { display: flex; justify-content: center; gap: 15px; margin-top: 20px; }
.ca-dot {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    animation: bounce 1.5s infinite;
}
.ca-dot:nth-child(2) { animation-delay: 0.2s; }
.ca-dot:nth-child(3) { animation-delay: 0.4s; }
.ca-dot:nth-child(4) { animation-delay: 0.6s; }
.ca-dot:nth-child(5) { animation-delay: 0.8s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   INFO GRID
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 0 40px 40px;
}

.info-card {
    background: linear-gradient(135deg, #6c3483 0%, #8e44ad 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(108, 52, 131, 0.3);
    transition: transform 0.3s ease;
}
.info-card:hover { transform: translateY(-5px); }
.info-card h4 { font-size: 1.2rem; margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.info-card p { font-size: 1.3rem; font-weight: 600; }

/* ============================================
   CONTENT SECTION & BOXES
   ============================================ */
.content-section {
    background: #f8f9fa;
    margin: 0 40px 40px;
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #6c3483;
}

.content-title {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #6c3483;
}

.content-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #444;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #6c3483;
}

.box-1 { border-left-color: #e74c3c; }
.box-2 { border-left-color: #f39c12; }
.box-3 { border-left-color: #3498db; }
.box-4 { border-left-color: #2ecc71; }
.box-5 { border-left-color: #9b59b6; }
.box-6 { border-left-color: #16a085; }
.box-7 { border-left-color: #f1c40f; }
.box-8 { border-left-color: #e67e22; }
.box-9 { border-left-color: #27ae60; }
.box-10 { border-left-color: #8e44ad; }
.box-conclusion { border-left-color: #2c3e50; }

.box-title {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-list { list-style-type: none; padding-left: 0; }
.info-list li {
    padding: 8px 0 8px 30px;
    position: relative;
    margin-bottom: 6px;
    border-bottom: 1px dashed #eee;
    font-size: 1.05rem;
}
.info-list li:last-child { border-bottom: none; }
.info-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    width: 22px;
    height: 22px;
    background: #6c3483;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

/* ============================================
   AWARD / WETLAND / EXERCISE CARDS
   ============================================ */
.award-card, .wetland-card, .exercise-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 12px 18px;
    margin-bottom: 10px;
    border-left: 4px solid #6c3483;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.award-card:hover, .wetland-card:hover, .exercise-card:hover {
    background: #f3e8f8;
    transform: translateX(5px);
}

.award-card .ex-name, .wetland-card .wn-name {
    font-weight: 700;
    color: #6c3483;
    font-size: 1.05rem;
}

.award-card .ex-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
    color: #555;
}

.award-card .ex-badge, .wetland-card .wn-year {
    background: #6c3483;
    color: #fff;
    padding: 2px 10px;
    border-radius: 14px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

/* ============================================
   MCQ BOX
   ============================================ */
.mcq-box {
    background: linear-gradient(135deg, #f3e8f8 0%, #e8d5f2 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border-left: 5px solid #6c3483;
}

.mcq-box h4 {
    color: #4a235a;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.mcq-item {
    background: white;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
}
.mcq-item strong { color: #6c3483; }

/* ============================================
   PRINT BUTTON & EXAM TARGET BOX
   ============================================ */
.print-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.btn-print-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6c3483 0%, #8e44ad 100%);
    color: #ffffff;
    border: none;
    padding: 12px 26px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(108, 52, 131, 0.35);
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-print-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 52, 131, 0.45);
    background: linear-gradient(135deg, #5b2c6f 0%, #6c3483 100%);
}

.conclusion-exam-target {
    margin-top: 25px;
    padding: 16px 20px;
    background: #f3e8f8;
    border-left: 4px solid #6c3483;
    border-radius: 8px;
    font-size: 1rem;
    color: #2c3e50;
    line-height: 1.6;
}

/* ============================================
   NAVIGATION & BOTTOM LINKS
   ============================================ */
.page-nav-buttons { display: flex; gap: 20px; margin: 0 40px 20px; }
.page-btn {
    flex: 1;
    padding: 18px;
    text-align: center;
    background: linear-gradient(135deg, #6c3483 0%, #8e44ad 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(108, 52, 131, 0.3);
}
.page-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 52, 131, 0.4);
}

.topics-link-container { margin: 0 40px 40px; text-align: center; }
.topics-link {
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.3);
}

.page-section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0 40px 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #6c3483;
}

.related-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 40px 40px; }
.link-tag {
    padding: 10px 22px;
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
}
.link-tag:hover {
    background: linear-gradient(135deg, #6c3483 0%, #8e44ad 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 52, 131, 0.25);
}

.page-path {
    margin: 0 40px 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 0.95rem;
}
.page-path a { color: #6c3483; text-decoration: none; }

.update-info {
    text-align: center;
    margin: 20px 40px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    body { padding: 10px; }
    .page-container { margin: 10px; border-radius: 15px; }
    .page-header-section { padding: 40px 20px; }
    .page-main-title { font-size: 2rem; }
    .page-sub-title { font-size: 1.1rem; }
    .ca-box { margin: 20px; padding: 20px; }
    .ca-title { font-size: 1.6rem; }

    .info-grid,
    .content-section,
    .page-nav-buttons,
    .topics-link-container,
    .page-section-title,
    .related-links,
    .page-path,
    .update-info {
        margin-left: 20px;
        margin-right: 20px;
    }

    .info-grid { grid-template-columns: 1fr; }
    .content-section { padding: 20px; }
    .page-nav-buttons { flex-direction: column; }
    .print-btn-container { justify-content: center; }
}