* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #0a0a0a;
  color: #eee;
  line-height: 1.6;
}

/* Navigation bar */
nav {
  background: #111;
  padding: 1rem;
}

.navbar {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
}

.navbar a {
  color: #eee;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.navbar a.active,
.navbar a:hover {
  background: #00bfff;
  color: black;
  transform: scale(1.05);
}

/* Split Layout for Homepage */
.home-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: auto;
  min-height: 80vh;
}

.home-left {
  flex: 1;
  padding-right: 2rem;
}

.home-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-right img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 191, 255, 0.3);
}

/* Hero Section text */
.home-left h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.highlight {
  color: #eee;
}

.home-left p {
  font-size: 1.2rem;
}

/* Buttons */
.btn {
  background: #00bfff;
  color: black;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #0099cc;
}

/* Button group */
.button-group {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.outline {
  background: transparent;
  border: 2px solid #00bfff;
  color: #eee;
}

.btn.outline:hover {
  background: #00bfff;
  color: black;
  transform: scale(1.05);
}

/* Section Layout (About, Works, Contact) */
.section {
  padding: 3rem 2rem;
  max-width: 900px;
  margin: auto;
}

.section h2 {
  color: #eee;
  margin-bottom: 2rem;
}

/* Projects */
.project {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  margin-bottom: 2rem;
  background: #1a1a1a;
  padding: 1rem;
  border-left: 4px solid #00bfff;
  border-radius: 10px;
}

.project img {
  width: 150px;
  height: 100px;
  object-fit: cover;
  border-radius: 5px;
}

/* Animation for fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .home-container {
    flex-direction: column;
    text-align: center;
  }

  .home-left {
    padding: 0;
  }

  .home-right img {
    max-width: 250px;
    margin-top: 2rem;
  }

  .project {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .project img {
    width: 100%;
  }

  .home-left h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
  }
}
.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.skill {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #1f1f1f;
  border: 2px solid #00bfff;
  color: #eee;
  border-radius: 30px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.skill:hover {
  background-color: #00bfff;
  color: black;
  cursor: default;
}
.about-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  min-height: 100vh;
}

/* Extra vertical spacing before skills */
.skills-gap {
  margin: 3rem 0 2rem;
}

.about-section h2,
.about-section h3 {
  color: #eee;
  margin-bottom: 1rem;
}

.about-section p {
  margin: 0.5rem 0;
}

.about-section ul {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.about-section li {
  margin: 0.5rem 0;
}
.about-text {
  line-height: 1.8;
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
}
.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.projects-title {
  text-align: center;
  color: #eee;
  margin-bottom: 2rem;
}

.projects-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
}

.project-card {
  width: 6cm;
  height: 9cm;
  background-color: #1a1a1a;
  color: #eee;
  border-left: 4px solid #00bfff;
  border-radius: 12px;
  padding: 1rem;
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(0, 191, 255, 0.6);
}

.project-card img {
  width: 100%;
  height: 4.2cm;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.7rem;
}

.project-card h4 {
  margin: 0.3rem 0 0.4rem;
  font-size: 1rem;
  color: #eee;
}

.project-card p {
  font-size: 0.75rem;
  color: #ccc;
  line-height: 1.4;
}
.project-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.project-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 300px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
}

.project-card img {
  width: 100%;
  border-radius: 10px;
}

.project-card h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.project-card p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  color: #aaa;
}

.project-card .btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.6rem 1.2rem;
  background-color: #007BFF;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-card .btn:hover {
  background-color: #0056b3;
}
/* Add this to your style.css */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0a192f;
  color: #ccd6f6;
}

nav {
  background: #112240;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navbar li a {
  text-decoration: none;
  color: #ccd6f6;
  font-weight: 500;
  padding: 8px 16px;
  transition: 0.3s;
}

.navbar li a:hover,
.navbar li a.active {
  background: #00bfff;
  color: #0a192f;
  border-radius: 4px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 4rem 5%;
  gap: 3rem;
  min-height: 80vh;
}

.left, .right {
  flex: 1 1 45%;
  max-width: 500px;
}

.left h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #00bfff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

form label {
  font-size: 1rem;
  font-weight: 600;
  color: #8892b0;
}

form input,
form textarea {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  background: #112240;
  border: 1px solid #00bfff;
  border-radius: 4px;
  color: #ccd6f6;
  resize: vertical;
  transition: 0.3s;
}

form input:focus,
form textarea:focus {
  border-color: #00bfff;
  outline: none;
  box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

form button {
  background: #00bfff;
  color: #0a192f;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: fit-content;
  transition: 0.3s;
}

form button:hover {
  background: #52e0c4;
}

.right h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #00bfff;
}

.right p {
  font-size: 1rem;
  color: #ccd6f6;
  line-height: 1.6;
}

.right .links p {
  margin: 0.75rem 0;
}

.right .links a {
  color: #00bfff;
  text-decoration: none;
  font-weight: 500;
}

.right .links a:hover {
  text-decoration: underline;
}

.footer {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #8892b0;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .left, .right {
    max-width: 100%;
  }

  form {
    align-items: center;
  }

  form input, form textarea {
    width: 100%;
  }

  form button {
    width: 100%;
  }
}
/* Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease-in-out both;
}
.btn-left-shift {
  background: transparent;
  border: 2px solid #00bfff;
  color: #eee;
  
}

.btn-left-shift:hover {
  background: #00bfff;
  color: black;
  transform: scale(1.05);
}
.btn-left-shift{
	margin-left: -6cm;
}
.profile-card1:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #00ffff; /* Blue glow around container */
}

.profile-card1:hover img {
  transform: scale(1.0);
  box-shadow: 0 0 10px #00bfff; /* Blue glow around image */
  border-color: #00ffff;
}
/* Ensure container animates in */
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 60px auto;
  padding: 40px 20px;
  max-width: 1000px;
  gap: 40px;
}
.send-btn {
  background-color: black;
  color: white;
  padding: 12px 25px;
  border: 2px solid #00bfff;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-btn:hover {
  background-color: #00bfff;  /* Hover background color */
  color: black;               /* Hover text color */
  box-shadow: 0 0 10px #00bfff, 0 0 20px #00ffff;
  transform: scale(1.05);     /* Optional zoom effect */
}
