@font-face {
    font-family: 'Roboto-condences';
    src: url(https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap) format('woff2');
}

@font-face {
    font-family: 'Roboto';
    src: url(https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap) format('woff2');
}

@font-face {
    font-family: 'Avenir-Next-Medium';
    src: url('../fonts/avenir-next-medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir-Next-Regular';
    src: url('../fonts/avenir-next-regular.ttf') format('truetype');
}

@font-face {
    font-family: 'RobotoCondensed-Black';
    src: url('../fonts/RobotoCondensed-Black.ttf') format('truetype');
}

body {
    margin: 0 !important;
    font-family: 'Avenir-Next-Medium';
    background-color: #f8f9fa;
    color: #333;
}

.hero-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text-overlay {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 80%;
    /*max-width: 800px;*/
}

.hero-text-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 0rem;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);*/
    margin-top: 2rem;
}

.roboto-condensed-title {
    font-family: 'RobotoCondensed-Black';
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.roboto-condensed-title {
    font-family: 'RobotoCondensed-Black';
    font-optical-sizing: auto;
    font-weight: 900;
    font-style: normal;
}

.hero-text-overlay p {
    /*text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);*/
    margin-top: 0rem;
    font-size: 1.4rem;
    font-family: 'Avenir-Next-Medium';
}

:root {
    --primary-color: #006694;
}

.schemes-section {
    margin-top: 5rem;
}

.scheme-card {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.scheme-card:hover {
    transform: translateY(-3px);
}

.scheme-title {
    font-weight: 600;
    color: #222;
}

.scheme-meta {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
}

.scheme-meta i {
    color: #006694;
}

.scheme-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.scheme-btn {
    background-color: #006694;
    color: #fff;
    border-radius: 6px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    transition: background-color 0.2s ease;
}

.scheme-btn:hover {
    background-color: #004d66;
    color: #fff;
}

.scheme-wrapper {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
}

.scheme-details {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.scheme-image {
    width: 50%;
    height: auto;
    display: flex;
}

.scheme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-content {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modal-title {
    font-weight: 600;
    color: #006694;
}

.close-btn {
    padding: 0.3rem 1rem;
    font-size: 0.8rem !important;
}

.scheme-modal-image {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.scheme-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Sidebar cards */
.sidebar-card {
    border: none;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.sidebar-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.sidebar-card ul li {
    padding: 6px 0;
    font-size: 0.95rem;
    border-bottom: 1px dashed #eee;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar img {
    border-radius: 10px;
    object-fit: cover;
}

.sidebar .sticky-top {
    z-index: 1020;
}

.big-scr {
    display: block !important;
}

.sm-scr {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-text-overlay {
        width: 100%;
        top: 30%;
    }

    .hero-text-overlay h1 {
        font-size: 1.7rem;
        margin: 1rem auto -1rem;
    }

    .hero-text-overlay p {
        font-size: 1rem;
        font-family: 'Avenir-Next-Medium';
        margin: 1rem auto;
    }

    .schemes-section {
        margin-top: 0rem;
    }

    .scheme-wrapper {
        flex-direction: column;
    }

    .scheme-details,
    .scheme-image {
        width: 100%;
    }

    .scheme-image {
        border-radius: 0 0 10px 10px;
        height: 200px;
    }

    .big-scr {
        display: none !important;
    }

    .sm-scr {
        display: block !important;
    }
}