* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

/* :root {
  --fs-h1: clamp(2rem, 5vw, 4rem);
  --fs-h2: clamp(1.5rem, 3vw, 3rem);
  --fs-h3: clamp(1.2rem, 2vw, 2rem);
  --fs-body: clamp(0.95rem, 2vw, 1.1rem);
} */

:root {
  /* Mobile-first base sizes */
  --fs-xs: clamp(0.75rem, 1vw + 0.5rem, 0.9rem);
  --fs-sm: clamp(0.9rem, 1vw + 0.6rem, 1rem);
  --fs-md: clamp(1rem, 1vw + 0.8rem, 1.25rem);
  --fs-lg: clamp(1.4rem, 2vw + 1rem, 2rem);
  --fs-xl: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  --fs-xxl: clamp(2.2rem, 4vw + 1rem, 4.5rem);
}

body {
  line-height: 1.7;
  font-size: var(--fs-sm);
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #444;
  font-weight: 400;
  line-height: 1.8;
  font-size: 1rem;
  background-color: rgb(249, 249, 249);
}

.mobile-header {
  display: block;
}
.desktop-header {
  display: none;
}

.logo {
  width: 120px;
  border-radius: 12px;
  transition: transform 0.3s ease-in-out;
  height: auto;
  display: block;
  margin: 10px auto;
}
/* Mobile navigation */
/* NAVIGATION */
.mobile-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 6px 12px;
}

/* the HAMBURGER MENU styling */
.hamburger {
  cursor: pointer;
  margin: 6px;
}
.features-icon {
  stroke: var(--charcoal);
  width: 40px;
  height: 40px;
}
.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #151333;
  margin: 7px 0;
  transition: 0.4s;
}

.topnav {
  display: none;
}
.topnav {
  background: radial-gradient(circle at center, #0a0f2c, #050618);
  height: 70px;
  padding: 1rem;
}

.nav__link {
  margin-right: 0.5rem;
}
.topnav a {
  text-decoration: none;
  color: #fff;
}

.topnav .active {
  background: rgba(138, 43, 226, 0.25); /* soft cosmic purple */
  padding: 8px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.4);
  transition: all 0.3s ease;
}

.nav__link:hover {
  color: #fefcfcd4;
}

.header-box {
  margin-bottom: 120px;
}
.sidenav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 48px;
  padding-right: 48px;
  background-color: var(--cream);
  color: #444;
  line-height: 1.4;
  height: 120px;
}
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 18px;
  color: var(--charcoal);
}
.sidenav .active {
  background: rgba(138, 43, 226, 0.25); /* soft cosmic purple */
  padding: 10px 26px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.4);
  transition: all 0.3s ease;
}
.sidenav a:hover {
  transform: translateY(-1px);
  color: #444;
}

/* Animate the hamburger */
.hamburger.change .bar1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.change .bar2 {
  opacity: 0;
}

.hamburger.change .bar3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Open-show mobile menu */
#myLinks {
  display: none;
}

#myLinks.open {
  display: block;
}

/* Sticky navigation class */
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999; /* keeps it above other elements */
  background-color: white;
}

/* Hero section---------- */

