/* Header Section */
header {
    display: flex;
    background-image: url('../images/blue-color-gradient.avif'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    color: white; 
    border-radius: 30px;
    margin: 60px 10px 0px 10px;
    padding: 0;
    visibility: hidden;
    overflow-x: hidden;
    width: calc(100% - 20px);
}
#header-contact {
    margin: 5px;
    width: fit-content;
    border-radius: 20px;
    text-transform: none;
}

/* Main Section */
main {
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Services Section */
#services-section {
    background-color: white; 
    padding: 10px;
    visibility: hidden;
}
#services-section h2 {
    margin: 10px; 
    text-align: center;
}
#services a {
    text-decoration: none;
}
.services-card:hover {
    scale: 1.1;
}
#services p {
    text-align: center;
}

/* Experience Section */
#experience-section {
    background-image: url('../images/light-blue-color-gradient.webp'); 
    background-repeat: no-repeat; 
    background-size: cover; 
    border-radius: 30px;
    display: flex; 
    justify-content: space-evenly;
    color: white;
    visibility: hidden;
    margin: 10px;
}
.experience-item {
    display: flex; 
    flex-direction: column; 
    align-items: center;
    margin: 10px;
}

/* Partnership Section */
#partnerships-section {
    visibility: hidden;
}
#partnerships-section-title {
    margin: 10px; 
    text-align: center; 
    color: #1565C0;
}
#partnerships-section-img-container {
    display: flex;
    justify-content: space-evenly; 
    padding-bottom: 20px;
}
#partnerships-section-img-container picture {
    width: 80px; 
    height: 80px; 
    margin: 10px;
}
#partnerships-section-img-container img {
    width: 80px; 
    height: 80px; 
}

/* Small screens (Mobile) */
@media only screen and (max-width: 600px) {

    /* Header Section */
    #header-image {
        width: 35%;
        height: auto;
        margin-bottom: 10px;
    }
    header img {
        width: 100%;
        height: 100%;
    }
    #header-text-container {
        width: 60%;
    }
    header h1 {
        font-family: 'Cormorant', serif;
        font-size: 18px;
        padding: 0;
        margin: 5px 0px 3px 0px;
    }
    header p {
        font-size: 13px;
        margin: 0;
        padding: 0;
    }

    /* Services Section */
    #services {
        display: flex;
        overflow-x: auto;
        font-family: 'Agbalumo';
    }
    .services-card {
        width: 120px;
        padding: 10px;
        margin: 20px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 10px 10px 10px gray, -5px -5px 10px gray;
        color: #1565C0;
        flex: 0 0 auto;
    }

    /* Experience Section */
    .experience-item p {
        font-size: 15px;
    }
}

/* Medium screens (Tablets) */
@media only screen and (min-width: 601px) and (max-width: 1024px) {

    /* Header Section */
    #header-image {
        width: 297px;
        height: 500px;
        margin: 5px;
    }
    header img {
        width: 297px;
        height: 500px;
    }
    #header-text-container {
        width: 55%;
        padding: 10px;
    }
    header h1 {
        font-family: 'Cormorant', serif;
        font-size: 35px;
    }
    header p {
        font-size: 20px;
    }

    /* Services Section */
    #services {
        display: flex;
        overflow-x: auto;
        font-family: 'Agbalumo';
        scrollbar-width: none;
    }
    .services-card {
        width: 120px;
        padding: 10px;
        margin: 20px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 10px 10px 10px gray, -5px -5px 10px gray;
        color: #1565C0;
        flex: 0 0 auto;
    }

    /* Experience Section */
    .experience-item p {
        font-size: 15px;
    }
}

/* Large screens (Desktops) */
@media only screen and (min-width: 1025px) {

    /* Header Section */
    #header-image {
        width: 339px;
        height: 500px;
        margin: 10px;
    }
    header img {
        width: 339px;
        height: 500px;
    }
    #header-text-container {
        width: 50%;
        padding: 10px;
    }
    header h1 {
        font-family: 'Cormorant', serif;
        font-size: 45px;
    }
    header p {
        font-size: 20px;
    }

    /* Services Section */
    #services {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        font-family: 'Agbalumo';
    }
    .services-card {
        width: 120px;
        padding: 10px;
        margin: 20px;
        border-radius: 50%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-shadow: 10px 10px 10px gray, -5px -5px 10px gray;
        color: #1565C0;
        flex: 0 0 auto;
    }

    /* Experience Section */
    .experience-item p {
        font-size: 20px;
    }
}