* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  overflow-x: hidden;
}
:root {
  /* Typography scale (mobile-first) */
  /* Responsive Typography Scale (Mobile-first) */
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-subheading: "Poppins", sans-serif;

  --fs-xs: clamp(0.75rem, 0.6vw + 0.5rem, 0.85rem); /* 12px → 13.6px */
  --fs-sm: clamp(0.875rem, 0.7vw + 0.55rem, 1rem); /* 14px → 16px */
  --fs-md: clamp(1rem, 0.8vw + 0.6rem, 1.125rem); /* 16px → 18px */
  --fs-lg: clamp(1.25rem, 1.2vw + 0.8rem, 1.5rem); /* 20px → 24px */
  --fs-xl: clamp(1.5rem, 1.8vw + 1rem, 2rem); /* 24px → 32px */
  --fs-2xl: clamp(2rem, 2.5vw + 1.2rem, 2.5rem); /* 32px → 40px */
  --fs-3xl: clamp(2.5rem, 3vw + 1.5rem, 3rem); /* 40px → 48px */
  --fs-4xl: clamp(3.5rem, 4vw + 2.8rem, 6.5rem); /* 48px → 56px */

  /* Brand Colours */
  --primary-color: #2a2a2b;
  --secondary-color: #897ae1;
  --accent-colorpurple: #7c8cff;
  --accent-colourpink: #d701fc;
  --gold-accent: #a77252;

  /* Neutrals */
  --light-background: #f3f4f8;
  --bg-light: #e8eaf3;
  --text-dark: #2b2b2b;
  --text-muted: #6b7280;

  /* Gradients */
  --gradient-purple: linear-gradient(180deg, #6a1bbe, #d701fc);
  --gradient-surface: linear-gradient(180deg, #f3f4f8, #e8eaf3);
  --gradient-dark-glow: radial-gradient(
    circle,
    rgba(106, 27, 190, 0.25),
    transparent 70%
  );

  /* Glows */
  --glow-purple: 0 0 22px rgba(167, 139, 250, 0.35);
  --glow-pink: 0 0 18px rgba(215, 1, 252, 0.35);

  /* Borders */
  --border-purple: 1px solid rgba(167, 139, 250, 0.3);
  --border-blue: 1px solid rgba(124, 140, 255, 0.25);

  /* Semantic */
  --color-success: #00d27a;
  --color-warning: #f5c542;
  --color-error: #ff4d4d;

  /* Gradients */
  /* --gradient-brand: linear-gradient(135deg, #38bdf8, #a855f7); */

  /* Borders */
  --border-purple: 1px solid rgba(167, 139, 250, 0.3);
  --border-blue: 1px solid rgba(124, 140, 255, 0.25);

  /* # 📏 **2. Spacing Scale (Technical Layout System)**  
A spacing scale gives your layout consistency and rhythm. */

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* ### How to use it  
- Hero padding: `var(--space-4xl)`  
- Section padding: `var(--space-3xl)`  
- Card padding: `var(--space-xl)`  
- Grid gaps: `var(--space-lg)`   */

  /* Typography scale */
  --font-size-xs: 0.75rem; /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-md: 1rem; /* 16px */
  --font-size-lg: 1.25rem; /* 20px */
  --font-size-xl: 1.5rem; /* 24px */
  --font-size-2xl: 2rem; /* 32px */
  --font-size-3xl: 2.5rem; /* 40px */
  --font-size-4xl: 3rem; /* 48px */

  /* ### Usage  
- Hero title → `var(--font-size-4xl)`  
- Section titles → `var(--font-size-2xl)`  
- Card titles → `var(--font-size-xl)`  
- Body text → `var(--font-size-md)`  
- Small labels → `var(--font-size-sm)`   */

  /* Shadow sistem */

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 6px 14px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.35);
  --shadow-xl: 0 18px 40px rgba(0, 0, 0, 0.45);

  /* ### Usage  
- Cards (idle): `var(--shadow-sm)`  
- Cards (hover): `var(--shadow-lg)`  
- Hero elements: `var(--shadow-md)`  
- Buttons (hover): `var(--shadow-md)`   */

  /* Components tokens */
  /* Buttons */
  --btn-bg: var(--gradient-brand);
  --btn-text: #ffffff;
  --btn-hover-shadow: var(--shadow-md);
  --btn-radius: 10px;

  /* Cards */
  --card-bg: var(--color-surface-dark);
  --card-border: var(--border-purple);
  --card-radius: 16px;
  --card-padding: var(--space-xl);
  --card-hover-shadow: var(--shadow-lg);

  /* Inputs */
  --input-bg: var(--color-surface-light);
  --input-border: var(--border-blue);
  --input-radius: 8px;

  /* Navigation */
  --nav-bg: transparent;
  --nav-link: var(--color-text-primary);
  --nav-link-hover: var(--color-secondary);

  /* Section Layout */
  --section-padding: var(--space-3xl);
  --section-title-color: var(--color-secondary);

  /* Gradient system */

  /* --gradient-brand: linear-gradient(135deg, #38bdf8, #a855f7); */
  --gradient-surface: linear-gradient(180deg, #f3f4f8, #e8eaf3);
  --gradient-dark-glow: radial-gradient(
    circle,
    rgba(106, 27, 190, 0.25),
    transparent 70%
  );
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--text-dark);
}

.tab-header {
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.tab-header .skills-header-h2 {
  font-size: var(--fs-2xl);
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.service-showcase {
  padding: var(--space-xl) var(--space-md);
}
.service-showcase__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.service-item {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* gap: 2rem; */
  gap: var(--space-2xl);
  padding: var(--space-sm);
}

.service-item > div {
  display: flex;
  flex-direction: column;
}
.service-item__subtitle {
  font-size: var(--fs-md);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.project-card__badge {
  color: var(--gold-accent);
  font-size: var(--fs-sm);
  font-style: italic;
}

.cta-text {
  font-size: var(--fs-sm);
  color: var(--text-dark);
  line-height: 1.6;
}

.service-item__examples img {
  width: 100%;
  box-shadow: var(--shadow-md);
  border: var(--border-blue);
}

.image-btn {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.cta-secondary {
  padding: var(--space-sm) var(--space-lg);
  background: transparent;
  border: var(--border-purple);
  border-radius: var(--btn-radius);
  font-size: var(--fs-sm);
  color: var(--secondary-color);
  transition: 0.25s ease;
}

.cta-secondary:hover {
  box-shadow: var(--btn-hover-shadow);
  background: var(--gradient-purple);
  color: #fff;
}

.why-me__inner {
  padding: var(--space-xl) var(--space-md);
}

.why-me__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.why-card {
  background: var(--gradient-surface);
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  border: var(--border-purple);
  box-shadow: var(--shadow-sm);
  transition: 0.25s ease;
}

.why-card:hover {
  box-shadow: var(--card-hover-shadow);
}

.why-card__icon {
  font-size: var(--fs-xl);
  color: var(--secondary-color);
  margin-bottom: var(--space-sm);
}

.why-card__text {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.row {
  padding: var(--space-xl) var(--space-lg);
}
.gallery-grid {
  margin-top: var(--space-2xl);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.img-assets {
  width: 100%;
  box-shadow: var(--shadow-md);
  transition: 0.25s ease;
}

.img-assets:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cta-section {
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  background-color: var(--primary-color);
  color: var(--accent-colorpurple);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  text-align: center;
}

.cta-text {
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
  text-align: center;
}

.cta-text-footer {
  text-align: left;
}

/* FAQ */
/* --- FAQ SECTION BASE --- */
.faq {
  padding: var(--space-xl) var(--space-lg);
  max-width: 1200px;
  margin: auto;
  font-family: inherit;
}

/* Layout: mobile first (stacked) */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: var(--bg-light);
}

/* --- LEFT SIDE --- */
.faq-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-title {
  font-weight: 700;
  font-size: var(--fs-2xl);
  font-family: var(--font-heading);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  line-height: 0.9;
}

.faq-desc {
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- TABS --- */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.faq-tab {
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid var(--border-purple);
  border-radius: var(--btn-radius);
  font-size: var(--fs-sm);
  color: var(--secondary-color);
  cursor: pointer;
  transition: 0.2s ease;
  font-weight: 600;
}

.faq-tab.active {
  background-color: var(--secondary-color);
  border: var(--border-purple);
  border-radius: var(--btn-radius);
  font-size: var(--fs-sm);
  color: var(--btn-text);
}

/* --- RIGHT SIDE PANELS --- */
.faq-panels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-panel {
  display: none;
}

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

/* --- FAQ ITEMS --- */
.faq-item {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  border: 1px solid #e5e5e5;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: var(--fs-lg);
  margin-bottom: 0.5rem;
  font-family: var(--font-subheading);
  font-weight: 500;
  color: var(--secondary-color);
}

.faq-item p {
  margin-top: 0.5rem;
  color: #444;
  line-height: 1.5;
}

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

.faq-cta-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 1.6rem;
  background: #6a4dfc;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* --- DESKTOP LAYOUT --- */

@media screen and (min-width: 1068px) {
  .service-item {
    grid-template-columns: 1fr 1fr;
  }

  .service-item {
    padding: var(--space-3xl);
  }

  .why-me__grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    padding: var(--space-3xl);
    margin-bottom: 2rem;
  }

  .gallery-grid {
    padding: var(--space-3xl);
  }

  .cta-section {
    padding: var(--space-3xl);
    margin-bottom: var(--space-4xl);
  }

  .tab-header {
    margin-bottom: var(--space-3xl);
  }

  .row {
    padding: var(--space-3xl);
    margin-bottom: var(--space-4xl);
  }

  .faq-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
    padding: var(--space-3xl);
  }

  .faq-header {
    flex: 1;
    max-width: 380px;
  }

  .faq-panels {
    flex: 2;
  }
}
