
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #ffffff;      
  --color-text: #000000;    
  --color-accent: #444444;  
  --color-muted: #777777;   
}




body {
  font-family: 'Roboto', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
}



nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color-accent);
}


nav .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}


nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 2px;
}

.logo img {
  height: 40px;
  width: auto;
}


.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; 
  text-align: center;
  min-height: 100vh; 
  background: var(--color-bg);
  color: var(--color-text);
  padding: 2rem;
}


.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}


.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--color-accent);
}


.hero p {
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1rem;
  line-height: 1.6;
}


.hero .btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--color-text);
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.hero .btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}


.hero img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}



.about {
  padding: 4rem 2rem;
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}

.about p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about .Interests {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.about .Interests {
  border: 2px solid var(--color-text);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about .Interests:hover {
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
}

.about h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.about ul {
  list-style: none; 
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
}

.about ul li {
  background: var(--color-bg);
  border: 2px solid var(--color-text);
  margin: 0.5rem 0;
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  text-align: center;
  transition: all 0.3s ease;
}

.about ul li:hover {
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
}

.skills {
  padding: 4rem 2rem;
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
}

.skills h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.skills h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.skill-item {
  border: 2px solid var(--color-text);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  background: var(--color-bg);
}

.skill-item:hover {
  background: var(--color-text);
  color: var(--color-bg);
  cursor: pointer;
}

.skill-item img {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}



.projects {
  padding: 4rem 2rem;
  text-align: center;
  background: var(--color-bg);
  color: var(--color-text);
}

.projects h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  display: inline-block;
  position: relative;
}

.projects h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}


.project-item {
  border: 2px solid var(--color-text);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--color-bg);
  text-align: left;
}

.project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


.project-item h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.project-item p {
  font-size: 1rem;
  line-height: 1.6;
}


.project-item a {
  display: inline-block;
  margin-top: 10px;
  margin-right: 10px;
  padding: 8px 16px;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.project-item a:hover {
  background: var(--color-text);
  color: var(--color-bg);
}




.contact {
  padding: 4rem 2rem;
  background: var(--color-bg);
  color: var(--color-text);
  text-align: center;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.5rem auto 0;
}

.contact p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0.5rem auto 2rem;
  line-height: 1.6;
}


.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-info a {
  color: var(--color-text);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--color-accent);
}


.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-form label {
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border: 2px solid var(--color-text);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text);
  font-size: 1rem;
  width: 100%;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}


.contact-form button {
  padding: 10px 20px;
  border: 2px solid var(--color-text);
  background: var(--color-bg);
  color: var(--color-text);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: var(--color-text);
  color: var(--color-bg);
}
.formMessage{
    background: var(--color-bg);
  color: var(--color-text);
}





#footer {
  background: var(--color-text); 
  color: var(--color-bg);        
  padding: 2rem;
  text-align: center;
}

#footer p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-accent); 
}


/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}


@media (max-width: 768px) {
  

  nav {
    padding: 1rem;
    flex-wrap: wrap;
  }
  
  .nav-toggle {
    display: block;
  }
  
  nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    background: var(--color-bg);
    padding: 1rem 0;
    border-top: 1px solid var(--color-accent);
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    text-align: center;
  }


  .hero {
    padding: 1rem;
    min-height: 90vh;
  }
  
  .hero h1 {
    font-size: 2rem; 
  }
  
  .hero h2 {
    font-size: 1.2rem;
  }
  
  .hero img {
    width: 120px;
    height: 120px;
  }

  
  .about {
    padding: 3rem 1rem;
  }
  
  .about h2 {
    font-size: 1.5rem;
  }
  
  .about .Interests {
    gap: 0.5rem;
  }

  
  .skills {
    padding: 3rem 1rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .skill-item {
    padding: 1rem;
  }

 
  .projects {
    padding: 3rem 1rem;
  }

 
  .contact {
    padding: 3rem 1rem;
  }
  
  .contact-form {
    max-width: 100%;
    padding: 0 1rem;
  }

  
  #footer {
    padding: 1.5rem 1rem;
  }
  
  .footer-nav {
    gap: 0.8rem;
  }
}


@media (max-width: 480px) {
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero h2 {
    font-size: 1.1rem;
  }
  
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
 
  .hero .btn,
  .contact-form button {
    width: 100%;
  }
  
  
  .about,
  .skills,
  .projects,
  .contact {
    padding: 2rem 0.5rem;
  }
}



