/* =========================================================
MUSE AHMED AFRAH — PREMIUM DEVELOPER PORTFOLIO
Complete style.css
========================================================= */

/* =========================================================
01. ROOT / VARIABLES
========================================================= */

:root {

/* Main Colors */
--bg-primary: #06110f;
--bg-secondary: #091a17;
--bg-tertiary: #0d2420;

--surface: rgba(255, 255, 255, 0.055);
--surface-hover: rgba(255, 255, 255, 0.09);

--text-primary: #f4fffc;
--text-secondary: #b5c8c3;
--text-muted: #79918b;

/* Accent */
--accent: #19e6a0;
--accent-light: #68ffd0;
--accent-dark: #08a875;

--blue: #39a8ff;
--purple: #8d6cff;

/* Borders */
--border: rgba(255, 255, 255, 0.10);
--border-accent: rgba(25, 230, 160, 0.35);

/* Shadows */
--shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.20);
--shadow-md: 0 18px 50px rgba(0, 0, 0, 0.30);
--shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.45);

--glow: 0 0 40px rgba(25, 230, 160, 0.18);

/* Layout */
--container: 1200px;
--header-height: 82px;

/* Radius */
--radius-sm: 10px;
--radius-md: 18px;
--radius-lg: 28px;
--radius-xl: 40px;

/* Transition */
--transition: 0.35s cubic-bezier(.2,.8,.2,1);

/* Font */
--font: "Poppins", sans-serif;

}


/* =========================================================
02. RESET
========================================================= */

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


html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}


body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 10% 10%, rgba(25, 230, 160, 0.08), transparent 25%),
    radial-gradient(circle at 90% 20%, rgba(57, 168, 255, 0.07), transparent 25%),
    linear-gradient(135deg, #04100d, #071714 50%, #04100d);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 70px 70px;
}


body::after {
  content: "";
  position: fixed;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(25, 230, 160, 0.035);
  filter: blur(100px);
  top: 25%;
  left: 40%;
  pointer-events: none;
  z-index: -1;
}


img {
  max-width: 100%;
  display: block;
}


a {
  text-decoration: none;
  color: inherit;
}


button {
  font-family: inherit;
}


ul {
  list-style: none;
}


/* =========================================================
03. SELECTION
========================================================= */

::selection {
  background: var(--accent);
  color: #03100c;
}


/* =========================================================
04. SCROLLBAR
========================================================= */

::-webkit-scrollbar {
  width: 9px;
}


::-webkit-scrollbar-track {
  background: #04100d;
}


::-webkit-scrollbar-thumb {
  background: linear-gradient(
    var(--accent-dark),
    var(--accent)
  );
  border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {
  background: var(--accent-light);
}


/* =========================================================
05. GLOBAL CONTAINER
========================================================= */

.section {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 110px 30px;
  position: relative;
}


/* =========================================================
06. HEADER
========================================================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;

  background: rgba(4, 16, 13, 0.72);
  border-bottom: 1px solid rgba(255,255,255,.06);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}


.navbar {
  max-width: var(--container);
  height: 100%;
  margin: auto;
  padding: 0 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


/* =========================================================
LOGO
========================================================= */

.logo,
.footer-logo {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -1px;
  white-space: nowrap;
}


.logo span,
.footer-logo span {
  color: var(--accent);
}


.logo {
  position: relative;
}


.logo::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  right: -12px;
  bottom: 7px;
  box-shadow: 0 0 15px var(--accent);
}


/* =========================================================
NAV LINKS
========================================================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}


.nav-links a {
  position: relative;
  padding: 9px 12px;
  color: var(--text-secondary);
  font-size: .84rem;
  font-weight: 500;
  transition: var(--transition);
}


.nav-links a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  background: var(--accent);
  border-radius: 5px;
  transition: var(--transition);
}


.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}


.nav-links a:hover::before,
.nav-links a.active::before {
  width: 70%;
}


/* =========================================================
NAV ACTIONS
========================================================= */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}


.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
}


.theme-toggle:hover,
.menu-toggle:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  transform: rotate(10deg);
  box-shadow: var(--glow);
}


.hire-btn {
  padding: 10px 19px;
  border-radius: 50px;
  background: var(--accent);
  color: #03100c;
  font-size: .82rem;
  font-weight: 700;
  transition: var(--transition);
}