/* Hero animation */
.hero-content > * {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.hero-tagline {
  font-size: 1.5rem;
  color: #d1d5db;
}
.hero-content.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.hero-content.visible > *:nth-child(1) {
  transition-delay: 0.1s;
}
.hero-content.visible > *:nth-child(2) {
  transition-delay: 0.25s;
}
.hero-content.visible > *:nth-child(3) {
  transition-delay: 0.4s;
}
.hero-content.visible > *:nth-child(4) {
  transition-delay: 0.55s;
}
.hero-content.visible > *:nth-child(5) {
  transition-delay: 0.7s;
}

.experience-box {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.2rem;
}
.exp-cont {
  color: #d1d5db;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 0.5rem;
  padding: 0.2rem;
  border-right: 0.5px solid #d1d5db;
  border-left: 0.5px solid #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
}

.exp-cont p {
  font-size: 0.6rem;
}
.bi {
  font-size: 15px;
  color: #c084fc;
}

.hero-content i {
  font-size: 1.4rem;
  margin: 0 0.7rem;
  color: #c084fc;
  transition: color 0.3s ease;
}

.hero-content i:hover {
  color: #c084fc;
}

/* New hero */
/* ------------------------------
   HERO WRAPPER
--------------------------------*/
.hero {
  padding: 4rem 1.25rem 3rem;
  background: radial-gradient(circle at top, #1e1b4b 0, #020617 55%, #000 100%);
  color: #f5f5ff;
}

.hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  gap: 3.5rem;
}

/* ------------------------------
   LEFT SIDE
--------------------------------*/
.hero-name {
  font-size: var(--fs-xxl);
  font-weight: 700;
  margin-bottom: 0.3rem;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-role {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
  color: #a5a7c7;
}

.hero-sub {
  font-size: 1rem;
  max-width: 420px;
  margin-bottom: 1.5rem;
  color: #c7c9e8;
}

/* ------------------------------
   SOCIAL ICONS
--------------------------------*/
.hero-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-icons a {
  font-size: 1.3rem;
  color: #c7c9e8;
  transition: color 0.2s ease;
}

.hero-icons a:hover {
  color: #a855f7;
}

/* ------------------------------
   STATS (rounded glowing cards)
--------------------------------*/
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-card {
  flex: 1;
  min-width: 120px;
  padding: 1rem;
  text-align: center;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-card h3 {
  font-size: 1.4rem;
  color: #a855f7;
  margin-bottom: 0.3rem;
}

.stat-card p {
  font-size: 0.85rem;
  color: #a5a7c7;
}

/* ------------------------------
   CTA BUTTONS
--------------------------------*/
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-primary {
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}

.cta-secondary {
  padding: 0.75rem 1.4rem;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 253, 0.6);
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #f5f5ff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.cta-secondary:hover {
  background: rgba(148, 163, 253, 0.18);
}

/*  */

.about {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 3rem 1.5rem;
  color: #0f0f1a;
}

/* Titles */
.about-title,
.exp-title {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
}

.about-title span,
.skills-title span,
.exp-title span {
  color: #a78bfa;
}

.exp-title {
  text-align: center;
}
/* Left side */
.about-left {
  text-align: center;
}

.about-img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  margin: 1rem auto;
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.4);
}

.about-intro {
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Experience cards */
.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.experience-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.1);
}

.experience-card h4 {
  color: #c084fc;
  margin-bottom: 0.3rem;
  font-size: var(--fs-md);
}

.experience-card h5 {
  color: #a78bfa;
  margin-bottom: 0.8rem;
}

.experience-card ul {
  padding-left: 1rem;
  line-height: 1.5;
}

/*  */

/* Why hire me styling */
/* Base styling */
.why-hire-me {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #d1d5db;
  text-align: center;
  padding: 3rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
  font-family: "Poppins", sans-serif;
}

/* Headline */
.headline {
  font-size: var(--fs-lg);
  font-weight: 500;
  margin-bottom: 2rem;
}
.headline span {
  color: #c084fc;
  font-weight: 600;
  font-size: 1rem;
}

