@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: #0e0e0e;
  background-color: black;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: transparent;
  color: white;
  flex-wrap: nowrap;
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  width: 40px;
  height: auto;
}

.site-name {
  margin-left: 10px;
  font-size: 15px;
}

.navbar ul {
  display: flex;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
  margin-right: 180px;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin-top: -3%;
  transition: .4s ease
}

.navbar a:hover {
  color: #4f8ef7;
}

.hero {
  display: flex;
  align-items: center;
  padding: 0;
  min-height: 100vh;
  justify-content: space-around;
  flex-wrap: nowrap;
}

.intro {
  margin-left: 7%;
  margin-top: -10%;
}

.intro h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.intro h3 {
  font-size: 18px;
  letter-spacing: 1px;
  line-height: 24px;
}

.intro span {
  color: #4f8ef7;
}

.btn {
  padding: 10px 20px;
  background-color: #4f8ef7;
  color: white;
  text-decoration: none;
  margin-top: 100px;
  display: inline-block;
  border-radius: 8px;
}

.socials {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 15px;
  margin-left: 20px;
}

.socials a {
  font-size: 24px;
  color: #ffffff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  transform: scale(1.2);
  color: #4f8ef7;
}

.hero-img img {
  width: 500px;
  height: auto;
  margin: 30px 0;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.services-section {
  background-color: #ffffff;
  padding: 1px 20px 60px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

.services-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.1);
  max-width: 1100px;
  padding: 50px 30px;
  width: 100%;
  text-align: center;
  margin-top: -100px;
  z-index: 2;
  padding-top: 100px;
}

.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 40px;
  position: relative;
  color: #000;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4f8ef7;
  margin: 10px auto 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-box {
  padding: 20px;
}

.service-icon {
  font-size: 40px;
  color: #4f8ef7;
  margin-bottom: 15px;
}

.service-title {
  font-size: 18px;
  color: #1a237e;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-text {
  font-size: 14px;
  color: #444;
}

.bottom-nav {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 15px 40px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  z-index: 100;
}

.bottom-nav .logo {
  display: flex;
  align-items: center;
}

.bottom-nav .logo img {
  width: 40px;
  height: auto;
}

.bottom-nav ul{
  display: flex;
  list-style: none;
  gap: 80px;
  margin: 0;
}

.bottom-nav a{
 color: #000;
  text-decoration: none;
  font-weight: 500;
  transition: 0.4s ease;
  margin-right: 100px;
}

.bottom-nav a:hover {
  color: #4f8ef7;
}

.nav-links a.active::after,
.nav-links a:hover::after {
  display: block;
  width: 20px;
  height: 2px;
  background: #4f8ef7;
  margin: 5px auto 0;
}

.about-section {
  background-color: #1c1c1c;
  padding: 70px;
  color: white;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.about-left {
  flex: 1;
  text-align: center;
}

.about-img {
  width: 400px;
  max-width: 100%;
  object-fit: cover;
}

.about-right {
  flex: 2;
}

.about-title {
  color: white;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.personal-heading {
  background: linear-gradient(to right, #00bcd4, #8e2de2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
}

.about-text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #e0e0e0;
}

.about-goals {
  margin-top: 60px;
}

.goals-heading {
  color: #f48fb1;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.goals-text {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  max-width: 800px;
}

.triangle-quote {
  display: flex;
  align-items: center;
  margin-top: -10px;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-right: 10px;
}

.triangle-container {
  position: relative;
  width: 100px;
  height: 100px;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  position: absolute;
}

.triangle.blue {
  border-bottom: 100px solid #2196f3;
  transform: rotate(90deg);
  top: 0;
  left: -30px;
}

.triangle.pink {
  border-bottom: 100px solid #f48fb1;
  transform: rotate(45deg);
  top: -10px;
  left: 20px;
}

.triangle-text {
  font-size: 18px;
  font-weight: bold;
  color: white;
  text-align: center;
}

.skills-section {
  background: url("lineBackground.png") no-repeat center center/cover;
  background-color: #ffffff;
  padding: 100px 20px;
  color: #000;
  position: relative;
  z-index: 1;
}

.skills-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #000;
}

.skills-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #4f8ef7;
  margin: 10px auto;
}

.skills-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1rem;
  color: #444;
  font-weight: 400;
  line-height: 1.6;
}

.skills-box {
  background-color: #0e0e0e;
  border-radius: 20px;
  padding: 50px;
  color: white;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.skills-category {
  margin-bottom: 30px;
}

.skills-category h4 {
  margin-bottom: 15px;
  color: #ccc;
  font-size: 1.1rem;
  font-weight: bold;
}

.skill-item {
  display: inline-flex;
  align-items: center;
  background-color: white;
  color: black;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.95rem;
  margin: 5px;
  font-weight: 500;
  transition: 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.skill-item img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.marquee {
  width: 100%;
  height: 50px;
  overflow: hidden;
  opacity: 0.08;
  pointer-events: none;
  margin-top: 40px;
}

.track {
  display: flex;
  gap: 20px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  height: 50px;
}

.slogan {
  margin-top: 20px;
  font-style: italic;
  color: #4f8ef7;
  font-weight: bold;
}

.projects-section {
  background-color: #0e0e0e;
  padding: 60px 100px;
  color: white;
  text-align: center;
}

.projects-header h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.projects-header p {
  margin-bottom: 20px;
  color: #ccc;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

.project-item {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #1c1c1c;
  padding: 20px;
  border-radius: 10px;
}

.project-item img {
  width: 250px;
  border-radius: 10px;
}

.project-info h3 {
  color: #4f8ef7;
  margin-bottom: 10px;
}

.project-info .btn {
  margin: 10px 5px 0 0;
}

.contact-section {
  background-color: #0e0e0e;
  padding: 60px 100px;
  color: white;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  width: 150px;
  align-self: flex-start;
}

.footer {
  background-color: #000;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-img img {
    width: 100%;
    max-width: 250px;
  }

  .intro h1 {
    font-size: 2rem;
  }

  .navbar {
    padding: 10px 20px;
  }

  .navbar ul {
    gap: 10px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .skills .skill-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .projects-section,
  .contact-section {
    padding: 40px 20px;
  }

  .projects-header h2,
  .contact-section h2 {
    font-size: 24px;
    text-align: center;
  }

  .project-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .project-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .project-item img {
    width: 100%;
    height: auto;
  }

  .project-info {
    width: 100%;
  }

  .contact-content {
    flex-direction: column;
    gap: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 14px;
  }

  .btn {
    font-size: 14px;
    padding: 10px 18px;
  }

  .footer {
    font-size: 14px;
    text-align: center;
  }
}