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

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 50%, #34495e 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: linear-gradient(90deg, #2c3e50 0%, #34495e 50%, #27ae60 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 3px solid #27ae60;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ecf0f1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav ul li a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

nav ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

nav ul li a:hover::before {
    left: 100%;
}

nav ul li a:hover {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

/* Main Content */
main {
    margin-top: 80px;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    min-height: calc(100vh - 80px);
}

#home {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #27ae60 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(39, 174, 96, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 204, 113, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(52, 73, 94, 0.4) 0%, transparent 50%);
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { transform: translateX(-10px) translateY(-10px); }
    100% { transform: translateX(10px) translateY(10px); }
}

#home h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, #ecf0f1, #27ae60, #2ecc71);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(39, 174, 96, 0.5)); }
    100% { filter: drop-shadow(0 0 20px rgba(46, 204, 113, 0.8)); }
}

/* Article Section */
#article {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #d5dbdb 50%, #bdc3c7 100%);
}

#article .container {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

#article .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #27ae60, #2ecc71, #16a085, #27ae60);
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

#article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    color: #2c3e50;
}

#article p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #27ae60;
    border-left: 4px solid #27ae60;
    padding-left: 1rem;
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.1), transparent);
    border-radius: 0 10px 10px 0;
}

#article b {
    color: #2c3e50;
    font-weight: bold;
    font-size: 1.15rem;
    display: block;
    margin: 2rem 0 1rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

#article b::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2));
    transform: skewX(-20deg);
    animation: shine 2s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100px) skewX(-20deg); }
    100% { transform: translateX(200px) skewX(-20deg); }
}

#article ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

#article ul li {
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
    position: relative;
    color: #34495e;
}

#article ul li::marker {
    color: #27ae60;
    font-weight: bold;
}

#article ul li:hover {
    color: #2c3e50;
    transform: translateX(5px);
    transition: all 0.3s ease;
}

#article a {
    color: #27ae60;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(46, 204, 113, 0.1));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#article a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.3), transparent);
    transition: left 0.5s;
}

#article a:hover::before {
    left: 100%;
}

#article a:hover {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    text-align: center;
    padding: 2rem 0;
    border-top: 3px solid #27ae60;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(39, 174, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(46, 204, 113, 0.1) 0%, transparent 50%);
}

footer p {
    position: relative;
    z-index: 1;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    main {
        margin-top: 120px;
    }
    
    #home h1 {
        font-size: 2rem;
        padding: 0 1rem;
    }
    
    #article .container {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    #article p {
        font-size: 1rem;
    }
    
    #article b {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    main {
        margin-top: 180px;
    }
    
    #home {
        padding: 2rem 0;
    }
    
    #home h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    #article .container {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
        border-radius: 10px;
    }
    
    #article p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    #article ul {
        padding-left: 1.5rem;
    }
    
    #article ul li {
        font-size: 0.95rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Additional Visual Effects */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#article .container {
    animation: fadeInUp 1s ease-out;
}

/* Hover Effects for Interactive Elements */
nav ul li a,
#article a,
footer {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus States for Accessibility */
nav ul li a:focus,
#article a:focus {
    outline: 2px solid #27ae60;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    header, footer {
        display: none;
    }
    
    main {
        margin-top: 0;
    }
    
    #article .container {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    * {
        background: white !important;
        color: black !important;
    }
}

