* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #E0E9E9;
    color: #1C3F3A;
    min-height: 100vh;
}

/* Header Styles */
.header-bar {
    background-color: #1C3F3A;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(245, 236, 236, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 24px;
}

/* Ensure logo image fits the icon box exactly */
.logo-icon .logo-image,
.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    border-radius: 6px; /* match icon rounding */
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 2px;
    letter-spacing: -0.2px;
}

.logo-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 10px 20px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 14px;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background-color: #FFFFFF;
    color: #1C3F3A;
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-select:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-select .flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
}

.lang-select span {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
}

.lang-select i {
    color: #FFFFFF;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.lang-select:hover i {
    transform: translateY(2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    list-style: none;
    min-width: 160px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #1C3F3A;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.lang-dropdown li:hover {
    background-color: #E0E9E9;
}

.lang-dropdown li .flag {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    object-fit: cover;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 60px 80px;
}

.journey-section {
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1C3F3A;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 18px;
    color: #1C3F3A;
    opacity: 0.7;
    font-weight: 400;
}

/* Cards Container */
.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.card {
    background-color: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(28, 63, 58, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(28, 63, 58, 0.15);
}

.card-image-container {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 32px 28px;
    background-color: #EBE9DA;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1C3F3A;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.card-content p {
    font-size: 15px;
    color: #1C3F3A;
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1C3F3A;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.card-link:hover {
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header-bar {
        padding: 16px 24px;
        flex-direction: column;
        gap: 16px;
    }

    .header-right {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        padding: 8px 16px;
        font-size: 13px;
    }

    main {
        padding: 40px 24px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .section-header p {
        font-size: 16px;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 16px;
    }

    .logo-text p {
        font-size: 11px;
    }

    .section-header h2 {
        font-size: 28px;
    }
    .section-header p {
        font-size: 14px;
    }
}

/* Welcome page background */
.welcome-body {
    /* use absolute path from public/ */
    background-image: url('/public/images/fon.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
