@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@1,14..32,500&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: 'Poppins', sans-serif;
}

:root {
  --navbar-height: rgba(255, 255, 255, .1);
  --bg-color: #171f2b;
  --second-bg-color: #1f2733;
  --third-bg-color: #2d3542;
  --main-color: #0ef;
  --white-color: #fff;
}

body, html {
  height: 100%;
  scroll-behavior: smooth;
  background: var(--white-color);
  color: var(--white-color);
  font-size: 62.5%;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 0.5rem;
}
::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 1rem;
}

/* Navigation */
.nav {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40rem;
  background: var(--navbar-height);
  padding: 1rem 2rem;
  border-radius: 5rem;
  z-index: 100;
}
.nav-list {
  display: flex;
  justify-content: space-evenly;
}
.nav-list li {
  font-size: 2.5rem;
  cursor: pointer;
  color: var(--white-color);
  transition: 0.3s;
}
.nav-list li:hover,
.nav-list li.active {
  color: var(--main-color);
}

/* Scroll Arrow */
.scroll-arrow {
  position: fixed;
  bottom: 7.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 3rem;
  color: var(--main-color);
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 99;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-1rem); }
}

/* Sections */
.section {
  min-height: 100vh;
  padding: 4rem 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.section:nth-child(even) {
  background: var(--second-bg-color);
}


/* Home */
.home-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5rem;
}
.home-info h1 {
  font-size: 5rem;
}
.home-info h3 {
  font-size: 3rem;
  font-weight: 600;
}

.desc {
  margin: 2rem 0;
  font-size: 1.6rem;
  max-width: 50rem;
  line-height: 1.6;
}

.section.home h1,
.section.home h3,
.section.home .desc {
  color: var(--main-color);
}




.btn {
  display: inline-flex;
  padding: 1rem 2rem;
  background: var(--main-color);
  border-radius: 5rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--bg-color);
  box-shadow: 0 0 1rem var(--main-color);
  transition: 0.3s;
}
.btn:hover {
  box-shadow: none;
}
.btn-sci {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}
.sci {
  display: flex;
  gap: 1.5rem;
}
.sci a {
  font-size: 2rem;
  color: var(--main-color);
  border: 0.2rem solid var(--main-color);
  border-radius: 30%;
  padding: 1rem;
  transition: 0.3s;
}
.sci a:hover {
  background: var(--main-color);
  color: var(--bg-color);
}
.home-img img {
  width: 100%;
  max-width: 40rem;
  border-radius: 2rem;
  box-shadow: 0 0 3rem var(--main-color);
  transition: transform 0.4s ease;
}
.home-img img:hover {
  transform: scale(1.05);
}


/* Glow */
.glow {
  box-shadow: 0 0 2rem var(--main-color), 0 0 3rem var(--main-color);
  animation: pulseGlow 3s infinite alternate;
}
@keyframes pulseGlow {
  from {
    box-shadow: 0 0 1rem var(--main-color);
  }
  to {
    box-shadow: 0 0 2.5rem var(--main-color);
  }
}


/* Full-width About Section */
.section.about {
  background-color: var(--second-bg-color);
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  scroll-margin-top: 80px;
}

/* Layout */
.about-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/* Image Styling */
.about-img img {
  width: 100%;
  max-width: 35rem;
  border-radius: 2rem;
  border: 1px solid var(--highlight-color);
  box-shadow: 0 0 2rem var(--main-color);
  transition: transform 0.4s ease;
}

.about-img img:hover {
  transform: scale(1.03);
}

/* Info Block */
.about-info {
  flex: 1;
  font-size: 1.6rem;
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Typography */
.about-info h2 {
  font-size: 6rem;
  font-weight: 900;
  color: var(--main-color);
}

.about-info h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white-color);
}

.about-info p {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--tab-list-color);
  max-width: 60rem;
}

