/* =========================
   Base + Design Tokens
========================= */

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

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

:root {
  /* Typography scale (mobile-first) */
  --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);

  /* Colors */
  --skills-bg: #0f172a0e;
  --blue-accent: #1800ad;
  --skills-card-bg: #edebff;
  --skills-border: #c9c4ff;
  --skills-text: #2e2e3a;
  --skills-muted: #6b6b8a;
  --skills-accent: #6a1bbe85;
  --accent-purple: #7c8cff;
  --skills-pill-bg: #e8e6ff;

  /* Shared tokens */
  --border-purple: 1px solid rgba(167, 139, 250, 0.3);
  --glow-purple: 0 0 22px rgba(167, 139, 250, 0.35);
  --btn-gradient: linear-gradient(135deg, #38bdf8, #a855f7);
  --hero-gradient: radial-gradient(
    circle,
    rgb(27, 32, 61) 0%,
    rgba(28, 5, 11, 1) 100%
  );
}

body {
  /* font-family: "Plus Jakarta Sans", sans-serif; */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: #494949;
  background: var(--skills-bg);
}

/* =========================
   Header + Navigation
========================= */

.mobile-header {
  display: block;
  width: 100%;
  display: flex;
  justify-content: space-between;
  background-color: var(--bg-purple);
  color: var(--card-purple);
  padding: 6px 12px;
}

.desktop-header {
  display: none;
}

.logo-cont {
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-size: var(--fs-sm);
}

.logo {
  width: 120px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 10px auto;
  transition: transform 0.3s ease-in-out;
}

/* Hamburger */

.hamburger {
  cursor: pointer;
  margin: 6px;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #151333;
  margin: 7px 0;
  transition: 0.4s;
}

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

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

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

/* Top navigation */

.topnav {
  display: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-purple);
  height: 70px;
  color: var(--bg-purple);
  padding: 0.5rem;
}

.nav__link {
  margin-right: 0.5rem;
}

.topnav a {
  text-decoration: none;
  color: #fff;
}

/* .topnav .active {
  background: rgba(138, 43, 226, 0.25);
  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;
}

/* Side nav (desktop-like) */

.header-box {
  margin-bottom: 120px;
}

.sidenav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 48px;
  padding-right: 48px;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #fff;
  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); */
  background-color: var(--blue-accent);
  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;
}

/* Mobile menu toggle */

#myLinks {
  display: none;
}

#myLinks.open {
  display: block;
}

/* Sticky nav */

.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #fff;
}

