/* General */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,700;0,800;0,900;1,100;1,200;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
}

body{
    font-family: "Poppins", sans-serif;

}

html{
    scroll-behavior: smooth;
}

p, li {
    color: rgb(85,85,85);
}

/* Transiotion*/

a,.btn{
    transition: all 300ms ease;
}



/* Sections */

.rounded-circle{
    border-radius:5%; 
    border: solid grey 5px;
}

section{
    padding: 4rem 0;
    margin: 0 auto;
    max-width: 1200px;
    width: 90%;
}

.section-container{
    display: flex;
    gap: 2rem;
    align-items: center;
}

/* Profile Section */
#profile{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    min-height: calc(100vh - 56px);
    padding: 2rem 0;
}

.section_pic-container{
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    width: 100%;
}

.section_text{
    align-self: center;
    text-align: center;
}

.section_text p{
    font-weight: 600;
}
.section_text_p1{
    text-align: center;
}

.section_text_p2{
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.title{
    font-size: 3rem;
    text-align: center;
}

#socials-container{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

/* ICONS*/
.icon{
    cursor: pointer;
    height: 2rem;
}

/* Buttons */
._btn-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.btn{
    font-weight: 600;
    transition: all 300ms ease;
    padding: 1rem;
    width: 10rem;
    border-radius: 2rem;
}

.btn-color-1, .btn-color-2{
    border: rgb(53,53,53) 0.1rem solid;
}
.btn-color-1:hover, .btn-color-2:hover{
    cursor: pointer;
}
.btn-color-1, .btn-color-2:hover{
    background-color: rgb(53,53,53);
    color:white;
}

.btn-color-1:hover{
    background: black;
}
.btn-color-2{
    background: none;
}
.btn-color-2:hover{
    border: white 0.1rem solid;
}
.btn-container{
    gap: 1rem;
}

/* About Section*/

#about{
    position: relative;
}

.about-containers{
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container{
    justify-content: center;
    flex-direction: column;
}

.about-containers,
.about-details-container {
    display: flex;
}

.about-pic{
    border-radius: 2rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}
.details-container{
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53,53,53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section-container{
    gap: 4rem;
    height: 80%;
}

.about_pic-container{
    max-width: 400px;
    width: 100%;
    margin: auto 0;
}
/* Experince section */
 #experience{
    position: relative;
 }

 .experience-sub-title{
    color:rgb(85,85,85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
 }

 .experinece-details-container{
    display: flex;
    justify-content: center;
    flex-direction: column;
 }

 .article-container{
    display: flex;
    text-align: initial;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 2.5rem;
    justify-content: space-around;
 }

 article{
    display: flex;
    width: 10rem;
    justify-content: space-around;
    gap: 0.5rem;
 }
 article .icon{
    cursor: default;
 }

 /* Project Section */

 #projects{
    position: relative;
 }

 .color-container{
    border-color: rgb(163,163,163);
    background-color:  rgb(250,250,250);
 }
 .project-img{
    border-radius: 2rem;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
 }

 .project-title{
    margin: 1rem;
    color: black;
 }
 .project-btn{
    color: black;
    border-color: rgb(163,163,163);
 }

 /* Contact*/
 #contact {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 6rem 0;
    background-color: #ffffff;
 }
 
 #contact .container {
    max-width: 1200px;
    margin: 0 auto;
 }
 
 #contact .bg-light {
    background-color: #f8f9fa !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
 }
 
 #contact .bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
 }

 .contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
 }

 .contact-info-container p {
    font-size: large;
 }
 .contact-icon{
    cursor: default;
 }

 .email-icon{
    height: 2rem;
 }

/* for social*/
.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .social-links a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #f8f9fa;
  }

  .social-links i,
  .social-links svg {
    font-size: 1.5rem;
    transition: all 0.3s ease;
  }

  .social-links a:hover {
    background-color: #333;
    transform: translateY(-3px);
  }

  .social-links a:hover i,
  .social-links a:hover svg {
    color: #fff;
    fill: #fff;
  }

  #ContactDetails a {
    text-decoration: none; /* Remove underlines from links */
    color: #333; /* Default icon color */
  }
  #ContactDetails a:hover {
    color: silver;
  }

  /* Add padding to body to prevent content from hiding behind the fixed navbar */
  body {
    padding-top: 56px; /* Adjust this value according to your navbar height */
  }

  #skills div {
    border-radius: 25px;
  }

  #projects a{
    text-decoration: none;
    color: black;
    font-weight: 600;
  }
  #projects a:hover{
    text-decoration: none;
    color: silver;
  }


  /* Make navbar transparent initially, then add background on scroll */
  #mainNav {
    transition: background-color 0.3s ease, padding 0.3s ease;
    box-shadow: none;
  }

  #mainNav.navbar-scrolled {
    background-color: rgba(33, 37, 41, 0.95) !important; /* Darker with slight transparency */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding-top: 5px;
    padding-bottom: 5px;
  }
  
    /* Responsive Styles */ 
@media (max-width: 768px) {
        .section-container{
            flex-direction: column;
            gap: 2rem;
        }
        .about-containers{
            flex-direction: column;
        }
        #profile{
            flex-direction: column;
            gap: 2rem;
        }
        ._btn-container{
            flex-direction: column;
        }
        .about-details-container{
            width: 100%;
        }
    }
@media (max-width: 576px) {
        .section-container{
            flex-direction: column;
            gap: 2rem;
        }
        .about-containers{
            flex-direction: column;
        }
        #profile{
            flex-direction: column;
            gap: 2rem;
        }
        ._btn-container{
            flex-direction: column;
        }
        .about-details-container{
            width: 100%;
        }
    }
