* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
.bold {
    font-weight: 700;
    font-size: 22px;
}
h1 {
    font-size: 4rem;
}
.pb-2 {
    padding-bottom: 2rem;
}
.block {
    display: block;
}
.main-ul {
    display: flex;
}
.main-ul li {
    list-style: none;
    margin: 0 20px;
}
.main-ul li a {
    text-decoration: none;
    color: #0f2d8f;
    font-size: 1.1rem;
    /* opacity: 0.7; */
    font-weight: 700;
}
.inner-header-container {
    margin-left: 10%;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-footer {
    background-color: #0f2d8f;
    color: white;
    padding: 4rem 10%;
}
.hero {
    display: flex;

    height: 35rem;
    padding: 4rem 0;
    align-items: center;
}
.hero-text-container {
    padding-left: 10%;
    width: 50%;
}
.hero-text-container h1 {
    font-size: 5rem;
    margin-bottom: 1.2rem;
}
.hero-text-container p {
    font-size: 1.2rem;
    opacity: 0.8;
}
.hero-illustration-container {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
}
.hero-illustration-container img {
    width: 100%;
    height: 100%;
}
.introduction-section {
    display: flex;
    flex-direction: column;
    text-align: justify;
    padding: 4rem 10%;
    background-color: #0f2d8f;
    color: white;
}
.introduction-section h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}
.introduction-section p {
    font-size: 1.2rem;
    line-height: 30px;
    opacity: 0.8;
}
.testimoniale-section {
    border-top: dashed 2px #0f2d8f;

    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 3rem 0;
    gap: 100px;
    text-align: justify;
    align-items: flex-start;
    padding-bottom: 0;
}
.testimoniale-text-container {
    width: 55%;
    margin-right: 10%;
}
.testimoniale-section h2 {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}
.testimoniale-text-container p {
    font-size: 18px;
    opacity: 1;
    color: #0f2d8f;
}
.testimoniale-video {
    width: 45%;
    margin-left: 10%;
}
.testimoniale-video video {
    width: 100%;
    margin-bottom: 2rem;
}
.homepage-projects-container {
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    padding: 3rem 10%;
    border-top: dashed 2px #0f2d8f;
    border-bottom: dashed 2px #0f2d8f;
}
.homepage-projects-text {
    text-align: center;
    margin-bottom: 4rem;
}
.homepage-projects-text h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.homepage-projects-text p {
    font-size: 18px;
    color: #0f2d8f;
}
.homepage-projects-cards-container {
    display: flex;
    justify-content: space-between;
}
.card {
    width: 320px;
    box-shadow: 0px 0px 8px 3px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    text-align: justify;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-justify: inter-character;
}
.card-photo-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 5px 5px 0 0;
}
.card-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-text-container {
    padding: 0 20px;
    opacity: 0.8;
}
.card-button-container {
    width: 100%;
    text-align: center;
}
.card-button-container button {
    border: none;
    font-size: 1.2rem;
    background-color: rgba(15, 45, 143, 0.8);
    margin-top: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    color: white;
    padding: 5px 20px;
    border-radius: 5px;
}
.card-button-container button:hover {
    background-color: rgba(15, 45, 143, 1);
}
.homepage-projects-seeall-button-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
    padding-bottom: 0;
}

