@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body{
    width: 100%;
    height: auto;
    overflow-x: hidden;
}

header{
    z-index: 889;
    position: fixed;
    background-color: rgba(11, 89, 235, 0.836);
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s ease;
}

header.sticky{
    background-color: #255cf1;
    padding: 10px 200px;
}

header .brand{
    color: rgb(202, 9, 9);
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
}

header .navigation{
    position: relative;
}

header .navigation a{
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: 500;
    margin-left: 40px;
}

header .navigation a:hover{
    color: #3a6cf4;
}

header .sticky .navigation a:hover{
    color: black;
}

section{
    padding: 100px 200px;
}


.main{
    position: relative;
    width: 100%;
    height: 110vh;
    display: flex;
    align-items: center;
    background-image: url(logo\ 1.jpg);
    background-size: cover;
    background-position: fixed;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main .content{
    max-width: 100%;
}

.main .content h2{
    color: white;
    font-size: 2em;
    font-weight: 500;
}

.main .content h2 span{
    font-size: 2.8rem;
    font-weight: 600;
}

.animated-text{
    position: relative;
    height: 70px;
    overflow: hidden;
}

.animated-text h5{
    color: #4e9eff;
    font-size: 3em;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: 1px;
}

.animated-text h5:nth-child(1){
    animation: text-move 8s infinite ease-out;
}

@keyframes text-move {
    10%{
        margin-top: 0px;
    }

    20%{
        margin-top: -70px;
    }
    
    30%{
        margin-top: -140px;
    }

    40%{
        margin-top: -210px;
    }
    
    50%{
        margin-top: -290px;
    }

    60%{
        margin-top: -290px;
    }

    70%{
        margin-top: -210px;
    }
    
    80%{
        margin-top: -140px;
    }
    
    90%{
        margin-top: -70px;
    }

    100%{
        margin-top: 0px;
    }

}


.btn{
    color: rgb(255, 255, 255);
    background-color: #3a6cf4;
    font-size: 1em;
    font-weight: 600;
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 2px;
    margin-top: 30px;
    transition: 0.5s ease;
}

.btn:hover{
    background-color: #235bf6;
}

.media-icons{
    margin-top: 50px;
}

.media-icons a{
    color: rgb(255, 255, 255);
    font-size: 50px;
    margin-right: 30px;
}

.icon-img {
  width: 200px;
  height: 100px;
  object-fit: contain; /* ensures image keeps aspect ratio */
}


/* About */

.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section-title{
    position: relative;
    color: #3a6cf4;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 60px;
}

.section-title::before{
    content: "";
    position: absolute;
    top: 56px;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: #3a6cf4;
    transform: translateX(-50%);
}

.section-title::after{
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    width: 10%;
    height: 15px;
    border-radius: 50%;
    background-color: #3a6cf4;
    transform: translateX(-50%);
}

.about .content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.about .content .col-left{
    position: relative;
    width: 100%;
}

.about .content .col-right{
    position: relative;
    width: 100%;
}

.about .content .col-left .img-card{
    position: relative;
    width: 100%;
    min-height: 450px;
}

.about .content .col-left .img-card img{
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 120%;
    object-fit: fill;
    border-radius: 10px;
}

.about .content .col-right .content-title{
    font-size: 2em;
    font-weight: 800;
    margin-bottom: 20px;
}

.about .content .col-right .paragraph-text{
    font-size: 1em;
}

/* Skills Section */

.skills{
    background-color: black;
}

.skills .content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-top: 20px;
}

.skills .content .col-left{
    position: relative;
    width: 100%;
}

.skills .content .col-left .content-title{
    margin-bottom: 20px;
}

.skills .content .col-right{
    position: relative;
    width: 100%;
}

.skills .content .col-right .bar{
    margin-bottom: 25px;
    padding: 10px;
}

