/*Fonts*/
@font-face {
    font-family: "visby-bold";
    src: url("../fonts/visby-bold.otf");
}

@font-face {
    font-family: "visby-demi-bold";
    src: url("../fonts/visby-demi-bold.otf");
}

@font-face {
    font-family: "visby-heavy";
    src: url("../fonts/visby-heavy.otf");
}

@font-face {
    font-family: "visby-xtra" ;
    src: url("../fonts/visby-xtra-bold.otf");
}

@font-face {
    font-family: "visby" ;
    src: url("../fonts/visby.otf");
}

/*Body/HTML Styles*/
body {
    height: 100%;
    margin: 0;
    background: linear-gradient(180deg, rgba(0, 62, 146, 1) 0%, rgba(181, 162, 223, 1) 80%);
    background-attachment: fixed;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/*Dark Mode Styles*/
.dark-mode {
    background: #a444b3;
    background: linear-gradient(0deg, rgba(164, 68, 179, 1) 6%, rgba(51, 32, 128, 1) 91%);
    background-attachment: fixed;
}


/*Navigation Bar Styles*/
.navbar {
    display: flex;
    justify-content: space-between;
    font-family: visby;
    align-items: center;
    padding: 10px 20px;
    background: rgba(175, 155, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    top: 0;
    z-index: 1000;
    position: sticky;
}

.navbar nav a {
    color: #fff;
    font-family: visby;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
}

.navbar nav a:hover {
    text-decoration: underline;
}

/*Dark Mode Button Styles*/
button{
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
}

/*Introduction to Alexágono Section*/
.gradient-box {
    font-family: visby;
    margin: 0;
    width: auto;
}

.wrapper-intro {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column by default */
    gap: 10px;
    padding: 50px 20px;
    color: #d9d9d9;
}

.wrapper-intro-text {
    text-align: center;
}

.wrapper-intro-text h4 {
    margin-top: 12%;
    text-align: center;
    font-size: 1.2rem;
    color: #d9d9d9;
}

.wrapper-intro-text h1 {
    font-size: 2rem;
    margin: 10px 0;
}

.wrapper-intro-text h2 {
    font-size: 1rem;
    line-height: 1.5;
    margin-top: 5px;
    margin-bottom: 50px;
}

.CTA-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

.CTA-container a{
    text-decoration: none;
    color: #ffffff;
}

.CTA{
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(35, 40, 57, 0.25);
    box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border-radius: 10px;
    font-family: visby-bold;
}

/*Media queries for CTA Btn*/
@media (min-width: 300px) {
    .CTA {
        width: 150px;
        height: 50px;
        border: 5px;
        border-style: solid;
        border-color: #ffffff;
    }

}

@media (min-width: 768px) {
    .aboutus {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 60px 30px;
    }

    .about-text {
        text-align: left;
        font-size: 1.2rem;
        max-width: 550px;
    }

    .sections-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .CTA {
        width: 200px;
        height: 60px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }
}

@media (min-width: 1440px) {
    .CTA{
        width: 250px;
        height: 80px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }
}

/*Alexágono Services Section*/

.centered-container    h1 {
    color: #ffffff;
    font-family: visby;
    text-align: center;
    margin-bottom: -2rem;
}

.services {
    font-family: visby;
    color: #fff;
    padding: 60px 20px;
}

.sections-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #f8f8f8;
}

.container-services {
    display: grid;
    grid-template-columns: 1fr;
    /* Single column by default */
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service {
    background: rgba(35, 40, 57, 0.25);
    box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
}

.service a {
    text-decoration: none;
}

.service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/*Media Queries for Services*/
 /* Media Queries */
 @media (min-width: 300px) {


    .service h2 {
        font-size: 1.8rem;
    }

    .service p {
        font-size: 1.1rem;
    }
    .service {
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }
}


 @media (min-width: 768px) {
    .container-services {
        grid-template-columns: 1fr 1fr;
        /* Two columns on tablets */
        gap: 30px;
    }

    .service h2 {
        font-size: 1.8rem;
    }

    .service p {
        font-size: 1.1rem;
    }
    .service {
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }
}

@media (min-width: 1024px) {
    .container-services {
        grid-template-columns: repeat(3, 1fr);
        /* Three columns on desktops */
        gap: 40px;
    }

    .service {
        padding: 30px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .service h2 {
        font-size: 2rem;
    }

    .service p {
        font-size: 1.2rem;
    }
}

@media (min-width: 1440px) {
    .services {
        padding: 80px 40px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .sections-title {
        font-size: 2.5rem;
    }

    .service h2 {
        font-size: 2.2rem;
    }

    .service p {
        font-size: 1.3rem;
    }
}

   /*About Alexágono*/
   .aboutus {
    font-family: visby;
    background: rgba(35, 40, 57, 0.25);
    box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px;
    margin: 2rem auto;
    max-width: 1050px;
    /* Constrain the width for larger screens */
}

.sections-title {
    font-family: visby;
    text-align: center;
    font-size: 2rem;
    color: #d9d9d9;
    margin-bottom: 1.5rem;
}

.about-text {
    color: #d9d9d9;
    font-size: 1rem;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 500px;
    /* Constrain text width for better readability */
}

.about-figure {
    display: flex;
    justify-content: center;
}

/* Media Queries for About Alexágono */
@media (min-width: 600px) {
    .about-text {
        font-size: 1.1rem;
    }

    .sections-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 300px) {
    .aboutus {
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .about-text {
        text-align: left;
        font-size: 1.2rem;
        max-width: 550px;
    }

    .sections-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .aboutus {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 60px 30px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .about-text {
        text-align: left;
        font-size: 1.2rem;
        max-width: 550px;
    }

    .sections-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .aboutus {
        padding: 80px 50px;
        gap: 50px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .about-text {
        font-size: 1.3rem;
        max-width: 600px;
    }

    .sections-title {
        font-size: 3rem;
    }
}

@media (min-width: 1440px) {
    .aboutus {
        padding: 100px 80px;
        gap: 60px;
        border: 1px;
        border-style: solid;
        border-color: #ffffff;
    }

    .sections-title {
        font-size: 3.5rem;
    }

    .about-text {
        font-size: 1.4rem;
    }
}

/*Clients Section*/

/*Start now*/







/*Footer Styles*/
footer {
    padding: 1em 1em 1em 1em;
    background: rgba(35, 40, 57, 0.25);
    box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4.5px);
    -webkit-backdrop-filter: blur(4.5px);
    border-radius: 0px;
    color: #fff;
    font-family: visby;
    text-align: center;
}

footer img{
    align-items: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1em;
    margin-top: 1em;
}

.social-links a {
    text-decoration: none;
    color: #fff;
}

.social-links a:hover {
    color: #fff;
}