/* =========================
   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;
}

/* Icons */
.hero-icons {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-icons a {
  font-size: 1.6rem;
  color: rgb(231, 74, 255);
  transition: 0.3s ease;
}
.bi {
  font-size: 2.5rem;
  margin: 0 0.7rem;
  color: rgb(231, 74, 255);
  transition: color 0.3s ease;
}

.hero-icons a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

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

/* Hero layout */

.hero {
  padding: 3rem 1.25rem;
  /* background: var(--hero-gradient); */
  color: #fff;
  margin-bottom: 1rem;

  background-image:
    radial-gradient(
      circle at center,
      rgba(0, 0, 0, 0.274) 0%,
      rgba(0, 0, 0, 0.509) 60%,
      rgba(0, 0, 0, 0.461) 100%
    ),
    url("./media/clearspace.avif");

  background-blend-mode: overlay;
  height: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.hero-left,
.hero-right {
  width: 100%;
}

.hero-image {
  max-width: 300px;
  margin: 0 auto;
  border-radius: 10px;
  filter: drop-shadow(0 8px 25px rgba(168, 85, 247, 0.25));
}

/* Hero text */

.hero-name {
  font-size: var(--fs-xxl);
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  background-color: #fff;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow:
    0 0 24px rgba(240, 225, 254, 0.174),
    0 0 48px rgba(237, 242, 244, 0.184);
}

.hero-name {
  animation: fadeUp 2.4s ease forwards;
}

.hero-sub {
  animation: fadeUp 2.4s ease forwards;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-role {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  color: rgb(231, 74, 255);
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
  margin-bottom: 0.8rem;
  text-align: center;
  opacity: 0.85;
}

.h1-innertext {
  text-transform: none;
  font-size: var(--fs-xl);
  font-weight: 800;
  display: block;
  margin-top: 0.5rem;
  line-height: 1.2;
}

.user-focused {
  color: var(--accent-purple);
}

.hero-sub {
  color: #b8b8b8;
  font-size: var(--fs-md);
  max-width: 70vh;
  margin: 0 auto 0.6rem;
  font-size: var(--fs-lg);
  opacity: 0.85;
  margin-bottom: 0.8rem;
}

/* Hero CTAs */

.button-hero {
  display: flex;
  width: 100%;
  margin-bottom: 2rem;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.cta-primary {
  padding: 1.3rem 1.8rem;
  border-radius: 16px;
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  transition: 0.3s ease;
  letter-spacing: 1px;
  border: none;
  background: var(--btn-gradient);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}

.cta-primary:hover {
  background: linear-gradient(135deg, #38bff87a, #a955f76d);
  filter: brightness(1.2);
}

.cta-secondary {
  padding: 0.9rem 1.8rem;
  /* border: 1.8px solid var(--card-purple); */
  /* border: 1px solid white; */
  border: 1px solid var(--accent-purple);
  background-color: transparent;
  text-decoration: none;
  border-radius: 16px;
  /* color: white; */
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 1px;

  transition: 0.3s ease;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}
.hero-small {
  border-radius: 16px;
  margin: 0.5rem;
  border-radius: 999;
}

/* =========================
   Skills Section
========================= */

.skills.light-theme {
  padding: 3rem 1.5rem;
  color: var(--skills-text);
  margin-bottom: 1rem;
}

.skills__inner {
  max-width: 960px;
  margin: 0 auto;
}

.skills__subtitle {
  color: var(--skills-muted);
  margin-bottom: 2rem;
  text-align: center;
}

/* Groups */

.skills__groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skills__group {
  /* background: var(--skills-card-bg); */
  background-color: #cad0fd;
  border: 1px solid var(--skills-border);
  border-radius: 0.75rem;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 4px 12px rgba(106, 27, 190, 0.08);
  font-size: var(--fs-lg);
}

.skills__group-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Skill pills */

.skills__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skills__item {
  display: flex;
  align-items: center;
  font-size: var(--fs-sm);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--skills-pill-bg);
  border: 1px solid var(--skills-border);
  color: var(--skills-text);
  white-space: nowrap;
}

/* =========================
   About Section
========================= */

.about-container {
  background: radial-gradient(
    circle at right top,
    rgba(160, 107, 255, 0.15),
    transparent 60%
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 16px;

  display: grid;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  margin-bottom: 1rem;
  grid-template-areas:
    "box-1"
    "box-2"
    "box-3";
}

.about-item {
  padding: 0.5rem;

  min-width: 0;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
  text-align: center;
}

.about-img {
  width: 150px;
  height: 150px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 auto 1rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.about-details {
  margin-bottom: 1rem;
}

.about-details ul li {
  list-style-type: none;
}

.icons-about-cont {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.about-blob {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 30% 30%, #c9b3f2, #a57bef);
  border-radius: 55% 45% 60% 40% / 40% 55% 45% 60%;
  z-index: 0;
  filter: blur(4px);
  opacity: 0.55;
}

.latest-roles {
  background: #f6f7fb;
  border: 1px solid #c9c4ff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(106, 27, 190, 0.08);
}

.latest-roles .about-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: #6a1bbe;
  margin-bottom: 1rem;
}

.experience-card {
  padding: 1rem 0;
  border-radius: 0.75rem;
  /* margin-bottom: 1rem; */
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.experience-card:last-child {
  margin-bottom: 0;
}

.experience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(106, 27, 190, 0.15);
}

.experience-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2e2e3a;
  margin-bottom: 0.25rem;
}

.experience-card h5 {
  font-size: 0.9rem;
  color: #54546b;
  font-weight: 500;
}
/* Education */
.education {
  padding: 1rem;
}

.education h2 {
  font-size: 1.4rem;
  margin: 1rem;
  padding: 1rem;
  text-align: center;
  color: var(--accent-color);
}

.edu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.edu-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  border: 1px solid var(--skills-border);
  padding: 1em;
  margin: 1rem 2.5rem;
}

.edu-item strong {
  font-size: 0.95rem;
}

.edu-sub {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2px;
}

.edu-icon {
  font-size: 1.4rem;
}

/* Timeline */

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  left: 1rem;
  margin-left: -3px;
}

.timeline::before {
  content: "";
  position: absolute;
  width: 6px;
  background-color: white;
  top: 0;
  bottom: 0;
  right: 1rem;
  margin-right: -3px;
}

/* =========================
   Why Hire Me
========================= */
.why-slider {
  position: relative;
  max-width: 320px;
  height: 390px;
  text-align: center;
  background: radial-gradient(
    circle,
    rgb(27, 32, 61) 0%,
    rgba(28, 5, 11, 1) 100%
  );
  border: 0.2px solid rgba(63, 17, 200, 0.25);
  border-radius: 16px;
  margin: 2rem auto;
  padding: 1rem;
  color: var(--accent-purple);
}

.slide {
  padding-top: 1rem;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
  transform: translateY(0);
}

.slide i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.slide h3 {
  font-size: var(--fs-lg);
  margin-bottom: 0.8rem;
}

.slide p {
  font-size: var(--fs-md);
  opacity: 0.85;
  max-width: 50ch;
  margin: 0 auto;
}

.why-hire-me-img {
  width: 100%;
  max-width: 320px;
  border-radius: 16px;
  object-fit: cover;
}

/* =========================
   Contact / Approach
========================= */

.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 {
  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 (cards) */

.skills-section {
  padding: 3rem 1.5rem;
  text-align: center;
  font-size: var(--fs-lg);
  margin-bottom: 1rem;
}

.skills-title {
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--main-gradient);
  text-align: center;
  /* letter-spacing: 0.7px; */
  margin-bottom: 2rem;
}

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

.skill-card {
  border-right: var(--border-purple);
  border-top: var(--border-purple);
  border-radius: 16px;
  padding: 1.5rem;
  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 {
  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;
}

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

/* Personal text */

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

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

/* =========================
   Projects Section
========================= */

.email {
  color: #6b6b8a;
}

.project-card {
  background: radial-gradient(
    circle,
    rgb(27, 32, 61) 0%,
    rgba(28, 5, 11, 1) 100%
  );
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  gap: 1rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.tags__list {
  display: flex;

  padding: 0;
  list-style: none;
  border-radius: 1.2rem;
}

.tag {
  /* background: rgba(255, 255, 255, 0.15); */
  padding: 0.35rem 0.75rem;
  backdrop-filter: blur(4px);
}

.tag i {
  font-size: 1.8rem;
  color: #c9b6ff;
}

.project-descr {
  padding: 1em;
  font-size: var(--fs-md);
}

.project-header {
  text-align: center;
  padding: 1em;
  margin-bottom: 2rem;
}

/* Special app container */

#scapp-cont {
  background: #1a1a2e;
  border: 1px solid #2e2e4e;
  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;
  padding: 1rem;
  box-sizing: border-box;
}

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

.project-thumb {
  width: 100%;
  aspect-ratio: 14 / 8;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
}

.project-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--accent-purple);
  margin: 1rem 0;
}
.project-desc {
  color: #d1d5db;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: var(--fs-md);
}
.project-tech {
  display: flex;
  height: 50px;
  color: var(--accent-purple);
  margin-bottom: 1rem;
}

/* Project buttons */

.project-buttons {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin: 1rem 0;
}

.btn-primary,
.btn-secondary,
.btn-text,
.details-btn {
  padding: 10px 18px;
  border-radius: 16px;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  font-size: var(--fs-md);
  font-weight: 500;
  letter-spacing: 0.8px;
}

.details-btn {
  padding: 14px 16px;
  align-items: center;
  /* background: #8f3fe4; */
  background-color: var(--blue-accent);
  color: white;
  text-decoration: none;
  border: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  font-size: var(--fs-md);
}

.details-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(106, 27, 190, 0.25);
  background-color: #7e30d2;
}
.btn-primary {
  background: var(--btn-gradient);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.55);
}

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

