* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&display=swap');

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

.navbar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-family: 'DM Sans', sans-serif;
}

.nav-inner {
  width: 100%;
  max-width: 900px;
  display: flex;
  align-items: center;
  gap: 32px;
   flex-wrap: wrap;
}
.nav-links.open {
  display: flex;
}
.logo {
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.5px;
  margin-right: auto;
}

.logo span {
  color: #111;
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  margin-left: auto;
}

.menu-icon:hover {
  background: rgba(0, 0, 0, 0.06);
}

.menu-icon svg {
  display: block;
  fill: #111;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links li a {
  text-decoration: none;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  display: block;
}

.nav-links li a:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #111;
}

.nav-links li:last-child a {
  background: #6366f1;
  color: #fff;
  font-weight: 600;
}

.nav-links li:last-child a:hover {
  background: #4f46e5;
  transform: translateY(-1px);
}



.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 30px;
  flex-wrap: wrap;
  gap: 50px;
  background-color: #ffffff;
}

.image img {
  width: 220px;
  height: 220px;
  margin-right: 30px;
  object-fit: cover;
  border-radius: 110px;
  border: 5px solid #6366f1;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.image img:hover {
  transform: scale(1.05);
}

.hero-text {
  max-width: 600px;
  text-align: center;
}

.hero-text h3 {
  font-size: 26px;
  margin: 0px;
  color: #000000;
}

.hero-text h1 {
  font-size: 48px;
  margin: 10px 0px;
  color: #6366f1;
}

.hero-text span {
  color: #6b7280;
  font-weight: bold;
}

.hero-text p {
  font-size: 18px;
  color: #6b7280;
  margin: 20px 0px 30px;
  line-height: 28px;
}

.social-links a {
  margin: 0px 10px;
  font-size: 24px;
  color: #000000;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #6366f1;
}

.about {
  padding: 60px 30px;
  background-color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #000000;
  position: relative;
}

.about h2::after {
  content: "";
  display: block;
  width: 150px;
  height: 4px;
  background-color: #6366f1;
  margin: 5px auto 0;
  border-radius: 2px;
}

.about p {
  font-size: 18px;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 28px;
}

.about h3 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000000;
}

.skills-section{
  padding: 60px 30px;
  background-color: #ffffff;
  text-align: center;
}
.skills-section h3{
  font-size: 28px;
  margin-bottom: 40px;
  color: #000000;
}
.skills {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.skills li {
  background-color: #000000;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 30px;
  color: #ffffff;
  border: 2.5px solid #6366f1;
  transition: all 0.3s ease;
}

.skills li:hover {
  background-color: #6366f1;
  color: #ffffff;
  cursor: default;
  border: #000000 solid 1px;
}

.projects {
  padding: 80px 30px;
  background-color: #ffffff;
  text-align: center;
}

.projects h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.projects h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: #6366f1;
  margin: 10px auto 0;
  border-radius: 2px;
}

.projects-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.project-card {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  /* padding: 5px; */
  width: 100%;
  max-width: 400px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: left;
  overflow: hidden;
}

.project-card .card-body {
  padding: 30px;
}
.project-card:hover {
  transform: translateY(-5px);
}

.project-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s ease;
}

.card-img {
  /* padding: 25px 16px; */
}

.card-img img {
  /* border: #6366f1 solid 3px; */
  width: 100%;
}

.card-body {
  margin-top: -20px;
}

.project-card h3 {
  font-size: 22px;
  color: #000000;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 35px;
  line-height: 24px;
}

.project-card a {
  font-size: 15px;
  color: #6366f1;
  font-weight: 600;
  text-decoration: none;
  margin-right: 10px;
}
/* .project-card .link2 {
  background-color: black;
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 50px;
  color: #ffffff;
} */
.project-card .link1 {
  background-color: #6366f1;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 5px;
  margin-top: 50px;
}

/* .project-card a:hover {
  color: #000000;
} */

.project-card {
  overflow: hidden;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(80px);
  animation: slideInCard 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

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

.project-card:nth-child(1) {
  animation-delay: 0.1s;
}
.project-card:nth-child(2) {
  animation-delay: 0.35s;
}
.project-card:nth-child(3) {
  animation-delay: 0.6s;
}
.project-card:nth-child(4) {
  animation-delay: 0.55s;
}
.project-card:nth-child(5) {
  animation-delay: 1.1s;
}
.project-card:nth-child(6) {
  animation-delay: 1.25s;
}


.testi-section {
  padding: 80px 20px;
  background: #f9f8f5;
  font-family: 'DM Sans', sans-serif;
}

.testi-inner {
  max-width: 700px;
  margin: 0 auto;
}

.testi-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 12px;
}

.testi-heading {
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 48px;
  line-height: 1.3;
}

.testi-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 16px;
  padding: 40px 44px;
  min-height: 220px;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testi-card.fade-out {
  opacity: 0;
  transform: translateY(8px);
}

.testi-quote {
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
  color: #222;
  margin-bottom: 32px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.testi-name {
  font-size: 15px;
  font-weight: 500;
  color: #111;
  margin-bottom: 2px;
}

.testi-role {
  font-size: 13px;
  color: #888;
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
}

.testi-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}

.testi-dot.active {
  background: #6366f1;
  width: 24px;
  border-radius: 4px;
}

.testi-arrows {
  display: flex;
  gap: 10px;
}

.testi-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.testi-arrow:hover {
  background: #6366f1;
  border-color: #6366f1;
}

.testi-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #555;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}

.testi-arrow:hover svg {
  stroke: #fff;
}

