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

/* Body */

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Navbar */

.navbar {
  background-color: #111;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 10%;

  position: sticky;
  top: 0;
}

.logo {
  color: white;
}

.nav-links {
  list-style: none;

  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #00adb5;
}

/* Hero Section */

.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 80px 10%;

  gap: 40px;
}

.hero-text h2 {
  font-size: 28px;
}

.hero-text h1 {
  font-size: 60px;
  margin: 15px 0;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 25px;
}

.btn {
  display: inline-block;

  background-color: #111;
  color: white;

  padding: 12px 24px;

  border-radius: 5px;

  text-decoration: none;

  transition: 0.3s;
}

.btn:hover {
  background-color: #00adb5;
}

.hero-image img {
  width: 320px;
  border-radius: 50%;
  border: 5px solid #111;
}

/* Sections */

.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 40px;
}

/* About */

.about-text {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
}

/* Education */

.education-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.education-card {
  background: white;

  width: 280px;

  padding: 30px;

  border-radius: 10px;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.education-card:hover {
  transform: translateY(-5px);
}

/* Skills */

.skills-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.skill-card {
  background: white;

  padding: 20px 30px;

  border-radius: 10px;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.skill-card:hover {
  transform: scale(1.05);
}

/* Projects */

.projects-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.project-card {
  background: white;

  width: 300px;

  padding: 30px;

  border-radius: 10px;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

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

/* Learning */

.learning-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.learning-card {
  background: white;

  padding: 20px 30px;

  border-radius: 10px;

  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

  transition: 0.3s;
}

.learning-card:hover {
  transform: scale(1.05);
}

/* Contact */

.contact-container p {
  margin: 15px 0;
}

.contact-container a {
  text-decoration: none;
  color: #0077b5;
}

/* Responsive Design */

@media (max-width: 768px) {
  /* Navbar */

  .navbar {
    flex-direction: column;
    padding: 20px 5%;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
  }

  /* Hero */

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 60px 5%;
  }

  .hero-text h1 {
    font-size: 38px;
  }

  .hero-text h2 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-image img {
    width: 220px;
  }

  /* Sections */

  .section {
    padding: 60px 5%;
  }

  .section h2 {
    font-size: 32px;
  }

  /* Cards */

  .education-card,
  .project-card,
  .skill-card,
  .learning-card {
    width: 100%;
  }

  /* About */

  .about-text {
    font-size: 16px;
  }

  /* Contact */

  .contact-container p {
    font-size: 15px;
    word-break: break-word;
  }
}
