@import url('https://fonts.googleapis.com/css2?family=Carme&display=swap');


.upperSec{
    width: 100%;
    height: 30%;
    background-color: var(--sections);
}

.footer-logo{
    cursor: default;
    color: white;
}

.footer-logo:nth-child(1){
    color: var(--c20);
    margin-right:7px;
}

section .heading{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: var(--font);
}

.heading h1{
    margin-top: 9%;
    font-size: 55px;
    font-weight: 400;
}

.heading p{
    margin-top: 9px;
    font-size: 18px;
}

.headingImg{
    width: 16%;
    position: relative;
    margin-top: -166px;
    margin-left: 18px;
}

.discoverText{
    color: white;
    font-family: var(--font);
    font-size: 32px;
    align-self: center;
    justify-self: start;
    width: 126%;
    margin-left: 16%;
}

.discoverText h2{
    width: 58%;
    font-weight: 400;
}

.discoverBtn{
    margin-top: 5%;
    padding: 13px;
    background-color: var(--c20);
    border: transparent 1px solid;
    border-radius: 7px;
    color: white;
    width: 20%;
    font-size: 17px;
    cursor: pointer;
    transition: all .2s linear;
}

.discoverSec{
    width: 87%;
    margin: 3% auto;
    background: var(--major);
    border-radius: 10px;
    display: grid;
    grid-template-columns: 58% 92%;
    padding: 15px;
    box-shadow: 0px 0px 27px 9px rgba(0,0,0,0.99);
}

.discoverImg{
    width: 37%;
    transform: scale(1.2);
    user-select: none;
}

/* recommend sectoin */

.recommend{
    user-select: none;
    font-family: var(--font);
}

.recommendText{
    font-size: 1.7rem;
    margin: 0 0 0 7.5rem;
    font-weight: 600;
}

.recommendCards{
    display: grid;
    grid-template-columns: repeat(4,25%);
    margin: 0 4%;
    margin-top: 4%;
}

.recommend img{
    width: 75%; 
    cursor: pointer;
}

.recommendCard{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* image slider CSS */
.sliderSec{
    margin-top:4rem;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin: 0 auto; /* Center the slider */
}

.slides {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.arrow {
    font-size: 30px;
    font-weight: bold;
    color: var(--c80);
    background-color: var(--c20);
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s linear;
}

.arrow:hover {
    color: var(--c20);
    background-color: var(--c80);
}

.indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--c80);
    margin: 0 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.indicator.active {
    background-color: var(--c20);
}

.service{
    display: flex;
    flex-direction: row;
    margin: 4rem 30vh;
}

.service div{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--c80);
    border-radius: 10px;
    margin: 0 10px;
    width: 400px;
    padding: 10px;
}

.service div h4{
    font-family: var(--font);
    margin: 10px 0;
    font-size: 18px;
}
.service div p{
    margin-bottom: 20px;
    font-family: var(--font);
    font-size: 14px;
    margin: 0 10px 20px 10px;
}

.serviceImg{
    width: 36%;
}

#scrollBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    color: var(--c20);
    background-color: var(--c80);
    transition: all .5s;
    pointer-events: none;
    opacity: 0;
}

#scrollBtn.visible{
    pointer-events: auto;
    opacity: 1;
}

#scrollBtn svg{
    width: 40px;
    height: 40px;
}

footer{
    background: url("../img/background-footer.png") no-repeat center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken;
    height: 23vh;
}

.f-logo-container{
    padding: 10px;
}

.footer-content a{
    cursor: pointer;
    border-bottom: var(--underline);
    color: white;
    margin: 12px 0 30px 7rem;
    font-family: var(--font);
}

.footer-links,.f-logo-container,.footer-content{
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-link,.github-link{
    height: 30px;
    color: var(--c20);
    margin: 0 5px;
    cursor: pointer;
}