/* Additional Resources Section Styles */
.resources-section-addrec {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #fff;
    overflow: hidden;
}

.resources-section-addrec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="rgba(0,0,0,0.2)"/></svg>');
    opacity: 0.1;
    z-index: 1;
}

.resources-section-addrec .container {
    position: relative;
    z-index: 2;
}

.resources-section-addrec .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.resources-section-addrec .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
}

.resources-section-addrec .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #fdbb2d, #b21f1f, #1a2a6c);
    border-radius: 2px;
}

.resources-section-addrec .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

.resources-container-addrec {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.resources-buttons-addrec {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.resource-button-addrec {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.resource-button-addrec::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.resource-button-addrec:hover::before {
    left: 100%;
}

.resource-button-addrec:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.button-icon-addrec {
    font-size: 2rem;
    margin-right: 20px;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.resource-button-addrec:hover .button-icon-addrec {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(10deg);
}

.button-text-addrec {
    flex: 1;
}

.button-text-addrec h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.button-text-addrec p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.button-arrow-addrec {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.resource-button-addrec:hover .button-arrow-addrec {
    transform: translateX(5px);
}

/* Poster Section */
.poster-section-addrec {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #fff;
    display: none;
}

.poster-content-addrec {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.poster-container-addrec {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.poster-image-addrec {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.poster-image-addrec:hover {
    transform: scale(1.02);
}

.poster-controls-addrec {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.poster-container-addrec:hover .poster-controls-addrec {
    opacity: 1;
}

.zoom-btn-addrec,
.fullscreen-btn-addrec {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.zoom-btn-addrec:hover,
.fullscreen-btn-addrec:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* Modal Styles */
.poster-modal-addrec {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.modal-content-addrec {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-poster-addrec {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    cursor: grab;
}

.modal-poster-addrec:active {
    cursor: grabbing;
}

.close-modal-addrec {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close-modal-addrec:hover {
    color: #ff6b6b;
}

.modal-controls-addrec {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

.modal-zoom-btn-addrec {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.modal-zoom-btn-addrec:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* References Section */
.references-section-addrec {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5aa0, #45b7d1, #74b9ff);
    color: #fff;
    display: none;
    position: relative;
    overflow: hidden;
}

.reference-icon-addrec {
    font-size: 1.2rem;
    color: #fff;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fdbb2d, #b21f1f);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.reference-number-addrec {
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
}

.references-section-addrec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(116, 185, 255, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(69, 183, 209, 0.2) 0%, transparent 50%);
    z-index: 1;
}

.references-section-addrec .container {
    position: relative;
    z-index: 2;
}

.references-section-addrec .section-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #fff, #74b9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.references-section-addrec .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.references-content-addrec {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.references-list-addrec {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
    width: 100%;
    margin-bottom: 30px;
}

.reference-item-addrec {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.reference-item-addrec:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.reference-content-addrec {
    flex: 1;
}

.reference-content-addrec h4 {
    font-size: 0.95rem;
    margin: 0;
    color: #fff;
    font-weight: 500;
}

.reference-link-addrec {
    color: #fdbb2d;
    font-size: 1.2rem;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.reference-link-addrec:hover {
    color: #fff;
    transform: scale(1.1);
}

.references-placeholder-addrec {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    width: 100%;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: none;
}

.references-placeholder-addrec:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.references-placeholder-addrec i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.8;
    background: linear-gradient(45deg, #fff, #74b9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite;
}

.references-placeholder-addrec p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

.back-to-action-addrec {
    text-align: center;
    margin-top: 40px;
}

.back-button-addrec {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.back-button-addrec:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.back-button-addrec i {
    margin-right: 10px;
}

/* Show sections when active */
.poster-section-addrec.active,
.references-section-addrec.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Anti-screenshot protection */
.poster-image-addrec,
.modal-poster-addrec {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: auto;
}

/* Disable print styles for poster */
@media print {
    .poster-section-addrec,
    .poster-modal-addrec {
        display: none !important;
    }
}

/* Additional protection overlay */
.poster-container-addrec::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.poster-image-addrec {
    position: relative;
    z-index: 2;
}

.poster-controls-addrec {
    z-index: 3;
}

/* Responsive styles */
@media (max-width: 768px) {
    .resources-section-addrec {
        padding: 60px 0;
    }
    
    .resources-section-addrec .section-title {
        font-size: 2rem;
    }
    
    .resources-section-addrec .section-subtitle {
        font-size: 1rem;
    }
    
    .resource-button-addrec {
        padding: 15px 20px;
    }
    
    .button-icon-addrec {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .button-text-addrec h4 {
        font-size: 1.1rem;
    }
    
    .button-text-addrec p {
        font-size: 0.8rem;
    }
    
    .poster-container-addrec {
        padding: 15px;
    }
    
    .poster-controls-addrec {
        top: 20px;
        right: 20px;
    }
    
    .zoom-btn-addrec,
    .fullscreen-btn-addrec {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .modal-controls-addrec {
        bottom: 20px;
        padding: 10px;
    }
    
    .modal-zoom-btn-addrec {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
    
    .close-modal-addrec {
        font-size: 30px;
        top: 15px;
        right: 20px;
    }
    
    .references-list-addrec {
        grid-template-columns: 1fr;
    }
    
    .reference-content-addrec h4 {
        font-size: 0.85rem;
    }
    
    .reference-icon-addrec {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}