/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #0D0D0D; /* Very dark background */
    color: #EAEAEA; /* Off-white text */
    line-height: 1.7;
}

/* Container */
.container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}

/* Header */
header {
    background: linear-gradient(135deg, #b9070a, #9C27B0);
    color: #fff;
    padding: 40px 20px;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap; /* For responsiveness */
    gap: 20px;
}

header h1 {
    font-size: 2rem;
    line-height: 1.2;
    text-shadow: 1px 2px 6px rgba(0,0,0,0.5);
    flex: 1; /* Take remaining space */
}

header .header-img {
    max-width: 350px;
    width: 40%;
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

header .header-img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Stack on small screens */
        text-align: center;
    }
    header .header-img {
        width: 60%;
        max-width: 200px;
    }
    header h1 {
        font-size: 1.8rem;
        margin-top: 15px;
    }
}


/* Sections */
.section {
    background-color: #1A1A1A;
    padding: 30px 25px;
    margin: 25px 0;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.7);
    background: #222222;
}

.section h2 {
    color: #1DE9B6;
    margin-bottom: 15px;
    font-size: 2rem;
    position: relative;
    letter-spacing: 0.5px;
}

.section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #9C27B0;
    margin-top: 8px;
    border-radius: 3px;
}

.section p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.section ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 10px;
}

.section li {
    margin-bottom: 12px;
}

/* Inline images inside sections */
.inline-img {
    max-width: 150px;
    float: right;
    margin-left: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Links */
a {
    color: #1DE9B6;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: #9C27B0;
    text-shadow: 0 0 8px #9C27B0;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    margin-top: 50px;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section {
        padding: 25px 20px;
    }
    .header-img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    header .intro {
        font-size: 1rem;
    }
    .section h2 {
        font-size: 1.6rem;
    }
    .inline-img {
        float: none;
        display: block;
        margin: 15px auto;
        width: 60%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6rem;
    }
    header .intro {
        font-size: 0.95rem;
    }
    .section h2 {
        font-size: 1.4rem;
    }
    .section {
        padding: 20px 15px;
    }
}
