/* =========================
  CSS VARIABLES
========================= */
:root {
 --font-heading: Georgia, "Times New Roman", Times, serif;
 --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --fs-h1: clamp(2rem, 5vw, 3.5rem);
  --fs-h2: clamp(1.6rem, 4vw, 2.6rem);
  --fs-h3: clamp(1.3rem, 3vw, 1.8rem);
  --fs-body: clamp(0.95rem, 2.5vw, 1.05rem);
  --fs-small: clamp(0.85rem, 2vw, 0.95rem);


 --bg-primary: #F3F4F6;
 --bg-secondary: #FFFFFF;


 --color-primary: #1E3A8A;
 --color-secondary: #38BDF8;
 --color-accent: #F87171;
 --accent-strong: #60A5FA; /* primary accent */


 --text-primary: #111827;
 --text-secondary: #374151;
 --text-muted: #575F6A; /* darkened to meet WCAG AA on light backgrounds */


 --gradient-primary: linear-gradient(135deg,
   rgba(30, 58, 138, 0.8) 0%,
   rgba(56, 189, 248, 0.8) 100%);

 --radius: 8px;
 --section-gap: 5rem;
 --container-width: 1100px;
 --nav-height: 70px;
 --cert-card-bg: rgba(255, 255, 255, 0.85);
  --cert-border: rgba(0, 0, 0, 0.06);

/* Font families for project details page */
   --font-primary: "Poppins", system-ui, sans-serif;

  /* Font sizes */
  --text-h1: clamp(2rem, 4vw, 2.75rem);
  --text-h2: 1.75rem;
  --text-h3: 1.25rem;
  --text-body: 0.95rem;
  --text-caption: 0.8rem;

  /* Line heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /* Letter spacing */
  --ls-tight: -0.02em;
}


.dark-mode {
 --bg-primary: #111827;
 --bg-secondary: #1F2937;
 --text-primary: #F3F4F6;
 --text-secondary: #D1D5DB;
 --text-muted: #9CA3AF;
 --color-primary: #60A5FA;
}

[data-theme="light"] {
  --accent-strong: #2563EB; /* deeper blue for light bg */
}

/* Focus styles */
:focus-visible {
outline: 3px solid #2563EB;
outline-offset: 3px;
border-radius: 6px;
}

:focus:not(:focus-visible) {
outline: none;
}


