
/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Loader Styles */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
    z-index: 1001;
}

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

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.9);
    padding: 20px 0;
    z-index: 1000;
    transition: background 0.3s;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    margin-right: 20px;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
    transform: scale(1.1);
}

.cta-button {
    background: #FF9800;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
    background: #F57C00;
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #ffffff;
    margin: 4px 0;
    transition: all 0.3s;
}

/* Main Content Styles */
main {
    padding-top: 100px;
    padding-bottom: 50px;
    background: linear-gradient(135deg, #1f4037, #99f2c8);
    min-height: 100vh;
}

.section {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    opacity: 0;
    transform: translateY(50px);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section:nth-child(even) {
    flex-direction: row-reverse;
}

.section .text {
    flex: 1;
    padding: 20px;
    transform: skewX(10deg);
}

.section .text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.section .text p {
    font-size: 1rem;
    color: #dddddd;
}

.section .image {
    flex: 1;
    padding: 20px;
    transform: skewX(-10deg);
    text-align: center;
}

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

.section .image img:hover {
    transform: scale(1.05);
}

/* Sample Article Styles */
.sample-article {
    background: rgba(0, 0, 0, 0.7);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    transform: skewX(10deg);
}

.sample-article h2, .sample-article h3, .sample-article h4 {
    color: #4CAF50;
    margin-bottom: 20px;
}

.sample-article p {
    color: #ffffff;
    margin-bottom: 15px;
}

.sample-article ul, .sample-article ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.sample-article li {
    margin-bottom: 10px;
}

.sample-article pre {
    background: #2c5364;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    color: #f1f1f1;
    font-family: 'Courier New', Courier, monospace;
    margin-bottom: 20px;
}

.sample-article table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

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

.sample-article table th {
    background: #121212;
}

.highlight {
    color: #4CAF50;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background: #121212;
    color: #99f2c8;
    padding: 20px 0;
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links li a {
    color: #99f2c8;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s;
}

.footer-links li a:hover {
    color: #4CAF50;
    transform: scale(1.1);
}

.copyright {
    font-size: 0.9rem;
}

/* Button Styles */
.btn {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn:hover {
    background: linear-gradient(135deg, #f57c00, #ff9800);
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1440px) {
    .section {
        padding: 50px 0;
    }
}

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

@media (max-width: 1024px) {
    .section {
        flex-direction: column;
        align-items: center;
    }

    .section .text, .section .image {
        transform: skewX(0deg);
    }

    nav ul {
        flex-direction: column;
        background: #121212;
        position: absolute;
        top: 60px;
        right: 20px;
        width: 200px;
        display: none;
        border-radius: 5px;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 768px) {
    .sample-article {
        padding: 20px;
    }

    .section, .sample-article {
        transform: skewX(0deg);
    }

    nav ul {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    nav ul {
        width: 100%;
    }

    .section {
        padding: 40px 0;
    }

    .section .text, .section .image {
        padding: 10px;
    }

    .sample-article {
        padding: 15px;
    }
}

@media (max-width: 320px) {
    .logo {
        font-size: 1rem;
    }

    nav ul {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section {
        padding: 30px 0;
    }

    .sample-article {
        padding: 10px;
    }
}

/* Additional Interactive Styles */
nav ul li a.active {
    color: #4CAF50;
    font-weight: bold;
}

button, .cta-button, .btn {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

