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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    word-wrap: break-word;
}

p, li, span, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html {
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* Page Loader */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#page-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(37, 99, 235, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header & Navigation */
header {
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.logo a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo a:hover {
    transform: translateX(2px);
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.logo a:hover .logo-mark {
    transform: rotate(-15deg) scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: -0.5px;
    margin: 0;
}

.logo-tagline {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.3px;
    text-transform: lowercase;
    margin-top: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s;
    padding: 0.25rem 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 500;
}

.lang-switcher {
    display: inline-flex;
    background: var(--bg-light);
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    white-space: nowrap;
}

.lang-btn:hover {
    color: var(--text-color);
    background: rgba(37, 99, 235, 0.05);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    transform: translateY(-1px);
}

.lang-btn.active:hover {
    background: var(--secondary-color);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.lang-flag {
    font-size: 1.1rem;
    line-height: 1;
    display: inline-block;
    transition: transform 0.3s ease;
}

.lang-btn.active .lang-flag {
    transform: scale(1.1);
}

.lang-code {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Main Content */
main {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hero Section */
.hero {
    background: var(--bg-color);
    color: var(--text-color);
    padding: 6rem 0 4rem;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.hero::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 0 4px 4px 0;
}

.hero .container {
    position: relative;
    padding-left: 3rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    max-width: 800px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    line-height: 1.7;
    font-weight: 400;
}

/* Intro Section */
.intro {
    padding: 3rem 0;
    background: var(--bg-light);
}

.intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--text-light);
}

/* Countries Section */
.countries {
    padding: 4rem 0;
}

.countries h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.country-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.country-card {
    background: var(--bg-color);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    display: flex;
    flex-direction: column;
}

.country-card:first-child {
    grid-row: span 2;
    border-left: 3px solid var(--primary-color);
}

.country-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.country-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    filter: grayscale(20%);
}

.country-card:first-child img {
    height: 400px;
}

.country-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0%);
}

.card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.country-card:first-child .card-content {
    padding: 2.5rem;
}

.card-content h3 {
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.country-card:first-child .card-content h3 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.card-content h3 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.card-content h3 a:hover {
    color: var(--primary-color);
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.card-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.price-tag {
    background: transparent;
    color: var(--text-color);
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
}

.time-tag {
    background: transparent;
    color: var(--text-light);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
    font-size: 0.85rem;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 0;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    margin-top: auto;
    width: fit-content;
}

.btn:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    gap: 0.75rem;
}

/* Why Travel Section */
.why-travel {
    padding: 6rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.why-travel h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 4rem;
}

.features-scroll {
    position: relative;
    min-height: 800px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    position: absolute;
    width: 45%;
    max-width: 500px;
    min-width: 280px;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    pointer-events: none;
    box-sizing: border-box;
}

.feature.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}

.feature-1 {
    top: 0;
    left: 0;
}

.feature-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) translateY(50px) scale(0.9);
}

.feature-2.active {
    transform: translateY(-50%) translateY(0) scale(1);
}

.feature-3 {
    bottom: 0;
    left: 0;
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.3);
}

.feature:hover::before {
    transform: scaleX(1);
}

.feature h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    position: relative;
    padding-left: 1.5rem;
}

.feature h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: height 0.3s ease;
}

.feature:hover h3::before {
    height: 32px;
}

.feature p {
    color: var(--text-light);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.feature:hover p {
    color: var(--text-color);
}

/* Country Page */
.country-page {
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

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

.breadcrumb a::before {
    content: '←';
    font-size: 1rem;
    margin-right: 0.25rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 6px;
    transition: all 0.3s;
    margin-bottom: 1.5rem;
    background: var(--bg-color);
}

.back-button:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--secondary-color);
}


.article-header {
    margin-bottom: 2rem;
}

.article-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-light);
    font-size: 0.9rem;
}

.hero-image {
    width: 100%;
    max-width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: block;
    box-sizing: border-box;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.article-content .lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-content section {
    margin-bottom: 3rem;
}

.article-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.article-content a:hover {
    border-bottom-color: var(--primary-color);
}

.place-card {
    margin-bottom: 3rem;
}

.place-card img {
    width: 100%;
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
    display: block;
    box-sizing: border-box;
}

.hotel-recommendation {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.hotel-recommendation h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.practical-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 8px;
}

.practical-info ul {
    list-style: none;
    padding-left: 0;
}

.practical-info li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.practical-info li:last-child {
    border-bottom: none;
}

/* Page Content */
.page-content {
    padding: 2rem 0;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
}

.content-section h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
    color: var(--text-color);
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info h2 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.contact-info ul {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    padding: 0.5rem 0;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.faq {
    margin-top: 2rem;
}

.faq h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-color);
}