.btn-secondary {
  color: rgba(148, 163, 253, 0.6);
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 253, 0.6);
  text-decoration: none;
  transition: background 0.2s ease;
  font-size: var(--fs-md);
}

.btn-secondary:hover {
  background-color: #a78bfa;
  color: #d1d5db;
}

.btn-text {
  color: #c084fc;
  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: var(--border-purple);
  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 Strip
========================= */

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

.tech-strip {
  gap: 3rem;
  animation: scroll 15s linear infinite;
  color: #838399;
}

.tech-strip span {
  font-size: var(--fs-md);
  padding: 0.5em 0.7em;
  margin-right: 10px;
  border: var(--border-purple);
  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(-100%);
  }
}

/* =========================
   Services Section
========================= */

.services-wrapper {
  padding: 3rem 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
  background-color: #a8a8ff42;
}

.services-subtitle {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  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: 16px;
  font-size: var(--fs-sm);
  font-weight: 500;
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  border: var(--border-purple);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
}

.pricing-card__badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  background: rgba(148, 163, 253, 0.12);
  border: 1px solid rgba(148, 163, 253, 0.4);
  margin-bottom: 1rem;
}

.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-color: #a8a8ff74;
  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 {
  font-size: var(--fs-md);
  margin-bottom: 1rem;
}

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

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

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

