/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@400..800&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* UTILS */

/* General Styles */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    background-color: #2b2727;
    background-image: url("/assets/img/back-one-light.jpg");
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

h1,
h2,
h3,
h4, 
.eczar {
    font-family: "Eczar", serif;
    font-optical-sizing: auto;
    text-transform: uppercase;
    font-style: normal;
}

h1,
h2 {
    color: #444;
    font-weight: 600;
    font-size: x-large;
}

h3,
h4 {
    color: #676767;
    font-weight: 400;
    font-size: medium;
    margin: 5px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 200px;
}

button {
    cursor: pointer;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 5px;
    background-color: #dadada;
    color: rgb(99, 99, 99);
    font-size: 16px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #005bb5;
    color: #eee;
}

/* SECTIONS */

.cornered-section-bottom {
    border-radius: 0 0 50px 50px;
}

.cornered-section-top {
    border-radius: 50px 50px 0 0;
}

.cornered-section-both {
    border-radius: 50px 50px 50px 50px;
    border: 2px dotted #eee;
    margin: auto !important;

}

.inside-limit {
    max-width: 1200px;
}

/* TYPO */
.title {
    /* font-family: "Work Sans", serif; */
    font-weight: 600;
    font-size: x-large;
}

.button-text {
    font-weight: 600;
    font-size: small;
    line-height: 1em;
}

/* Layout */
.hero {
    text-align: center;
    padding: 50px 20px;
    background-color: #000;
    background-color: #2b2727;
    background-image: url("/assets/img/back-one.jpg");
    background-repeat: space;
    background-size: cover;
    color: white;
    position: relative;
}

.cta-buttons {
    margin-top: 20px;
}

section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    font-size: 14px;
    margin-top: -100px;
}

footer.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;          
}

footer .cta-buttons {
    display: flex;
    gap: 10px;
    margin: 0;
}

footer .logo {
    max-height: 50px;
    object-fit: contain;
}

footer p {
    margin: 0;
}

.services,
.partners,
.contact {
    padding: 50px 20px;
    position: relative;
    background-repeat: space;
    background-size: cover;
}

.services {
    max-width: 1200px;
}

.services h2,
.partners h2,
.contact h2 {
    margin-bottom: 30px;
}

.links-list {
    text-align: left;
    display: inline-block;
    padding: 5px 20px;
    border-radius: 100px;
    background: linear-gradient(45deg, #d3e0ea, #c9d6e4);
    color: #333;
    margin: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.links-list:hover {
    background: linear-gradient(45deg, #a9bcd0, #d3e0ea);
    color: #000;
}

/* Cards */

.card {
    border: 1px dotted hsl(0deg 0% 62.35% / 42%);
    border-radius: 100px;
    box-shadow: inset 0 3px 2px 0px #2929290a;
    box-sizing: border-box;
    text-align: center;
    transition: background-color 0.3s;
}

.card:hover {
    background-color: #ebebeb;
}

.service-cards,
.partner-cards,
.project-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.partner-cards {
    justify-content: center;
}

.service-card {
    width: calc(25% - 40px);
}

.service-card {
    text-align: left;
}

.service-icon {
    height: 60px;
    vertical-align: sub;
    margin-bottom: 1px;
}

.project-icon {
    height: 60px;
    vertical-align: sub;
    margin: 10px 0 0 0;
}

.socialicon {
    height: 14px;
    vertical-align: bottom;
}
.partner-card, .project-card {
    padding: 10px 20px 10px 20px;
    border-radius: 30px 30px 0 0;
    border: 0;
    max-width: calc(32% - 40px);
}

.partner-card h3 {
    font-weight: 600;
}

.partner-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-top: 10px;
}

.partner-card-expertise {
    font-size: 1rem;
    color: #666;
    font-weight: 800;
}

@media (max-width: 768px) {

    .service-card,
    .partner-card,
    .project-card {
        width: calc(100% - 40px);
        max-width: calc(100% - 40px);
    }
}

@media (max-width: 480px) {

    .service-card,
    .partner-card,
    .project-card {
        width: 100%;
    }
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
textarea,
button {
    font-size: 16px;
    border-radius: 100px;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

form button {
    width: auto;
    align-self: flex-start;
}

/* Skills Section Styles */
.skills {
    padding: 80px 20px 60px 20px;
    text-align: center;
    background-repeat: space;
    background-size: cover;
    margin: -60px auto 0 auto;
    position: relative;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill-item {
    padding: 0 40px;
    cursor: pointer;
}

.skill-icon {
    height: 18px;
    vertical-align: sub;
    margin-bottom: 1px;
}

.skill-item p {
    font-size: 1rem;
    color: #666;
}

.skill-description-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.skill-description {
    margin-top: 20px;
    text-align: center;
    width: 66%;
}

.skill-description h4 {
    font-size: medium;
    margin-bottom: 10px;
    font-weight: bolder;
}

.skill-description p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.skill-descr-divider {
    margin: 35px 0 10px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(100, 100, 100, 0), rgba(0, 0, 0, 0.145), rgba(0, 0, 0, 0));
    flex: 0 0 66%;
}

@media (max-width: 768px) {
    .skill-item {
        /* width: calc(50% - 20px); */
    }
}

@media (max-width: 480px) {
    .skill-item {
        /* width: 100%; */
    }
}

/* Pet projects */
.pet_projects {
    padding: 50px 20px 200px 20px;
    
}