.homepage-projects-seeall-button-container button {
    border: none;
    font-size: 1.5rem;
    background-color: rgb(40, 40, 40, 0.8);

    cursor: pointer;
    color: white;
    padding: 5px 20px;
    border-radius: 5px;
}
.homepage-projects-seeall-button-container button:hover {
    background-color: rgb(40, 40, 40, 1);
}
.contact-section {
    display: flex;
    align-items: center;
    padding: 2rem 10%;
    gap: 4rem;
}
.contact-text {
    width: 50%;
    text-align: justify;
}
.contact-text h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
}
.contact-text p {
    font-size: 18px;
    color: #0f2d8f;
}
.contact-logos {
    width: 50%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.contact-logo-container {
    padding: 20px;
    width: 200px;
}
.contact-logos img {
    /* flex: 50%; */
    width: 150px;
}
.mobile-icon {
    width: 30px;
    height: 30px;
    z-index: 100;
    position: relative;
    display: none;

    cursor: pointer;
}
.mobile-icon span {
    background-color: black;
    position: absolute;
    height: 4px;
    width: 30px;
    border-radius: 10px;
    transition: all 0.2s ease-in-out;
}
.mobile-icon.open {
    margin-top: 5px;
}
.mobile-icon.open span:nth-child(1) {
    top: 5px;
    transform: rotate(135deg);
}
.mobile-icon.open span:nth-child(2) {
    left: -30px;
    opacity: 0;
}
.mobile-icon.open span:nth-child(3) {
    top: 5px;
    transform: rotate(-135deg);
}
.mobile-icon span:nth-child(1) {
    top: 0;
}
.mobile-icon span:nth-child(2) {
    top: 10px;
    left: 0;
}
.mobile-icon span:nth-child(3) {
    top: 20px;
}
.description-section {
    background-color: white;
    color: black;
    /* border-bottom: dashed 2px #0f2d8f; */
}
@media (max-width: 920px) {
    .top-header {
        padding-top: 10px;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 2;
        background-color: white;
    }
    .top-nav {
        position: fixed;
        background-color: white;
        left: 0;
        top: 70px;
        height: calc(100vh - 70px);
        z-index: 5;
        width: 70%;
        transform: translateX(-100%);
        transition: transform 0.2s ease-in-out;
    }
    .top-nav.open {
        transform: translateX(0);
    }
    .main-ul {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    .main-ul li {
        padding: 20px 0;
    }
    .main-ul li a {
        font-size: 1.5rem;
    }
    .mobile-icon {
        display: flex;
    }
    .div-logo {
        width: 190px;
    }
    .div-logo img {
        width: 100%;
        height: auto;
    }
    .hero {
        flex-direction: column;
        height: auto;
        padding: 2rem 0;
        margin-top: 5rem;
    }
    .hero-text-container {
        padding-left: 0%;
        width: 80%;
        text-align: center;
        padding-bottom: 2rem;
    }
    .hero-text-container h1 {
        font-size: 3rem;
        margin-bottom: 0.6rem;
    }
    .hero-text-container p {
        font-size: 1rem;
        opacity: 0.8;
    }
    .hero-illustration-container {
        width: 45%;
        height: 50%;
        justify-content: center;
    }
    .introduction-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    .introduction-section p {
        font-size: 16px;
    }
    .testimoniale-section {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
        align-items: center;
    }
    .testimoniale-text-container {
        width: 80%;
        margin: 0;
    }
    .testimoniale-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    .testimoniale-text-container p {
        font-size: 16px;
    }
    .testimoniale-video {
        width: 80%;
        margin: 0;
    }
    .homepage-projects-text h2 {
        font-size: 2.5rem;
    }
    .homepage-projects-text p {
        font-size: 16px;
        color: #0f2d8f;
    }
    .homepage-projects-cards-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4rem;
    }
    .card {
        width: 260px;
    }
    .card-photo-container {
        height: 150px;
    }
    .contact-section {
        display: flex;
        flex-direction: column;
        padding: 2rem 0;
        gap: 2rem;
        justify-content: center;
        align-items: center;
    }
    .contact-text {
        width: 80%;
    }
    .contact-text h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    .contact-text p {
        font-size: 16px;
    }
    .contact-logos {
        width: 80%;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .contact-logo-container {
        padding: 0;
        width: 100px;
    }
    .contact-logos img {
        width: 100px;
    }
    .homepage-projects-seeall-button-container button {
        font-size: 1.2rem;
        margin-top: 1rem;
        margin-bottom: 0rem;
        padding: 5px 10px;
    }
}

/* Grecia Heraklion */
.greece-section-img {
    display: flex;
    width: 100%;
    padding: 0 10%;
    justify-content: space-between;
}
.greece-section-img img {
    width: 45%;
}
.greece-text-section {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 4rem 10%;
}
.greece-text-section h1 {
    font-size: 4rem;
    padding-bottom: 1rem;
}
.greece-text-section p {
    font-size: 18px;
    opacity: 0.8;
}

.greece-video-section {
    display: flex;
    justify-content: center;
    padding: 4rem 0;
    width: 100%;
}
.greece-video-section video {
    width: 50%;
}
.greece-section-resource {
    padding: 0 10%;
    padding-bottom: 4rem;
}
.greece-section-resource h2 {
    font-size: 2.5rem;
    padding-bottom: 2rem;
    text-align: center;
    color: #0f2d8f;
}
.greece-section-resource iframe {
    width: 100%;
}
@media (max-width: 920px) {
    .greece-text-section {
        padding: 2rem 10%;
        padding-top: 7rem;
    }
    .greece-text-section h1 {
        font-size: 2.5rem;
    }
    .greece-text-section p {
        font-size: 16px;
    }
    .greece-section-img {
        gap: 4rem;
        flex-direction: column;
    }
    .greece-section-img img {
        width: 100%;
    }
    .greece-section-resource iframe {
        height: 400px;
    }
    .greece-video-section video {
        width: 80%;
    }
}
/* projects page */
.projects-text-section {
    display: flex;
    flex-direction: column;
    padding: 4rem 10%;
    text-align: center;
}
.projects-text-section h1 {
    font-size: 4rem;
    padding-bottom: 1rem;
}
.projects-text-section p {
    font-size: 18px;
    color: #0f2d8f;
}
.projects-project-section {
    display: flex;
    flex-direction: column;
    padding: 4rem 10%;
    padding-top: 0;
}
.project-text {
    padding: 2rem 0;
}
.project-text p {
    color: #0f2d8f;
}
.projects-project-section h2 {
    font-size: 3rem;
    padding-bottom: 1rem;
}
.projects-project-cards-holder {
    display: flex;
    gap: 7.5rem;
}
.emap-paragraph {
    font-size: 1.5rem;
}
@media (max-width: 920px) {
    .projects-project-cards-holder {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .projects-text-section h1 {
        font-size: 2.5rem;
    }
    .projects-text-section p {
        font-size: 16px;
        color: #0f2d8f;
    }
    .projects-text-section {
        padding-top: 7rem;
        padding-bottom: 2rem;
    }
    .projects-project-section h2 {
        font-size: 2rem;
        padding: 2rem 0;
        text-align: center;
    }
    .projects-project-cards-holder {
        gap: 4rem;
    }
}
/* Turkey page */
.turkey-section-img {
    display: flex;
    width: 100%;
    padding: 0 10%;
    justify-content: space-between;
    object-fit: cover;
}
.turkey-section-img img {
    width: 30%;
    object-fit: cover;
}
.turkey-button-section {
    display: flex;
    justify-content: center;
    padding: 2rem;
}
.turkey-button {
    border: none;
    font-size: 1.5rem;
    background-color: rgb(40, 40, 40, 0.8);
    margin-top: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    color: white;
    padding: 5px 20px;
    border-radius: 5px;
}
.turkey-button:hover {
    background-color: rgb(40, 40, 40, 1);
}
@media (max-width: 920px) {
    .turkey-section-img {
        flex-direction: column;
        gap: 4rem;
    }
    .turkey-section-img img {
        width: 100%;
    }
}
/* Portugal page */
.portugal-img-section {
    padding-bottom: 4rem;
}

/* Italy page */
.italy-section-img {
    display: flex;
    width: 100%;
    padding: 4rem 10%;
    padding-top: 1rem;
    justify-content: space-between;
    object-fit: cover;
}
.italy-section-img img {
    width: 40%;
    object-fit: cover;
    height: 300px;
}
.italy-section-resource iframe {
    margin: 2rem 0;
}
@media (max-width: 920px) {
    .italy-section-img {
        flex-direction: column;
        gap: 4rem;
    }
    .italy-section-img img {
        width: 100%;
    }
}

.projects-list-section {
    padding: 2rem 10%;
}
.projects-list-section h2 {
    font-size: 4rem;
}
.project-description {
    padding: 2rem 0;
}
.project-description img {
    height: 150px;
}
.partners-container {
    padding: 1rem 0;
}
.social-media-project-container {
    display: flex;
    flex-direction: column;
}
@media (max-width: 920px) {
    .description-section {
        padding-top: 7rem;
    }
    .projects-list-section h2 {
        font-size: 2.5rem;
    }
    .project-description img {
        max-width: 100%;
        max-height: 100px;
        height: auto;
    }
}
.erasmus-certificate-section {
    padding: 0 10%;
    width: 100%;
    padding-bottom: 4rem;
}
.erasmus-certificate-section img {
    width: 100%;
}
.project-description-title {
    font-size: 1.7rem;
}
.revista-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5%;
    padding: 4rem 0;
}
.revista-container img {
    width: 40%;
}
.revista-container p {
    font-size: 2rem;
    padding: 2rem;
}
.link-revista {
    color: #0f2d8f;
    font-size: 1.5rem;
}
.emap-hero {
    background: url('../poze/poza-tari-background.jpg');
    width: 100%;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}
.emap-hero::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.5);
}
.emap-hero h2 {
    color: white;
    font-size: 3rem;
    
    position: relative;
    text-align: center;
    z-index: 2;
}
.emap-hero p {
    color: white;
    font-size: 1.25rem;
    /* background-color: rgba(0,0,0,0.5); */
    position: relative;
    text-align: center;
    padding: 0 10%;

    z-index: 2;

    
}
.resurse-container {
    display: flex;
    flex-wrap: wrap;
}
.resurse-container > * {
    flex: 0 0 33.333333%;
    justify-content: center;
    padding: 2rem 0;

}
.resursa{
    background-color: #0f2d8f;
    height: 250px;
    width: 75%;
    margin-left: calc(25% / 2);
    text-align: center;
    border-radius: 10px;
    color: white;
    font-size: 1.13rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;

}
.resursa h2 {
    /* justify-content: c; */
}
.subheader-emap {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: #0f2d8f;
}
.subheader-emap img {
    width: 10%;
}
.emap-social-media {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}
.emap-social-media img {
    height: 120px;
    /* height: 110px; */
}
.mob{
    padding-left: 10%;
}
.mob h1{
    font-size: 55px;

}
.mobilitate-emap{
    width: 1000px;
}
.mobilitate-emap video{
    width: 100%;
}