/* =========================
  RESET & BASE
========================= */
*, *::before, *::after {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent layout overflow everywhere */
section {
  overflow-x: hidden;
}
/* Button tap highlight removal */

button {
  -webkit-tap-highlight-color: transparent;
}

button:active {
  transform: scale(0.97);
}

/* Smooth scrolling for anchor links */
html { scroll-behavior: smooth; }

/* =========================
   GLOBAL SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Skip Link Styling */

.skip-link {
position: absolute;
left: -999px;
top: auto;
background: #111827;
color: #fff;
padding: 0.5rem 0.75rem;
z-index: 10000;
border-radius: 6px;
text-decoration: none;
}
.skip-link:focus,
.skip-link:focus-visible {
left: 1rem;
top: 1rem;
}




body {
 font-family: var(--font-body);
 background-color: var(--bg-primary);
 color: var(--text-primary);
 line-height: 1.7;
 font-size: var(--fs-body);
}
/* Prevent horizontal overflow globally */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.container {
  width: min(100%, 1100px);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

h1, h2, h3 {
 font-family: var(--font-heading);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, li { font-size: var(--fs-body); }
span { font-size: var(--fs-small); }


section {
 padding: var(--section-gap) 1.25rem;
}


/* =========================
  GLOBAL GRID CONTAINER
========================= */
section,
.site-header,
.site-footer {
 display: grid;
 place-items: center;
}


.hero-content,
.content-wrapper,
.skills-container,
.projects-grid,
.services-list,
.workflow-steps,
.contact-form,
.navigation {
 width: min(100%, var(--container-width));
}


/* =========================
  HEADER & NAVIGATION
========================= */
.site-header {
 position: sticky;
 top: 0;
 z-index: 1000;
 height: var(--nav-height);
 background: var(--bg-secondary);
 box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}


.navigation {
 display: flex;
 justify-content: space-between;
 align-items: center;
}


.logo a {
 font-size: 1.5rem;
 font-weight: 700;
 text-decoration: none;
 color: var(--text-primary);
}


.nav-menu {
 display: flex;
 gap: 0.5rem;
 list-style: none;
 align-items: center;

}


.nav-menu a {
 text-decoration: none;
 color: var(--text-secondary);
 font-weight: 600;
 position: relative;
 padding: 0.5rem 1rem;
 border-radius: var(--radius);
 transition: all .3s ease;
 display: inline-block;
}

/* Active link styling */
.nav-menu a.active {
  color: var(--accent-strong);
  font-weight: 600;
  text-decoration: underline;
}

.nav-menu a:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}


.nav-menu a::after {
 content: "";
 position: absolute;
 bottom: 6px;
 left: 1rem;
 height: 2px;
 width: 0;
 background: var(--color-secondary);
 transition: width .3s ease;

}


.nav-menu a:hover::after {
width: calc(100% - 2rem);
}

/* Brand with profile */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-pic:hover {
  transform: scale(1.1);
}

.brand-name {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Hide brand name on small screens */
@media (max-width: 480px) {
  .brand-name {
    display: none;
  }
}




/* Mobile Menu Toggle Button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
/* Mobile Menu Toggle Spans */

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 4px 0;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Nav Toggle Active State */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}



/* =========================
  HERO SECTION
========================= */
.hero {
 background: var(--gradient-primary);
 color: #fff;
 text-align: center;
 padding: clamp(4rem, 8vw, 7rem) 1.5rem;
 position: relative;
 overflow: hidden;
}
/* Optional subtle background glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255,255,255,0.15),
    transparent 60%
  );
  pointer-events: none;
}

.hero-content {
 display: grid;
 gap: 1.75rem;
 max-width: 900px;
 margin: auto;
 position: relative;
  z-index: 1;
}


.hero h1 {
 font-size: clamp(2.2rem, 4.5vw, 3.2rem);
 line-height: 1.15;
 letter-spacing: -0.02em;
}


.hero-subtitle {
 color: rgba(255,255,255,0.95);
 font-size: clamp(1.05rem, 1.4vw, 1.2rem);

}
.hero-value {
  font-size: 1rem;
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
}



/* Hero Trust Container */
.hero-trust {
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.5rem;
 font-size: 1rem;
 color: rgba(255,255,255,0.9);
 margin-top: 2rem;
 flex-wrap: wrap;
 text-align: center;
}
.hero-trust-label {
  font-weight: 500;
  opacity: 0.9;
}

.hero-trust-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  background-color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}
/* Text span */
.hero-trust span {
 font-weight: 500;
 opacity: 0.9;
}


/* Brand link styling */
.brand-link {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 text-decoration: none;
 transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-link:hover,
.brand-link:focus-visible {
 transform: translateY(-2px) scale(1.05);
 outline: none;
 opacity: 0.9;
}


/* Icon sizing */
.brand-icon {
 width: 28px;
 height: 28px;
 fill: currentColor; /* For inline SVG */
 color: inherit;      /* FontAwesome icons inherit color */
 font-size: 28px;  /* For FontAwesome icons */
}


/* Specific brand colors */
.fiverr-link .brand-icon { color: #1DBF73; }   /* Fiverr green */
.upwork-link .brand-icon { color: #6fda44; }  /* Upwork green */
.behance-link .brand-icon { color: #1769ff; } /* Behance blue */



.hero-cta {
 display: flex;
 gap: 1rem;
 justify-content: center;
 flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary,
.btn-secondary {
 padding: 0.85rem 1.75rem;
 border-radius: var(--radius);
 font-weight: 600;
 text-decoration: none;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}


.btn-primary {
 background:  #fff;
 color: var(--color-primary);
 box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


.btn-secondary {
 border: 2px solid rgba(255,255,255,0.85);
 color: #fff;
}

/* Button hover */
.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}


/* =========================
  ABOUT SECTION
========================= */
.about {
 background: radial-gradient(
  circle at center,
  #1E293B 0%,
  #020617 70%
);


  padding: var(--section-gap) 1.25rem;
}
.about .section-header {
  text-align: center;
  margin-bottom: 0 auto 3rem;
  max-width: 720px;
 
}

.about h2 {
 text-align: center;
 margin-bottom: 0.75rem;
 font-size: clamp(1.8rem, 3vw, 2.4rem);
   color: #F8FAFC;
}
.about .section-intro {
  color: #E5E7EB;
  font-size: 1.05rem;
  line-height: 1.6;
}
.about-content {
  
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  display: grid;
  gap: 1.5rem;
}
.about-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #CBD5E1;
  letter-spacing: 0.01em;
}
.about-content strong {
  position: relative;
  color: var(--accent-strong);
  font-weight: 600;
}


 

.about-certifications {
  max-width: 820px;
  margin: 3rem auto 0;
 background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  padding: 2.25rem;
  border-radius: calc(var(--radius) + 4px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
   transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.about-certifications:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.about-certifications h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  text-align: center;
  color: #F8FAFC;
}
.certification-list {
  
  list-style: none;
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.5rem 0 0;
}
.certification-list li {
  display: block;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
 color: #CBD5E1;
  border-bottom: 1px dashed var(--text-muted);
  padding-bottom: 0.5rem;
}
.certification-list li:last-child {
  border-bottom: none;    
}
.certification-list strong {
  font-weight: 600;
    color: #FFFFFF;
}
.certification-list span {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
   color: #CBD5E1;
  font-size: 0.9rem;
  margin-top: 1rem;
}
.cert-text {
  min-width: 0;
  flex: 1;
}
.cert-item {
  
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 0;
border-bottom: 1px solid var(--color-secondary);


}
.cert-text span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.75;
}

/* Certification link styling */
.cert-modal {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.cert-modal.active {
  display: flex;
}

.cert-modal-content {
  background: var(--bg-secondary);
  max-width: 520px;
  width: 90%;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.cert-modal-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.cert-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.cert-view {
  margin-top: 0.75rem;
  background: none;
  border: none;
  color: var(--color-secondary);
  font-weight: 600;
  cursor: pointer;
}

/* Certification Accordion and Touch Feel */
.cert-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}
.cert-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.cert-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.cert-item.open .cert-panel {
  max-height: 120px; /* Adjust based on content */
}
.cert-item.open .cert-icon {
  transform: rotate(45deg);
}


/* Experience Section */
.experience {
  background:var(--bg-primary);
 
}
.experience .section-header {
  text-align: center;
  margin-bottom: 3rem; 
}
.experience-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}
/* Vertical timeline line */
.experience-list::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--color-primary), transparent 70%);
}
.experience-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}
.experience-marker {
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  margin-top: 0.4rem;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--color-primary), transparent 80%);
}
.experience-card {
  background: var(--bg-secondary);
  padding: 1.75rem;
  border-radius: var(--radius);
   box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.experience-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}
