*{
    margin: 0;
    padding: 0;
    font-family: 'poppions', sans-serif;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    background: #080808;
    color: #fff;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
}

.container{
    padding: 10px 10%;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo{
    width: 280px;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 10px;
}

nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    position: relative;
}

nav ul li a::after{
    content: '';
    width:0;
    height: 3px;
    background: #FFED00;
    position:absolute;
    left: 0;
    bottom: -6px;
    transition: 0.7s;
}

nav ul li a:hover::after{
    width: 100%;
}

.header-text{
    margin-top: 20%;
    font-size: 30px;
}

.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}

.header-text h1 span{
    color: #FFED00;
    stroke: #fff;
    stroke-width: 2%;
    border: #fff;
    border-width: 5px;
}

/* ---------About --------- */

#about{
    padding: 40px 0 20px;
    color: #fff;
}

.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1{
    flex-basis:  35%;
}

.about-col-1 img{
    width: 100%;
    border-radius:15px;
}

.about-col-2{
    flex-basis: 60%;
}

.sub-title{
    font-size: 60px;
    font-weight: 600;
    color:#fff
}

.tab-titles{
    display: flex;
    margin: 20px 0 20px;
}

.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    
}

.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #FFED00;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link::after{
    width: 50%;
}

.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
    font-size: 18px;
}

.tab-contents ul li span{
    color:#87D1EB;
    font-size: 10px;
}

.tab-contents{
    display: none;
    
}

.tab-contents.active-tab{
    display: block;
    font-size: 16px;
    margin-top: 10px;
}


/* ------------------Services --------------- */

#servics{
    padding: 30 px 0;
}

.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
}

.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}

.services-list div:hover{
    background: #FFED00;
    transform: translateY(-10px);
    color: #080808;
    
}
.services-list div a:hover{
    color: #080808;
}
/* -------------------portfolio------------------- */

#portfolio{
    padding: 50px 0;
}

.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0,0,0,0.6), #FFED00);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}

.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}

.layer a{
    margin-top: 20px;
    color: #000000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: -60px;
    border-radius: 50%;
    text-align: center;
}

.logo.arrow {
    margin-top: 20px;
    color: #FFED00;
    text-decoration: none;
    font-size: 40px;
    line-height: 60px;
    background: #fff;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    text-align: center;
}


.works1text a {
    color: #080808;
    font-weight: bold;
    font-size: 72px;
}

.websitesh3 {
    font-size: 26px;
    font-weight: bolder;

}

.work:hover .img{
    transform: scale(1.1);
}

.work:hover .layer{
    height: 100%;
}

.btn{
    margin: 50px auto;
    display: block;
    width: fit-content;
    border: 1px solid #FFED00;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s, color 0.5s;
}

.btn:hover{
    background: #FFED00;
    color: #080808;
}



/* -------------------Contact------------------- */

.contact-left{
    flex-basis: 35%;

}

.contact-right{
    flex-basis: 60%;
}

.contact-left p{
    margin-top: 30px;
}

.contact-left p i{
    color: #FFED00;
    margin-right: 15px;
    font-size: 25px;
}


.social-icons {
    margin-top: 30px;
}

.social-icons a {
    padding-top: 50px;
    margin-right: 20px;
    text-decoration: none;
    font-size: 35px;
    color: #ababab;
    display: inline-block;
    animation: bounce 1s infinite alternate; /* Added animation */
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-10px);
    }
}

.social-icons a:hover {
    color: #FFED00;
    animation: none; /* Disable animation on hover */
}

/* 
.social-icons{
    margin-top: 30px;
}

.social-icons a{
    padding-top: 50px;
    margin-right: 20px;
    text-decoration: none;
    font-size: 35px;
    color: #ababab;
    transition: transform 0.5s;
    display: inline-block;
}

.social-icons a:hover{
    color: #FFED00;
    transform: translateY(-5px);
} */

.btn.btn2{
    display: inline-block;
    margin-top: 20px;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s, color 0.5s;
}

.btn.btn2:hover{
    background: #FFED00;
    color: #080808;
}

.contact-right form{
    width: 100%;
}

form input, form textarea{
    width: 100%;
    outline: none;
    margin: 15px 0;
    padding: 15px;
    background: #262626;
    border: 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn.btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    color: #ababab;
    font-size: 18px;
}

.copyright a{
    color: #FFED00;
    text-decoration: none;
    font-weight: 500;
}

/* ----------CSS FOR SMALL SCREEN ----------- */

nav .fas{
    display: none;
}


@media only screen and (max-width: 600px){

    #header{
        background-image: url(images/phone-background.png);
    }

    .header-text h1{
        font-size: 30px;
    }

    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }

    nav ul{
        position: fixed;
        width: 200px;
        height: 100vh;
        background: #FFED00;
        top: 0;
        right: -200px;
        /* text-align: center; */
        transition: all 0.5s;
        z-index: 2;
        padding-top: 50px;
    }

    nav ul li{
        display: block;
        margin: 25px;
    }

    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }

    .sub-title{
        font-size: 40px;
    }

    .about-col-1,  .about-col-2 img{
        flex-basis: 100%;
    }
    
    .contact-left, .contact-right{
        flex-basis: 100%;
    }

    .copyright{
        font-size: 14px;
    }
}


#msg{
    color:#61b752;
    margin-top: -40px;
    display: block;
}


#cursor-circle {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid grey; /* Transparent border */
    pointer-events: none; /* Ensure the circle doesn't interfere with cursor events */
    z-index: 9999; /* Ensure the circle is on top of other elements */
  }

/* ----------Certifications Section (Grid Style)----------- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.cert-card {
    background: #262626;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.03);
}

.cert-card:hover {
    transform: translateY(-10px);
}

.cert-card img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.cert-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 15px;
}

/* ----------Testimonials Section----------- */
/* .testimonial-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}
.testimonial-card {
    background: #262626;
    padding: 25px;
    border-left: 5px solid #FFED00;
    border-radius: 10px;
    font-style: italic;
}
.testimonial-card h4 {
    margin-top: 15px;
    color: #87D1EB;
    font-weight: 500;
} */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.testimonial-card {
    background: #262626;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #FFED00;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-card p {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-card h4 {
    margin-top: 15px;
    color: #87D1EB;
    font-weight: 600;
    font-size: 16px;
}

/* ----------Mobile Fixes for New Sections----------- */
@media only screen and (max-width: 600px) {
    .cert-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .cert-item img {
        margin-bottom: 15px;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}