.testi-section {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.testi-section.visible {
  opacity: 1;
  transform: translateX(0);
}
.contact {
  padding: 80px 30px;
  background-color: #ffffff;
  text-align: center;
}

.contact h2 {
  font-size: 36px;
  color: #000000;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  background-color: #6366f1;
  margin: 10px auto 0;
  border-radius: 2px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  font-size: 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #6366f1;
}

.contact-form button {
  padding: 14px;
  font-size: 16px;
  color: #fff;
  background-color: #6366f1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #000000;
}

footer {
  background-color: #000000;
  color: #ffffff;
  padding: 30px 20px;
  text-align: center;
  margin-top: 80px;
}

.footer-content p {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.footer-content .social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-content .social-links a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.footer-content .social-links a:hover {
  color: #6366f1;
  border-bottom: 2px solid #6366f1;
}

@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 28px;
    margin-top: 30px;
  }
  .hero-text h3 {
    font-size: 26px;
    margin-top: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 30px;
    align-items: center;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.04);
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links li {
    margin: 10px 0;
    width: 100%;
    text-align: right;
    padding-right: 10px;
  }
  .hero-text h1 {
    font-size: 28px;
    margin-top: 30px;
  }
  .hero-text h3 {
    font-size: 26px;
    margin-top: 0;
    text-align: center;
  }
  .hero-text p {
    font-size: 18px;
  }
  .image img {
    width: 220px;
    height: 220px;
  }
  .about h2 {
    font-size: 34px;
    margin-top: 0px;
  }
  .about {
    padding: 5px 20px;
    text-align: center;
  }
  .about p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 26px;
    padding: 0 15px;
  }
  .skills {
    margin-bottom: 50px;
  }

  .skills li {
    font-size: 15px;
  }

  .projects {
    padding: 50px 30px;
  }

  .projects h2 {
    font-size: 34px;
  }

  .contact {
    padding: 70px 40px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 15px;
  }

  footer {
    padding: 30px 20px;
    margin-top: 50px;
  }

  .footer-content p {
    font-size: 16px;
  }

  .footer-content .social-links {
    align-items: center;
    gap: 12px;
  }

  .footer-content .social-links a {
    font-weight: 600;
    font-size: 14px;
  }
}

/* ── Mobile ── */
@media (max-width: 640px) {
  .navbar {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 0;
     background: rgba(209, 213, 219, 0.3);
  }

  .logo {
    flex: 1;
  }

  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 10px;
  background: rgba(209, 213, 219, 0.75);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    display: block;
    font-size: 16px;
    padding: 10px 28px;
  }
}

@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 28px;
    margin-top: 12px;
  }
  .hero-text h3 {
    font-size: 26px;
    margin-top: 8px;
    text-align: center;
  }
  .hero-text p {
    font-size: 17px;
  }
  .social-links a {
    font-size: 28px;
  }
  .image img {
    width: 220px;
    height: 220px;
  }
  .about h2 {
    font-size: 30px;
    margin-top: 0px;
  }
  .about {
    padding: 3px 20px;
    text-align: center;
  }
  .about p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 26px;
    padding: 0 15px;
  }
  .skills {
    margin-bottom: 50px;
  }

  .skills li {
    font-size: 14px;
  }

  .projects {
    padding: 50px 40px;
  }

  .projects h2 {
    font-size: 32px;
  }
  .project-card h3 {
    font-size: 20px;
  }

  .project-card p {
    font-size: 14px;
  }

  .project-card a {
    font-weight: 600;
  }


 
  .testi-card {
    padding: 28px 24px;
  }

  .testi-heading {
    font-size: 26px;
  }

  .testi-quote {
    font-size: 17px;
  }

  .contact {
    padding: 70px 40px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    padding: 12px;
    font-size: 14px;
  }
  footer {
    padding: 30px 20px;
    margin-top: 50px;
  }

  .footer-content p {
    font-size: 15px;
  }

  .footer-content .social-links {
    align-items: center;
    gap: 12px;
  }

  .footer-content .social-links a {
    font-weight: 600;
    font-size: 14px;
  }
}
@media (max-width: 400px) {

  /* .navbar {
    display: none;
  }
  .logo{
    display: flex;
  } */
  .hero-text h1 {
    font-size: 28px;
    margin-top: 10px;
  }
  .hero-text h3 {
    font-size: 26px;
    text-align: center;
    margin-top: 6px;
  }
  .hero-text p {
    font-size: 16px;
  }
  .social-links a {
    font-size: 28px;
  }
  .image img {
    width: 220px;
    height: 220px;
  }
  .about h2 {
    font-size: 30px;
    margin-top: 0px;
  }
  .about {
    padding: 5px 20px;
    text-align: center;
  }
  .about p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 26px;
    padding: 0 15px;
  }
  .skills {
    margin-bottom: 50px;
  }

  .skills li {
    font-size: 14px;
  }

  .projects {
    padding: 50px 20px;
  }

  .projects h2 {
    font-size: 32px;
  }
  .project-card h3 {
    font-size: 20px;
  }

  .project-card p {
    font-size: 14px;
  }

  .project-card a {
    font-weight: 600;
  }

  .contact {
    padding: 70px 25px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-form button {
    padding: 12px;
    font-size: 14px;
  }
  footer {
    padding: 30px 20px;
    margin-top: 50px;
  }

  .footer-content p {
    font-size: 15px;
  }

  .footer-content .social-links {
    align-items: center;
    gap: 12px;
  }

  .footer-content .social-links a {
    font-weight: 600;
    font-size: 14px;
  }
}
