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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #e74c3c;
    --accent-color: #3498db;
    --text-color: #2c3e50;
    --light-gray: #ecf0f1;
    --dark-gray: #7f8c8d;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

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

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 2px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

nav a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 152, 219, 0.8) 100%);
    color: white;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: -1px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Main Content */
main {
    margin-bottom: 4rem;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    position: relative;
}

main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* Breadcrumbs */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
    padding: 1rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.breadcrumbs a:hover {
    color: var(--secondary-color);
}

/* Content Sections */
.content-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.content-section:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.content-section h2 {
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.content-section h3 {
    margin: 1.5rem 0 1rem 0;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.content-section p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid #e1e8ed;
    transition: var(--transition);
    position: relative;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.faq-item h3::before {
    content: '❯';
    color: var(--secondary-color);
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

table th {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-weight: 600;
    padding: 1.2rem;
    text-align: left;
}

table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition);
}

table tr:hover td {
    background: rgba(52, 152, 219, 0.1);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Lists */
ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

li::before {
    content: '•';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

footer p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Error 404 Page */
.error-404 {
    text-align: center;
    padding: 6rem 0;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.error-404 h1 {
    font-size: 8rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
}

.error-404 p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.error-404 a {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 600;
    margin: 0.5rem;
}

.error-404 a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    main {
        padding: 2rem 1.5rem;
    }
    
    .content-section {
        padding: 1.5rem;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    table th,
    table td {
        padding: 0.8rem;
    }
    
    .error-404 h1 {
        font-size: 5rem;
    }
}

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

main {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero {
        background: none !important;
        color: black !important;
    }
    
    nav {
        display: none;
    }
    
    footer {
        background: white !important;
        color: black !important;
    }
}