/* CTA Button */
.about-info .btn {
  display: inline-block;
  background-color: var(--main-color);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: bold;
  font-size: 1.8rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.about-info .btn:hover {
  background-color: var(--hover-color);
}




/* Projects */
/* Projects Section */
.section.projects {
  background-color: #f4f4f4;
  padding: 6rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  scroll-margin-top: 80px;
}

.projects-content {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.projects-title {
  font-size: 3rem;
  font-weight: bold;
  color: #2193b0;
  margin-bottom: 0.5rem;
}

.projects-subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 1rem;
}

.projects-desc {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 3rem;
}

.projects-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Project Cards */
/* Projects Section */
.section.projects {
  background-color: var(--main-bg-color);
  padding: 6rem 2rem;
  text-align: center;
  scroll-margin-top: 80px;
}

.projects-content {
  max-width: 1200px;
  width: 100%;
}

.projects-title {
  font-size: 6rem;
  font-weight: 900;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 1.5rem;
}


.projects-subtitle {
  font-size: 1.5rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}

.projects-desc {
  font-size: 1.1rem;
  color: var(--tab-list-color);
  margin-bottom: 3rem;
}

.projects-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.project-card {
  background-color: var(--third-bg-color);
  border-radius: 16px;
  padding: 1.5rem;
  width: 260px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.project-name {
  font-size: 1.4rem;
  color: var(--main-color);
  margin-bottom: 0.5rem;
}

.project-card p {
  font-size: 1rem;
  color: var(--white-color);
  margin-bottom: 1rem;
}

.project-btn {
  text-decoration: none;
  background-color: var(--main-color);
  color: var(--white-color);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.project-btn:hover {
  background-color: var(--hover-color);
}

.slide-in {
  opacity: 0;
  transform: translateY(30px);
  animation: slideIn 0.6s ease-out forwards;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow {
  border: 1px solid var(--highlight-color);
  box-shadow: 0 0 12px rgba(33, 147, 176, 0.3);
}




/* Skills */

  .skills-title {
    font-size: 6rem;
    font-weight: 900;
    color: var(--main-color);
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .skills-subtitle {
    font-size: 3rem;
    color: var(--white-color);
    text-align: center;
    margin-bottom: 1rem;
  }

  .skills-desc {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 4rem;
    line-height: 1.6;
    color: var(--tab-list-color);
  }

  .skills-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0 2rem;
    justify-items: center;
  }

  .skill-card {
    background: var(--third-bg-color);
    padding: 2rem;
    border-radius: 1.5rem;
    font-size: 2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    box-shadow: 0 0 1.2rem var(--main-color);
    transition: transform 0.3s ease;
    color: var(--white-color);
    text-align: center;
  }

  .skill-card i {
    font-size: 2.4rem;
    color: var(--main-color);
  }

  .skill-card:hover {
    transform: translateY(-0.6rem);
    box-shadow: 0 0 2rem var(--main-color);
  }

  /* Responsive fallback */
  @media (max-width: 1024px) {
    .skills-gallery {
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
  }


/* Testimonials */
.testimonials-title {
  font-size: 6rem;
  font-weight: 900;
  color: var(--main-color);
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-subtitle {
  font-size: 3rem;
  color: var(--white-color);
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0 2rem;
  justify-items: center;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 0 1.2rem var(--main-color);
  transition: transform 0.3s ease, opacity 0.8s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(5rem);
}

.testimonial-card:nth-child(even) {
  background: #f4f4f4;
}

.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.testimonial-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0.5rem var(--main-color);
}

.testimonial-name {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--main-color);
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.6rem;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .testimonial-gallery {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}



/* Contact */
.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 2rem;
}

.contact-main-title {
  font-size: 6rem;
  font-weight: 900;
  color: var(--main-color);
  margin-bottom: 2rem;
}

.connect-highlight {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 1.5rem;
}

.contact-lead {
  font-size: 1.8rem;
  font-weight: 500;
  max-width: 70rem;
  margin: 0 auto 3rem;
  line-height: 1.6;
  color: var(--tab-list-color);
}

.contact-form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.5rem;
  font-size: 1.6rem;
  border-radius: 1rem;
  background: var(--third-bg-color);
  color: var(--white-color);
  border: 0.2rem solid var(--main-color);
}

.contact-form button {
  align-self: center;
  padding: 1rem 2.5rem;
  font-size: 1.8rem;
  margin-bottom: 5rem; /* Adds breathing room above footer/nav */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--tab-list-color);
}


