/* ===== GENERAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

/* ===== HEADER AND NAVIGATION ===== */
header {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

nav .logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: #2c3e50;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

nav .logo:hover {
    color: #3498db;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:hover {
    color: #3498db;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #3498db;
    transition: width 0.3s ease;
}

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

/* ===== MAIN CONTENT ===== */
main {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.hero img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.hero:hover img {
    filter: brightness(0.8);
}

.hero h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    margin: 0;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    max-width: 90%;
    line-height: 1.2;
}

.hero p {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 90%;
}

/* ===== SECTIONS ===== */
section {
    background: #fff;
    padding: 2.5rem;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

section:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

section h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    display: inline-block;
}

section h2:first-child {
    margin-top: 0;
}

section h3 {
    font-size: 1.5rem;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

section p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}

section ul, section ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

section li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: #555;
}

section a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

section a:hover {
    color: #2980b9;
    border-bottom: 1px solid #3498db;
}

/* ===== TABLES ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

table thead {
    background-color: #3498db;
    color: white;
}

table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

table tbody tr:hover {
    background-color: #f0f8ff;
}

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

/* ===== BLOCKQUOTES ===== */
blockquote {
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #666;
    background-color: #f0f8ff;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 4px;
}

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    text-align: center;
    padding: 3rem 0;
    margin-top: 50px;
}

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

.footer-content a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-content ul li a {
    color: #ecf0f1;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-content ul li a:hover {
    background-color: rgba(52, 152, 219, 0.2);
    color: #3498db;
}

/* ===== BREADCRUMBS ===== */
.breadcrumb {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.breadcrumb span {
    color: #999;
}

/* ===== FAQ SECTION ===== */
.faq-item {
    margin-bottom: 1.5rem;
    border-left: 4px solid #3498db;
    padding-left: 1.5rem;
    background-color: #f8f9fa;
    padding: 1rem 1rem 1rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: #f0f8ff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item strong {
    color: #2c3e50;
    font-size: 1.05rem;
}

.faq-item p {
    margin-top: 0.5rem;
    color: #555;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav .logo {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    nav ul {
        gap: 15px;
        justify-content: center;
    }

    nav ul li a {
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero img {
        height: 300px;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    section h3 {
        font-size: 1.2rem;
    }

    main {
        width: 95%;
    }

    table {
        font-size: 0.9rem;
    }

    table th, table td {
        padding: 0.75rem;
    }

    .footer-content ul {
        gap: 10px;
    }
}

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

    nav ul {
        gap: 10px;
        flex-direction: column;
    }

    nav ul li a {
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .hero img {
        height: 200px;
    }

    section {
        padding: 1rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    section h3 {
        font-size: 1rem;
    }

    section p {
        font-size: 0.95rem;
    }

    table {
        font-size: 0.8rem;
    }

    table th, table td {
        padding: 0.5rem;
    }

    footer {
        padding: 2rem 0;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.highlight {
    background-color: #fff3cd;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
}

.badge {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
}
