/* Basic Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-content {
    background-color: #000;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    color: #fff; /* Set text color to white for readability on black background */
}

.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.copy-icon {
    cursor: pointer;
    margin-left: 5px;
    color: #007bff;
}

.copy-icon:hover {
    color: #0056b3;
}

/* Style for content within the modal body */
#modal-body-content p,
#modal-body-content li {
    line-height: 1.5; /* Adjust for desired line spacing */
}

/* Impact Tiers Styles */
.impact-tiers {
    margin-top: 2rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    width: 100%;
}

.impact-tiers h2 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.impact-tiers p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.impact-list li {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.impact-list li:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.08);
}

.impact-list li strong {
    color: #ffd700;
    margin-right: 0.5rem;
}

/* Hero Images Styles */
.hero-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

@media (max-width: 768px) {
    .hero-images {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-image {
        max-width: 90%;
        margin-bottom: 1rem;
    }
}

/* Impact Grid Layout */
.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.impact-list-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-visual {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.impact-visual:hover {
    transform: scale(1.02);
}

/* Responsive adjustments for impact grid */
@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .impact-image {
        order: -1; /* Show image first on mobile */
    }

    .impact-visual {
        max-width: 90%;
        margin: 0 auto;
    }
} 