.experience-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;

}
.experience-header h3 {
  
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.experience-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.experience-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}


/* =========================
  SKILLS SECTION
========================= */
.skills .section-header {
  text-align: center;
  margin-bottom: 3rem; 
}  
.skills h2 {
 text-align: center;
 margin-bottom: 0.75rem;
  color: var(--text-primary);
} 

.skills .section-intro {
  margin-bottom: 3rem;
  text-align: center;
}




.skills-container {
 display: grid;
 gap: 2rem;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}


.skills-group {
 background: var(--bg-secondary);
 padding: 1.5rem;
 border-radius: var(--radius);
 display: flex;
 flex-direction: column;
 gap: .75rem;
  border: 1px solid var(--cert-border);
  color: var(--text-secondary);
 transition-delay: calc(var(--i) * 120ms);
 transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
}
.skills-group:hover {
  border-color: var(--accent-strong);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(96, 165, 250, 0.15);
  transform: scale(1.015);
}


.skill-level {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-weight: 500;
}
.skill-level.primary {
 background: rgba(96, 165, 250, 0.15);
   color: var(--accent-strong);
}
.skill-level.secondary {
  background: rgba(56, 189, 248, 0.15);
 color: var(--color-secondary);
}

.skills-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.tab {
  background: transparent;
  padding: 0.45rem 1rem;
  border-radius: 999px;
   border: 1px solid var(--cert-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}
.tab:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}
.tab.active {
  background: var(--color-secondary);
  color: #ffffff;
  border-color: var(--color-secondary);
  font-weight: 600;
}