.hire-btn:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(25,230,160,.25);
}


.menu-toggle {
  display: none;
}


/* =========================================================
07. HERO
========================================================= */

.hero {
  min-height: 100vh;
  max-width: 1400px;
  margin: auto;

  padding:
    calc(var(--header-height) + 105px)
    50px
    80px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;

  position: relative;
  overflow: hidden;
}


/* =========================================================
HERO BACKGROUND
========================================================= */

.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(25,230,160,.10),
    transparent 65%
  );
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


.hero::after {
  content: "DEVELOPER";
  position: absolute;
  right: -70px;
  bottom: 50px;

  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 800;
  letter-spacing: -8px;

  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.025);

  pointer-events: none;
}


/* =========================================================
HERO DECORATIONS
========================================================= */

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}


.circle-one {
  width: 90px;
  height: 90px;
  border: 1px solid rgba(25,230,160,.18);
  top: 18%;
  left: 7%;
  animation: float 7s ease-in-out infinite;
}


.circle-two {
  width: 30px;
  height: 30px;
  background: rgba(57,168,255,.25);
  right: 12%;
  top: 15%;
  filter: blur(2px);
  animation: float 5s ease-in-out infinite reverse;
}


.hero-bg-dots {
  width: 120px;
  height: 120px;
  position: absolute;

  background-image: radial-gradient(
    var(--accent) 1.5px,
    transparent 1.5px
  );

  background-size: 15px 15px;
  opacity: .18;
}


.dots-one {
  left: 2%;
  bottom: 15%;
}


.dots-two {
  right: 2%;
  bottom: 10%;
}


/* =========================================================
HERO CONTENT
========================================================= */

.hero-content {
  position: relative;
  z-index: 2;
}


.hero-greeting {
  display: flex;
  align-items: center;
  gap: 10px;

  color: var(--text-secondary);
  font-size: .95rem;
  font-weight: 500;

  margin-bottom: 12px;
}


.hello-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;

  border-radius: 50%;
  color: var(--accent);
  background: rgba(25,230,160,.08);
  border: 1px solid rgba(25,230,160,.2);

  animation: wave 2.5s infinite;
}


.hero h1 {
  font-size: clamp(3.5rem, 5.8vw, 5.6rem);
  line-height: 1.05;
  letter-spacing: -4px;
  font-weight: 800;
  margin-bottom: 16px;
}


.hero h1 span {
  display: block;

  background: linear-gradient(
    100deg,
    var(--accent),
    var(--blue)
  );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


.hero h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 25px;
}


.hero h2 span {
  color: var(--accent);
  font-weight: 700;
}


.hero-description {
  max-width: 650px;
  color: var(--text-secondary);
  font-size: .98rem;
  line-height: 1.9;
  margin-bottom: 12px;
}


/* =========================================================
BUTTONS
========================================================= */

.hero-buttons,
.project-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}


.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 13px 21px;
  border-radius: 12px;

  font-size: .84rem;
  font-weight: 600;

  transition: var(--transition);
}


.btn-primary {
  background: var(--accent);
  color: #03100c;

  box-shadow:
    0 10px 30px rgba(25,230,160,.12);
}


.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 15px 40px rgba(25,230,160,.25);
}


.btn-secondary {
  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);
  color: var(--text-primary);
}


.btn-secondary:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  transform: translateY(-4px);
  background: rgba(25,230,160,.05);
}


/* =========================================================
SOCIAL ICONS
========================================================= */

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}


.social-icons a,
.footer-icons a {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(255,255,255,.035);
  border: 1px solid var(--border);

  color: var(--text-secondary);

  transition: var(--transition);
}


.social-icons a:hover,
.footer-icons a:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  background: rgba(25,230,160,.08);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(25,230,160,.12);
}


/* =========================================================
08. HERO VISUAL
========================================================= */

.hero-visual {
  min-height: 580px;
  position: relative;

  display: grid;
  place-items: center;
}


.profile-area {
  width: 340px;
  height: 340px;
  position: relative;

  display: grid;
  place-items: center;

  z-index: 5;
}


.profile-glow {
  position: absolute;
  inset: -70px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(25,230,160,.20),
      transparent 65%
    );

  filter: blur(15px);
  animation: pulseGlow 4s ease-in-out infinite;
}


