*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #050510;
  color: #e0e0e0;
  line-height: 1.8;
  overflow-x: hidden;
}
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Nav */
.nav{
  position: sticky;
  top: 0;
  background-color: rgba(5,5,5,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(96,28,252,0.2);
  z-index: 1000;
  padding: 1rem;
}
.nav_container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4d3a7a;
  letter-spacing: 0.5px;
}
.nav_links {
  display:flex;
  gap: 2rem;
  flex-wrap: wrap;
  list-style: none;
}
.nav_links a {
  color:#e0e0e0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav_links a:hover {
  color: #601cfc;
}

/* Hero */
.hero{
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow: hidden;
}

.hero-background-image {
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.3) contrast(1.2);
}

.hero::before {
  content: "";
  z-index: 1;
  position: absolute;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 11, 22, 0.7) 0%, rgba(26, 10, 46, 0.7) 50%, rgba(11, 11, 22, 0.7) 100%);
}

.hero-content {
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 1rem;
}

/* NEW: profile image */
.hero-profile-image{
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem auto;
  display: block;
  border: 2px solid rgba(96, 28, 252, 0.7);
  box-shadow: 0 10px 35px rgba(96, 28, 252, 0.35);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #601cfc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #b0b0b0;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #601cfc;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(96, 28, 252, 0.4);
}

.btn-primary:hover {
  background-color: #7a3dff;
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(96, 28, 252, 0.6);
}

.btn-secondary {
  background-color: transparent;
  color: #601cfc;
  border: 2px solid #601cfc;
}

.btn-secondary:hover {
  background-color: rgba(96, 28, 252, 0.1);
  transform: translateY(-2px);
}

.hero-icons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 2rem;
  color: #601cfc;
  opacity: 0.9;
}

/* Make hero icons clickable links look clean */
.hero-icons a{
  color: #601cfc;
  text-decoration: none;
  transition: transform 0.25s ease, color 0.25s ease;
  opacity: 0.85;
}
.hero-icons a:hover{
  color: #7a3dff;
  transform: translateY(-2px);
  opacity: 1;
}

/* Sections */
.section{
  padding: 6rem 0;
}
.section-title{
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
}
.section-subtitle{
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 4rem;
  color: #fff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Projects */
.projects-section {
  background-color: #050510;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Your HTML uses .projects-cart, so we style it */
.projects-cart{
  background-color: #0f0f1e;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(96, 28, 252, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.projects-cart:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(96, 28, 252, 0.4);
  border-color: rgba(96, 28, 252, 0.5);
}

.projects-thumbnail {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background-color: #1a1a2e;
}

.projects-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.projects-cart:hover .projects-thumbnail img {
  transform: scale(1.05);
}

.projects-content {
  padding: 1.5rem;
}

.projects-label {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.projects-description {
  font-size: 0.95rem;
  color: #b0b0b0;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #601cfc;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap 0.3s ease;
}
.project-link:hover {
  gap:0.75rem;
}

/* About */
.about-section {
  background-color: #0b0b16;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(96, 28, 252, 0.3);
  height: 100%;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d0d0d0;
  margin-bottom: 2rem;
}

.skills-section {
  background-color: #0f0f1e;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(96, 28, 252, 0.2);
}

.skills-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: left;
}

.skills-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.skills-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #d0d0d0;
}

.skills-list i {
  color: #601cfc;
  font-size: 1.2rem;
  min-width: 20px;
}

/* Process */
.process-section {
  background-color: #050510;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  text-align: center;
  padding: 2rem;
  background-color: #0f0f1e;
  border-radius: 12px;
  border: 1px solid rgba(96, 28, 252, 0.2);
  transition: border-color 0.3s ease;
}

.process-step:hover {
  border-color: rgba(96, 28, 252, 0.5);
}

.process-number {
  font-size: 3rem;
  font-weight: 800;
  color: #601cfc;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.process-step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.process-step-description {
  font-size: 0.95rem;
  color: #b0b0b0;
}

/* Testimonials */
.testimonials-section {
  background-color: #0b0b16;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: #0f0f1e;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(96, 28, 252, 0.2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
  border-color: rgba(96, 28, 252, 0.5);
  transform: translateY(-8px);
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d0d0d0;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.testimonial-author span {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* FAQ */
.faq-section {
  background-color: #050510;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: #0f0f1e;
  border: 1px solid rgba(96, 28, 252, 0.2);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(96, 28, 252, 0.5);
}

.faq-item[open] {
  border-color: #601cfc;
}

.faq-question {
  padding: 1.5rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(96, 28, 252, 0.1);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  color: #601cfc;
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
  color: #b0b0b0;
  line-height: 1.7;
}

/* Contact */
.contact-section {
  background-color: #0b0b16;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto 3rem auto;
  background-color: #0f0f1e;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid rgba(96, 28, 252, 0.2);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  font-size: 1rem;
  background-color: #1a1a2e;
  border: 1px solid rgba(96, 28, 252, 0.3);
  border-radius: 6px;
  color: #e0e0e0;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #601cfc;
  box-shadow: 0 0 0 3px rgba(96, 28, 252, 0.2);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #d0d0d0;
  font-size: 0.95rem;
}

.checkbox-label input {
  width: auto;
  cursor: pointer;
  accent-color: #601cfc;
}

.checkbox-label:hover {
  color: #ffffff;
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1.125rem;
}

.contact-direct {
  text-align: center;
  font-size: 1.05rem;
  color: #b0b0b0;
}

.contact-direct a {
  color: #601cfc;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-direct a:hover {
  color: #7a3dff;
  text-decoration: underline;
}

/* Footer */
.footer {
  background-color: #050510;
  padding: 3rem 0;
  border-top: 1px solid rgba(96, 28, 252, 0.2);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer p {
  color: #b0b0b0;
  font-size: 0.95rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #601cfc;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: #7a3dff;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-text {
    text-align: center;
  }
  .skills-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav_container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav_links {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
  }

  .hero {
    min-height: 80vh;
    padding: 3rem 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 4rem 0;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .checkbox-group {
    flex-direction: column;
    gap: 1rem;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.form-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(96, 28, 252, 0.25);
  background: rgba(96, 28, 252, 0.08);
  color: #eae7ff;
  display: none;
}
.form-alert.error {
  border-color: rgba(255, 80, 80, 0.35);
  background: rgba(255, 80, 80, 0.08);
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(96, 28, 252, 0.35);
  background: rgba(15, 15, 30, 0.7);
  color: #ffffff;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 250ms ease;
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}