* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header {
    background: linear-gradient(120deg, #4e54c8, #8f94fb);
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 2rem;
    flex-wrap: wrap; 
    max-width: 900px;
    text-align: center; 
}
.profile_img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.profile_img:hover {
    transform: scale(1.05);
}
.header_text h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}
.header_text p {
    color: #e0e0e0;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.social_links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.social_links a {
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    transition: background 0.3s ease;
}
.social_links a:hover {
    background: rgba(255, 255, 255, 0.4);
}
.container{
    padding: 3rem 1rem;
    max-width: 900px;
    margin: auto;
}
.about {
    text-align: center;
}
.about h4 {
    font-size: 1.8rem;
    color: #4e54c8;
    margin-bottom: 1rem;
}
.about p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin: auto;
    font-weight: 600;
}
.education h4{
    text-align: center;
    font-size: 1.8rem;
    color: #4e54c8;
    margin-bottom: 1rem;
}
.college{
    padding: 1rem;
    border-left: 7px solid #4e54c8;
    color: #555;
    margin-bottom: 5px;
    transition: transform 0.3s ease;
    background-color: #e0e0e0;
    border-radius: 10px;
}
.college h5{
    font-size: 1.5rem;
}
.college:hover{
    border-radius: 2px;
    transform: translateX(20px);
    border-left: 7px solid #4ec0c8;
    cursor: pointer;
}
.container h4{
    text-align: center;
    font-size: 1.8rem;
    color: #4e54c8;
    margin-bottom: 1rem;
}
.skills_card{
    border-radius: 15px;
    text-align: center;
    margin: 15px;
    background-color: rgb(248, 247, 247);
    padding: 10px;
    transition: transform 0.3s ease;
    box-shadow: 1px 1px 20px rgb(83, 83, 81);
}
.skills_card:hover{
    box-shadow:7px 5px 33px #07aec4;
    background-color: #07aec4;
    cursor: pointer;
}
.skills_card h3{
    font-size: 1.5rem;
    font-weight: bold;
    color: #4e54c8;
}
.skills_card:hover h3{
    color: #fff;
}
.skills_img{
    width:25vh ;
    height: 25vh;
    object-fit: contain;
}
.skills_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.projects_flex {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.projects_card {
  position: relative; 
  flex: 1 1 calc(50% - 20px);
  max-width: 500px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.projects_card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.project_info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
}


.projects_card:hover .project_info {
  opacity: 1;
  transform: translateY(0);
}


.project_info h5 {
  font-size: larger;
  font-weight: bold;
  color: #fff;
  margin: 5px;
}


.project_info a {
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 900;
  color: #4e54c8;
  background: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-block;
  margin-top: 8px;
}

.connect_flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.connect_card{
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 5px;
    background: linear-gradient(120deg, #4e54c8, #8f94fb);
    box-shadow: 2px 3px 20px rgb(83, 83, 81);
}
.connect_card input,textarea{
    /* width: 250px; */
    width: auto;
    border: 2px solid #f7f3f3;
    border-radius: 5px;
    margin: 10px;
    padding: 10px;
    background-color: #e0e0e0;

}
.connect_card input:hover,textarea:hover{
    border:2px solid #21d89b;
}
button{
    padding: 10px;
    margin: 0 auto;
    background-color: #4e54c8;
    color: #fff;
    border-radius: 5px;
    border: #8f94fb;
    font-size: medium;
    font-weight: bold;
    
}
button:hover{
    background-color: #4ec0c8;
    cursor: pointer;
}
label{
    color: #fff;
    font-size: large;
    font-weight: bold;
    padding-left: 5px;
}

footer{
    padding: 20px;
    margin-top: 2px;
    background-color: #4e54c8;
    color: #e0e0e0;
    text-align: center;
    font-size: large;
    font-weight: bold;
}

