/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 18px;
  background: #0f0f0f;
}

/* Navbar */
.navbar {
  background-color: #00FF9F;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  gap: 10px;
}

.logo {
  font-size: 32px;
  color: #3d84e8;
  text-decoration: none;
}

.nav-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin:auto
}


.logo {
  color: #3d84e8;
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
}

.nav-links a {
  font-size: 18px;
  color: #283f52;
  text-decoration: none;
  padding: 8px 10px;
  text-align: center;
  margin :0 50px 0 50px; 
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero .content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero .content span {
  color: #00f7ff;
}

.hero .content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  padding: 12px 25px;
  background: #00f7ff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.btn:hover {
  background: #00c3cc;
}

/* About + Contact Sections */
.about, .contact {
  background: rgba(0, 0, 0, 0.6);
  padding: 80px 20px;
  backdrop-filter: blur(5px);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  max-width: 900px;
  margin: 50px auto;
  text-align: center;
}

.about h2, .contact h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.resume-btn {
  background-color: rgba(34, 49, 69, 0.8); 
  color: white;
  border: none;
  position:relative;
  top: 0.6em;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease;
}

.resume-btn:hover {
  background-color: #445272;
  
}


.about p, .contact p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Hover Effects */
.hover-link, .hover-link-mad {
  position: relative;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.hover-link::after,
.hover-link-mad::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}

.hover-link:hover {
  transform: scale(1.1);
}

.hover-link:hover::after {
  width: 100%;
}

.hover-link-mad:hover {
  transform: scale(1.05);
}

.hover-link-mad:hover::after {
  width: 100%;
}

.hover-link-mail {
  color: rgb(81, 137, 215);
  text-decoration: underline;
  transition: transform 0.3s ease;
}

.hover-link-mail:hover {
  transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .navbar {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
  }

  .hero .content h1 {
    font-size: 2.2rem;
  }

  .hero .content p {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero .content h1 {
    font-size: 1.8rem;
  }

  .hero .content p {
    font-size: 1rem;
  }
}
@media screen and (min-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }

  .nav-links {
    gap: 50px;
  }
}
footer {
  background-color: rgba(30, 105, 70, 0.8);
  color: #96c6ed;
  text-align: center;
  padding: 20px;
  position: relative;
  bottom: 0;
  width: 100%;
}

