body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9fafb;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background-color: #333;
  padding: 20px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

nav a.logo {
  font-weight: bold;
  font-size: 1.3rem;
  color: #2563eb;
  text-decoration: none;
}

ul.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.nav-links li {
  margin-left: 1.5rem;
}

ul.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
}

ul.nav-links a:hover,
ul.nav-links a.active {
  color: #2563eb;
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer .footer-links a:hover {
  color: #2563eb;
}
.home-page .home-section {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}

.home-page .profile-projects-wrapper {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.home-page .profile-container {
  flex: 1 1 300px;
  text-align: center;
}

.home-page .profile-pic {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.home-page .right-column {
  flex: 2 1 600px;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.home-page .projects-section h2 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.home-page .project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.home-page .project-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-page .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.home-page .project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}

.home-page .project-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.home-page .project-card p {
  color: #555;
  margin-bottom: 0.5rem;
}

.home-page .project-links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 10px;
  font-size: 0.9rem;
}

.home-page .project-links a:hover {
  text-decoration: underline;
}

.home-page .skills-container h2 {
  color: #2563eb;
  margin-bottom: 1rem;
}

.home-page .skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.home-page .skills-grid span {
  background: #e5e7eb;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .home-page .profile-projects-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .home-page .profile-container,
  .home-page .right-column {
    flex: 1 1 100%;
    text-align: center;
  }

  .home-page .project-grid {
    grid-template-columns: 1fr;
  }

  .home-page .profile-pic {
    width: 200px;
    height: 200px;
  }
}

.about-page header {
  background-color: #333;
  padding: 20px;
}

.about-page nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}

.about-page nav a.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #2563eb;
  text-decoration: none;
}

.about-page ul.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-page ul.nav-links li {
  margin-left: 1.5rem;
}

.about-page ul.nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  font-weight: 600;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-page ul.nav-links a:hover,
.about-page ul.nav-links a.active {
  background-color: #2563eb;
  color: #fff;
}

.about-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.about-container {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.about-image img {
  width: 280px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-content {
  flex: 1 1 400px;
}

.about-content h1 {
  font-size: 2.8rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-content h2 {
  color: #2563eb;
  margin-bottom: 0.8rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 5px;
}

.about-content ul {
  list-style: disc inside;
  margin-bottom: 2rem;
  color: #555;
  font-size: 1rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-grid span {
  background-color: #e0e7ff;
  color: #1e40af;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(37, 99, 235, 0.3);
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: default;
}

.skills-grid span:hover {
  background-color: #2563eb;
  color: #fff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.8);
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 15px;
  margin-top: auto;
}

footer .footer-links {
  margin-bottom: 10px;
}

footer .footer-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

footer .footer-links a:hover {
  color: #2563eb;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }

  .about-image img {
    width: 220px;
  }

  .about-content {
    text-align: center;
  }
}

.projects-page .projects-section {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}

.projects-page .projects-section h2 {
  color: #2563eb;
  margin-bottom: 2rem;
  text-align: center;
}

.projects-page .project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.projects-page .project-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-page .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.projects-page .project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}

.projects-page .project-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.projects-page .project-card p {
  color: #555;
  margin-bottom: 0.5rem;
}

.projects-page .project-links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 10px;
  font-size: 0.9rem;
}

.projects-page .project-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .projects-page .project-grid {
    grid-template-columns: 1fr;
  }
}
.projects-page .projects-section {
  max-width: 1100px;
  margin: auto;
  padding: 3rem 1rem;
}

.projects-page .projects-section h2 {
  color: #2563eb;
  margin-bottom: 2rem;
  text-align: center;
}

.projects-page .project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.projects-page .project-card {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-page .project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.projects-page .project-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  object-fit: cover;
  height: 180px;
}

.projects-page .project-card h3 {
  margin-bottom: 0.5rem;
  color: #333;
}

.projects-page .project-card p {
  color: #555;
  margin-bottom: 0.5rem;
}

.projects-page .project-links a {
  color: #2563eb;
  text-decoration: none;
  margin-right: 10px;
  font-size: 0.9rem;
}

.projects-page .project-links a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .projects-page .project-grid {
    grid-template-columns: 1fr;
  }
}





    /* contact css*/ 
.contact-page .contact-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1rem;
}

.contact-page h2 {
  color: #2563eb;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-page form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page input,
.contact-page textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-page textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-page button {
  width: 100%;
  background: #2563eb;
  color: white;
  padding: 0.7rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.contact-page button:hover {
  background: #1e40af;
}

