html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #1E293B;
  color: #E2E8F0;
  line-height: 1.6;
}

header {
  background: #0f172a;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
}
.navbar {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo {
  color: #06B6D4;
  font-size: 1.5rem;
  font-weight: bold;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links li a {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}
.nav-links li a:hover {
  color: #06B6D4;
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #E2E8F0;
  cursor: pointer;
}

.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding-top: 60px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('./background.jpg') center/cover no-repeat;
  opacity: 0.25;
  z-index: -1;
}
.welcome {
  font-size: 2.5rem;
  animation: fadeInOut 6s infinite;
}
.welcome span {
  color: #06B6D4;
}
.usp {
  margin-top: 15px;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 60px;
    right: 0;
    display: none;
    width: 220px;
    padding: 15px;
    border-left: 2px solid #06B6D4;
  }
  .nav-links.show { display: flex; }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-text {
    margin-left: 0;
    text-align: center;
  }

  .hero-image img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .welcome {
    font-size: 1.8rem;
  }
  .usp {
    font-size: 1rem;
  }
  .hero-image img {
    width: 150px;
    height: 150px;
  }
}

.about, .portfolio, .skills, .contact {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}
h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 20px;
}
.project {
  background: #334155;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.project:hover { transform: translateY(-5px); }
.project img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}
.project h3 { color: #06B6D4; }
.project a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  background: #06B6D4;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
}
.project a:hover { background: #0891b2; }

.skills-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 20px;
}
.card {
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card h3 { color: #06B6D4; margin-bottom: 10px; }
.card p, .card li { font-size: 0.95rem; }
.card ul { padding-left: 20px; }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px,1fr));
  gap: 15px;
  text-align: center;
  margin-top: 15px;
}
.skill img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}
.skill p { font-size: 0.9rem; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: auto;
}
.contact-form input, .contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  outline: none;
}
.contact-form button {
  background: #06B6D4;
  border: none;
  padding: 12px;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}
.contact-form button:hover { background: #0891b2; }
.social-links { text-align: center; margin-top: 30px; }
.social-links p { margin: 10px 0; }
.social-links a { color: #06B6D4; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }

footer {
  background: #0f172a;
  text-align: center;
  padding: 15px;
  margin-top: 40px;
  color: #E2E8F0;
  font-size: 0.9rem;
  border-top: 1px solid #06B6D4;
}


@keyframes fadeInOut {
  0% { opacity: 0; }
  25% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    flex-direction: column;
    background: #0f172a;
    position: absolute;
    top: 60px;
    right: 0;
    display: none;
    width: 200px;
    padding: 15px;
  }
  .nav-links.show { display: flex; }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

.hero-text {
  flex: 1;
  text-align: left;
  margin-left: 40px;
}

.hero-image img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border: 4px solid #06B6D4;
  border-radius: 50%;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
}
.hero-socials {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.hero-socials a {
  font-size: 1.8rem;
  color: #06B6D4;
  transition: color 0.3s;
}

.hero-socials a:hover {
  color: #0891}
.education {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-left: 0;
    text-align: center;
  }

  .hero-image img {
    width: 200px;
    height: 200px;
  }
}

.education h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 30px;
}

.education-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.edu-card {
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}

.edu-card:hover {
  transform: translateY(-5px);
}

.edu-card h3 {
  color: #06B6D4;
  margin-bottom: 10px;
}

.edu-card p, 
.edu-card li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.edu-card ul {
  padding-left: 20px;
}
.work-experience {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.work-experience h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 30px;
}

.work-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.work-card {
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}

.work-card:hover {
  transform: translateY(-5px);
}

.work-card h3 {
  color: #06B6D4;
  margin-bottom: 10px;
}

.work-card p,
.work-card li {
  font-size: 0.95rem;
  line-height: 1.6;
}

.work-card ul {
  margin-top: 10px;
  padding-left: 20px;
}
.about-btn {
  text-align: center;
  margin-top: 30px;
}

.btn-view {
  display: inline-block;
  background: #06B6D4;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-view:hover {
  background: #0891b2;
}
.skill-group {
  margin-bottom: 15px;
}

.skill-group h4 {
  color: #06B6D4;
  margin-bottom: 8px;
  font-size: 1rem;
}

.skill-group ul {
  list-style: none;
  padding: 0;
}

.skill-group li {
  margin: 6px 0;
  display: flex;
  align-items: center;
}

.skill-logo {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.soft-skills {
  list-style: none;
  padding: 0;
}

.soft-skills li {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.soft-skills i {
  color: #06B6D4;
  margin-right: 10px;
  font-size: 1rem;
}
.company-name {
  font-size: 1.3rem;
  color: #06B6D4;
  margin-bottom: 10px;
  text-align: center;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.job-title {
  font-weight: bold;
  color:#06B6D4 ;
}
.job-title i {
  margin-right: 8px;
  color: #06B6D4; 
  font-size: 1rem;
}


.job-date {
  font-size: 0.95rem;
  color: #E2E8F0;
}
.services {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.services h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 40px;
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
  color: #06B6D4;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: #E2E8F0;
}
.service-icon {
  font-size: 2rem;
  color: #06B6D4;
  margin-bottom: 15px;
}
.tech-stack {
  margin: 10px 0;
  font-size: 0.9rem;
  color: #E2E8F0;
}

.tech-stack strong {
  color: #06B6D4;
}

.achievements {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.achievements h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 40px;
}

.achievement-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-text {
  flex: 1;
}

.achievement-text h3 {
  color: #06B6D4;
  margin-bottom: 15px;
}

.achievement-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.achievement-image img {
  width: 250px;
  border-radius: 12px;
  border: 3px solid #06B6D4;
  box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .achievement-card {
    flex-direction: column;
    text-align: center;
  }
  .achievement-image img {
    width: 100%;
    max-width: 300px;
  }
}
.testimonials {
  padding: 80px 20px;
  max-width: 1000px;
  margin: auto;
}

.testimonials h2 {
  color: #06B6D4;
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #334155;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #E2E8F0;
  font-style: italic;
}

.client {
  font-size: 0.9rem;
  font-weight: bold;
  color: #06B6D4;
  display: flex;
  align-items: center;
  gap: 8px;
}