.skills .content .col-right .bar .info{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skills .content .col-right .br .info span{
    font-size: 18px;
    font-weight: 500;
}

.skills .content .col-right .bar .line{
    position: relative;
    width: 100%;
    height: 15px;
    background-color: #ccc;
    border-radius: 2px;
}

.skills .content .col-right .bar .line::before{
    content: "";
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 3px;
}

.skills .content .col-right .bar .html::before{
    width: 64%;
    background-color: #e45126;
}

.skills .content .col-right .bar .css::before{
    width: 40%;
    background-color: #0c73b8;
}

.skills .content .col-right .bar .mysql::before{
    width: 70%;
    background-color: #e3a324;
}

.skills .content .col-right .bar .python::before{
    width: 65%;
    background-color: blue;
}

.skills .content .col-right .bar .video::before{
    width: 91%;
    background-color: #6d7eb8;
}

.skills .content .col-right .bar .graphic::before{
    width: 92%;
    background-color: #10aa43;
}

.skills .content .col-right .bar .virtual::before{
    width: 71%;
    background-color: #aa1792;
}

.skills .content .col-right .bar .customer::before{
    width: 71%;
    background-color: #915716;
}

.skills .content .col-right .bar .microsoft::before{
    width: 87%;
    background-color: #00cff3;
}

.skills .content .col-right .bar .figma::before{
    width: 81%;
    background-color: #104bf0;
}


.media-icons img.icon-img {
  width: 45px;
  height: 43px;
  object-fit: contain;
  vertical-align: middle;
  margin: 0px;
  margin-bottom: 10px;
}

/* Services */

.services .content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: 20px;
}

.title p{
    font-size: 1em;
    width: 80%;
    text-align: center;
}

.services .content .card{
    background-color: #fff;
    width: 340px;
    margin: 10px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1/15%);
    transition: 0.3s linear;
}

.services .content .card .service-icon{
    color: #3a6cf4;
    font-size: 8rem;
    text-align: center;
    transition: 0.3s linear;
}

.services .content .card .info{
    text-align: center;
}

.services .content .card .info h3{
    color: #3a6cf4;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px;
    transition: 0.3s linear;
    
}

.services .content .card:hover{
    background-color: #3a6cf4;
    color: white;
}

.services .content .card:hover .service-icon,
.services .content .card:hover .info h3
{
    transform: translateY(-10px);
    color: white;
}

/* Work */

.work{
    background-color: #000016;

}

.work .content{
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 20px;
}

.work .content .card{
    width: 340px;
    margin: 15px;
}

.work .content .card .card-img{
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 10px;
}

.work .content .card .card-img img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 10px;
    transition: 0.3s linear;
}

.work .content .card .card-img img:hover{
    transform: scale(1.2);
}


/* Contact */

.contact .content{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-top: 20px;
  }
  
  .contact .content .row{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
  }
  
  .contact .content .row .card{
    background: #ffffff;
    width: 310px;
    margin: 20px;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
    border-radius: 10px;
  }
  
  .contact .content .row .card .contact-icon{
    color: #3a6cf4;
    font-size: 4em;
    text-align: center;
    transition: transform 0.5s ease;
  }
  
  .contact .content .row .card:hover .contact-icon{
    transform: translateY(-10px);

  }
  
  .contact .content .row .card .info{
    text-align: center;
  }
  
  .contact .content .row .card .info h3{
    color: #111;
    font-size: 1.2em;
    font-weight: 700;
    margin: 10px;
  }
  
  

  /* Footer */
  
  .footer{
    background: #000016;
    color: #ffffff;
    text-align: center;
    padding: 2em;
  }
  
  .footer .footer-title{
    font-size: 20px;
    font-weight: 600;
  }
  
  .footer p{
    font-size: 16px;
    margin-top: 10px;
  }
  
  .footer p a{
    color: #3a6cf4;
    font-weight: 600;
    text-decoration: none;
  }
  

/* ----------- Responsive Styles ----------- */

