/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #0a192f;
    color: #e6f1ff;
    scroll-behavior: smooth;
}

/* Global Container */
.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(90deg, #1f4068, #162447);
    color: #fff;
    text-align: center;
    padding: 3em 1em;
    position: relative;
    overflow: hidden;
}

.header .title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5em;
}

.header .btn {
    display: inline-block;
    padding: 0.8em 1.5em;
    font-size: 1rem;
    color: #0a192f;
    background: #64ffda;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.header .btn:hover {
    background: #52e2c8;
    transform: scale(1.1);
}

.header:before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    animation: move-bg 8s linear infinite;
}

@keyframes move-bg {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Section Styling */
.section {
    padding: 3em 0;
    margin: 2em auto;
    background: #112240;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1em;
    color: #64ffda;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section p {
    text-align: center;
    margin-bottom: 2em;
    font-size: 1.1rem;
    color: #ccd6f6;
}

#dos-and-donts ul {
    text-align: center;
}

/* Cards and Grid Layout */
.grid, .timeline, .accordion {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: center;
}

.card, .timeline-step, .accordion-item {
    background: #0a192f;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    flex: 1 1 calc(33.333% - 2em);
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.card:hover, .timeline-step:hover, .accordion-item:hover {
    background: #112d4e;
    transform: translateY(-10px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.card img, .timeline-step img, .accordion-item img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1em;
}

.card h3, .timeline-step h3, .accordion-item h3 {
    font-size: 1.5rem;
    color: #64ffda;
    margin-bottom: 0.5em;
}

.card p, .timeline-step p, .accordion-item p {
    font-size: 1rem;
    color: #ccd6f6;
}

/* Accordion Item Styling */
.accordion-item {
    cursor: pointer;
}

.accordion-item p {
    display: none;
    transition: max-height 0.3s ease-in-out;
}

.accordion-item.active p {
    display: block;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2em 0;
    background: #1f4068;
    color: #fff;
    font-size: 0.9rem;
}

.footer a {
    color: #64ffda;
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .card, .timeline-step, .accordion-item {
        flex: 1 1 100%;
    }

    .header .title {
        font-size: 2.5rem;
    }

    .header .subtitle {
        font-size: 1rem;
    }
}

.timeline .timeline-step .exfiltration-image {
    height: 300px;
    width: 900px;
}

.table-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

.table-column {
    flex: 1;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.table-column h3 {
    margin-bottom: 10px;
    color: #005bea;
    font-size: 1.5rem;
    text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    color: #333;
    font-size: 1rem;
}

table td:last-child {
    border-bottom: none;
}

.impact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.impact-box {
    flex: 1 1 calc(50% - 20px); /* Two boxes per row */
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.impact-box h3 {
    color: #005bea;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.impact-box p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.victim-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 20px;
}

.victim-box {
    flex: 1 1 calc(33.333% - 20px); /* Three boxes per row */
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: left;
}

.victim-box h3 {
    color: #005bea;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.victim-box p {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}