/* =========================
  PROJECTS SECTION
========================= */
.projects .section-header {
  text-align: center;
  margin-bottom: 3rem; 
}
.projects h2 {
 text-align: center;
 margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.projects .section-intro {
  margin-bottom: 3rem;
  text-align: center;
}
.projects-grid {
 display: grid;
 gap: 2rem;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.project-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--cert-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.project-card:hover,
.project-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--accent-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}
/* Image */
.project-media img {
  width: 100%;
  display: block;
}
.project-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.project-content h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
}
.project-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
  list-style: none;
}
.project-tags li {
  font-size: 0.7rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--color-primary);
}
/* CTA */
.project-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}
.project-link:hover {
  text-decoration: underline;
}

/* =========================
  SERVICES SECTION
========================= */
.services .section-header {
  text-align: center;
  margin-bottom: 3rem; 
}
.services h2 {
 text-align: center;
 margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.services .section-intro {
  margin-bottom: 3rem;
  text-align: center;
}

.services-list {
 display: grid;
 gap: 2rem;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.services-card {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--cert-border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.services-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08),
              0 0 0 2px rgba(96, 165, 250, 0.15);
  border-color: var(--accent-strong);
}
.services-card h3 {
  font-size: var(--fs-h3);
  color: var(--color-primary);
}

.services-card p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-card ul {
  list-style: disc inside;
  padding-left: 0;
  margin: 0;
  color: var(--text-muted);
}
.services-card li {
  margin-bottom: 0.3rem;
}
/* Stagger reveal (uses global .reveal) */
.services-card.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.services-card.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================
  WORKFLOW SECTION
========================= */
.workflow {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: var(--section-gap) 1.25rem;
}

.workflow .section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.workflow h2 {
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.workflow .section-intro {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.workflow-steps {
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.workflow-step {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  counter-increment: step-counter;
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--cert-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.workflow-step:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08),
              0 0 0 2px rgba(96, 165, 250, 0.15);
  border-color: var(--accent-strong);
}
.step-number {
  flex-shrink: 0;
  min-width: 2.25ch;
  text-align: right;
}

.step-number::before {
  content: counter(step-counter, decimal-leading-zero);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-secondary);
  line-height: 1;
}

.step-content h3 {
  margin: 0;
  font-size: var(--fs-h3);
  color: var(--color-primary);
   line-height: 1.35;
}

.step-content p {
  margin: 0.25rem 0 0;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Workflow step media (thumbnails) */
.step-media {
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
  align-items: center;
}
.step-thumb {
  width: 160px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
  display: block;
}
.step-media a { display: inline-block; }

/* Wireframes and process grid */
.thumb-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.process-thumb {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
  display: block;
}

/* Mockup grid for final step (desktop / tablet / mobile) */
.mockup-grid {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.mockup-item { text-align: center; }
.mockup-thumb {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(2,6,23,0.08);
  display: block;
}
.mockup-caption {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

@media (max-width: 800px) {
  .mockup-grid { gap: 0.5rem; }
  .mockup-thumb { width: 30vw; }
}

@media (max-width: 800px) {
  .workflow-step { flex-direction: column; align-items: flex-start; }
  .step-media { margin-left: 0; margin-top: .75rem; }
  .step-thumb { width: 48vw; }
}

/* Staggered reveal using global .reveal */
.workflow-step.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.workflow-step.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   HIRE ME / PLATFORM SECTION
========================= */
.hire-platforms {
  padding: var(--section-gap) 1.25rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.hire-platforms .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.hire-platforms h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.hire-platforms .section-intro {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 3rem;
}

.platform-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  justify-items: center;
}

.platform-card,
.brand-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  gap: 0.5rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: 
    transform 0.3s ease, 
    box-shadow 0.3s ease, 
    border-color 0.3s ease;
  border: 1px solid var(--cert-border);
  width: 100%;
  max-width: 260px;
  will-change: transform, box-shadow, border-color;
}

.platform-card:hover,
.brand-link:hover 
.brand-link:focus {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.9;
}

.brand-link:hover {
  transform: translateY(-2px) scale(1.05);
  opacity: 0.9;
}

/* Keyboard-only focus indicator */
:focus-visible {
  outline: 3px solid #2563EB;
  outline-offset: 3px;
  border-radius: 6px;
}

:focus:not(:focus-visible) {
  outline: none;
}
.platform-icon,
.brand-icon {
  font-size: 2.5rem;
  width: 48px;
  height: 48px;
  margin-bottom: 0.5rem;
}

/* Brand-specific icon colors */
.fiverr-link .brand-icon { color: #1DBF73; }   /* Fiverr green */
.upwork-link .brand-icon { color: #6FDA44; }   /* Upwork green */
.behance-link .brand-icon { color: #1769FF; }  /* Behance blue */
.platform-card.email .platform-icon { color: var(--accent-strong); } /* Email red accent */

.platform-card div,
.brand-link div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.platform-card div strong,
.brand-link div strong {
  font-size: 1rem;
  color: var(--text-primary);
}

.platform-card div small,
.brand-link div small {
  font-size: 0.75rem;
  color: var(--text-muted);
}








/* =========================
   CONTACT SECTION
========================= */
.contact {
  padding: var(--section-gap) 1.25rem;
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact .section-header,
.contact h2,
.contact-subtitle {
  text-align: center;
}

.contact h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

.contact-form .form-group {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--cert-border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.15);
  outline: none;
}

.contact-form label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
}

.contact-form input:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:focus + label,
.contact-form textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.5rem);
  font-size: 0.75rem;
  color: var(--accent-strong);
}

.contact-form .btn-primary {
  background: var(--color-secondary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form .btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.contact-info {
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: var(--accent-strong);
}

.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  vertical-align: middle;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.contact-social a:hover {
  background: var(--color-secondary);
  color: #020617;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}



/* =========================
   FOOTER SECTION (Hero Theme)
========================= */
.site-footer {
  background: var(--gradient-primary); /* same as hero */
  color: #fff; /* hero text color */
  padding: clamp(4rem, 8vw, 6rem) 1.25rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255,255,255,0.08),
    transparent 60%
  );
  pointer-events: none;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
  color: #fff; /* hero text color */
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  background-color: #FFFFFF;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  color: var(--accent-strong); /* highlight on hover */
}

.footer-contact p {
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.85);
}

.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  background-color: #FFFFFF;
 
  color: var(--accent-strong);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  vertical-align: middle;
  background-color: #FFFFFF;
  color: #fff;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}



.footer-social a:hover {
  background: var(--color-secondary);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
}

/* =========================
   Brand colors for contact & footer icons
   Ensure Fiverr, Upwork, Behance icons use brand colors across site
========================= */
.footer-social a[aria-label*="Fiverr"],
.contact-social a[aria-label*="Fiverr"],
.platform-card.fiverr,
.brand-link.fiverr-link {
  color: #1DBF73; /* Fiverr green */
}

.footer-social a[aria-label*="Upwork"],
.contact-social a[aria-label*="Upwork"],
.brand-link.upwork-link {
  color: #6FDA44; /* Upwork green */
}

.footer-social a[aria-label*="Behance"],
.contact-social a[aria-label*="Behance"],
.brand-link.behance-link {
  color: #1769FF; /* Behance blue */
}

/* Fallback for FontAwesome <i> icons without .brand-icon */
.footer-social a[aria-label*="Fiverr"] i.fab,
.contact-social a[aria-label*="Fiverr"] i.fab {
  color: #1DBF73;
}
.footer-social a[aria-label*="Upwork"] i.fab,
.contact-social a[aria-label*="Upwork"] i.fab {
  color: #6FDA44;
}
.footer-social a[aria-label*="Behance"] i.fab,
.contact-social a[aria-label*="Behance"] i.fab {
  color: #1769FF;
}

/* Smooth hover transitions and dark-mode variants */
.footer-social a,
.contact-social a,
.brand-link {
  transition: color 200ms ease, transform 160ms ease;
}

.footer-social a:hover,
.contact-social a:hover,
.brand-link:hover {
  transform: translateY(-3px);
}

/* Slightly brighter/lighter shades for hover */
.footer-social a[aria-label*="Fiverr"]:hover,
.contact-social a[aria-label*="Fiverr"]:hover,
.brand-link.fiverr-link:hover {
  color: #22d67f;
}

.footer-social a[aria-label*="Upwork"]:hover,
.contact-social a[aria-label*="Upwork"]:hover,
.brand-link.upwork-link:hover {
  color: #8eea66;
}

.footer-social a[aria-label*="Behance"]:hover,
.contact-social a[aria-label*="Behance"]:hover,
.brand-link.behance-link:hover {
  color: #4d8dff;
}

/* Dark-mode adjustments: increase luminance for visibility */
.dark-mode .footer-social a[aria-label*="Fiverr"],
.dark-mode .contact-social a[aria-label*="Fiverr"],
.dark-mode .brand-link.fiverr-link {
  color: #29e089;
}
.dark-mode .footer-social a[aria-label*="Upwork"],
.dark-mode .contact-social a[aria-label*="Upwork"],
.dark-mode .brand-link.upwork-link {
  color: #9ff86f;
}
.dark-mode .footer-social a[aria-label*="Behance"],
.dark-mode .contact-social a[aria-label*="Behance"],
.dark-mode .brand-link.behance-link {
  color: #6fa8ff;
}

/* Ensure FontAwesome <i> fallbacks also adjust in dark mode */
.dark-mode .footer-social a[aria-label*="Fiverr"] i.fab,
.dark-mode .contact-social a[aria-label*="Fiverr"] i.fab {
  color: #29e089;
}
.dark-mode .footer-social a[aria-label*="Upwork"] i.fab,
.dark-mode .contact-social a[aria-label*="Upwork"] i.fab {
  color: #9ff86f;
}
.dark-mode .footer-social a[aria-label*="Behance"] i.fab,
.dark-mode .contact-social a[aria-label*="Behance"] i.fab {
  color: #6fa8ff;
}

/* Responsive */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .footer-social {
    justify-content: center;
  }
}



/* =========================
  BACK TO TOP BUTTON
========================= */
#backToTop {
 position: fixed;
 bottom: 24px;
 right: 24px;
 background: var(--color-primary);
 color: white;
 border: none;
 padding: .5rem .75rem;
 border-radius: 50%;
 cursor: pointer;
 display: none;
}


#backToTop.show {
 display: block;
}


/*MEDIA QUERIES*/

/* =========================
   RESPONSIVE NAV
========================= */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav-menu {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);

    max-height: 0;
    overflow: hidden;
    transform: translate(-10px);
    opacity: 0;
    transition:
      max-height 0.45s cubic-bezier(.4,0,.2,1),
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    padding: 1rem;
  }

  .nav-menu.active {
     max-height: 420px;
    transform: translateY(0);
    opacity: 1;
  }
}
/* Responsive About and Certifications Section */
@media (max-width: 600px) {
  .about-certifications {
    padding: 1.25rem;
  }
}


