:root {
    --header-height: 3.5rem;
    --first-color: hsl(220, 68%, 54%);
    --first-color-lighten: hsl(220, 68%, 97%);
    --title-color: hsl(220, 48%, 28%);
    --text-color: hsl(220, 12%, 45%);
    --body-color: hsl(220, 100%, 99%);
    --body-font: "Poppins", sans-serif;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
    --font-medium: 500;
    --font-semi-bold: 600;
    --z-tooltip: 10;
    --z-fixed: 100;

    --nubmerOfItems: 6;
    --timeduration: 15s;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--body-color);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

.research-hero {
    background-image: url("https://www.imf.org/-/media/Images/IMF/About/Factsheets/2022/sdgs-header-01.ashx?h=1379&w=5534&la=en");
    background-repeat: no-repeat;
    height: auto;
    aspect-ratio: 20 / 6;
    width: 100%;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.research-hero h1 {
    color: #ffffff;
    font-size: 34px;
    text-align: center;
    padding: 10px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    margin: 0;
}

.vision-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.vision-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.vision-wrapper {
    display: flex;
    gap: 60px;
    align-items: center;
}

.vision-headline {
    flex: 1;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 2.8rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.vision-headline span {
    display: block;
    margin-bottom: 5px;
}

.vision-headline .line-1 {
    color: #006868; /* Darker Teal */
}
.vision-headline .line-2 {
    color: #004d4d; /* Darkest Teal */
}
.vision-headline .line-3 {
    color: #008080; /* Standard Teal */
}


.vision-details {
    flex: 1;
    font-size: 1.05rem;
    color: #222;
}

.vision-details p {
    margin-bottom: 25px;
}

.vision-links {
    display: flex;
    gap: 45px;
}

.vision-links a {
    color: #222;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
}

.vision-links a .arrow {
    color: var( --title-color);
    font-weight: bold;
    margin-left: 4px;
    transition: margin-left 0.2s ease;
    position: absolute;
}

.vision-links a:hover .arrow {
    margin-left: 8px;
}

@media (max-width: 992px) {
    .vision-headline {
        font-size: 2.2rem;
    }
    .vision-details {
         font-size: 1rem;
    }
    .vision-wrapper {
        gap: 40px;
    }
}


@media (max-width: 768px) {
    .vision-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .vision-section {
        padding: 60px 0;
    }
    .vision-headline {
         margin-bottom: 0; 
         align-self: flex-start; 
    }
    .vision-details {
         align-self: flex-start; 
    }
}



.info-cards-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.info-cards-container {
    margin: 0 auto;
    padding: 0 15px;
}

.cards-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
}

.info-card {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
}

.info-card:hover {
    box-shadow: 0 8px 20px rgba(0, 30, 30, 0.15);
}

.info-card img {
    display: block;
    width: 100%;
    height: 250px;
    /* object-fit: cover; */
    transition: transform 0.3s ease;
}

.info-card:hover img {
    transform: scale(1.03); 
}

.card-content {
    background-color: #ffffff; 
    padding: 30px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    display: block;
    font-size: 0.7rem; 
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px; 
    color: #6c757d; 
    margin-bottom: 12px;
    font-family: 'Roboto', sans-serif;
}

.card-title {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
    text-decoration: none;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Roboto', sans-serif;
}

.card-title .arrow {
    color: var(--title-color); 
    font-weight: bold;
    margin-left: 8px;
    display: inline-block; 
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.card-title:hover .arrow {
    transform: translateX(4px); 
    color: var(--first-color);
}


.card-description {
    font-size: 0.95rem;
    color: #495057; 
    flex-grow: 1;
    font-family: 'Roboto', sans-serif;
}


@media (max-width: 992px) {
    .cards-wrapper {
        gap: 20px;
        align-items: center;
    }
     .card-title {
        font-size: 1.4rem;
    }
    .info-card img {
        height: 220px;
    }
    .card-content {
        padding: 25px;
    }
}


@media (max-width: 768px) {
    .cards-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .info-card img {
        height: 250px;
    }
}

@media screen and (max-width: 1118px) {
    .research-hero {
        height: auto;
        aspect-ratio: 20 / 6;
        width: 100%;

    }
}