.faq p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-stats {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-stats strong {
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.footer-email {
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.footer-social {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    margin: 0 0.25rem;
}

.footer-social a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-legal {
    text-align: center;
}

.footer-legal p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 0;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
        font-size: 0.9rem;
    }

    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .lang-switcher {
        align-self: flex-end;
        margin-top: -2.5rem;
        padding: 2px;
    }

    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }

    .lang-flag {
        font-size: 1rem;
    }

    .hero {
        padding: 3rem 0 2rem;
    }

    .hero::before {
        height: 60px;
    }

    .hero .container {
        padding-left: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        padding: 0;
        margin-bottom: 1rem;
    }

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

    .intro {
        padding: 2rem 0;
    }

    .intro p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.85rem;
    }

    .country-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .country-card:first-child {
        grid-row: span 1;
    }

    .country-card:first-child img {
        height: 250px;
    }

    .country-card:first-child .card-content {
        padding: 2rem;
    }

    .country-card:first-child .card-content h3 {
        font-size: 1.75rem;
    }

    .card-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .countries {
        padding: 2.5rem 0;
    }

    .why-travel {
        padding: 3rem 0;
    }

    .why-travel h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .features {
        grid-template-columns: 1fr;
    }
    
    .features-scroll {
        min-height: 600px;
        padding: 0 1rem;
    }
    
    .feature {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: auto !important;
        margin-bottom: 2rem;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto !important;
    }
    
    .feature-1,
    .feature-2,
    .feature-3 {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
    
    .feature.active {
        transform: none !important;
    }
    
    .feature-2.active {
        transform: none !important;
    }
    
    .hero-image {
        height: 250px;
    }
    
    .place-card img {
        height: 200px;
    }
    
    .country-card img {
        height: 180px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .logo-mark {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }
    
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .back-button {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .breadcrumb {
        font-size: 0.85rem;
    }

    .article-content {
        padding: 0 0.5rem;
    }

    .article-content section {
        margin-bottom: 2rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .card-content {
        padding: 1.25rem;
    }

    .card-content h3 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }

    .page-content {
        padding: 1.5rem 0;
    }

    .page-content h1 {
        font-size: 2rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .history-timeline {
        padding: 1.5rem 0;
    }

    .timeline-item {
        padding-left: 3.5rem;
        margin-bottom: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .history-stats {
        padding: 2rem 1.5rem;
    }

    .history-stats h2 {
        font-size: 1.75rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .history-mission {
        padding: 2rem 1.5rem;
    }

    .history-mission h2 {
        font-size: 1.75rem;
    }
}

/* History Page Styles */
.history-page {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
}

.history-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.history-intro .lead {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 400;
}

.history-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 3rem 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0.5rem;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.2);
}

.timeline-year {
    position: absolute;
    left: -1rem;
    top: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left-color: var(--primary-color);
}

.timeline-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.history-stats {
    margin: 4rem 0;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 16px;
    color: white;
}

.history-stats h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.history-mission {
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.history-mission h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.history-mission p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .history-timeline::before {
        left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 4rem;
    }
    
    .timeline-year {
        position: static;
        display: inline-block;
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #ffffff 0%, #f9fafb 100%);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    border-top: 3px solid var(--primary-color);
    z-index: 10000;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    margin: 0 0 0.75rem 0;
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
}

.cookie-text > p {
    margin: 0 0 1.25rem 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
}

.cookie-types {
    background: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    border-radius: 4px;
}

.cookie-type {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-type:last-child {
    margin-bottom: 0;
}

.cookie-type strong {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
}

.cookie-type span {
    color: var(--text-light);
}

.cookie-policy {
    margin: 1rem 0 0 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cookie-policy a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

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

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 180px;
}

.cookie-btn {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
}

.cookie-accept {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.cookie-accept:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cookie-reject {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

.cookie-reject:hover {
    background: var(--bg-light);
    border-color: var(--text-light);
    color: var(--text-color);
}

.cookie-settings {
    background: var(--bg-light);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    padding: 0.65rem 1.2rem;
}

.cookie-settings:hover {
    background: var(--border-color);
    border-color: var(--text-light);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 1.5rem;
        max-height: 85vh;
    }

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .cookie-icon {
        font-size: 2rem;
        align-self: center;
    }

    .cookie-text {
        min-width: auto;
    }

    .cookie-text h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .cookie-types {
        padding: 0.875rem 1rem;
    }

    .cookie-type {
        font-size: 0.85rem;
    }

    .cookie-type strong {
        display: block;
        margin-bottom: 0.25rem;
        min-width: auto;
    }

    .cookie-buttons {
        width: 100%;
        min-width: auto;
    }

    .cookie-btn {
        width: 100%;
        padding: 0.75rem 1.2rem;
    }
}

