:root{
  --purple: #72007a;
  --white: #ffffff;
  --dark: #0d0012;
  --muted: #9b86a8;
}

/* Reset & base */
*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background:var(--dark);
  color:var(--white);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  scroll-behavior:smooth;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url('https://img.freepik.com/free-photo/programming-background-with-person-working-with-codes-computer_23-2150010125.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 0 20px;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75); /* Dark purple overlay */
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
}

.hero .highlight {
  color: #fff;
  background: #72007a;
  padding: 0 12px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.hero .lead {
  font-size: 1.3rem;
  margin-top: 20px;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 30px;
}

.hero-buttons .btn {
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: none;
}

.hero-buttons .btn-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-primary {
  background-color: #72007a;
  color: #fff;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background-color: #fff;
  color: #72007a;
}

.contact-info {
  margin-top: 25px;
}

.contact-info p {
  margin: 0.3rem 0;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: #fff;
}

.linkedin-btn {
  display: inline-block;
  border: 1px solid #fff;
  padding: 6px 15px;
  border-radius: 5px;
  color: #fff;
  margin-top: 10px;
  transition: 0.3s;
}

/* .linkedin-btn:hover {
  background-color: #fff;
  color: #72007a;
} */

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}
.fade-in.delay-1 { animation-delay: 0.6s; }
.fade-in.delay-2 { animation-delay: 1.2s; }
.fade-in.delay-3 { animation-delay: 1.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hire-me-button{
    margin-right: 0 !important;
}
.hire-me-button:hover{
    background-color: #72007a;
    color: white;
}
/* Responsive */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero .lead {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero .lead {
    font-size: 1rem;
  }
}

/* Sections */
.section{ padding:4.5rem 1rem; }
.bg-white{ background:#fff; color:#0d0012; }
.bg-dark{ background:linear-gradient(180deg, rgba(18,1,24,1), rgba(9,0,14,1)); }

/* Skill cards */
.skill-card{
  border:1px solid rgba(255,255,255,0.06);
  background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  transition:transform .35s ease, box-shadow .35s ease;
  border-radius:12px;
  overflow:hidden;
}
.skill-card:hover{
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(114,0,122,0.18);
  border-color: rgba(114,0,122,0.95);
  background: linear-gradient(180deg, rgba(114,0,122,0.12), rgba(114,0,122,0.06));
  color:var(--white);
}
.skill-card .card-body{ min-height:140px; }
.skill-card h5{ color:var(--white); margin-bottom:8px; }
.skill-card p{ color:rgba(255,255,255,0.9); }

/* badges */
.skill-tags .badge{ background:rgba(255,255,255,0.08); color:var(--white); padding:6px 8px; border-radius:8px; }

/* Roadmap */
.roadmap{ max-width:900px; margin:0 auto; position:relative; padding-left:40px; }
.roadmap::before{ content:""; position:absolute; left:12px; top:0; bottom:0; width:4px; background:linear-gradient(180deg, var(--purple), rgba(114,0,122,0.6)); border-radius:4px;}
.roadmap-item{ position:relative; margin-bottom:2.2rem; display:flex; gap:1rem; align-items:flex-start; }
.roadmap-dot{ width:18px; height:18px; border-radius:50%; background:var(--purple); box-shadow:0 6px 18px rgba(114,0,122,0.28); position:absolute; left:-1px; top:3px; }
.roadmap-card{ background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); padding:18px; border-radius:10px; border:1px solid rgba(255,255,255,0.04); width:100%; }

/* Contact form */
.form-card{ background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border-radius:12px; border:1px solid rgba(255,255,255,0.04); box-shadow:0 12px 30px rgba(0,0,0,0.5); }
.form-card .form-control{ background:rgba(255,255,255,0.03); color:var(--white); border:1px solid rgba(255,255,255,0.06); }
.form-card label{ color:var(--muted); }

/* WhatsApp */
#whatsapp{ position:fixed; right:18px; bottom:18px; z-index:9999; width:100px; height:100px; display:block; border-radius:50%;}
#whatsapp img{ width:100%; height:100%; object-fit:cover; }

/* Footer */
footer{ border-top:2px solid rgba(255,255,255,0.03); }

/* Responsive */
@media (max-width:768px){
  .display-4{ font-size:2.2rem; }
  .hero{ padding:4rem 1rem; }
}

/* Reveal animation helpers */
.reveal{ opacity:0; transform: translateY(18px) scale(.99); transition: all .65s cubic-bezier(.2,.9,.2,1); }
.reveal.visible{ opacity:1; transform:none; }
.reveal.delay-05{ transition-delay:.05s; }
.reveal.delay-1{ transition-delay:.1s; }
.reveal.delay-15{ transition-delay:.15s; }
.reveal.delay-2{ transition-delay:.2s; }
.reveal.delay-25{ transition-delay:.25s; }
.reveal.delay-3{ transition-delay:.3s; }
.reveal.delay-35{ transition-delay:.35s; }
.reveal.delay-4{ transition-delay:.4s; }
.reveal.delay-45{ transition-delay:.45s; }
.reveal.delay-5{ transition-delay:.5s; }
.reveal.delay-55{ transition-delay:.55s; }
.reveal.delay-6{ transition-delay:.6s; }
.reveal.delay-65{ transition-delay:.65s; }
.reveal.delay-7{ transition-delay:.7s; }
.reveal.delay-75{ transition-delay:.75s; }
.reveal.delay-8{ transition-delay:.8s; }

/* small details */
a.btn-light{ background:#fff; color:var(--purple); border-radius:999px; }
.btn-outline-light{ border-color:rgba(255,255,255,0.35); color:#fff; border-radius:999px; }
#about {
  padding: 120px 0;
  background: #fff;
  position: relative;
}

#about h2 {
  font-size: 3rem;
  font-weight: 900;
  color: #72007a;
  display: inline-block;
  position: relative;
}

#about .highlight {
  background: #72007a;
  color: #fff;
  padding: 0 12px;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(114, 0, 122, 0.3);
}