.profile-ring {
  position: absolute;
  inset: 0;

  border-radius: 50%;

  background:
    conic-gradient(
      from 0deg,
      var(--accent),
      var(--blue),
      transparent,
      var(--accent)
    );

  animation: spin 12s linear infinite;
}


.profile-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #071713;
}


/* =========================================================
PROFILE SLIDER
========================================================= */

.profile-slider {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
}


.profile-image {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  opacity: 0;
  transform: scale(1.05);

  transition:
    opacity .8s ease,
    transform .8s ease;
}


.profile-image.active {
  opacity: 1;
  transform: scale(1);
}


.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  filter: saturate(.95) contrast(1.05);

  border-radius: 50%;
}


/* =========================================================
ORBITS
========================================================= */

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
}


.orbit-outer {
  width: 570px;
  height: 570px;
  animation: spin 25s linear infinite;
}


.orbit-middle {
  width: 470px;
  height: 470px;
  border-color: rgba(25,230,160,.13);
  animation: spinReverse 18s linear infinite;
}


.orbit-inner {
  width: 410px;
  height: 410px;
  border-color: rgba(57,168,255,.10);
  animation: spin 15s linear infinite;
}


/* =========================================================
ORBIT DOTS
========================================================= */

.orbit-dot {
  position: absolute;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 20px var(--accent),
    0 0 40px rgba(25,230,160,.4);

  z-index: 4;
}


.dot-1 {
  top: 15%;
  left: 21%;
}


.dot-2 {
  top: 7%;
  right: 25%;
  background: var(--blue);
}


.dot-3 {
  right: 5%;
  top: 45%;
}


.dot-4 {
  right: 20%;
  bottom: 12%;
}


.dot-5 {
  bottom: 7%;
  left: 25%;
}


.dot-6 {
  left: 7%;
  top: 45%;
}


/* =========================================================
09. SECTION TITLE
========================================================= */

.section-title {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 60px;
}


.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 7px 13px;

  border: 1px solid rgba(25,230,160,.2);
  background: rgba(25,230,160,.06);

  border-radius: 50px;

  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;

  margin-bottom: 14px;
}


.section-title h2,
.about-heading h2 {
  font-size: clamp(2.2rem, 4.3vw, 3.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}


.section-title p,
.about-subtitle {
  color: var(--text-muted);
  font-size: .9rem;
}


/* =========================================================
10. ABOUT
========================================================= */

.about {
  max-width: 1300px;
}


.about-wrapper {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
}


.about-heading {
  margin-bottom: 25px;
}


.about-heading h2 span {
  color: var(--accent);
}


.about-description {
  color: var(--text-secondary);
  font-size: .92rem;
  line-height: 1.9;
  margin-bottom: 18px;
}


/* =========================================================
ABOUT INFO
========================================================= */

.about-info-frame {
  margin-top: 35px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  overflow: hidden;

  background: rgba(255,255,255,.025);
  box-shadow: var(--shadow-md);
}


.about-info-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px;
}


.about-info-icon {
  width: 43px;
  height: 43px;

  flex-shrink: 0;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: var(--accent);
  background: rgba(25,230,160,.07);
  border: 1px solid rgba(25,230,160,.15);
}


.about-info-item small {
  display: block;
  color: var(--text-muted);
  font-size: .65rem;
}


.about-info-item strong {
  display: block;
  color: var(--text-primary);
  font-size: .76rem;
}


.about-info-divider {
  display: none;
}


/* =========================================================
ABOUT VISUAL
========================================================= */

.about-visual {
  min-height: 470px;
  position: relative;

  display: grid;
  place-items: center;
}


.about-photo-card {
  position: relative;

  width: 310px;
  height: 380px;

  padding: 12px;

  border-radius: 35px;

  background:
    linear-gradient(
      145deg,
      rgba(25,230,160,.16),
      rgba(255,255,255,.025)
    );

  border: 1px solid rgba(25,230,160,.20);

  transform: rotate(3deg);

  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    0 0 50px rgba(25,230,160,.08);

  transition: var(--transition);
}


.about-photo-card:hover {
  transform: rotate(0deg) translateY(-10px);
}


.about-photo-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 25px;
}


