*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins',sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #000004;
    color: #fff;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}


#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/Home-Bg.jpg);
    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: 140px;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
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: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 40%;
    font-size: 25px;
}
.header-text h1{
    font-size: 55px;
    margin-top: 10px;
}
/*
.header-text h1 span{
    color:#ff004f;
} 
*/
.header-text h2{
    font-size: 30px;
}
.header-text h2 span{
    color: #ff004f;
}
/*--------------------------- About --------------------- */

#About{
    padding: 80px 0;
    color: #ababab;
}
.About-col-1 {
    flex-basis: 35%;
}
.About-col-1 img {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  object-fit: cover;
}
.About-col-2{
    flex-basis: 60%;
}
.About-col-2 .para{
    margin-top: 10px;
    margin-bottom: 20px;
}
.About-col-2 .para span{
    color: #ff004f;
}
.About-col-2 h2{
    color: #ff004f;
    margin-bottom: 5px;
}
.about-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}
.about-list span{
    color: #ff004f;
}
.about-list li {
  margin-bottom: 10px;
  font-size: 15px;
}

.cv-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #262626;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cv-btn:hover {
  background-color: #ff004f;
}

/*-------------------- Skills -------------------*/

#skills {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 150px;
  justify-items: center;
  margin-top: 40px;
}

.skill-item {
  background-color: var(--card-bg, #ffffff00);
  border: 2px solid #ff004f;
  border-radius: 12px;
  padding: 20px;
  width: 140px;
  height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.skill-item:hover {
  background-color: #ff004f;
  color: rgba(255, 255, 255, 0.985);
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.skill-item:hover i {
  color: rgba(255, 255, 255, 0.982) !important;
}

.skill-item i {
  font-size: 50px;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.skill-item p {
  font-size: 16px;
  font-weight: 500;
}


/*-------------------- Project -------------------*/

#projects {
  padding: 60px 0;
  background-color: var(--bg-color);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: var(--card-bg, #ffffff1c);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.project-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 15px;
  color: var(--text-muted, #555);
  margin-bottom: 20px;
}

.project-links a {
  text-decoration: none;
  color: #fffffff8;
  background-color: #ff004f;
  padding: 8px 14px;
  border-radius: 6px;
  margin-right: 10px;
  font-size: 15px;
  transition: background-color 0.3s ease;
}

.project-links a:hover {
  background-color: #e60045;
}


/*---------------------------- Contact --------------------*/
.contact-left{
    flex-basis: 35%;
    margin-bottom: 100px;
}
.contact-right{
    flex-basis: 60%;
    margin-bottom: 100px;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #ff004f;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 40px;
    margin-right: 30px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: #ff004f;
    transform: translateY(-5px);
}
.btn{
    display: inline-block;
    background: #ff004f;
    border-radius: 10px;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}
.copyright i{
    color:#ff004f;
}


/* 🔝 Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: none;
  z-index: 999;
  background-color: #ff004f;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}

/* 🧭 Sticky Navbar */
#navbar.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #000004;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  z-index: 99;
}

/* ✨ Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/*-------------------------------- Css for small screen ------------------------------------*/

nav .fa-solid{
    display: none;
}

@media only screen and (max-width:600px){
    #header{
        background-image: url(images/phone-bg.jpg);

    }
    .header-text{
        margin-top: 120%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fa-solid{
    display: block;
    font-size: 25px;
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 200vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .About-col-1, .About-col-2{
        flex-basis: 100%;
    }
    .About-col-1{
        margin-bottom: 30px;
    }
    .About-col-2{
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }

}
#msg{ 
    color: #61b752;
    margin-top: 20px;
    display: block;
}