* {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
}


.circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #3498db;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation:  changeColor 3s infinite alternate;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
 
@keyframes changeColor {
    0% {
        border-color: yellow;
    }
    25% {
        border-color: #e74c3c;
    }
    50% {
        border-color: #f39c12;
    }
    75% {
        border-color: #2ecc71;
    }
    100% {
        border-color: #9b59b6;
    }
}

#what {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    color: white;
    /* animation: changeTextColor 5s infinite; */
}
/* 
@keyframes changeTextColor {
    0% {
        color: #ff0000;  
    }
    25% {
        color: #00ff00; 
    }
    50% {
        color: yellow;  
    }
    75% {
        color: #ff00ff;  
    }
    100% {
        color: #f39c12;  
    }
}

 */

.about-page{
padding: 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    background-color: #3a0ca3;
    box-shadow: 0px 0px 10px #4cc9f0;
}

.navContent {
    display: flex;
    justify-content: center;
    align-items: center;
}

li {
    margin-right: 50px;
    list-style-type: none;
}

a {
    text-decoration: none;
    color: white;
    font-size: 25px;
}

#heading {
    margin-left: 10px;
    color: #4cc9f0;
}

.main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #001d3d;
    height: 640px;
    padding: 10px 5px;
}

#content {
    font-size: 70px;
    margin-left: 20px;
    color: #80ffdb;
    animation: bounce 3s infinite;
}

#name {
    font-size: 60px;
    color: white;
    margin-left: 20px;
}

#what {
    font-size: 30px;
    color: white;
    margin-left: 20px;
}
#typed-name::after {
  content: '|';
  animation: blink 0.7s infinite;
  margin-left: 2px;
  color: #f39c12;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-100px);
    }
    60% {
        transform: translateY(-75px);
    }
} */

#portimage {
    height: 400px;
    width: 400px;
    border-radius: 30px;
}

.rightContent {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 500px;
    height: 500px;
}

.contact-container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-top: 20px;
}

h1 {
    text-align: center;
    color: #608BC1;
}

label {
    font-weight: bold;
    margin-top: 10px;
    display: block;
    color: #555;
}

input,
textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

#submitBtn {
    padding: 10px 20px;
    background-color: #608BC1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 30px;
}

#submitBtn:hover {
    background-color: #0056b3;
}
 
@media (max-width: 767px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }

    .navContent {
        flex-direction: column;
        align-items: flex-start;
    }

    li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .main {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    #content {
        font-size: 40px;
        text-align: center;
        margin-bottom: 20px;
    }

    #name {
        font-size: 30px;
        text-align: center;
        margin-bottom: 20px;
    }

    #what {
        font-size: 20px;
        text-align: center;
    }

    
    #portimage {
        width: 80%;  
        height: auto;
        margin: 0 auto;
    }

    .rightContent {
        width: 100%;
        height: auto;
        margin-top: 20px;
    }

    .contact-container {
        width: 100%;
        padding: 15px;
        box-shadow: none;
        margin-top: 20px;
    }

    #submitBtn {
        font-size: 20px;
        padding: 12px 20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        height: 100px;
    }

    .navContent {
        flex-direction: row;
    }

    li {
        margin-right: 30px;
    }

    .main {
        flex-direction: row;
        padding: 20px;
    }

    #content {
        font-size: 60px;
    }

    #name {
        font-size: 40px;
    }

    #what {
        font-size: 25px;
    }

    #portimage {
        width: 50%;  
        height: auto;
    }

    .contact-container {
        width: 90%;
        padding: 30px;
    }

    #submitBtn {
        font-size: 25px;
        padding: 15px 25px;
    }
}

@media (min-width: 1025px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        height: 100px;
    }

    .navContent {
        flex-direction: row;
    }

    li {
        margin-right: 50px;
    }

    .main {
        flex-direction: row;
        height: 640px;
        padding: 10px 5px;
    }

    #content {
        font-size: 70px;
    }

    #name {
        font-size: 60px;
    }

    #what {
        font-size: 30px;
    }

    #portimage {
        width: 400px;
        height: 400px;
    }
}
#icons{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-bottom: 20px;
}
#instaimg{
    height: 25px;
    width: 25px;
    margin-right: 10px;
}
#linkedinimg{
    height: 25px;
    width: 25px;
    margin-right: 10px;
}
#ytimg{
    height: 25px;
    width: 25px;
    margin-right: 10px;
}
#githubimg{
    height: 25px;
    width: 25px;
    margin-right: 10px;
}
/* Top Projects Section */
#top-projects {
  padding: 60px 20px;
  background-color: #f7f7f7;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #333;
  margin-bottom: 40px;
  font-weight: bold;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  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-title {
  font-size: 22px;
  color: #007acc;
  margin-bottom: 15px;
}

.project-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.project-images img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.project-desc {
  font-size: 16px;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
  text-align: left;
}

.github-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  background-color: #24292e;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.github-link:hover {
  background-color: #444;
}

@media (max-width: 600px) {
  .project-images {
    grid-template-columns: 1fr;
  }

  .project-images img {
    height: 180px;
  }
}
 span{
    color: orange;
 }
.about-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  justify-content: center;
}

.about-card {
  background: #f5f9ff;
  border-left: 5px solid #007bff;
  border-radius: 8px;
  padding: 20px;
  width: 100%;
  max-width: 700px;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
}

.about-card h2 {
  color: #007bff;
  margin-bottom: 10px;
}

.about-card ul {
  padding-left: 20px;
}

.skills-list li {
  list-style-type: circle;
  margin: 5px 0;
}
/* ========== Footer Styling ========== */

.footer {
    background-color: #3a0ca3;
  color: #ffffff;
  padding: 40px 20px 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}

.footer-column {
  flex: 1 1 220px;
  margin: 20px;
}

.footer-column h3 {
  color: #f39c12;
  margin-bottom: 15px;
  font-size: 20px;
}

.footer-column p,
.footer-column ul,
.footer-column a {
  color: #ddd;
  font-size: 20px;
  line-height: 1.7;
  text-decoration: none;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a:hover {
  color: #f39c12;
}

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  color: #ddd;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #f39c12;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 15px;
  margin-top: 30px;
  font-size: 25px;
  color: #999;
}

.back-to-top {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  color: #f39c12;
  font-weight: bold;
  transition: color 0.3s;
}

.back-to-top:hover {
  color: #ffffff;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    margin: 15px 0;
    text-align: center;
  }

  .social-icons a {
    margin: 0 10px;
  }
}
#portimage {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#portimage:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
@media (max-width: 767px) {
    #portimage {
        display: block;
        margin: 0 auto;
    }
}

.role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  justify-content: center;
  text-align: center;
  color: #333;
}

.role-tags .role {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: #fff;
  padding: 0.4em 0.8em;
  border-radius: 20px;
  font-size: 1rem;
  white-space: nowrap;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.role-tags .role:hover {
  transform: scale(1.05);
}

.role-tags .divider {
  color: #aaa;
  font-weight: normal;
  margin: 0 0.3rem;
}
