.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(10, 25, 47, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
  transition: all 0.3s ease;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.header.scrolled {
  padding: 5px 0;
  background: rgba(10, 25, 47, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}
.logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
.logo span {
  color: #64ffda;
}
html {
  scroll-behavior: smooth;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link.active {
  color: #64ffda;
}
.nav-links a {
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #64ffda;
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  right: 0;
  width: 0;
  height: 2px;
  background: #64ffda;
  transition: 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  background: #64ffda;
  color: #0a192f;
  text-decoration: none;
  border-radius: 8px;
  transition: 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
}
.filter-btn.active {
  background: #64ffda;
  color: #0a192f;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}
body {
  background-color: #0a192f;
  color: white;
  font-family: sans-serif;
  padding-top: 80px;
}
.hero {
  padding-top: 80px;
}
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  background: rgba(100, 255, 218, 0.08);
  border-radius: 50%;
  filter: blur(120px);
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
}
.hero-content {
  max-width: 850px;
  position: relative;
  z-index: 2;
}
.hero-subtitle {
  color: #64ffda;
  margin-bottom: 10px;
}
.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.1;
}
.hero-heading {
  font-size: 3rem;
  color: #8892b0;
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero-description {
  max-width: 600px;
  line-height: 1.8;
  color: #a8b2d1;
  margin-bottom: 30px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.btn-outline {
  background: transparent;
  border: 1px solid #64ffda;
  color: #64ffda;
}
.btn-primary {
  background: #64ffda;
  color: #0a192f;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
}
.btn-secondary {
  border: 1px solid #64ffda;
  color: #64ffda;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
}
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(100, 255, 218, 0.2);
}
#about {
  padding: 120px 0;
}
.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
.about-text {
  flex: 2;
}
.about-image {
  flex: 1;
}
.about-text p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #a8b2d1;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: #64ffda;
  border-radius: 20px;
}
.Skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.about-image img {
  width: 100%;
  border-radius: 16px;
}
#projects {
  padding: 120px 0;
}
.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}
.project-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}
.project-links a {
  text-decoration: none;
  color: #64ffda;
  font-weight: 600;
  padding: 10px 16px;
  border: 1px solid #64ffda;
  border-radius: 8px;
  transition: 0.3s;
}
.project-links a:hover {
  text-decoration: underline;
  background: #64ffda;
  color: #0a192f;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-card {
  background-color: #112240;
  padding: 30px;
  border-radius: 12px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.project-card p {
  color: #a8b2d1;
  line-height: 1.7;
  margin-bottom: 20px;
}
.project-tech {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.project-tech span {
  background-color: #233554;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}
.filter-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  justify-content: center;
}
.filter-btn {
  padding: 10px 20px;
  border: 1px solid #64ffda;
  background: transparent;
  color: #64ffda;
  cursor: pointer;
  border-radius: 8px;
}
.filter-btn:hover {
  background: #64ffda;
  color: #0a192f;
}
.project-search {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.project-search input {
  width: 100%;
  max-width: 400px;
  padding: 14px 20px;
  border: 1px solid #233554;
  border-radius: 10px;
  background: #112240;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
.project-search input:focus {
  border-color: #646464;
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}
.tech-item {
  background-color: #233554;
  color: #64ffda;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
}
.tech-item {
  transition: 0.3s;
  cursor: default;
}

.tech-item:hover {
  transform: translateY(-2px);
  background-color: #64ffda;
  color: #0a192f;
}

.light-mode {
  background-color: #ffffff;
  color: #000000;
}
/* .light-mode .header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e2e8f0;
}
.light-mode .logo {
  color: #0f172a;
} */
.light-mode .nav-links a {
  color: #334155;
}
.light-mode .project-card {
  background-color: #f1f5f9;
}
.light-mode .Skill-card,
.light-mode .service-card,
.light-mode .project-card {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.light-mode .Skill-card p,
.light-mode .service-card p,
.light-mode .project-card p {
  color: #334155;
}
.light-mode h1,
.light-mode h2,
.light-mode h3 {
  color: #0f172a;
}
.light-mode .about-text p {
  color: #475569;
}
.light-mode .tech-item {
  background: #cbd5e1;
  color: #0f172a;
}
.light-mode .contact-form input,
.light-mode .contact-form textarea {
  background: #e2e8f0;
  color: #0f172a;
}
.light-mode .Skill-card:hover,
.light-mode .service-card:hover,
.light-mode .project-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.08),
    0 2px 40px rgba(0, 0, 0, 0.05);
}
.card-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #64ffda;
  transition: 0.3s;
}

.Skill-card,
.service-card {
  text-align: center;
}
#skills {
  padding: 120px 0;
}
.Skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.Skill-card {
  background: #112240;
  padding: 30px;
  border-radius: 12px;
  transition: 0.3s ease;
}
.Skill-card:hover {
  transform: translateY(-10px);
}
.Skill-card:hover .card-icon,
.service-card:hover .card-icon {
  transform: scale(1.15);
}
footer {
  padding: 60px 0;
  text-align: center;
}
.footer-content h3 {
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.footer-links a {
  color: #64ffda;
  text-decoration: none;
}
.footer-links a:hover {
  color: white;
}
#about,
#skills,
#projects,
#services,
#contact {
  scroll-margin-top: 100px;
}
#services {
  padding: 20px 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.Skill-card,
.service-card,
.project-card {
  background: #112240;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.Skill-card::after,
.service-card::after,
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rbga(100, 255, 218, 0.05), transparent);
  opacity: 0;
  transition: 0.3s;
}
.Skill-card:hover::after,
.service-card:hover::after,
.project-card:hover::after {
  opacity: 1;
}

.service-card:hover,
.service-card:hover,
.project-card:hover {
  transform: translateY(-10px);
  border-color: #64ffda;
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.15);
}
#contact {
  padding: 120px;
  text-align: center;
}
.contact-text {
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.contact-links a {
  padding: 12px 24px;
  border: 1px solid #64ffda;
  border-radius: 8px;
  text-decoration: none;
  color: #64ffda;
  transition: 0.3s;
}
.contact-links a:hover {
  background: #64ffda;
  color: #0a192f;
}
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.2s ease;
}
.show {
  opacity: 1;
  transform: translateY(0);
}
.contact-form {
  max-width: 600px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: #112240;
  color: white;
}
.contact-form button {
  padding: 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #64ffda;
  color: #0a192f;
}

@media (max-width: 760px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    flex-direction: column;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-heading {
    font-size: 2rem;
  }
  .navbar {
    height: 80px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .Skills-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 70px;
    width: 100%;
    background: #112240;
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: 0.3s;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .btn {
    display: none;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons a {
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
}