.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.about-photo-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  background: var(--accent);
  filter: blur(100px);
  opacity: .12;
}


.about-developer-label {
  position: absolute;

  left: -35px;
  bottom: 45px;

  padding: 11px 18px;

  background: rgba(5,20,16,.8);
  border: 1px solid var(--border-accent);

  backdrop-filter: blur(15px);

  border-radius: 12px;

  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;

  box-shadow: var(--shadow-md);
}


.about-floating-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent);
}


.dot-a {
  top: 10%;
  right: -10%;
}


.dot-b {
  bottom: 10%;
  right: -12%;
  background: var(--blue);
}


.dot-c {
  top: 35%;
  left: -15%;
  background: var(--purple);
}


/* =========================================================
11. EDUCATION
========================================================= */

.education {
  max-width: 1050px;
}


.education-container {
  display: flex;
  justify-content: center;
}


.education-card {
  width: 100%;

  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 25px;

  padding: 35px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    );

  box-shadow: var(--shadow-md);

  transition: var(--transition);
}


.education-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-7px);
  box-shadow:
    var(--shadow-lg),
    0 0 50px rgba(25,230,160,.06);
}


.education-icon {
  width: 65px;
  height: 65px;

  display: grid;
  place-items: center;

  border-radius: 18px;

  color: var(--accent);
  font-size: 1.3rem;

  background: rgba(25,230,160,.07);
  border: 1px solid rgba(25,230,160,.15);
}


.education-date,
.experience-date {
  display: inline-block;

  padding: 5px 10px;

  border-radius: 50px;

  color: var(--accent);
  background: rgba(25,230,160,.06);

  font-size: .68rem;
  font-weight: 600;

  margin-bottom: 10px;
}


.education-content h3,
.experience-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}


.education-content h4,
.experience-content h4 {
  color: var(--accent);
  font-size: .85rem;
  font-weight: 500;
  margin-bottom: 13px;
}


.education-content p,
.experience-content p {
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.8;
}


.education-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}


.education-skills span,
.project-tags span,
.project-tech span {
  padding: 6px 10px;

  border-radius: 7px;

  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);

  color: var(--text-muted);

  font-size: .65rem;
}


/* =========================================================
12. SKILLS
========================================================= */

.skills {
  max-width: 1250px;
}


.skills-categories {
  display: flex;
  flex-direction: column;
  gap: 35px;
}


.skills-category {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  background: rgba(255,255,255,.02);

  transition: var(--transition);
}


.skills-category:hover {
  border-color: rgba(25,230,160,.16);
}


.category-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 25px;
}


.category-header i {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  color: var(--accent);
  background: rgba(25,230,160,.07);
}


.category-header h3 {
  font-size: 1.12rem;
  font-weight: 700;
}


.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}


.skill-card {
  position: relative;

  padding: 25px;

  border: 1px solid var(--border);
  border-radius: 17px;

  background: rgba(255,255,255,.025);

  overflow: hidden;

  transition: var(--transition);
}


.skill-card::before {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(50px);
  opacity: 0;
  right: -20px;
  top: -20px;
  transition: var(--transition);
}


.skill-card:hover {
  transform: translateY(-7px);
  border-color: var(--border-accent);
  background: var(--surface-hover);
}


.skill-card:hover::before {
  opacity: .10;
}


.skill-card > i {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 15px;
}


.skill-card h4 {
  font-size: .95rem;
  margin-bottom: 7px;
}


.skill-card p {
  color: var(--text-muted);
  font-size: .72rem;
  line-height: 1.7;
}


/* =========================================================
13. FEATURED PROJECT
========================================================= */

.featured-project {
  max-width: 1250px;
}


.featured-project-container {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 35px;

  padding: 45px;

  border: 1px solid rgba(25,230,160,.18);
  border-radius: 32px;

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(25,230,160,.09),
      transparent 30%
    ),
    rgba(255,255,255,.025);

  box-shadow: var(--shadow-lg);

  position: relative;
  overflow: hidden;
}


.featured-project-container::after {
  content: "";
  position: absolute;

  width: 300px;
  height: 300px;

  border-radius: 50%;

  right: -150px;
  bottom: -150px;

  background: rgba(57,168,255,.08);
  filter: blur(50px);
}