.service-btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 16px;
  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;
  border-radius: 16px;
}

/* =========================
   Testimonial Section
========================= */

.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;
  margin-bottom: 1rem;
}

.testiminial-header {
  margin: 1rem;
  padding: 1em;
}

.testimonial-text {
  position: relative;
  padding: 2.5rem;
  border-radius: 18px;
}

/* Quotes */

.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;
}

.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;
  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;
}

.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;
}

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

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

.quote {
  font-style: italic;
  line-height: 1.7;
  margin: 0.5rem 0 1rem;
  font-size: var(--fs-sm);
}

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

/* =========================
   Footer
========================= */

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

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

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

.footer-info h2 {
  background: var(--accent-purple);
  -webkit-background-clip: text;
  color: transparent;
  font-size: var(--fs-lg);
  text-align: left;
  margin-bottom: 0.5rem;
}

.footer-info p {
  font-size: var(--fs-xs);
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--bg-purple);
  text-decoration: none;
  font-size: var(--fs-xs);
}

.social-links {
  display: flex;
  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;
  color: var(--card-purple);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.footer-form h2 {
  color: var(--bg-purple);
  margin-bottom: 0.5rem;
}

.footer-form p {
  font-size: var(--fs-sm);
  opacity: 0.8;
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-form input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border-radius: 16px;
  border: 1px solid #2e2e4e;
  background-color: #1a1a2e;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 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: var(--border-purple);
  color: #fff;
  cursor: pointer;
  transition: 0.3s ease;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
}

.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-details h3 {
  font-size: var(--fs-md);
}

.footer-links li {
  list-style: none;
  font-size: var(--fs-xs);
  color: #454546;
  margin: 0.3rem 0;
}

.footer-links li:nth-child(2) a {
  text-decoration: none;
  border-bottom: 2px solid #a78bfa;
  padding-bottom: 2px;
}

.footer-links a {
  color: var(--bg-purple);
  font-size: var(--fs-xs);
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* FLOATING NAVS */
.floating-nav {
  position: fixed;
  right: 1.5rem;
  bottom: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  /* background: rgba(255, 255, 255, 0.6); */
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  padding: 0.6rem;
  border-radius: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(106, 27, 190, 0.15);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.floating-nav.visible {
  opacity: 1;
  pointer-events: auto;
}

.nav-item {
  background: #6a1bbe;
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(106, 27, 190, 0.35);
}

/* =========================
   Modal
========================= */

.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-content {
  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-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

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

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

#hireModal label {
  font-weight: 600;
  font-size: 0.95rem;
}

#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);
}

#hireModal small {
  color: #d12f2f;
  font-size: 0.8rem;
}

#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);
}

.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);
}

/* The PROJECT modal */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 999;
}

.modal.active {
  display: flex;
}

.modal__content {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1rem;
  max-width: 700px;
  width: 100%;
  box-shadow: 0 0 25px rgba(106, 27, 190, 0.15);
  position: relative;
  overflow-y: auto;
  max-height: 90vh;
}

