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

/* Body Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0A192F, #560BAD, #4CAF50);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
}

.navbar .logo {
    font-size: 1.5em;
    font-weight: bold;
    background: -webkit-linear-gradient(#560BAD, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin-left: 20px;
}

.navbar ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 5px 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: #4CAF50;
    left: 0;
    bottom: -5px;
    transition: width 0.3s ease;
}

.navbar ul li a:hover {
    color: #4CAF50;
}

.navbar ul li a:hover::after {
    width: 100%;
}

/* Header Section */
.header {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header h1 {
    font-size: 3em;
    font-weight: bold;
    background: -webkit-linear-gradient(#560BAD, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.header p {
    font-size: 1.2em;
    max-width: 600px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 3px;
    background: #4CAF50;
    margin: 10px auto 0;
    display: block;
}

/* Article Styling */
article {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

article h2, article h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

article h2 {
    font-size: 2em;
    background: -webkit-linear-gradient(#560BAD, #4CAF50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

article h3 {
    font-size: 1.5em;
}

article p {
    margin-bottom: 20px;
    font-size: 1em;
}

article pre {
    background: #1e2a38;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

article code {
    color: #4CAF50;
    font-family: 'Courier New', Courier, monospace;
}

/* Table Styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table th, table td {
    border: 1px solid #4CAF50;
    padding: 10px;
    text-align: left;
}

table th {
    background: #0A192F;
}

table tr:nth-child(even) {
    background: rgba(76, 175, 80, 0.1);
}

/* Buttons */
button {
    background: linear-gradient(135deg, #560BAD, #4CAF50);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.3s ease;
}

button:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4CAF50, #560BAD);
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h4 {
    margin-bottom: 10px;
    font-size: 1.2em;
}

.card p {
    font-size: 0.95em;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background: rgba(10, 25, 47, 0.9);
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1440px) {
    .header h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 1200px) {
    .navbar {
        padding: 10px 20px;
    }

    .navbar ul li {
        margin-left: 15px;
    }

    .header h1 {
        font-size: 2em;
    }

    .header p {
        font-size: 1em;
    }

    .section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 15px;
    }

    article {
        padding: 25px;
    }

    table th, table td {
        padding: 8px;
    }
}

@media (max-width: 768px) {
    .navbar ul {
        display: none;
    }

    .navbar .menu-icon {
        display: block;
        cursor: pointer;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .section-title {
        font-size: 1.5em;
    }

    .card {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5em;
    }

    .header p {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.2em;
    }

    button {
        padding: 8px 16px;
        font-size: 0.9em;
    }

    article {
        padding: 20px;
    }
}

@media (max-width: 320px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .header h1 {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 1em;
    }

    table th, table td {
        font-size: 0.8em;
    }
}

