html {
  scroll-behavior: smooth;
}

.color{ 
  --background-color: #101a20; 
  --default-color: #e7f2f7; 
  --heading-color: #ffffff; 
  --accent-color: #1387c1; 
  --surface-color: #141f26; 
  --contrast-color: #ffffff; 
}

body{
    margin-left: 5%;
    text-align: center;
    margin-right: 5%;
    background-color: #101A20;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

p{
    color: white;
}

.navbar{
    display: flex;
    justify-content:center;
    gap: 290px;
}

.nav-links{
    display: flex;
    gap: 40px;
    list-style-type: none;
    margin-top: 5%;

}

.navbar .hero-cta-p a{
    width: 100%;
    padding: 15px 15px 20px 50px;
    margin-top: 40%;
    margin-left: -90%;
    text-align: center;
    font-size: 20px;
}

.nav-medias{
    display: flex;
    margin-right:-30px;
    margin-top: 2%;
}

.nav-medias i{
     color: #B0BEC5;
    font-size: 23px;
    padding: 9px;
}

.logo{
    display: flex;
    gap: 10px;
    margin-top: 1%;
    margin-left: 5%;
}

.logo h1 span, .choice-item span, .copyright span{
   color: #1387c1;
}

.logs{
    text-align: left;
    margin-left: -180px;
}

.logs h1 span{
   color: #1387c1;
}

.logo img{
    width: 20%;
    height: auto;
    border-radius: 50px;
}

.nav-hr hr{
    margin-left: -5%;
    margin-right: -5%;
    border: 0.05px solid #B0BEC5;
    height: 0.2px;
}


@media(max-width:768px){

.navbar{
    display: flex;
    justify-content:space-between;
    gap: 20px;
    margin-left: 30px;
}

.nav-links li{
    display: none;
}

.navbar .hero-cta-p a{
    display: none;
}

.navbar .logo{
    display: flex;
    gap: 10px;
    margin-top: 1%;
}

.hero-image img{
    display: none;
}

.nav-medias{
    display: flex;
    margin-right:50%;
    margin-top: 12%;
}
}

/* PC DISPLAY */
@media(min-width:768px){   
.logo img{
    width: 20%;
    height: 70%;
    border-radius: 100%;
}


.nav-links a:hover{
    color:#1387c1;
}

.nav-medias{
    display: flex;
    margin-top: 4%;
}



.nav-links a{
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.nav-medias i{
     color: #B0BEC5;
    font-size: 23px;
    padding: 14px;
}

.nav-hr hr{
    margin-top: -4%;
}
}

/*===================== HERO-SECTION =======================*/
.hero{  
    margin-top: 5%;
    display: grid;
}

.hero-contents{
    color: white;
}

.hero-contents span, .navbar span{
    color: white;
    font-size: 45px;
}

.hero-contents h1{
    font-size: 60px; 
    color: #1387c1;
     margin-top: -1%;
}

.hero-contents h2{
    font-size: 30px;
}

.hero-contents h3{
    font-size: 30px;
    margin-top: 1%;
}

.hero-contents p, .skills p{
    font-size: 21px;
    color: #B0BEC5;
}

.hero-contents h3{
    color: #B0BEC5;
}

.hero-cta{
    margin-top: 5%;
}


.hero-cta a{
    text-decoration: none;
    padding: 15px 10px 20px 100px;
    border-radius: 20px;
    width: 70%;
    display: flex;
    text-align: center;
}

.hero-cta-p a{
   color: white;
   background-color: #1387c1;
   border: 2px solid #1387c1;
}

.hero-cta-c a{
   color:#1387c1;
   border: 2px solid #1387c1;
   background-color: transparent;
}



.hero-image img{
    width: 80%;
    border-radius: 30px; 
}

.hero-medias i{
    color: white;
    font-size: 37px;
    padding: 10px;
}

.fa-whatsapp:hover{
    color:green;
}

.fa-tiktok:hover{
    color:grey;
}

.fa-instagram:hover{
    color:red;
}

.fa-linkedin:hover{
    color:lightblue;
}

@media(max-width:768px){
    .hero{
        text-align: center;
        justify-content: center;
        margin-left: 30px;
    }
}
@media(min-width:768px){
    .hero{
        display: grid;
        grid-template-columns: repeat(4,1fr);
    }

    .hero-contents{
        display: grid;
        grid-column: span 2;
        text-align: left;
    }

    .hero-contents h2{
    font-size: 35px;
    margin-top: -3%;
}

    .hero-image{
        display: grid;
        grid-column: span 2;
    }

    .hero-cta{
        display: flex;
        gap: 50px;
        margin-top: -15px;
    }
    .hero-cta a{
    padding: 15px 30px;
    width: 70%;
}

   .hero-medias {
     margin-left: 20%;
     margin-top: 5%;
   }
    
}
/*==================== ABOUT US  =================*/
.aboutus{
    position: relative;
    margin-top: 20%;
}

h1{
     color: white;
     font-size: 40px;
}

.aboutus p, .services p, .projects p{
     color:lightgrey;
     font-size: 21px;
}


/* ================= SERVICES ===============*/
.services{
    margin-top: 10%;
}
.serv-container{
    gap: 10px;
}
.serv{
    background-color: #141f26;
    padding: 20px;
    border-radius: 20px;
    border:1px solid #141f26;
    border:1px solid #1387c1;
}

.serv:hover,
.serv:active{
    border:1px solid #1387c1;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.serv h2{
    color:#1387c1;
    font-size: 27px;
}

.serv i{
    color:white;
    font-size:30px;
    background-color:#1387c1;
    padding: 15px;
    border-radius: 10px;
}

@media(min-width:768px){
   .serv-container{
    display: flex;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
} 

  .serv{
    display: grid;
    grid-column: span 1;
    padding: 20px 5px;
  }
}

@media(max-width:768px){
    .serv-container{
     gap: 40px;
    }

    .serv{
    grid-column: span 2;
    padding: 20px 25px;
  }
}



/* ==================== SKILLS ================== */
.skills{
    margin-top: 8%;
}

.skillscontainer{
     display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    border-radius: 20px;
    align-items: center;
    width: 90%;
    gap: 10px;
    overflow: hidden;
}


.slide-track {
  display: flex;
  width: calc(200%); /* because we duplicated slides */
  animation: scroll 20s linear infinite;
}

.slide {
  flex: 0 0 auto; /* ensures each slide keeps its width */
  margin: 0 20px;
}

.slide img {
  width: 80px;
  height: auto;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-119%); /* move exactly half, the duplicated set */
  }
}