/* Qualities grid */
.qualities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.quality {
  background-color: #1f1f3a;
  border: 1px solid #2e2e4e;
  border-radius: 10px;
  padding: 1rem;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.quality:hover {
  transform: translateY(-5px);
  border-color: #a78bfa;
}
.quality i {
  margin-left: 1rem;
}
.quality h3 {
  color: #a78bfa;
  font-size: var(--fs-md);
  margin-bottom: 0.5rem;
}

.work-together {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-title {
  margin: 0 auto 5rem 5rem;
}
/* Traits list */
.subheading {
  font-size: 1.1rem;
  color: #facc15;
  margin-bottom: 1rem;
}
.traits {
  list-style: none;
  padding: 0;
  margin: 0 auto 2rem;
}
.traits li {
  margin: 0.5rem 0;
  font-size: 1rem;
}

/* Closing statement */
.closing {
  font-size: 1rem;
  line-height: 1.6;
}
.closing span {
  color: #c084fc;
  font-weight: 600;
}

.chat {
  color: rgb(246, 244, 244);
  margin-right: 1rem;
}
.adapt {
  color: #2a00c7;
}

.consistency {
  color: rgb(116, 215, 192);
}

.rocket {
  color: rgb(246, 164, 228);
}
.chat,
.adapt,
.consistency,
.rocket {
  margin-right: 1rem;
}

/* CONTACT COLUMN */
.getin-touch-cont {
  background: rgba(255, 255, 255, 0.04);
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.getin-touch-cont h3 {
  color: #ff9df5;
  margin-bottom: 4px;
}

.getin-touch-cont p {
  color: #cfcfff;
  margin-bottom: 16px;
}

.intouch-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e6e0ff;
  text-decoration: none;
  padding: 6px 0;
}

.intouch-item:hover {
  color: #ff9df5;
  transition: 0.3s ease;
}

.col-1 {
  /* background-color: #efe8f6; */
  padding: 2em;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.icon {
  width: 50px;
  stroke: orange;
  margin-right: 1rem;
}
.aproach-cont {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}
.approach-columns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* SKills section */
.skills-section {
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: var(--fs-lg);
}

.skills-title {
  font-size: var(--fs-xl);
  margin-bottom: 2rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 1rem;
}

/* Skill Card */
.skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.skill-card h4 {
  color: #c084fc;
  margin-bottom: 1rem;
  font-size: var(--fs-md);
}

.skill-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.skill-icons i {
  font-size: 1.8rem;
  color: gray;
  /* color: #d1d5db; */
}

.skill-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Personal */
.about-personal {
  position: relative;
  margin-top: 2rem;
}

.about-personal p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 90%;
}

.abstract-shape {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at center, #9a00ff 0%, #3a00ff 100%);
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
  opacity: 0.2;
  z-index: -1;
}

/* .......... */

/* Project */
.projects-section {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #d1d5db;
  padding: 3rem 1.5rem;
  overflow-x: hidden;
}

.projects-title {
  font-size: var(--fs-xl);
  text-align: center;
  margin-bottom: 40px;
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}

.projects-title span {
  color: #c084fc;
  font-size: 1.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  /* padding: 1rem 0; */
}
.project-card {
  background-color: #1f1f3a;
  border: 1px solid #2e2e4e;
  border-radius: 14px;
  overflow: hidden;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
}

.calc-strenghts li {
  list-style: none; /* remove default bullet */
  position: relative;
  padding-left: 1.8rem; /* space for the icon */
  color: #fff;
}

.calc-strenghts li::before {
  content: "☑️"; /* your icon */
  position: absolute;
  left: 0;

  top: 0.1rem;
  font-size: var(--fs-sm);
}

#scapp-cont {
  background: #1a1a2e; /* dark card background */
  border: 1px solid #2e2e4e; /* subtle border */
  border-radius: 12px;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* important */
  padding: 1rem;
  box-sizing: border-box;
}

#scapp-cont:hover {
  border-color: #a78bfa; /* purple glow on hover */
  box-shadow: 0 0 12px rgba(167, 139, 250, 0.4);
}

.project-thumb-app {
  width: 100%;
  max-width: 100%;
  height: auto;
  /* border: 7px solid #fefdfd; */
  border-radius: 10px;
  display: block;
  box-sizing: border-box;
  border: 4px solid #d1d5db;
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
}
.project-title {
  font-size: var(--fs-lg);
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
}
.section-title {
  font-size: var(--fs-xl);
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  text-align: center;
  -webkit-background-clip: text;
  color: transparent;
}