.featured-project-icon {
  width: 100px;
  height: 100px;

  display: grid;
  place-items: center;

  border-radius: 28px;

  color: var(--accent);
  font-size: 2.5rem;

  background:
    linear-gradient(
      145deg,
      rgba(25,230,160,.14),
      rgba(57,168,255,.07)
    );

  border: 1px solid var(--border-accent);

  box-shadow:
    0 0 40px rgba(25,230,160,.08);
}


.featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--accent);

  font-size: .68rem;
  font-weight: 700;

  padding: 6px 11px;

  border-radius: 50px;

  background: rgba(25,230,160,.07);
  border: 1px solid rgba(25,230,160,.15);

  margin-bottom: 12px;
}


.featured-project-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}


.featured-project-content > p {
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.9;
  margin-bottom: 13px;
}


.project-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;

  margin: 25px 0;
}


.feature-item {
  display: flex;
  align-items: center;
  gap: 9px;

  padding: 10px;

  border-radius: 10px;

  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.05);

  color: var(--text-secondary);

  font-size: .7rem;
}


.feature-item i {
  color: var(--accent);
}


.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* =========================================================
14. PROJECTS
========================================================= */

.projects {
  max-width: 1250px;
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.project-card {
  position: relative;

  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    );

  overflow: hidden;

  transition: var(--transition);
}


.project-card::before {
  content: "";
  position: absolute;

  width: 180px;
  height: 180px;

  border-radius: 50%;

  background: var(--accent);
  filter: blur(90px);

  opacity: 0;
  right: -100px;
  top: -100px;

  transition: var(--transition);
}


.project-card:hover {
  transform: translateY(-9px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}


.project-card:hover::before {
  opacity: .07;
}


.project-icon {
  width: 55px;
  height: 55px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  color: var(--accent);
  font-size: 1.25rem;

  background: rgba(25,230,160,.07);
  border: 1px solid rgba(25,230,160,.13);

  margin-bottom: 22px;
}


.project-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 10px;
}


.project-card p {
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1.8;
  margin-bottom: 20px;
}


.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}


.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--accent);

  font-size: .72rem;
  font-weight: 700;

  transition: var(--transition);
}


.project-link:hover {
  gap: 13px;
}


/* =========================================================
15. EXPERIENCE
========================================================= */

.experience {
  max-width: 1050px;
}


.experience-container {
  position: relative;
}


.experience-container::before {
  content: "";
  position: absolute;

  left: 32px;
  top: 0;
  bottom: 0;

  width: 1px;

  background:
    linear-gradient(
      var(--accent),
      rgba(25,230,160,.05)
    );
}


.experience-card {
  display: grid;
  grid-template-columns: 65px 1fr;
  gap: 25px;

  padding: 10px 0 10px 0;
}


.experience-icon {
  width: 65px;
  height: 65px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #071713;
  border: 1px solid var(--border-accent);

  color: var(--accent);

  z-index: 2;

  box-shadow:
    0 0 0 8px rgba(25,230,160,.025),
    0 0 25px rgba(25,230,160,.10);
}


.experience-content {
  padding: 28px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: rgba(255,255,255,.025);

  transition: var(--transition);
}


.experience-content:hover {
  border-color: var(--border-accent);
  transform: translateX(5px);
}


.experience-content ul {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}


.experience-content li {
  color: var(--text-muted);
  font-size: .75rem;
  padding-left: 20px;
  position: relative;
}


.experience-content li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--accent);
}


/* =========================================================
16. CERTIFICATIONS
========================================================= */

.certifications {
  max-width: 1250px;
}


.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}


.certification-card {
  padding: 30px;

  border: 1px solid var(--border);
  border-radius: 22px;

  background: rgba(255,255,255,.025);

  transition: var(--transition);
}


.certification-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-md);
}


.certification-icon {
  width: 55px;
  height: 55px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  color: var(--accent);
  background: rgba(25,230,160,.07);

  margin-bottom: 20px;
}


.certification-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 10px;
}


.certification-card p {
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1.8;
}


/* =========================================================
17. CONTACT
========================================================= */

.contact {
  max-width: 1150px;
}


.contact-intro {
  text-align: center;
  max-width: 650px;
  margin: -25px auto 40px;
}


.contact-intro p {
  color: var(--text-secondary);
  font-size: .85rem;
}


