.fa,
.fas {
    font-weight: 900;
    color: #F6B933!important;
    
}

.fa,
.fas:hover {
    font-weight: 900;
    color: ;
}

.mega-container {

    font-family: 'Montserrat', sans-serif;
    padding: 1rem;
}

.mega-container h1 {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 3rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    color: #000000;
}

.mega-container p {}


/* Set up basic styles for the main content */
#main-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
    margin-bottom: 50px;
}

#main-cards-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1rem;
    padding: 2rem 0;
    margin-bottom: 50px;
}

/* Force 3 columns on desktop (>= 1024px) */
@media (min-width: 1024px) {
  #main-cards {
    grid-template-columns: repeat(3, 1fr); /* 3 fixed columns */
  }

  #main-cards-2 {
    grid-template-columns: repeat(2, 1fr); /* 3 fixed columns */
  }
}

#main-cards-e-mobility {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
}



#main-cards-messages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 0.2rem;
}



/* Style each megatrend card */
.card {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 0.25rem;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);*/
    padding: 1rem;

}

/* Style the megatrend card headings */
.card h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Style the megatrend card paragraphs */
.card p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Style the megatrend card chart placeholders */
.card .chart {
    height: 200px;
    background-color: #f0f0f0;
    margin-bottom: 1rem;
}

/* Style the megatrend card reference links */
.card a {
    font-size: 0.9rem;
    color: #0077ff;
    text-decoration: none;
    transition: color 0.2s;
}

.card a:hover {
    color: #004499;
}





.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    color: black;
    text-decoration: none;
}

.card:hover {
    background-color: #f5f5f5;
    transform: translateY(-0.2rem);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

.card .icon:before {
    font-family: 'Font Awesome 5 Free';
    content: attr(data-icon);
}

.card:hover .icon {
    transform: scale(1.1);
    color: #ff4800;
}

.card h2 {
    font-size: 1.5rem;
    text-align: center;
}

.card h4 {
    font-size: 1.5rem;
    text-align: center;
}

.card:hover .icon:before {
    color: #ff0000;
}

.card:nth-child(1) .icon:before {
    color: #3498db;
}

.card:nth-child(2) .icon:before {
    color: #e67e22;
}

.card:nth-child(3) .icon:before {
    color: #9b59b6;
}

.card:nth-child(4) .icon:before {
    color: #2ecc71;
}

.card:nth-child(5) .icon:before {
    color: #f1c40f;
}

.card:nth-child(6) .icon:before {
    color: #34495e;
}

.card p {
    background-color: rgba(255, 255, 255, 0);
    padding: 1rem;
}

.card p {

    line-height: 1.5;
    color: #444;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.8;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.card:hover p {
    opacity: 1;
   /* transform: translateY(-0.5rem);*/
}




.card p a {
    text-decoration: none;
}

@media only screen and (max-width: 768px) {


    .right {
        order: 2;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card {
        height: auto;
    }
}




@media only screen and (min-width: 768px) {


    .right {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card {
        height: auto;
    }
}

@media only screen and (min-width: 1400px) {


    .right {
        order: 2;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card {
        height: auto;
    }
}







@media (min-width: 1200px) {
    .multi-column {
        column-count: 3;
        column-gap: 2rem;
        margin-top: 0.75rem;

    }
}



@media (max-width: 1200px) {
    .multi-column {
        column-count: 2;
        column-gap: 2rem;
        margin-top: 0.75rem;

    }
}

@media (max-width: 720px) {
    .multi-column {
        column-count: 1;
        column-gap: 2rem;
        margin-top: 0.75rem;

    }
}



/* nav for key messages , policy- investment and technical */


#main-cards-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.2rem;
    padding: 0.2rem;
    max-width: 1000px;
    margin: auto;
    margin: 1rem auto 0rem;
}


@media only screen and (max-width: 768px) {

    #main-cards-buttons {

        margin: 1rem auto 0rem;
    }
}

/* Style each megatrend card */




.card-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    background-color: #ffffff4a;
    border-radius: 0.25rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    padding: 0.2rem;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease-in-out;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    color: black;
    text-decoration: none;
}



/* Style the megatrend card headings */
.card-nav h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Style the megatrend card paragraphs */
.card-nav p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Style the megatrend card chart placeholders */
.card-nav .chart {
    height: 200px;
    background-color: #f0f0f0;
    margin-bottom: 1rem;
}

/* Style the megatrend card reference links */
.card-nav a {
    font-size: 0.9rem;
    color: #0077ff;
    text-decoration: none;
    transition: color 0.2s;
}

.card-nav a:hover {
    color: #004499;
}





.card-nav:hover {
    background-color: #f5f5f5;
    /*transform: translateY(-0.2rem);*/
}

.card-nav .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

.card-nav .icon:before {
    font-family: 'Font Awesome 5 Free';
    content: attr(data-icon);
}

.card-nav:hover .icon {
    transform: scale(1.1);
    color: #ff4800;
}

.card-nav h2 {
    font-size: 1.5rem;
    text-align: center;
}

.card-nav h4 {
    font-size: 1rem !important;
    text-align: center;
}

.card-nav:hover .icon:before {
    color: #ff0000;
}

.card-nav:nth-child(1) .icon:before {
    color: #3498db;
}

.card-nav:nth-child(2) .icon:before {
    color: #e67e22;
}

.card-nav:nth-child(3) .icon:before {
    color: #9b59b6;
}

.card-nav:nth-child(4) .icon:before {
    color: #2ecc71;
}

.card-nav:nth-child(5) .icon:before {
    color: #f1c40f;
}

.card-nav:nth-child(6) .icon:before {
    color: #34495e;
}

.card-nav p {
    background-color: rgba(255, 255, 255, 0);
    padding: 1rem;
}

.card-nav p {

    line-height: 1.5;
    color: #444;
    margin-top: 1rem;
    text-align: center;
    opacity: 0.8;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.card-nav:hover p {
    opacity: 1;
    transform: translateY(-0.5rem);
}




.card-nav p a {
    text-decoration: none;
}

@media only screen and (max-width: 768px) {


    .right {
        order: 2;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card-nav {
        height: auto;
    }
}




@media only screen and (min-width: 768px) {


    .right {
        order: 2;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card-nav {
        height: auto;
    }
}

@media only screen and (min-width: 1400px) {


    .right {
        order: 2;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 1rem;
    }

    .card-nav {
        height: auto;
    }
}



.custom-number {
    font-weight: 900;
    font-size: 1.5rem;
}

.card .icon {
    font-size: 3rem;
    /* margin-bottom: 1rem; */
    transition: all 0.3s ease-in-out;
    line-height: 2rem;
}

.card p {
    line-height: 1.5;
    color: #444;
    margin-top: 0rem;
    padding: 0rem;
    text-align: center;
    opacity: 0.8;
    transform: translateY(0.5rem);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}


/*.next {
    background-color: #a5a5a5;
    border-radius: 5px;
    width: 100%;
    padding: 5px 10px;
    text-align: center;
}*/






.area-1 {
    background-color: #aadff6;
    border-radius: 5px;
    width: 100%;
    padding: 5px 10px;
    text-align: center;
}

.area-2 {
    background-color: #d2ce49;
    border-radius: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    width: 100%;
    padding: 5px 10px;
    text-align: center;
}

.area-3 {
    background-color: #9acbb9;
    border-radius: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    width: 100%;
    padding: 5px 10px;
    text-align: center;
}


#chapter-title {

    margin-top: 0px;
}

#m-parallax .parallax-one {
    padding-top: 0px;

}

#main-cards-messages {

    padding-bottom: 3rem;
}