.skillscontainer img{
    width: 40%;
    margin-left: 20px; 
}

.skill-quote{
 font-style: italic;
 color: white ;
 font-size: 20px;
 margin-top: 5%;
}

.skillscontainer{
     display: flex;
    flex-direction: row;
}

@media(min-width:768px){
    .skillscontainer img{
        padding: 20px;
    }
.skillscontainer img{
    width: 15%;
}
}

/*============================ PROJECTS =========================*/
.projects{
    margin-top: 30%;
}
.project-container{
   gap:20px;
   display: grid;
   grid-template-columns: repeat(6,1fr);
}

.project-demos{
   padding: 10px 10px;
   display: grid;
   grid-column: span 2;
    transition: transform 0.3s ease-in-out;
}

.project-demos:hover{
      transform: scale(1.05);
    transform: translateY(-5px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1); 
}


.project-demos img{
    border-radius: 20px;
    width: 100%;
   
}

.project-demos p{
    display:flex;
    text-align: left;
}
.project-demos a{
    text-decoration: none;
    color: white;
    background-color: #1387c1;
    border-radius: 20px 0 20px 0;
    padding: 10px 20px;
    width:50%;
    align-items: center;
    margin-left: 39%;
    margin-top: -5%;
}

@media(min-width:768px){
    .projects{
    margin-top: 10%;
}
}

@media(max-width:768px){
    .projects{
    margin-top: 10%;
}

.project-container{
   gap:20px;
   display: grid;
   grid-template-columns: repeat(2,1fr);
}

.project-demos{
   padding: 10px 10px;
   display: grid;
   grid-column: span 2;
}
}

/*======================= TESTIMONIALS =======================*/
.testimonials{
    margin-top: 10%;
    display: flex;
    flex-direction: column;
}

.testimonials p{
    color: #B0BEC5;
}

.testimonial-container{
    margin-top: 3%;
    overflow: hidden;
}

.testimonial-track{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    width: 100%;
}

.testimonial-card{
    display: none;
    flex: 0 1 31%;
    max-width: 360px;
    background-color: #141f26;
    border: 1px solid #1387c1;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: left;
    transition: transform 0.6s ease, opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
}

.testimonial-card.is-prev{
    display: block;
    transform: scale(0.76);
    filter: brightness(0.78);
}

.testimonial-card.is-active{
    display: block;
    transform: scale(1.24);
    z-index: 2;
    box-shadow: 0 24px 32px -10px rgba(0, 0, 0, 0.45);
}

.testimonial-card.is-next{
    display: block;
    transform: scale(0.76);
    filter: brightness(0.78);
}