.contact-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}


.contact-card {
  padding: 28px 20px;

  text-align: center;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: rgba(255,255,255,.025);

  transition: var(--transition);
}


.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-accent);
  background: rgba(25,230,160,.04);
  box-shadow: var(--shadow-md);
}


.contact-card > i {
  width: 50px;
  height: 50px;

  display: grid;
  place-items: center;

  margin: 0 auto 15px;

  border-radius: 14px;

  color: var(--accent);
  background: rgba(25,230,160,.07);

  font-size: 1.1rem;
}


.contact-card h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 6px;
}


.contact-card p {
  color: var(--text-muted);
  font-size: .67rem;
  word-break: break-word;
}


/* =========================================================
CONTACT CV
========================================================= */

.contact-cv {
  margin-top: 45px;
  padding: 40px;

  text-align: center;

  border-radius: 28px;

  border: 1px solid rgba(25,230,160,.16);

  background:
    radial-gradient(
      circle at center,
      rgba(25,230,160,.08),
      transparent 60%
    ),
    rgba(255,255,255,.02);
}


.contact-cv h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}


.contact-cv p {
  max-width: 600px;
  margin: 0 auto 25px;

  color: var(--text-muted);
  font-size: .8rem;
}


/* =========================================================
18. FOOTER
========================================================= */

.footer {
  border-top: 1px solid var(--border);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.02),
      rgba(0,0,0,.15)
    );

  padding: 65px 30px 30px;

  text-align: center;
}


.footer-content {
  max-width: 900px;
  margin: auto;
}


.footer-logo {
  display: inline-block;
  margin-bottom: 15px;
}


.footer-description {
  color: var(--text-muted);
  font-size: .75rem;
  margin-bottom: 25px;
}


.footer-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}


.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}


.footer-links a {
  color: var(--text-muted);
  font-size: .7rem;
  transition: var(--transition);
}


.footer-links a:hover {
  color: var(--accent);
}


.copyright {
  color: rgba(181,200,195,.45);
  font-size: .65rem;
}


/* =========================================================
19. ANIMATIONS
========================================================= */

@keyframes float {

  0%,100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }

}


@keyframes wave {

  0%,100% {
    transform: rotate(0deg);
  }

  20% {
    transform: rotate(18deg);
  }

  40% {
    transform: rotate(-10deg);
  }

  60% {
    transform: rotate(15deg);
  }

}


@keyframes spin {

  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }

}


@keyframes spinReverse {

  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }

}


@keyframes pulseGlow {

  0%,100% {
    transform: scale(.9);
    opacity: .6;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

}


/* =========================================================
20. RESPONSIVE — LARGE TABLETS
========================================================= */

@media (max-width: 1100px) {

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding: 9px 8px;
    font-size: .76rem;
  }

  .hero {
    padding-left: 35px;
    padding-right: 35px;
  }

  .profile-area {
    width: 320px;
    height: 320px;
  }

  .profile-slider {
    width: 295px;
    height: 295px;
  }

  .orbit-outer {
    width: 500px;
    height: 500px;
  }

  .orbit-middle {
    width: 410px;
    height: 410px;
  }

  .orbit-inner {
    width: 360px;
    height: 360px;
  }

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

}


/* =========================================================
21. TABLETS
========================================================= */

@media (max-width: 900px) {

  :root {
    --header-height: 72px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    position: fixed;

    top: var(--header-height);
    left: 20px;
    right: 20px;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 15px;

    background: rgba(5,18,14,.95);
    border: 1px solid var(--border);

    border-radius: 20px;

    backdrop-filter: blur(25px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);

    transition: var(--transition);

    box-shadow: var(--shadow-lg);
  }

  .nav-links.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 13px 15px;
    border-radius: 10px;
  }

  .nav-links a:hover {
    background: rgba(25,230,160,.06);
  }

  .nav-links a::before {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 150px;
  }

  .hero-content {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 500px;
  }

  .hero-greeting {
    justify-content: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons,
  .social-icons {
    justify-content: center;
  }

  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-content {
    text-align: center;
  }

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

  .about-visual {
    min-height: 430px;
  }

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

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

}


/* =========================================================
22. MOBILE
========================================================= */