.project-close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #6a1bbe;
  cursor: pointer;
}

.modal__title {
  font-size: var(--fs-xl);
  color: #6a1bbe;
  margin-bottom: 1rem;
}

.modal__section h3 {
  text-align: center;
  margin: 1.5rem;
}

.modal__overview,
.modal__role {
  margin-bottom: 1rem;
  color: #4b4b5f;
}

.modal__section {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr;
}

.bi-exclamation-circle,
.bi-bricks {
  position: absolute;
  /* Positioning for responsive  */
  top: 0; /* sits on top edge */
  left: 50%; /* move to middle */
  transform: translate(-50%, -50%); /* pull it up & center it */
  background-color: var(--skills-card-bg);
  padding: 0.2rem 1rem;
  border-radius: 999px;
}

.modal__lists,
.modal__tags {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fc7edc;
  padding: 1rem;
  border-radius: 16px;
  text-align: center;
  list-style: none;
  border: 1px solid #6928a6;
  margin-bottom: 1rem;
}

.modal__tags {
  background-color: var(--accent-purple);
}

.card-title {
  color: var(--skills-accent);
  font-size: var(--fs-lg);
  margin-top: 1.5rem;
}

.modal__lists li,
.modal__challenges li {
  list-style: none;
  position: relative;
  margin-bottom: 0.6rem;
  color: #2e2e3a;
}

.modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  /* border: 1px solid #c9c4ff; */
  padding: 0.35rem 0.7rem;
  border-radius: 16px;
}

.modal__challenges {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.modal__images {
  column-count: 2;
  column-gap: 0.5rem;
  background-color: #1f1f3a;
  padding: 0.5em;
  border-radius: 16px;
  margin-bottom: 1rem;
}

.modal__images img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 16px;
  display: block;
  break-inside: avoid;
}

.modal__buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  margin: 1rem;
}

.btn {
  background: #6a1bbe;
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
}

.btn--outline {
  background: transparent;
  border: 2px solid #6a1bbe;
  color: #6a1bbe;
}

.modal__techstack,
.modal__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style-type: none;
  justify-content: center;
  align-items: center;
  margin: 1rem;
}

.tech-icons {
  font-size: 2.5rem;
  color: rgb(231, 74, 255);
  margin-right: 10px;
  color: (231, 74, 255);
}

/* COntact floating button */
.floating-contact-btn {
  position: fixed;
  /* bottom: 2rem; */
  right: 2rem;
  background: #6a1bbe;
  color: white;
  padding: 0.9rem 1.4rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(106, 27, 190, 0.35);
  z-index: 9999;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.floating-contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(106, 27, 190, 0.45);
}

.floating-contact-btn {
  animation: bounce 1s infinite;
  opacity: 0.7;
}
.scroll-indicator {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.scroll-indicator span {
  width: 18px;
  height: 18px;
  border-bottom: 4px solid var(--accent-purple);
  border-right: 4px solid var(--accent-purple);
  transform: rotate(45deg);
  animation: bounce 1.4s infinite;
  opacity: 0.7;
}

@keyframes bounce {
  0% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(6px) rotate(45deg);
  }
  100% {
    transform: translateY(0) rotate(45deg);
  }
}

/* Point up */
.scroll-top-indicator {
  position: absolute;
  right: 1rem;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scroll-top-indicator span {
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--accent-purple);
  border-left: 2px solid var(--accent-purple);
  transform: rotate(45deg); /* arrow pointing up */
}

/* =========================
   Fade-in Utility
========================= */

.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);
}

/* Validation style  */
small {
  font-size: 0.8rem;
  margin-top: 0.2rem;
  display: block;
}
small.invalid {
  color: #d12f2f; /* red */
}

small.valid {
  color: #2e8b57; /* green */
  font-weight: 600;
}

/* TABS FILTER */
.tabs-header {
  text-align: center;
  padding: 1rem;
  margin-bottom: 1rem;
}
.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 999px;
  background-color: var(--skills-card-bg);
}