#about .underline {
  width: 80px;
  height: 4px;
  background: #72007a;
  border-radius: 2px;
}

#about p.lead {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.reveal.delay-1 { animation-delay: 0.3s; }
.reveal.delay-2 { animation-delay: 0.6s; }
.reveal.delay-3 { animation-delay: 0.9s; }
.reveal.delay-4 { animation-delay: 1.2s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


#experience {
  padding: 100px 0;
  background: #ffffff;
}

#experience h2 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #72007a;
  text-transform: uppercase;
}

#experience .highlight {
  background: #72007a;
  color: #fff;
  padding: 0 12px;
  border-radius: 6px;
}

#experience .underline {
  width: 80px;
  height: 4px;
  background: #72007a;
  border-radius: 2px;
}

#experience p.lead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 60px;
}

/* Tree Roadmap */
.tree-roadmap {
  display: flex;
  justify-content: space-between;
  position: relative;
  flex-wrap: wrap;
  gap: 40px;
}

/* Staggered Cards */
.tree-card {
  background: #72007a;
  color: #fff;
  border-radius: 20px;
  width: 280px;
  padding: 25px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
  transition: all 0.5s ease;
  position: relative;
  text-align: center;
  z-index: 1;
}

.tree-card-top {
  margin-top: 0;
}

.tree-card-bottom {
  margin-top: 80px; /* staggered look */
}

/* 3D hover effect */
.tree-card:hover {
  transform: translateY(-20px) rotateX(3deg) rotateY(3deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.7);
  background: #fff;
  color: #72007a;
}

.tree-card:hover h5,
.tree-card:hover small,
.tree-card:hover p {
  color: #72007a;
}

/* Card text */
.tree-card h5 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.tree-card small {
  display: block;
  font-weight: 500;
  margin-bottom: 12px;
}

.tree-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards;
}

.reveal.delay-1 { animation-delay: 0.4s; }
.reveal.delay-2 { animation-delay: 0.7s; }
.reveal.delay-3 { animation-delay: 1s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Connecting line (optional) */
.tree-roadmap::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  height: 4px;
  background: #72007a;
  z-index: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .tree-roadmap {
    flex-direction: column;
    align-items: center;
  }
  .tree-card-bottom {
    margin-top: 20px;
  }
  .tree-roadmap::before {
    display: none;
  }
}

.form-submit-btn{
    background-color: white;
    border: none;
    color: #000;
    font-weight: 700;
}