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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #2c5aa0 0%, #4a90c2 100%);
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header img {
    float: left;
    margin-right: 1rem;
    border-radius: 8px;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    font-size: 1.5rem;
    color: #94bdf1;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Navigation Styles */
nav {
    margin: 1rem 0;
    clear: both;
    padding-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-weight: 500;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: underline;
}

/* Button Styles */
button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

button:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

main > h2 {
    color: #2c5aa0;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-top: 2rem;
    border-bottom: 3px solid #4a90c2;
    padding-bottom: 0.5rem;
}

/* Section Styles */
section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: #fafbfc;
    border-radius: 8px;
    border-left: 4px solid #4a90c2;
}

section h3 {
    color: #2c5aa0;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

section h4 {
    color: #495057;
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 600;
}

/* Paragraph and Text Styles */
p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1.1rem;
    color: #555;
}

/* List Styles */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    color: #555;
}

li strong {
    color: #2c5aa0;
    font-weight: 600;
}

/* Image Styles */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

th {
    background-color: #2c5aa0;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

tr:nth-child(even) {
    background-color: #f8f9fa;
}

tr:hover {
    background-color: #e3f2fd;
    transition: background-color 0.3s ease;
}

/* Footer Styles */
footer {
    background-color: #343a40;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

footer a {
    color: #4a90c2;
    text-decoration: none;
    font-weight: 600;
}

footer a:hover {
    text-decoration: underline;
    color: #6bb6ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 1rem;
        text-align: center;
    }
    
    header img {
        float: none;
        display: block;
        margin: 0 auto 1rem auto;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    nav a {
        display: block;
        margin: 0.25rem 0;
        padding: 0.75rem;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
    }
    
    main {
        margin: 1rem;
        padding: 0 1rem;
    }
    
    section {
        padding: 1rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 0.5rem;
    }
}

/* Special Elements */
.highlight {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
}

.info-box {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 6px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #17a2b8;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

section {
    animation: fadeIn 0.6s ease-out;
}