@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: 100%;
    overflow-x: hidden;
    background:#e5e8e8;


}


header{
    z-index: 889;
    position: fixed;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.2s ease;
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.3), 
              inset -2px -2px 5px rgba(255, 255, 255, 0.2);
}

header{
    background-color: #5C7E8C;
    padding: 10px 200px;
}

header .brand{
    color: #ffffff;
    font-size: 50px;
    font-weight: 800;
    font-style: italic;
}

header .navigation{
    position: relative;
}

header .navigation a{
    color: rgb(255, 255, 255);
    font-size: 1em;
    text-decoration: none;
    font-weight: 500;
    margin-left: 30px;
}


/* Gradient text (works in Chrome/Safari/Edge Chromium) with fallback color */
.animated-text h3:nth-child(1) {
  background: linear-gradient(90deg, #11998e, #38ef7d);
  -webkit-background-clip: text;   
  background-clip: text;           
  color: #11998e;                  
  -webkit-text-fill-color: transparent; 
}

/* other two titles */
.animated-text h3:nth-child(2) {
  background: linear-gradient(90deg, #f39c12, #f1c40f);
  -webkit-background-clip: text;
  background-clip: text;
  color: #f39c12;
  -webkit-text-fill-color: transparent;
}

.animated-text h3:nth-child(3) {
  background: linear-gradient(90deg, #8e44ad, #3498db);
  -webkit-background-clip: text;
  background-clip: text;
  color: #8e44ad;
  -webkit-text-fill-color: transparent;
}



header .sticky .navigation a:hover{
    color: rgb(6, 241, 230);
}

section{
    padding: 100px 200px;
}

.main{
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    background-image: url(ji.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.main .content{
    max-width: 800px;
}

.main .content h2{
    color: rgb(0, 17, 21);
    font-size: 3em;
    font-weight: 400;
    margin-top: 120px;
}

.main .content h2 span{
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.animated-text{
    position: relative;
    height: 70px;
    overflow: hidden;
}

.animated-text h3{
    color: #2b07cc;
    font-size: 3em;
    font-weight: 700;
    line-height: 70px;
    letter-spacing: 1px;
}

.animated-text h3:nth-child(1){
    animation: text-move 6s infinite ease-out;
}

@keyframes text-move {
    0%,15%{
        margin-top: 0px;
    }
    
    25%,40%{
        margin-top: -70px;
    }
    
    50%,65%{
        margin-top: -140px;
    }
    
    75%,90%{
        margin-top: -70px;
    }
    
    100%{
        margin-top: 0px;
    }
}

.btn{
    background: linear-gradient(90deg, #11998e, #38ef7d);
    background-color: #020409;
    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;
    color: #ffffff; 
}



.media-icons{
    margin-top: 80px;
     text-shadow: 4 0 0px rgb(20, 229, 13);
}
.media-icons a {
    font-size: 35px;
    margin-right: 40px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.media-icons a:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px #38ef7d);
}


/* About */

.title{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.section-title {
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 60px;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    -webkit-background-clip: text;   
    background-clip: text;           
    color: transparent;              
    -webkit-text-fill-color: transparent; 
}


.section-title::before{
    content: "";
    position: absolute;
    top: 56px;
    left: 50%;
    width: 140px;
    height: 4px;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    transform: translateX(-50%);
}

.section-title::after{
    content: "";
    position: absolute;
    top: 50px;
    left: 50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    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: 45%;
}

.about .content .col-right{
    position: relative;
    width: 50%;
}

.about .content .col-left .img-card{
    position: relative;
    width: 100%;
    min-height: 450px;
}

.about .content .col-left .img-card img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
/* Circular image with border (frame) */
.about .content .col-left .img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%; /* perfectly circular */
    border: 5px solid #11998e; /* frame color (navbar gradient color) */
    display: block;
}


.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: linear-gradient(135deg, #0f0f0f, #1c1c1c);
  padding: 60px 20px;
  text-align: center;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 30px;
  justify-items: center;
  margin-top: 50px;
}

.skill-item {
  background: linear-gradient(90deg, #11998e, #38ef7d);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px 20px;
  width: 150px;   /* fix card size */
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.skill-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.2));
}

.skill-item p {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.skill-item:hover {
  transform: translateY(-8px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6);
}

/* Responsive: Mobile me 2 ya 1 card per row */
@media (max-width: 900px) {
  .skills-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .skills-container {
    grid-template-columns: 1fr;
  }
}




/* 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: linear-gradient(90deg, #11998e, #38ef7d);
    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: cover;
    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: #fff;
    width: 240px;
    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;
  }
  
  .contact .content .row .card .info span{
    color: #666;
    font-weight: 500;
  }
  
  .contact-form{
    background: #fff;
    max-width: 600px;
    margin-top: 50px;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(1 1 1 / 15%);
  }
  
  .contact-form h3{
    color: #111;
    font-size: 1.6em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .contact-form .input-box{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .contact-form .input-box input,
  .contact-form .input-box textarea{
    color: #111;
    width: 100%;
    padding: 10px;
    font-size: 1em;
    font-weight: 400;
    outline: none;
    border: 1px solid #111;
    border-radius: 5px;
    resize: none;
  }
  .send-btn {
  border: none;
  padding: 12px 25px;
  border-radius: 30px;   /* गोल बटन */
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}

  
  .contact-form .input-box .send-btn{
    color: #fff;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    display: inline-block;
    font-size: 1.1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    width: 100%;
    border: none;
    cursor: pointer;
    transition: 0.5s ease;
    box-shadow:  #38ef7d;
  }
  
 

  .footer {
  background-color: #2c2f48; /* dark navy background */
  text-align: center;
  padding: 40px 20px;
  color: #fff;
}

.footer-logo h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(135deg, #11998e, #38ef7d);
  background-clip: text;              
  -webkit-background-clip: text;      
  color: transparent;                 
  -webkit-text-fill-color: transparent; 
}


.footer-nav {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-nav li a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-nav li a:hover {
  color: #00e676; /* hover green */
}

.footer-social {
  margin: 20px 0;
}

.footer-social a {
  color: #fff;
  margin: 0 10px;
  font-size: 22px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #00e676; /* hover green */
}

.footer-copy {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.8;
}

  


@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: 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: rgb(27, 9, 9);
        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: 50px 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{
        width: 100%;
        position: relative;
    }

    .about .content .col-right{
        margin-top: 40px;
    }

    /* Skills */

    .skills .content{
        flex-direction: column;
    }

    .skills .content .column{
        position: relative;
        width: 100%;
    }

    .skills .content .col-right{
        margin-top: 40px;
    }
 
    .contact-form{
        padding: 35px 40px;
      }
}


.scrollToTop-btn{
    z-index: 999;
    position: fixed;
    background: linear-gradient(90deg, #11998e, #38ef7d);
    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;
  }





