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

body {
  background-color: #121212;
  color: #f1f1f1;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* ====== Navbar ====== */
.navbar {
  position: fixed;
  width: 100%;
  background: #1e1e1e;
  border-bottom: 1px solid #011614;
  padding: 15px 5%;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
}

.logo span {
  color: #00ffe1;
  font-size: 22px;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #f1f1f1;
    position: relative;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 10px;
}

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


.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #00ffe1;
  transition: width 0.3s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}







/* ====== Burger Menu ====== */
.burger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

/* ====== Hero Section ====== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5%;
  min-height: 100vh;
  gap: 50px;
}

.hero .content {
  max-width: 600px;
}

.hero h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.hero h1 span {
  color: #00ffe1;
}

.hero h3 {
  color: #ccc;
  margin-bottom: 20px;
}

.hero p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-img img {
  max-width: 400px;
  border-radius: 50%;
  border: 4px solid #00ffe1;
}


/* About Section */
.about {
  padding: 100px 5%;
  background-color: #0f0f0f;
  text-align: center;
}

.about h2 {
  font-size: 40px;
  color: #fff;
  margin-bottom: 30px;
}

.about h2 span {
  color: #00ffe1;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #00ffe1;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 255, 225, 0.1);
  backdrop-filter: blur(8px);
  transition: 0.5s;
}

.about-content:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 225, 0.3);
}

.about-content p {
  font-size: 18px;
  color: #ccc;
  line-height: 1.8;
}

.about-content p span {
  color: #00ffe1;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
  .about-content {
    padding: 20px;
  }
  .about h2 {
    font-size: 30px;
  }
  .about-content p {
    font-size: 16px;
  }
}




/* ====== Buttons ====== */
.btn {
  padding: 10px 20px;
  background-color: #00ffe1;
  color: #121212;
  text-decoration: none;
  border-radius: 8px;
  margin-right: 10px;
  transition: 0.3s;
}

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

.btn-outline {
  padding: 8px 20px;
  border: 2px solid #00ffe1;
  color: #00ffe1;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-outline:hover {
  background-color: #00ffe1;
  color: #121212;
}

/* ====== Sections Title ====== */
section h2 {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
}

section h2 span {
  color: #00ffe1;
}

/* ====== Skills & Grids ====== */
.skills, .projects, .achievements, .contact {
  padding: 100px 5%;
}

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

.skill-box, .project-card, .achievement-box, .contact-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid #00ffe1;
  border-radius: 20px;
  padding: 25px;
  text-align: center;
  transition: 0.5s;
  box-shadow: 0 8px 30px rgba(0, 255, 225, 0.2);
}

.skill-box:hover, .project-card:hover, .achievement-box:hover, .contact-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 255, 225, 0.5);
}

.skill-box img, .contact-box i {
  width: 60px;
  margin-bottom: 10px;
}

.skill-box h3, .project-card h3, .achievement-box h3, .contact-box h3 {
  margin: 10px 0;
  color: white;
}

.project-card img, .achievement-box img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.project-card p, .achievement-box p, .contact-box p {
  color: #ccc;
}

/* ====== Modal ====== */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: 5% auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 15px;
  border: 3px solid #00ffe1;
  box-shadow: 0 0 25px #00ffe1;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #00ffe1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: white;
}

/* ====== Social Icons ====== */
.social-icons a {
  color: #00ffe1;
  margin: 0 8px;
  font-size: 20px;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.3);
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: #1e1e1e;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    align-items: center;
    transition: height 0.3s ease;
  }

  .nav-links.nav-active {
    height: 250px;
    padding: 20px 0;
  }

  .burger {
    display: block;
  }

  .hero {
    flex-direction: column;
    text-align: center;
  }

  .hero-img img {
    max-width: 250px;
  }

  h2 {
    font-size: 28px;
  }
}


.burger.toggle i {
  color: #00ffe1;
  transform: rotate(90deg);
  transition: 0.3s;
}