/* Style the buttons inside the tab */
.tab button.active {
  background: linear-gradient(135deg, #38bdf8, #a855f7);
  border-bottom: 3px solid #3b82f6;
  color: #fff;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  padding: 10px 19px;
  transition: 0.3s;
  font-size: 17px;
}

.tab button {
  background: linear-gradient(180deg, #0f0f1a 0%, #1a1a2e 100%);
  color: #fff;
  border-radius: 999px;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 19px;
  transition: 0.3s;
  font-size: 17px;
}

/* Style the tab content */
.tabcontent {
  /* padding: 6px; */
  border: 1px solid #ccc;
  border-top: none;
  margin-bottom: 1rem;

  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

/* The Mobile frame */
.phone-frame {
  width: 220px; /* mobile width */
  height: 440px; /* mobile height */
  border-radius: 36px;
  padding: 12px;
  background: rgb(46, 46, 46); /* phone body color */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  margin: 2rem auto;
  position: relative;
}

/* Optional top notch / speaker */
.phone-frame::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 6px;
  border-radius: 999px;
  background: #0f172a;
}

/* Screen area */
.phone-inner {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Your app image */
.project-thumb-app {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

/* =========================
   Media Queries
========================= */

@media (min-width: 768px) {
  .topnav {
    display: none;
  }

  .mobile-header {
    display: none;
  }

  .desktop-header {
    display: block;
  }

  .hero {
    margin-bottom: 3rem;
  }
  .button-hero {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }

  .project-descr {
    margin: 1rem 0.5rem;
  }

  .img-cont {
    margin-bottom: 3rem;
  }

  .experience-box {
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

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

  .skills__subtitle,
  .project-header,
  .services-subtitle {
    margin-bottom: 3rem;
  }

  .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;
  }

  .tabcontent {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 3rem;
  }
  .last-item {
    grid-column: span 2;
  }
  .skills__groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .skills.light-theme {
    margin-bottom: 3rem;
  }

  .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: flex-start;
    margin-bottom: 2rem;
    gap: 2rem;
  }

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

  .about-text {
    text-align: left;
  }

  .edu-list {
    display: flex;
    flex-wrap: wrap;
    margin: 1rem 2.5rem;
  }

  .edu-item {
    margin: 0 auto;
    width: 30%;
  }

  .education {
    margin-bottom: 3rem;
  }
  .qualities {
    grid-template-columns: repeat(3, 1fr);
  }

  .headline {
    font-size: 1.5rem;
  }

  .traits li {
    font-size: 1.1rem;
  }

  .profile {
    text-align: center;
  }

  .approach-columns {
    flex-direction: row;
    max-width: 1300px;
    margin: 0 auto;
  }

  .col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
  }

  .profile-card {
    display: flex;
    gap: 3rem;
    padding: 2em;
    text-align: left;
    max-width: 80%;
    margin: 0 auto;
  }

  #myProgress {
    max-width: 50%;
  }

  .about-container {
    max-width: 1100px;
    margin: 0 auto 1rem auto;
    grid-template-columns: 320px 1fr;
    grid-template-areas:
      "box-1 box-2"
      "box-1 box-3";
    gap: 2.5rem;
  }

  .about-item {
    min-width: 0;
    gap: 1rem;
    text-align: left;
    /* padding: 2.5rem; */
    justify-content: space-between;
  }

  .about-img {
    width: 190px;
    height: 190px;
    /* margin-bottom: 7rem; */
  }

  .about-blob {
    width: 220px;
    height: 200px;
  }

  .edu-list {
    padding: 0 2.5rem;
  }

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

  .project-thumbnail {
    width: 100%;
  }

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

  .about-details {
    margin-top: 3rem;
    text-align: left;
  }
  .icons-about-cont {
    justify-content: flex-start;
  }

  .experience-card {
    border-radius: 16px;
  }

  .item img {
    width: 100%;
    display: block;
  }

  .why-slider {
    margin-bottom: 5rem;
    max-width: 620px;
  }

  .traits {
    font-size: 1.15rem;
  }

  .service-card {
    flex-direction: row;
  }
  /* MODAL Projects */
  .modal__images {
    column-count: 3;
  }
  .testimonial-card {
    flex-direction: row;
    text-align: left;
  }

  .testimonial-text {
    flex: 1;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .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;
  }

  #myLinks {
    display: none;
  }

  .hero {
    height: 135vh;
    text-align: left;
    margin-bottom: 8rem;
  }

  .hero-icons {
    gap: 1rem;
  }

  .hero__inner {
    max-width: 70vw;
    margin: 3rem auto;
    text-align: center;
  }

  .hero-name {
    width: 100%;
    font-size: var(--fs-xxl);
    margin-bottom: 4rem;
  }

  .skills__subtitle,
  .project-header,
  .services-subtitle {
    margin-bottom: 5rem;
  }

  .skills__groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .skills__group:last-child {
    grid-column: auto;
  }

  .tabcontent:last-child {
    grid-column: span 2;
  }

  .tab {
    max-width: 1200px;
    margin: 0 auto;
  }
  .tabcontent {
    max-width: 1200px;

    grid-template-columns: 1fr 1fr;
    margin: 2rem auto 8rem auto;
  }

  .project-thumb {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  .all-proj-btn-cont {
    margin-bottom: 8rem;
  }

  .experience-box {
    justify-content: flex-start;
    margin-top: 2rem;
    gap: 1.5rem;
  }

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

  .skills.light-theme {
    margin-bottom: 8rem;
  }
  /* ============= */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 999;
  }

  .modal.active {
    display: flex;
  }

  .modal__content {
    border-radius: 1rem;
    padding: 5rem;
    max-width: 1200px;
    width: 100%;
    color: #2e2e3a;
    box-shadow: 0 0 25px rgba(106, 27, 190, 0.15);
    position: relative;
    overflow-y: auto;
    max-height: 90vh;
  }

  .modal__title {
    font-size: 1.6rem;
    color: #6a1bbe;
    margin-bottom: 1rem;
  }

  .features_cont {
    display: flex;
    justify-content: space-between;
    gap: 5em;
    padding: 1em;
  }

  .modal__images {
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    border-radius: 16px; /* optional */
  }

  .modal__images img {
    width: 100%;
    object-fit: cover;
    border-radius: inherit;
    border-radius: 16px;
  }

  .modal-features {
    max-width: 50%;
  }

  /* ======= */

  .modal__overview,
  .modal__role {
    margin-bottom: 2rem;
    color: #4b4b5f;
  }

  .modal__section {
    margin-top: 1.5rem;
    padding: 1rem;
  }

  .modal__section h3 {
    color: #6a1bbe;
    margin-bottom: 0.5rem;
  }

  .modal__list {
    padding-left: 1.2rem;
    color: #2e2e3a;
  }

  .modal__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* .tag {
    background: #e8e6ff;
    border: 1px solid #c9c4ff;
    border-radius: 16px;
    font-size: 0.85rem;
  } */

  .btn {
    background: #220443;
    color: white;
    padding: 0.7rem 1.2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
  }

  .btn--outline {
    background: transparent;
    border: 2px solid #6a1bbe;
    color: #6a1bbe;
  }

  /*  */
  .about-container {
    max-width: 1100px;
    margin: 0 auto 7rem auto;
    grid-template-columns: 320px 1fr;
    grid-template-areas:
      "box-1 box-2"
      "box-1 box-3";
    gap: 2.5rem;
  }

  .about-item[style*="box-1"] {
    text-align: center;
    position: sticky;
    top: 2rem;
  }

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

  .about-left {
    text-align: left;
  }

  .about-right {
    flex: 1;
  }

  .edu-list {
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 7rem;
  }

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

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

  .skills-section {
    max-width: 1200px;
    margin: 0 auto 7rem 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;
  }

  .why-slider {
    margin-bottom: 7rem;
    max-width: 1100px;
    padding: 5em;
  }

  .slide {
    padding: 2rem;
  }

  .traits {
    font-size: 1.2rem;
    gap: 1.4rem;
  }

  .traits li i {
    font-size: 1.6rem;
  }

  .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: flex-start;
  }

  .item {
    border-radius: 16px;
    min-width: 0;
    max-width: 800px;
    margin: 0 auto;
  }

  .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;
    padding: 7rem 3rem;
  }

  .form-heading {
    text-align: center;
  }

  .modal__flex {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
  }
}
