@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

a {
  text-decoration: none;
  color: #333;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/*---------------------------Header---------------------------*/

.header-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #007bff;
}

.logo .fa-bolt {
  color: #007bff;
  margin-left: 5px;
}

.navbar {
  display: flex;
  align-items: center;
}

.navbar li {
  margin: 0 20px;
}

.navbar li a {
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.navbar li a:hover,
.navbar li a.active {
  color: #007bff;
}

.menu_icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

/*---------------------------Home Section---------------------------*/

.home-section {
  padding: 120px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.home-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.profile-text h5 {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.profile-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.2;
}

.profile-text h3 {
  font-size: 1.5rem;
  color: #007bff;
  margin-bottom: 20px;
  font-weight: 500;
}

.profile-text p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.7;
}

.btn-group {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-block;
}

.primary-btn {
  background: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.primary-btn:hover {
  background: transparent;
  color: #007bff;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.secondary-btn {
  background: transparent;
  color: #007bff;
  border: 2px solid #007bff;
}

.secondary-btn:hover {
  background: #007bff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #007bff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
  background: #007bff;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.profile-photo {
  text-align: center;
}

.profile-photo img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 8px solid white;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.profile-photo img:hover {
  transform: scale(1.05);
}

/*---------------------------About Section---------------------------*/

.about-area {
  padding: 80px 0;
  background: white;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h4 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.about-content ul {
  list-style: none;
}

.about-content li {
  margin-bottom: 20px;
  padding-left: 20px;
  position: relative;
  color: #666;
  font-size: 1.1rem;
}

.about-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #007bff;
  font-weight: bold;
}

.about-skills {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-skills ul li {
  padding: 15px 0;
  border-bottom: 1px solid #e9ecef;
  color: #333;
  font-weight: 500;
}

.about-skills ul li:last-child {
  border-bottom: none;
}

/*---------------------------Education & Internship---------------------------*/

.education-content {
  padding: 80px 0;
  background: #f8f9fa;
}

.education-content .row {
  display: grid;
  grid-template-columns: auto auto;
  gap: 50px;
}

.education-content .title {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.timeline {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.timeline-item {
  margin-bottom: 30px;
  padding-left: 40px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.circle-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  background: #007bff;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #007bff;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 15px;
  width: 1px;
  height: calc(100% - 15px);
  background: #007bff;
}

.timeline-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.timeline-title:nth-child(2) {
  font-size: 1rem;
  font-weight: 500;
  color: #007bff;
  margin-bottom: 5px;
}

.timeline-title:nth-child(3) {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

.timeline-text {
  margin-top: 15px;
  color: #666;
  line-height: 1.6;
}

/*---------------------------Projects---------------------------*/

.project-content {
  padding: 80px 0;
  background: white;
}

.project-title {
  text-align: center;
  margin-bottom: 60px;
}

.project-title h4 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.project-title p {
  font-size: 1.1rem;
  color: #666;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.project:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.project i {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
  display: block;
}

.project h4 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.project p {
  color: #666;
  line-height: 1.6;
}

/*---------------------------Interests Section---------------------------*/

.interests-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.interests-section h2 {
  font-size: 2.5rem;
  color: #333;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 600;
}

.interest-category {
  margin-bottom: 50px;
}

.interest-category h3 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

.interest-category .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.interest-item {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.interest-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.interest-icon {
  font-size: 3rem;
  color: #007bff;
  margin-bottom: 20px;
  display: block;
}

.interest-item h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.interest-item p {
  color: #666;
  line-height: 1.6;
}

/*---------------------------Contact Section---------------------------*/

.contact-content {
  padding: 80px 0;
  background: white;
}

.contact-title {
  text-align: center;
  margin-bottom: 50px;
}

.contact-title h4 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-title p {
  font-size: 1.1rem;
  color: #666;
}

.contact {
  max-width: 600px;
  margin: 0 auto;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  outline: none;
  border-color: #007bff;
}

.contact .submit {
  width: 100%;
  padding: 15px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact .submit:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

#msg {
  text-align: center;
  margin-top: 20px;
  font-weight: 500;
  color: #28a745;
}

/*---------------------------Footer---------------------------*/

.footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer .message {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #ccc;
}

.footer .copyright {
  font-size: 0.9rem;
  color: #999;
}

/*---------------------------Responsive Design---------------------------*/

/* Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }

  .home-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .profile-text h1 {
    font-size: 3rem;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .education-content .row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .projects {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 15px 0;
  }

  .logo {
    font-size: 24px;
  }

  .navbar {
    display: none;
  }

  .menu_icon {
    display: block;
  }

  .home-section {
    padding: 100px 0 60px;
  }

  .profile-text h1 {
    font-size: 2.5rem;
  }

  .profile-text h3 {
    font-size: 1.3rem;
  }

  .profile-photo img {
    width: 250px;
    height: 250px;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .about-area,
  .education-content,
  .project-content,
  .interests-section,
  .contact-content {
    padding: 60px 0;
  }

  .about-content h4,
  .project-title h4,
  .contact-title h4,
  .interests-section h2 {
    font-size: 2rem;
  }

  .timeline {
    padding: 20px;
  }

  .contact {
    padding: 30px 20px;
  }

  .interest-category .row {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }

  .profile-text h1 {
    font-size: 2rem;
  }

  .profile-text p {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .about-content h4 {
    font-size: 1.8rem;
  }

  .timeline-title {
    font-size: 1rem;
  }

  .project {
    padding: 20px;
  }

  .interest-item {
    padding: 20px;
  }
}
