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

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
}

/* Root Colors */
:root {
  --bg-color: #1f242d;
  --second-bg-color: #323946;
  --text-color: #fff;
  --main-color: #0ef;
}

/* Base */
html {
  font-size: 62.5%;
  overflow-x: hidden;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
}

section {
  min-height: 100vh;
  padding: 10rem 9% 2rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem 9%;
  background: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-color);
  cursor: default;
}

.navbar a {
  font-size: 1.7rem;
  color: var(--text-color);
  margin-left: 4rem;
  transition: 0.3s;
}

.navbar a:hover,
.navbar a.active {
  color: var(--main-color);
}

#menu-icon {
  font-size: 3.6rem;
  color: var(--text-color);
  display: none;
}

/* Home */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.home-content h3 {
  font-size: 3.2rem;
  font-weight: 700;
}

span {
  color: var(--main-color);
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 2rem;
}

.home-content h1 {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.3;
}

.home-img {
   position: relative;
  width: 400px;
  height: 380px;
  overflow: hidden;
  border: 4px solid var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
  transition: 0.4s ease;
   border-radius: 30%;
}
.home-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--main-color);
}
.home-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-content p {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

/* Social media */
.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 4rem;
  height: 4rem;
  background: transparent;
  border: 0.2rem solid var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 3rem 1.5rem 3rem 0;
  transition: 0.5s ease;
}

.social-media a:hover {
  background: var(--main-color);
  color: var(--second-bg-color);
  box-shadow: 0 0 1rem var(--main-color);
}

/* Button */
.btn {
  display: inline-block;
  background: var(--main-color);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: 0.1rem;
  padding: 1rem 2.8rem;
  border-radius: 4rem;
  box-shadow: 0 0 1rem var(--main-color);
  font-weight: 600;
  transition: 0.5s ease;
}

.btn:hover {
  box-shadow: none;
}
.about {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8rem;
  padding: 6rem 9%;
  background: var(--second-bg-color);
  flex-wrap: wrap;
}

.about-img {
  position: relative;
width: 400px;
  height: 380px;
  overflow: hidden;
  border: 4px solid var(--main-color);
  box-shadow: 0 0 20px var(--main-color);
  transition: 0.4s ease;
   border-radius: 30%;
}

.about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 35px var(--main-color);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.heading {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.heading span {
  color: var(--main-color);
  position: relative;
}

.heading::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--main-color), #00f2ff);
  margin: 8px auto 0;
  border-radius: 2px;
}

.about-content h2 {
  text-align: left;
  line-height: 1.2;
}

.about-content h3 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  color: var(--main-color);
}

.about-content p {
  font-size: 1.6rem;
  margin: 1.5rem 0 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  color: #ddd;
  animation: fadeInUp 1s ease-in-out;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--main-color), #00f2ff);
  font-size: 1.6rem;
  color: var(--second-bg-color);
  letter-spacing: 0.1rem;
  padding: 1rem 3rem;
  border-radius: 4rem;
  font-weight: 600;
  transition: 0.5s ease;
  box-shadow: 0 0 15px var(--main-color);
}

.btn:hover {
  background: linear-gradient(135deg, #00f2ff, var(--main-color));
  transform: translateY(-3px);
  box-shadow: 0 0 25px var(--main-color);
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

