html{
    scroll-behavior: smooth;
    overflow-x: hidden;
    box-sizing: border-box;
}
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #ededed;
    font-family: "Noto Sans", serif;
    box-sizing: border-box;
}
h1{
    font-family: "Outfit", sans-serif;
    font-size: 3.7rem;
    font-weight: 350;
}
h3{
    font-size: 1.7rem;
    color: #03a9f4;
}
p{
    line-height: 1.5;
    font-size: 1.09rem;
}
.heads{
    width: 100%;
    height: 120px;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 100000;
    background-color: #ededed;
}
.heads a img{
    height: 120px;
    width: 120px;
    object-fit: contain;
}
.links a{
    padding: 8px 20px;
    margin-left: 7px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-family: "Poppins", sans-serif;
    transition: all .5s;
}
.links a:hover, .links a.active{
    background: #03a9f4;
    color: #fff;
}
.phone, .mob_menu{
    display: none;
}

.curved-underline {
    position: relative;
    display: inline-block;
    margin-bottom: 23px;
  }
  
  .underline-svg {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    overflow: visible;
  }
  
  .underline-svg path {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw-curve 17s infinite ease-in-out;
  }
  
  @keyframes draw-curve {
    0% {
      stroke-dashoffset: 400;
      opacity: 1;
    }
    8.33% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    83.33% {
      stroke-dashoffset: 0;
      opacity: 1;
    }
    100% {
      stroke-dashoffset: 400;
      opacity: 0;
    }
  }

  

@media (max-width: 800px) {
    .heads {
        display: none;
    }

    .phone {
        display: flex;
        width: 100%;
        height: 100px;
        padding: 0 30px;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        top: 0;
        z-index: 100000;
        background-color: #ededed;
    }

    .phone a img {
        height: 100px;
        width: 100px;
        object-fit: contain;
    }

    .tap i {
        font-size: 24px;
        padding: 10px;
        background: #03a9f4;
        color: white;
        border-radius: 6px;
        cursor: pointer;
    }

    /* Mobile Slide Menu */
    .mob_menu {
        width: 250px;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -260px;
        display: flex;
        flex-direction: column;
        background-color: #fff;
        padding: 20px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.4s ease;
        z-index: 1000001;
        border-radius: 0 0 6px 6px;
    }

    .mob_menu.open {
        right: 0;
    }

    .mob_menu i#closebar {
        align-self: flex-end;
        font-size: 20px;
        color: #333;
        margin-bottom: 20px;
        cursor: pointer;
        transition: transform 0.2s;
    }

    .mob_menu i#closebar:hover {
        transform: rotate(90deg);
    }

    .mob_menu a {
        text-decoration: none;
        color: #000;
        font-family: "Poppins", sans-serif;
        font-weight: 500;
        margin: 20px 2px;
        padding: 8px 20px;
        transition: all 0.3s ease;
    }

    .mob_menu a.active,
    .mob_menu a:hover {
        background: #03a9f4;
        border-radius: 5px;
        color: #fff;
    }

    /* Overlay for dim background */
    #menuOverlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1000;
        display: none;
    }
}
.slight {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1.2s ease-in-out;
}
.slight.visible {
    opacity: 1;
    transform: translateX(0);
}
.nafasi{
    margin-top: 130px;
}
.hedh1{
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

/* Works */
.cando{
    padding: 0 100px;
}
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
}
.work-list .mix img{
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 8px;
}
@media (max-width: 800px){
    .cando{
        padding: 0 30px;
    }
}
.space{
    width: 100%;
    height: 130px;
}

/* How we do it */
.whyus{
    padding: 0 100px;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}
@media (max-width: 800px){
    .whyus{
        padding: 0 30px;
    }
}
.video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
}
.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.follow{
    padding: 20px 100px;
    display: flex;
    justify-content: right;
}
.infollow{
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #000;
    transition: all .5s;
    width: max-content;
}
.infollow p{
    margin-left: 8px;
}
.infollow:hover{
    color: #03a9f4;
}

/* Got Idea */
.gotidea{
    margin: 20px 100px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
}
.fas h4{
    font-family: "Noto Sans", serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}
.fas p{
    font-family: "Noto Sans", serif;
    line-height: 1.5;
    font-size: 1.09rem;
    font-weight: 350;
}
.las a{
    text-decoration: none;
    padding: 8px 35px;
    border: solid 1px #03a9f4;
    border-radius: 20px;
    color: #000;
    transition: all .5s;
    display: flex;
    flex-wrap: wrap;
    margin-left: 30px;
    align-items: center;
    text-align: center;
}

.las a:hover{
    background: #03a9f4;
    color: #fff;
}
@media (max-width: 800px){
    .gotidea{
        margin: 20px 30px;
        padding: 30px 10px;
        flex-direction: column;
        text-align: center;
    }
    .las{
        margin-top: 40px;
    }
    .las a{
    margin-left: 0;
    }
    .follow{
        justify-content: center;
        align-items: center;
        padding: 20px 30px;
    }
}

/* footer */
.footer{
    padding: 30px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4f4f4;
    gap: 40px;
}

.mwanzo img{
    height: 120px;
    width: 120px;
    object-fit: contain;
    object-position: center;
}
.mwanzo p{
    width: 270px;
}
.kati{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 120px;
}
.juu a{
    text-decoration: none;
    padding: 4px 5px;
    margin: 3px;
    color: #000;
    transition: all .5s;
}
.juu a.active{
    text-decoration: underline;
    color: #03a9f4;
}
.juu a:hover{
    text-decoration: underline;
}
.chini a{
    text-decoration: none;
    color: #000;
    font-size: 1.7rem;
    padding: 5px;
    margin: 4px;
    transition: all .5s;
}
.chini a:hover{
    color: #03a9f4;
}
.mwisho p i{
    color: #03a9f4;
}
@media (max-width: 900px) {
    .footer {
      flex-direction: column;
      align-items: center;
      padding: 40px 30px;
      text-align: center;
    }
  
    .mwanzo p {
      width: 100%;
      margin-top: 10px;
    }
  
    .kati {
      height: auto;
      margin: 20px 0;
    }
  
    .juu, .chini {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }
  
    .mwisho p {
      margin: 5px 0;
    }
  }

.desgby{
    padding: 40px 100px;
    display: flex;
    justify-content: right;
}
.desgby a{
    text-decoration: none;
    color: #000;
}
.desgby a span{
    color: #03a9f4;
}
@media (max-width: 800px){
    .desgby{
        padding: 40px 30px; 
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 800px){
    h1{
        font-size: 2.6rem;
        font-weight: 400;
    }
    p{
        line-height: 1.3;
        font-size: .99rem;
    }
    h3{
        font-size: 1.5rem;
        color: #03a9f4;
    }
}