@media (max-width: 650px) {

  .navbar {
    padding: 0 18px;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-actions {
    gap: 7px;
  }

  .hire-btn {
    display: none;
  }

  .hero {
    padding:
      130px
      20px
      70px;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 13vw, 4.2rem);
    letter-spacing: -2px;
  }

  .hero h2 {
    font-size: 1.25rem;
    font-weight: 700;
  }

  .hero-description {
    font-size: .86rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .profile-area {
    width: 255px;
    height: 255px;
  }

  .profile-slider {
    width: 235px;
    height: 235px;
  }

  .orbit-outer {
    width: 350px;
    height: 350px;
  }

  .orbit-middle {
    width: 300px;
    height: 300px;
  }

  .orbit-inner {
    width: 270px;
    height: 270px;
  }

  .orbit-dot {
    width: 7px;
    height: 7px;
  }

  .section {
    padding: 75px 18px;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .section-title h2,
  .about-heading h2 {
    font-size: 2.15rem;
    font-weight: 800;
  }

  .about-info-frame {
    grid-template-columns: 1fr;
  }

  .about-info-divider {
    display: block;
    height: 1px;
    background: var(--border);
  }

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

  .about-photo-card {
    width: 260px;
    height: 330px;
  }

  .about-developer-label {
    left: -20px;
  }

  .education-card {
    grid-template-columns: 1fr;
    padding: 25px;
  }

  .education-icon {
    width: 55px;
    height: 55px;
  }

  .skills-category {
    padding: 20px;
  }

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

  .featured-project-container {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .featured-project-icon {
    width: 75px;
    height: 75px;
    font-size: 1.8rem;
  }

  .featured-project-content h3 {
    font-size: 1.35rem;
  }

  .project-features {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .certifications-grid,
  .contact-container {
    grid-template-columns: 1fr;
  }

  .experience-container::before {
    left: 27px;
  }

  .experience-card {
    grid-template-columns: 55px 1fr;
    gap: 15px;
  }

  .experience-icon {
    width: 55px;
    height: 55px;
  }

  .experience-content {
    padding: 22px;
  }

  .contact-cv {
    padding: 30px 20px;
  }

  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }

}


/* =========================================================
23. SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-visual {
    min-height: 340px;
  }

  .profile-area {
    width: 220px;
    height: 220px;
  }

  .profile-slider {
    width: 205px;
    height: 205px;
  }

  .orbit-outer {
    width: 300px;
    height: 300px;
  }

  .orbit-middle {
    width: 255px;
    height: 255px;
  }

  .orbit-inner {
    width: 230px;
    height: 230px;
  }

  .about-photo-card {
    width: 230px;
    height: 295px;
  }

  .section-title h2,
  .about-heading h2 {
    font-size: 1.9rem;
    font-weight: 800;
  }

}


/* =========================================================
24. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

}


/* =========================================================
25. LIGHT THEME SUPPORT
========================================================= */

body.light-theme {

  --bg-primary: #f3faf7;
  --bg-secondary: #eaf5f0;
  --bg-tertiary: #ffffff;

  --surface: rgba(0,0,0,.04);
  --surface-hover: rgba(0,0,0,.07);

  --text-primary: #10201b;
  --text-secondary: #4b625b;
  --text-muted: #70847e;

  --border: rgba(0,0,0,.09);
  --border-accent: rgba(8,168,117,.35);

  background:
    radial-gradient(
      circle at 10% 10%,
      rgba(25,230,160,.13),
      transparent 25%
    ),
    linear-gradient(
      135deg,
      #f7fffc,
      #eef9f4
    );

  color: var(--text-primary);

}


body.light-theme::before {
  opacity: .02;
}


body.light-theme .header {
  background: rgba(247,255,252,.75);
}


body.light-theme .profile-ring::after {
  background: #eef9f4;
}


body.light-theme .nav-links {
  background: rgba(247,255,252,.95);
}


body.light-theme .orbit {
  border-color: rgba(0,0,0,.08);
}


body.light-theme .about-photo-card,
body.light-theme .featured-project-container {
  background: rgba(255,255,255,.65);
}


body.light-theme .project-card,
body.light-theme .skill-card,
body.light-theme .education-card,
body.light-theme .experience-content,
body.light-theme .certification-card,
body.light-theme .contact-card {
  background: rgba(255,255,255,.65);
}