.project-desc {
  color: #d1d5db;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.project-buttons {
  display: flex;
  gap: 0.8rem;
  margin-top: auto;
}
.btn-primary,
.btn-secondary,
.btn-text {
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-secondary {
  /* border: 1px solid rgba(167, 139, 250, 0.3); */
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #a78bfa;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 253, 0.6);
  color: #f5f5ff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-text {
  color: #c084fc;
  text-decoration: underline;
}

.btn-primary:hover {
  background-color: #c084fc;
}

.btn-secondary:hover {
  background-color: #a78bfa;
  color: #d1d5db;
}
.btn-primary {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}
.btn-text {
  text-decoration: underline;
}

.all-proj-btn-cont {
  text-align: center;
  margin-top: 50px;
}

.view-all-proj-btn {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-all-proj-btn a {
  color: inherit;
  text-decoration: none;
}

.view-all-proj-btn:hover {
  background-color: #a78bfa;
  color: #fff;
}

.big {
  font-size: 20px;
  color: orange;
}

/* tech */
.tech-strip-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 1rem 0;
  background: transparent;
}

.tech-strip {
  gap: 3rem;
  animation: scroll 15s linear infinite;
  padding: 3rem 1.5rem;
  color: #838399;
}
.tech-strip span {
  font-size: var(--fs-md);
  padding: 0.5em 0.7em;
  margin-right: 10px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: radial-gradient(
    circle at top right,
    rgba(160, 107, 255, 0.15),
    transparent 60%
  );
  border-radius: 16px;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.tech-strip p:hover {
  transform: scale(1.2);
  color: #a78bfa;
}
.stack {
  display: flex;
  flex-direction: row;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/*  */
/* PROJECTS SECTION */

/*
.projects-title {
  text-align: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c2a54;
  margin-bottom: 2rem;
}

.projects-title span {
  border-bottom: 4px solid #9a00ff;
  padding-bottom: 2px;
  margin-right: 6px;
}


.projects-grid {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 1.5rem;
}


.project-card {
  max-width: 290px;
  border-radius: 16px;
  text-align: left;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease;
  color: #444;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.project-descr {
  padding: 1.8rem;

}

.project-card:hover {
  transform: translateY(-4px);
}


.project-thumb {
  width: 100%;
  border-radius: 10px 10px 0 0;
}

#scapp-cont {
  display: flex;
  justify-content: center;
}
.project-thumb-app {
  width: 40%;
  margin-left: auto;
  margin-right: auto;
}


.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
}


.project-tech {
  font-size: 0.9rem;
  color: #6a4cff;
  font-weight: 500;
  margin-bottom: 1rem;
}

.project-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-primary {
  background: #9a00ff;
  color: white;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  width: 100px;
}

.btn-text {
  color: #6a4cff;
  font-size: 0.9rem;
  text-decoration: underline;
}
.all-proj-btn-cont {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem;
}
.view-all-proj-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  padding: 5px 10px;
  margin: 1rem;
  background: #9a00ff;

  border: none;
  border-radius: 10px;
  text-align: center;
}

.view-all-proj-btn a {
  text-decoration: none;
  color: white;
} */
/* Services */
.toolkit-heading {
  margin: 8rem 0 2rem 0;
}
.services-wrapper {
  padding: 3rem 1.5rem;
  background: #0f0f1a;
  color: #d1d5db;
  text-align: center;
}

.services-title {
  font-size: var(--fs-xl);
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  -webkit-background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.services-title span {
  color: #a78bfa;
}

.services-subtitle {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  color: #b8b8d4;
  font-size: 1rem;
  line-height: 1.6;
}

/* Tabs */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.service-tab {
  padding: 0.7rem 1.4rem;
  border-radius: 6px;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.service-tab.active,
.service-tab:hover {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  color: #fff;
}

/* Panels */
.service-panel {
  display: none;
}

.service-panel.active {
  display: block;
}

/* Card */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  /* border: 1px solid rgba(167, 139, 250, 0.3); */
  border: 0.2px solid rgba(63, 17, 200, 0.25);
  border-radius: 16px;
  padding: 2rem;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 0 25px rgba(167, 139, 250, 0.15);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  font-size: var(--fs-sm);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 35px rgba(167, 139, 250, 0.35);
}

.service-card h3 {
  color: #c084fc;
  font-size: var(--fs-md);
  margin-bottom: 1rem;
}

.service-desc {
  color: #d1d5db;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: #b8b8d4;
  line-height: 1.6;
}

.service-list li::before {
  content: "• ";
  color: #c084fc;
}

.service-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 8px;
  background: linear-gradient(135deg, rgb(56, 189, 248), rgb(168, 85, 247));
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.service-btn:hover {
  background: #c084fc;
}

.services-img {
  width: 100%;
  max-width: 900px;
}
/* Testimonial */

.lets-connect-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 3rem 1.5rem;
  margin: 2rem auto;
  width: 100%;
  background-color: rgb(249, 249, 249);
}

.connect {
  margin-right: 0.9rem;
}
.testimonial-cont {
  padding: 3rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.testiminial-header {
  margin: 1rem;
  padding: 1em;
}
.testimonial-text {
  position: relative;
  padding: 2.5rem;
  border-radius: 18px;
}

/* BIG opening quote */
.testimonial-text::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: -5px;
  font-size: 6rem;
  color: rgba(62, 31, 94, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

/* BIG closing quote */
.testimonial-text::after {
  content: "”";
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 6rem;
  color: rgba(62, 31, 94, 0.15);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.intro {
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
  line-height: 1.6;
  font-size: var(--fs-md);
  text-align: center;
}

/* Card */
.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

/* Optional cosmic glow */
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at top right,
    rgba(160, 107, 255, 0.15),
    transparent 60%
  );
  z-index: -1;
}

/* Image */
.test-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

/* Text */
.name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.quote {
  font-style: italic;
  line-height: 1.7;
  margin: 0.5rem 0 1rem;
}

/* Rating */
.checked {
  color: #ffb347;
  font-size: 1.3rem;
}

/* FOOTER */
/* FOOTER BASE */
.btn-primary-footer {
  background: #9a00ff;
  border: none;
  color: #e6e0ff;
}

.footer-box {
  background: radial-gradient(circle at center, #0a0f2c, #050618);
  color: #fff;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-info h2 {
  background: linear-gradient(90deg, #a855f7, #38bdf8);
  text-align: center;
  -webkit-background-clip: text;
  color: transparent;
  font-size: var(--fs-lg);
  text-align: left;
  margin-bottom: 0.5rem;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* color: #c084fc; */
  color: #fff;
  text-decoration: none;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.social-links a {
  color: #a78bfa;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}
.social-links a:hover {
  color: #c084fc;
}

.footer-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.footer-form h2 {
  color: #a78bfa;
  margin-bottom: 0.5rem;
}
.footer-form p {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px solid #2e2e4e;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
}
input:focus,
textarea:focus {
  outline: none;
  border-color: #a78bfa;
}

.footer-btn {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
.btn-primary-footer {
  background: linear-gradient(135deg, rgb(56, 189, 248), rgb(168, 85, 247));
  color: #fff;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}
.btn-secondary-footer {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border: 1px solid rgba(167, 139, 250, 0.3);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  padding: 0.8rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
}
.btn-primary-footer:hover {
  background: #c084fc;
}
.btn-secondary-footer:hover {
  background: #a78bfa;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
  font-size: var(--fs-xs);
}
.footer-logo {
  width: 80px;
  margin-bottom: 1rem;
}
.footer-links li {
  list-style: none;
  font-size: 0.7rem;
  color: #c0c0c5;
}

.footer-links li:nth-child(2) a {
  text-decoration: none;
  border-bottom: 2px solid #a78bfa;
  padding-bottom: 2px;
}
.footer-links li {
  margin: 0.3rem 0;
}
.footer-links a {
  color: #c084fc;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  z-index: 999;
}

.hidden {
  display: none;
}

/* MODAL BOX */
.modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* CLOSE BUTTON */
.close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

/* HEADING */
.modal-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* FORM */
.hireModal {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: #0a0f2c;
}

/* LABELS */
.hireModal label {
  font-weight: 600;
  font-size: 0.95rem;
}

/* INPUTS + TEXTAREA */
.hireModal input,
.hireModal textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  font-size: 1rem;
  font-family: inherit;
}

.hireModal input:focus,
.hireModal textarea:focus {
  outline: none;
  border-color: #9a00ff;
  box-shadow: 0 0 0 2px rgba(154, 0, 255, 0.2);
}

/* FEEDBACK */
.hireModal small {
  color: #d12f2f;
  font-size: 0.8rem;
}

/* SUBMIT BUTTON */
.hireModal .btn-primary {
  background: #3a00ff;
  color: white;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 0.5rem;
}

.hireModal .btn-primary:hover {
  background: #2a00c7;
}

.modal-content::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at center, #9a00ff 0%, #3a00ff 100%);
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  opacity: 0.15;
  z-index: -1;
  filter: blur(2px);
}

/* SOCIAL ICONS INSIDE MODAL */
.modal-content .form-heading {
  margin-top: 1rem;
  text-align: center;
}

.modal-content .form-heading i {
  margin: 0 0.5rem;
  transition: transform 0.2s ease;
}

.modal-content .form-heading i:hover {
  transform: scale(1.1);
}

/* Fade in sections style */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s ease-out,
    transform 0.9s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
/*  */
@media (min-width: 768px) {
  .topnav {
    display: none;
  }
  .mobile-header {
    display: none;
  }
  .desktop-header {
    display: block;
  }

  .hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
  }

  .project-descr {
    padding: 0.5em;
    margin: 1rem 0.5rem;
  }
  .experience-box {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .skills-section {
    margin-bottom: 5rem;
  }
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .experience-box {
    justify-content: center;
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }
  .unique-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
  }

  .project-tech {
    color: #a78bfa;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  .about {
    flex-wrap: nowrap;
    gap: 0.9rem;
    margin: 0 auto;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    margin-bottom: 5rem;
  }
  .about-content {
    text-align: left;
    max-width: 50%;
  }

  .about-grid {
    display: flex;
    align-items: start;
    margin-bottom: 2rem;
    gap: 2rem;
  }

  .about-card {
    text-align: left;
    max-width: 360px;
  }

  .about-text {
    text-align: left;
  }
  .qualities {
    grid-template-columns: repeat(3, 1fr);
  }
  .headline {
    font-size: 1.5rem;
  }
  .traits li {
    font-size: 1.1rem;
  }
  .profile {
    text-align: center;
  }

  .approach-columns {
    display: flex;
    flex-direction: row;
    max-width: 1300px;
    margin: 0 auto;
  }
  .col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
  }

  .projects-section {
    padding: 1em;
    overflow-x: hidden;
    margin-bottom: 5rem;
  }

  .project-card {
    max-width: 100%;
  }

  .profile-card {
    display: flex;
    gap: 3rem;
    padding: 2em;
    text-align: left;
  }

  #myProgress {
    max-width: 50%;
  }
  /* .skills-grid {
    grid-template-columns: 1fr;
  } */

  .abstract-shape {
    width: 180px;
    height: 180px;
  }

  /*  */
  /* NEW PROJECT SECTION */

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* .project-card {
    align-items: flex-start;
  } */

  .project-thumbnail {
    width: 100%;
  }

  .project-info {
    width: 100%;
    gap: 2rem;
  }

  .service-card {
    flex-direction: row;
  }

  .testimonial-card {
    flex-direction: row;
    text-align: left;
  }

  .testimonial-text {
    flex: 1;
  }
  /*  */
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    /* align-items: flex-end; */
  }
  .footer-form {
    flex: 1;
    max-width: 50%;
  }
  .footer-info {
    flex: 1;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 1.2rem;
  }
  .hero {
    height: 80vh;
    display: flex;
    align-items: center;
    margin-bottom: 8rem;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
    margin: 5rem auto;
    gap: 5rem;
  }

  /* Experience box BELOW text on desktop */
  .experience-box {
    justify-content: flex-start;
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .small {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .about {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto 8rem auto;
  }

  .about-left {
    /* flex: 1; */
    text-align: left;
  }

  .about-right {
    flex: 1;
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .col-1 {
    text-align: left;
    max-width: 90%;
  }

  .skills-section {
    max-width: 1200px;
    margin: 0 auto 8rem auto;
  }
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .projects-section {
    max-width: 100%;
    margin: 0 auto 8rem auto;
    padding: 5rem 3rem;
  }

  .experience-card {
    font-size: 1rem;
    margin: 0 auto 8rem auto;
  }

  .why-hire-me {
    padding: 5rem 4rem;
    text-align: left;
    margin: 0 auto 8rem auto;
  }
  .headline {
    font-size: 1.8rem;
    max-width: 800px;
  }
  .qualities {
    max-width: 1200px;
    margin: 0 auto 3rem;
  }
  .closing {
    font-size: 1.2rem;
    max-width: 800px;
  }
  .skill-card {
    text-align: left;
  }
  .skill-icons {
    justify-content: left;
  }

  .services-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto 8rem auto;
    padding: 5rem 4rem;
  }

  .lets-connect-cont {
    margin: 0 auto 8rem auto;
    padding: 5rem 4rem;
  }
  .testimonial-cont {
    max-width: 1100px;
    margin: 0 auto 8rem auto;
  }
  .form-box {
    max-width: 300px;
    float: right;
  }
  .footer-box {
    display: flex;
  }
  /* .footer-content */
  .form-heading {
    text-align: center;
  }

  .footer-abstract-shape {
    right: 15%;
  }
}