@media (max-width: 768px) {

  /* Prevent horizontal overflow globally */
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* About content */
  .about-content p {
    font-size: 0.95rem;
  }

  /* Certifications stack vertically */
  .cert-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cert-view {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
  }

  /* Long text safety */
  strong,
  p,
  span {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}


/* Responsive Experience Section */

@media (max-width: 640px) {
  .experience-list::before {
    left: 6px;
  }

  .experience-item {
    grid-template-columns: 16px 1fr;
    gap: 1rem;
  }

  .experience-marker {
    width: 10px;
    height: 10px;
  }
}
/* Certification Accordion Disable on Desktop */
@media (min-width: 769px) {
  .cert-panel {
    max-height: none;
  }
  .cert-toggle {
    cursor: default;
  }
  .cert-icon {
    display: none;
  }
}

/* Platform Grid Adjustments */
@media (max-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  .platform-card,
  .brand-link {
    padding: 1.25rem 0.75rem;
  }
}


/* Fallback for browsers that do not support backdrop-filter */
@supports not (backdrop-filter: blur(8px)) {
  .about-certifications {
    background: rgba(15, 23, 42, 0.95);
  }
}

/* =========================
   Reduced Motion Support
========================= */
@media (prefers-reduced-motion: reduce) {

  .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  .reveal.is-visible {
    transition: none !important;
    transform: none !important;
  }

  /* Disable CSS-only stagger */
  .skills-group {
    transition-delay: 0ms !important;
  }

}

/* Broader reduced-motion safety: disable remaining transitions/animations and smooth scrolling */
@media (prefers-reduced-motion: reduce) {
  html, body {
    scroll-behavior: auto !important;
  }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  /* Neutralize common transform/opacity motion classes */
  .reveal,
  .reveal.is-visible,
  .skills-group,
  .project-card,
  .services-card,
  .platform-card,
  .cert-modal-content,
  .hero,
  .experience-card,
  .workflow-step {
    transform: none !important;
    opacity: 1 !important;
  }
}



/* =========================
   HAMBURGER → CLOSE ANIMATION
========================= */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   SKILLS SECTION RESPONSIVE FIXES
   Ensure skills groups stack and tabs wrap on small screens
========================= */
@media (max-width: 768px) {
  .skills-container {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .skills-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .tab {
    white-space: normal;
    padding: 0.4rem 0.75rem;
  }

  .skills-group {
    min-width: 0;
  }

  .skills-group h3 {
    word-break: break-word;
  }
}

/* Runtime reduced-motion hook (set html.reduced-motion via JS) */
html.reduced-motion, html.reduced-motion * {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-delay: 0ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  transition-delay: 0ms !important;
  will-change: auto !important;
}

html.reduced-motion .reveal,
html.reduced-motion .reveal.is-visible,
html.reduced-motion .skills-group,
html.reduced-motion .project-card,
html.reduced-motion .services-card,
html.reduced-motion .platform-card,
html.reduced-motion .cert-modal-content,
html.reduced-motion .hero,
html.reduced-motion .experience-card,
html.reduced-motion .workflow-step,
html.reduced-motion .fade-in,
html.reduced-motion .slide-in {
  transform: none !important;
  opacity: 1 !important;
}


/* =========================
  PROJECT DETAILS PAGE
========================= */

/* =========================
   LOGO DESIGN COLLECTION PAGE
========================= */
.project-details {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Project Hero / Title */
.project-hero h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1rem;
}

.project-hero p {
  font-size: 1.05rem;
  line-height: 1.8;
  text-align: center;
  color: var(--text-secondary);
}

/* Project Meta (role, tools, category) */
.project-meta ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.project-meta li {
  font-size: 0.95rem;
  background: rgba(56, 189, 248, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  color: var(--color-primary);
}

/* Sections */
.project-section {
  margin-bottom: 3rem;
   padding: 5rem 0;
}
.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.project-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.project-section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Logo / Image Gallery */
.project-gallery .container{
   display: flex;
  flex-direction: column;
  gap: 3rem;
}
.project-gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.project-gallery figure {
  max-width: 720px;      /* editorial width */
  margin-inline: auto;
  text-align: center;
}

.project-gallery img {
 width: 100%;       /* scales down on small screens */
  max-width: 600px;  /* prevents huge stretching */
  margin: 0 auto;    /* center images */
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* Captions */
.project-gallery figcaption {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}



/* CTA */
.project-cta {
  text-align: center;
  margin-top: 2rem;
}

.project-cta a {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  color: #fff;
  background: var(--accent-strong);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.3s ease;
}

.project-cta a:hover {
  background: var(--accent-light);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .project-gallery {
    grid-template-columns: 1fr;
  }
}

/* =========================
   PORTFOLIO PROJECT STYLES
========================= */

/* Project Highlights */
.project-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.highlight-item {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.highlight-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Stack */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-category {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.tech-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 0.5rem;
}

.tech-category ul {
  list-style: none;
  padding: 0;
}

.tech-category li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--text-secondary);
}

.tech-category li:last-child {
  border-bottom: none;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  padding: 2rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--color-secondary);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Project Links */
.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.project-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-links .btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.project-links .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.3);
}

.project-links .btn-secondary {
  background: var(--bg-secondary);
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.project-links .btn-secondary:hover {
  background: var(--color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .project-highlights,
  .tech-stack,
  .features-grid {
    grid-template-columns: 1fr;
  }

  .project-links {
    flex-direction: column;
  }

  .highlight-item,
  .tech-category,
  .feature-card {
    padding: 1.5rem;
  }
}

/* =========================
   PROJECT PAGINATION
========================= */
.project-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-pagination a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.project-pagination a:hover {
  text-decoration: underline;
}

.all-projects {
  margin-inline: auto;
}
.project-pagination .disabled {
  opacity: 0.4;
  pointer-events: none;
  text-decoration: none;
}

/* =========================
   TYPOGRAPHY CLASSES
========================= */
.type-h1 {
  font-family: var(--font-primary);
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

.type-h2 {
  font-family: var(--font-primary);
  font-size: var(--text-h2);
  font-weight: 600;
}

.type-h3 {
  font-family: var(--font-primary);
  font-size: var(--text-h3);
  font-weight: 500;
}

.type-body {
  font-family: var(--font-primary);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: var(--lh-normal);
}

.type-caption {
  font-family: var(--font-primary);
  font-size: var(--text-caption);
  font-weight: 400;
  color: var(--text-secondary);
}


/* Typography card layout styles */

.typography-system .type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.type-card {
  background: var(--bg-secondary);
  border: 1px solid var(--cert-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.type-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  margin-bottom: 0.5rem;
}

.type-sample {
  margin: 0.75rem 0;
}

.type-meta {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.type-meta li {
  margin-bottom: 0.25rem;
}

/* =========================
   COLOR PALETTE
========================= */

.color-palette {
  margin-top: 4rem;
}

.color-palette h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.palette-intro {
  max-width: 600px;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

.palette-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.color-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.color-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.color-swatch {
  height: 120px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.color-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.color-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.color-card li {
  margin-bottom: 0.25rem;
}

.color-desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
}