@media (max-width: 1400px) {
    header, header.sticky, section {
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media (max-width: 1040px) {
    header{
        padding: 12px 20px;
    }

    header.sticky{
        padding: 10px 20px;
    }

    header .navigation{
        display: none;
    }

    .navigation.active{
        z-index: 889;
        position: fixed;
        background-color: white;
        top: 0;
        right: 0;
        width: 80vw;
        max-width: 380px;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        box-shadow: 0 5px 25px rgba(1 1 1/ 15%);
        transition: 0.3s ease;
    }

    header .navigation a{
        color: black;
        font-size: 1.2em;
        margin: 10px;
        padding: 10px 40px;
        border-radius: 5px;
    }

    header .navigation a:hover{
        background-color: #3a6cf4;
        color: white;
        transition: 0.3s ease;
    }

    .menu-btn{
        position: absolute;
        background-image: url(Image/menu.png);
        background-position: center;
        background-size: 30px;
        background-repeat: no-repeat;
        width: 40px;
        height: 40px;
        right: 0;
        margin: 0 20px;
        cursor: pointer;
        transition: 0.3s ease;
    }

    .menu-btn.active{
        z-index: 999;
        background-image: url(Image/close.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25px;
        transition: 0.3s ease;
        filter: invert(1);
    }

    section{
        padding: 80px 20px;
    }

    .main .content h2{
        font-size: 1em;
    }

    .animated-text h3{
        font-size: 2.2em;
    }

    .section-title{
        font-size: 1.8em;
    }

    .about .content{
        flex-direction: column;
    }

    .about .content .column,
    .skills .content .column {
        width: 100%;
        position: relative;
    }

    .about .content .col-right{
        margin-top: 40px;
    }

    .skills .content{
        flex-direction: column;
    }

    .skills .content .col-right{
        margin-top: 40px;
    }

    .contact-form{
        padding: 35px 40px;
    }
}

@media (max-width: 768px) {
    header, header.sticky, section {
        padding-left: 15px;
        padding-right: 15px;
    }
    section{
        padding: 50px 10px;
    }
    .main{
        flex-direction: column;
        height: auto;
        padding-bottom: 40px;
    }
    .main .content{
        max-width: 100%;
    }
    .main .content h2 span{
        font-size: 2.2rem;
    }
    .animated-text{
        height: 45px;
    }
    .animated-text h5{
        font-size: 1.7em;
        line-height: 45px;
    }
    .services .content .card,
    .work .content .card,
    .contact .content .row .card{
        width: 100%;
        max-width: 350px;
    }
    .about .content .col-left .img-card {
        min-height: 250px;
    }
    .footer .footer-title{
        font-size: 18px;
    }
    .footer p{
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    header, header.sticky, section {
        padding-left: 2vw;
        padding-right: 2vw;
    }
    section{
        padding: 25px 2vw;
    }
    .main .content h2, .section-title{
        font-size: 1.2em;
    }
    .main .content h2 span{
        font-size: 1.3em;
    }
    .animated-text h5{
        font-size: 1.2em;
        line-height: 32px;
    }
    .about .content .col-left .img-card img,
    .work .content .card .card-img img,
    .modal-content img,
    .fullscreen img {
        border-radius: 5px;
    }
    .review-card{
        max-width: 98vw;
        padding: 15px;
    }
    .services .content .card,
    .work .content .card,
    .contact .content .row .card{
        max-width: 98vw;
        padding: 14px;
    }
    .footer{
        padding: 1em;
    }
    .footer .footer-title{
        font-size: 15px;
    }
    .footer p{
        font-size: 11px;
    }
}

/* Review Section */
.reviews {
  text-align: center;
  padding: 50px 20px;
  background: #ffffff;
}

.reviews .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.reviews .section-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.review-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.review-card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-text {
  font-style: italic;
  color: #444;
  margin-bottom: 15px;
}

.review-author {
  font-weight: bold;
  color: #007bff;
}


.card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.scrollToTop-btn{
    z-index: 999;
    position: fixed;
    background: #3a6cf4;
    color: #fff;
    width: 45px;
    height: 45px;
    right: 0;
    bottom: 10px;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    border-radius: 3px;
    cursor: pointer;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
  }

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

/* Modal Content */
.modal-content {
  margin: 5% auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 800px;
}

.modal-content img {
  width: 150px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s;
}

.modal-content img:hover {
  transform: scale(1.1);
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Fullscreen Viewer */
.fullscreen {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.95);
  justify-content: center;
  align-items: center;
}

.fullscreen img {
  max-width: 100%;
  max-height: 90%;
  border-radius: 10px;
}

/* --------- End Responsive Styles ---------- */