/* ========== General Styles ========== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121826;
    color: #E0E0E0;
    line-height: 1.6;
}

/* ========== Header ========== */
header {
    background: #1E2A38;
    color: #ffffff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: #E0E0E0;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: #3B82F6;
    color: #ffffff;
}

/* ========== Main Content ========== */
.main-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ========== Section Box Styling (Globally Applied) ========== */
.box,
.case-study-box {
    background: #111827;
    padding: 20px;
    margin: 20px auto;
    border-radius: 15px;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Glow Effect on Hover */
.box:hover,
.case-study-box:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
    transform: scale(1.02);
}

/* ========== Headings ========== */
h2, h3 {
    margin-bottom: 10px;
}

/* ========== Collapsible Sections ========== */
.hidden-content {
    display: none;
    margin-top: 10px;
    padding: 15px;
    background-color: #18233A;
    border-left: 4px solid #3B82F6;
    border-radius: 8px;
}

/* ========== Expandable Buttons ========== */
.expand-btn {
    display: block;
    background: #3B82F6;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    transition: background 0.3s ease-in-out;
}

.expand-btn:hover {
    background: #2563EB;
}

/* ========== Case Study Styling ========== */
.case-study-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Case Study Logo */
.case-study-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
}


.hero-box {
    background: linear-gradient(135deg, #0d1b2a, #1e3a5f);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0px 4px 20px rgba(0, 255, 255, 0.3);
    animation: fadeIn 1s ease-in-out;
}

.cta-btn {
    display: inline-block;
    background-color: #3B82F6;
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.cta-btn:hover {
    background: #2563EB;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.feature-item:hover {
    transform: scale(1.05);
}

.event-list li {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    margin: 5px 0;
    border-radius: 8px;
}

.event-btn {
    background: #3B82F6;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

.event-details {
    display: none;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 5px;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121826;
    color: #E0E0E0;
    text-align: center;
}

.quiz-container {
    background: #111827;
    padding: 20px;
    margin: 20px auto;
    border-radius: 15px;
    width: 80%;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
    text-align: center;
}

.btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    background: #3B82F6;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.btn:hover {
    background: #2563EB;
}

#next-btn {
    background: #34D399;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
    cursor: pointer;
}

#next-btn:hover {
    background: #10B981;
}

#feedback {
    margin-top: 10px;
    font-weight: bold;
}
