/* ===================================================== */
/* RESOURCES PAGE STYLES - Clean version without navigation conflicts
/* ===================================================== */

/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    position: relative;
    padding-bottom: 100px;
    /* body::before is handled by navigation.css */
}

#main-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 140px 20px 50px;
    box-sizing: border-box;
}

/* ===================================================== */
/* RESOURCES CONTENT STYLES */
/* ===================================================== */
.page-title {
    margin-top: 50px;
    margin-bottom: 20px;
    font-size: 3rem;
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    color: #FFD700;
    text-align: center;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(128, 128, 128, 0.6),
        6px 6px 12px rgba(128, 128, 128, 0.4);
    letter-spacing: 1px;
}

.orange-text {
    color: #FFB841;
}

.text-center-section {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    color: #ddd;
    text-align: center;
    width: 90%;
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.long-section {
    width: 90%;
    max-width: 1000px;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 50px;
    color: white;
    box-sizing: border-box;
}

.long-section h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    color: #FFD700;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(128, 128, 128, 0.6),
        6px 6px 12px rgba(128, 128, 128, 0.4);
    letter-spacing: 1px;
    border-bottom: none;
    padding-bottom: 0;
}


/* Page Title Styles */
.page-title {
    font-family: 'Quantico', sans-serif;
    font-weight: 700;
    font-size: 3.5em;
    color: #FF8C00;
    text-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.8),
        4px 4px 8px rgba(0, 0, 0, 0.6);
    margin: 0 0 0.5em 0;
    letter-spacing: 1px;
    float: left;
    line-height: 1.1;
}

.page-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2em 0;
    float: left;
    clear: right;
    max-width: 70%;
    line-height: 1.5;
}

.section-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.section-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.section-text {
    flex: 2;
    line-height: 1.7;
    color: #ddd;
}

.section-text h3 {
    color: white;
    margin-top: 0;
    font-size: 1.5rem;
}

.section-text ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.section-text a {
    text-decoration: none;
    font-weight: bold;
}

.section-text a:hover {
    text-decoration: underline;
}

/* ===================================================== */
/* FADE UP ANIMATIONS */
/* ===================================================== */
.fade-up-element {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-up-element.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================== */
/* MEDIA QUERIES */
/* ===================================================== */
@media (max-width: 768px) {
    #main-content-wrapper {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .long-section,
    .text-center-section {
        width: 95%;
        padding: 25px 15px;
    }

    .section-flex {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .section-text {
        width: 100%;
        font-size: 0.95rem;
    }

    .section-image {
        width: 100%;
        margin-bottom: 30px;
    }

    .section-image img {
        max-width: 80%;
    }

    .page-title {
        font-size: 2.5rem;
        margin-top: 0;
        margin-bottom: 30px;
    }

    .long-section h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
}

/* ===================================================== */
/* INFO BOX STYLES */
/* ===================================================== */
.info-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    padding: 0;
    margin: 30px 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    overflow: hidden;
}

.info-box-header {
    background: linear-gradient(135deg, rgba(0,139,139,0.8) 0%, rgba(30,58,138,0.6) 50%, rgba(15,23,42,0.8) 100%);
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.info-box-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.info-box-content {
    padding: 30px;
    color: #ffffff;
}

.info-box-content p {
    line-height: 1.6;
    margin-bottom: 25px;
}

.info-box-content p:last-child {
    margin-bottom: 0;
}

.resource-highlight, .resource-alternatives, .learning-tip {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #00d9ff;
}

.resource-alternatives {
    border-left-color: #ffd700;
}

.learning-tip {
    border-left-color: #32cd32;
    margin-bottom: 0;
}

.resource-highlight h4, .resource-alternatives h4, .learning-tip h4 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.resource-highlight h4 {
    color: #00d9ff;
}

.resource-alternatives h4 {
    color: #ffd700;
}

.learning-tip h4 {
    color: #32cd32;
}

.resource-points {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.resource-points li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #e0e0e0;
    line-height: 1.5;
}

.resource-points li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #00d9ff;
    font-size: 0.8rem;
}

.resource-alternatives .resource-points li::before {
    color: #ffd700;
}

.resource-points-alt {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.resource-points-alt li {
    position: relative;
    padding: 8px 0 8px 25px;
    color: #e0e0e0;
    line-height: 1.5;
}

.resource-points-alt li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: #ffd700;
    font-size: 0.8rem;
}

.learning-tip .resource-points li::before {
    color: #32cd32;
}

.highlight-link-alt {
    color: #ffd700 !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.highlight-link-alt:hover {
    color: #ffed4e !important;
}

.highlight-link {
    color: #00d9ff !important;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.highlight-link:hover {
    color: #00ffff !important;
}