.testimonial-card.is-hidden{
    display: none;
}

.testimonial-card:hover{
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars{
    color: #1387c1;
    font-size: 18px;
    margin-bottom: 12px;
}

.testimonial-card .quote{
    color: #e7f2f7;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.testimonial-user{
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-user img{
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid #1387c1;
    object-fit: cover;
}

.testimonial-user h3{
    color: white;
    font-size: 18px;
}

.testimonial-user span{
    color: #B0BEC5;
    font-size: 14px;
}

@media(max-width:768px){
    .testimonial-card{
        max-width: none;
        flex-basis: 90%;
    }

    .testimonial-card.is-prev,
    .testimonial-card.is-next{
        display: none;
    }

    .testimonial-card.is-active{
        display: block;
        transform: scale(1);
    }

    .testimonial-card{
        text-align: center;
    }

    .testimonial-user{
        justify-content: center;
    }
}

/*======================== WHY CHOOSE US ===================*/
/* Why Choose Me Section */
.why-choose-me-section {
    padding: 80px 0;
    text-align: center;
}

.why-choose-me-section .section-title {
    font-size: 2.5em;
    color: white;
    margin-bottom: 10px;
}

.why-choose-me-section .section-subtitle {
    font-size: 1.1em;
    color: white;
    margin-bottom: 60px;
}

.choices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for items */
    gap: 30px; /* Space between items */
    margin-top: 40px;
}

.choice-item {
    background-color:#141f26;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    text-align: center;
    margin-left: -5%;
    text-align: center;
}

.choice-item:hover {
    transform: translateY(-8px); /* Lift effect on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.choice-icon {
    font-size: 3em;
    color:white; /* Primary color for icons */
    margin-bottom: 20px;
    background-color: #1387c1;
    border-radius: 10px;
    padding: 20px;
}

.choice-title {
    font-size: 1.5em;
    color:#1387c1;
    margin-bottom: 15px;
}

.choice-description {
    font-size: 0.95em;
    color:white;
    line-height: 1.7;
}

/* Call to Action at the bottom */
.call-to-action {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.call-to-action p {
    font-size: 20px;
    color:white;
    margin-bottom: 25px;
    font-weight: 600;
}

.btn-primary {
    display: inline-block;
    background-color: #3498db;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2980b9;
}

/* =========================== FOOTER ========================*/
.footer{
    margin-top: 5%;
    text-align: left;
    display: flex;
    grid-template-columns: repeat(6,1fr);
    gap: 20px;
}

.footer .choice-item{
    background-color: #101A20;
    box-shadow: none;
}

.footer .choice-item h1{
    margin-top: 5%;
}

.footer .nav-medias{
    margin-left: 10px;
}

.footer .choice-item:hover{
    background-color: none;
    box-shadow: 0;
    transform: none; 
}

.footer .choice-item{
    background-color: none;
    padding: 20px 120px;
}

.gtr{
    display: flex;
    gap: 20px;
}

.footer h1{
    color: white;
    font-size: 43px;
}

.footer h2{
    color:#1387c1;
    font-size: 25px;
}

.footer a{
    color:#B0BEC5;
    text-decoration: none;
    text-align: center;
    padding: 5px;
    display: flex;
}

.footer a:hover{
    color:white;
}


.gtr{
    padding: 10px;
}

.footer-hr hr{
    border : 1px solid #1387c1;
    margin-left: 2%;
    margin-right: 2%;
    height: 0.2px;
}

.copyright{
    text-align:center;
}

.copyright a{
    text-decoration: none;
    color: white;
}


@media(min-width:768px){
    .footer{
        display: flex;
    }

    .footer .logo{
        margin-left: -2%;
    }
    .footer .logo img{
        width: 10%;
        height: 30%;
    }

    .qicklinks{
        margin-left: -50%;
    }


    .contact-info{
        margin-left: 30%;
    }

    .contact-info i{
    margin-top: 4%;
    }
}

@media(max-width:768px){
    .footer{
        display: flex;
        flex-direction: column;
    }

    .choice-item .nav-medias{
        margin-top: -40%;
        margin-left: 20%;
    }

    .footer .choice-item{
    background-color: none;
    padding: 20px 20px;
}
    .footer .logo img{
        width: 10%;
        height: 30%;
    }
   
    .gtr{
    padding: 10px;
    display: flex;
    flex-direction: column;  
    }

    .quick-links{
        margin-top: -130px;
    }

    .footer a{
    color:#B0BEC5;
    text-decoration: none;
    justify-content: center;
    padding: 5px;
    display: flex;
}
  
}
       

    .contact-info i{
    margin-top: 4%;
    }
