* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #0d1b2a;
  color: white;
  overflow-x: hidden;
  padding-top: 80px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #0d1b2a;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00bcd4;
}

.main {
  display: flex;
  height: calc(100vh - 80px);
  padding-left: 40px;
}

.left-content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.left-content h1 span {
  color: #ffffff;
}

.left-content h2 {
  font-size: 28px;
  font-weight: 600;
  color: #00bcd4;
  margin-bottom: 20px;
}

.left-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #b0bec5;
  max-width: 500px;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  
}

.btn {
  padding: 10px 20px;
  font-size: 16px;
  border: 2px solid #00bcd4;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
   text-decoration: none;
}

.primary {
  background-color: #00bcd4;
  color: #0d1b2a;
}

.secondary {
  background-color: transparent;
  color: #00bcd4;
}

.btn:hover {
  background-color: #0097a7;
  color: white;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
  padding-top: 30px;
}

.social-icons img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50%;
}

.social-icons img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.right-content {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-content img {
  width: 80%;
  height: auto;
  object-fit: cover;
  border-radius: 49%;
  margin-top: 40px;
  filter: drop-shadow(0px 0px 12px grey);
}

.h1, .education-section h2 {
  color:white;
  padding: 40px 0 20px;
  font-size: 36px;
  text-align: center;
}

.home-section {
  min-height: 100vh;
  background-color: #0d1b2a;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 20px;
}

.home-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  box-shadow: 0 0 12px gray;
}

.about-text {
  max-width: 600px;
  color: #b0bec5;
  font-size: 16px;
  line-height: 1.6;
}

.education-section {
  background-color: #102030;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.education-card {
  background-color: #1a2c40;
  border-radius: 12px;
  padding: 30px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.edu-icon {
  width: 60px;
  margin-bottom: 20px;
}

.education-card h3 {
  font-size: 22px;
  color: #00bcd4;
  margin-bottom: 10px;
}

.edu-duration {
  font-size: 16px;
  color: #b0bec5;
  margin-bottom: 15px;
}

.edu-description {
  font-size: 15px;
  color: #b0bec5;
  line-height: 1.6;
}

.skills-section {
  background-color: #0d1b2a;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: white;
  margin-bottom: 40px;
}

.section-title span {
  color: #00bcd4;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.skill-box {
  background-color: #1a2c40;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.skill-box h3 {
  color: #00bcd4;
  margin-bottom: 20px;
}

.skill {
  margin-bottom: 15px;
  text-align: left;
}

.skill span {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.progress-bar {
  background-color: #2e3e55;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background-color: #00bcd4;
  width: 0;
  transition: width 1s ease;
}

.contact-section {
  background-color: #0d1b2a;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.form-row input {
  flex: 1;
  padding: 12px;
  border: 2px solid #1a2c40;
  background: transparent;
  color: white;
  border-radius: 6px;
}

textarea {
  padding: 12px;
  border: 2px solid #1a2c40;
  background: transparent;
  color: white;
  border-radius: 6px;
  resize: none;
}

button {
  background-color: #00bcd4;
  color: #0d1b2a;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-color: #0197a6;
}

/* Mobile Responsive Styles */
@media only screen and (max-width: 760px) {
  .navbar {
    display: none;
  }

  .main {
    flex-direction: column;
    height: auto;
    padding: 0 20px;
    align-items: center;
    text-align: center;
  }

  .right-content {
    order: -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
  }

  .right-content img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }

  .left-content {
    padding: 20px;
  }

  .left-content h1 {
    font-size: 36px;
  }

  .left-content h2 {
    font-size: 22px;
  }

  .left-content p {
    font-size: 14px;
    line-height: 1.4;
  }

  .buttons {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
  }

  .home-img {
    display: none;
  }

  .education-card,
  .skill-box {
    width: 90%;
  }

  .contact-form {
    max-width: 100%;
  }

  .form-row input,
  textarea {
    font-size: 14px;
  }
}
