/* Index page */
:root {
  --bg: #f7f4ef;
  --bg-soft: #eee9e1;
  --surface: #ffffff;
  --surface-dark: #20211f;
  --text: #20211f;
  --text-soft: #62635f;
  --text-light: #8a8b86;
  --accent: #b47a45;
  --accent-dark: #8f5c32;
  --accent-light: #d9b895;
  --border: rgba(32, 33, 31, 0.10);
  --border-light: rgba(32, 33, 31, 0.06);
  --shadow-sm: 0 8px 25px rgba(32, 33, 31, 0.06);
  --shadow-md: 0 18px 45px rgba(32, 33, 31, 0.09);
  --shadow-lg: 0 30px 80px rgba(32, 33, 31, 0.12);
  --max-width: 1180px;
  --transition: 0.3s ease;
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 80% 10%,
      rgba(180, 122, 69, 0.08),
      transparent 30%
    ),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/*Global container*/

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

/* HEADER*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
}

.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Navigation */

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  position: relative;
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition:
    color var(--transition);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-list a:hover {
  color: var(--text);
}

.nav-list a:hover::after {
  width: 100%;
}

/* Mobile menu button */

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  transition:
    background var(--transition),
    transform var(--transition);
}

.menu-btn:hover {
  background: var(--bg-soft);
  transform: translateY(-2px);
}

.bar1, .bar2, .bar3 {
  width: 17px;
  height: 3px;
  background-color: var(--accent-dark);
  margin: 2px 0;
  transition: 0.4s;
}

.change .bar1 {transform: translate(0, 5px) rotate(-45deg);}

.change .bar2 {opacity: 0;}

.change .bar3 {transform: translate(0, -5px) rotate(45deg);}

/* Hero */
.hero {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  padding: 90px 0 110px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 80px;
}

/* Hero content */

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 25px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--accent);
  font-style: italic;
}

.hero-description {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 300;
}
/* Hero buttons */

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.btn-primary {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--surface);
  border-color: var(--accent-light);
}


/*HERO VISUAL*/

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*Decorative grid */

.visual-grid {
  position: absolute;
  width: 380px;
  height: 380px;
  background-image:
    linear-gradient(
      rgba(32, 33, 31, 0.08) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(32, 33, 31, 0.08) 1px,
      transparent 1px
    );
  background-size: 38px 38px;
  transform: rotate(-8deg);
  opacity: 0.45;
}

/* Main visual card */

.visual-card-main {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  padding: 45px 40px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
  transition: transform var(--transition);
}

.visual-card-main:hover {
  transform: rotate(0deg) translateY(-8px);
}

.visual-label {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
}

.visual-card-main strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  line-height: 1.1;
}

.visual-card-main p {
  margin: 15px 0 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
}


/* Small visual card */

.visual-card-small {
  position: absolute;
  z-index: 4;
  right: 4%;
  bottom: 15%;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  background: var(--text);
  color: var(--accent-light);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  font-size: 24px;
  transform: rotate(-10deg);
}

/*  Orbit  */

.visual-orbit {
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(180, 122, 69, 0.25);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.visual-orbit::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 8%;
  right: 16%;
  border-radius: 50%;
  background: var(--accent);
}


/* GENERAL SECTIONS */

.section {
  padding: 120px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 65px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 600;
  letter-spacing: -1px;
}

/* ABOUT */

.about-section {
  background: var(--surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.large-text {
  max-width: 540px;
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.2;
  color: var(--text);
}

.about-text {
  max-width: 520px;
}

.about-text p {
  margin: 0 0 25px;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  transition:
    color var(--transition),
    border-color var(--transition);
}

.text-link:hover {
  color: var(--accent-dark);
  border-color: var(--text);
}

/* INTERESTS */

.interests-section {
  background: var(--bg);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.interest-card {
  position: relative;
  min-height: 360px;
  padding: 32px 28px;
  background: transparent;
  border: 1px solid var(--border);
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.interest-card:hover {
  transform: translateY(-8px);
  background: var(--surface);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

/*  Interest icon */

.interest-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 45px;
  border: 1px solid var(--accent-light);
  border-radius: 50%;
  color: var(--accent-dark);
  font-size: 20px;
}

/* Interest content */

.interest-card h3 {
  margin: 0 0 16px;
  font-family: "Playfair Display", serif;
  font-size: 25px;
  line-height: 1.2;
}

.interest-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.8;
  font-weight: 300;
}

.card-link {
  display: inline-block;
  margin-top: 25px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition:
    color var(--transition),
    transform var(--transition);
}

.card-link:hover {
  color: var(--text);
  transform: translateX(4px);
}

/* CONTACT*/

.contact-section {
  position: relative;
  padding: 150px 0;
  background: var(--text);
  color: #fff;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -300px;
  right: -100px;
  border: 1px solid rgba(217, 184, 149, 0.18);
  border-radius: 50%;
}

.contact-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  bottom: -200px;
  left: -80px;
  border: 1px solid rgba(217, 184, 149, 0.12);
  border-radius: 50%;
}

.contact-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.contact-content {
  color: var(--accent-light);
}

.contact-content h2 {
  margin: 25px 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.95;
  font-weight: 600;
  letter-spacing: -3px;
}

.contact-content h2 span {
  color: var(--accent-light);
  font-style: italic;
}

.contact-content p {
  max-width: 550px;
  margin: 0 0 35px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.contact-content .btn-primary {
  background: var(--accent-light);
  color: var(--text);
  box-shadow: none;
}

.contact-content .btn-primary:hover {
  background: #fff;
  color: var(--text);
}

/* FOOTER */

.site-footer {
  padding: 45px 0;
  background: var(--text);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 50px;
  row-gap: 30px;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand strong {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
}

.footer-brand span {
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  letter-spacing: 0.3px;
}


/* RESPONSIVE TABLET */

@media (max-width: 1000px) {

  .hero-container {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-content {
    max-width: 800px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 50px;
  }
}

/* RESPONSIVE mobile navigation */

@media (max-width: 800px) {
  .nav-container {
    min-height: 70px;
  }
  .logo-text {
    font-size: 18px;
  }
  .menu-btn {
    display: grid;
    place-items: center;
  }
  .nav-list {
    display: none;
  }
  .nav-list.nav-open {
    display: flex;
  }

  .hero {
    min-height: auto;

    padding: 75px 0 90px;
  }

  .hero h1 {
    font-size: clamp(45px, 12vw, 65px);
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.7;
  }

  .section {
    padding: 90px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .interest-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-section {
    padding: 110px 0;
  }
}


/* RESPONSIVE SMALL MOBILE */

@media (max-width: 560px) {
  .container {
    width: min(100% - 30px, var(--max-width));
  }
  .logo-mark {
    width: 38px;
    height: 38px;

    font-size: 13px;
  }
  .logo-text {
    font-size: 17px;
  }
  .hero {
    padding: 60px 0 75px;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1;
  }
  .hero-description {
    margin-top: 25px;
    font-size: 14px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .btn {
    width: 100%;
  }

  /* Hero visual */

  .hero-visual {
    min-height: 350px;
  }

  .visual-grid {
    width: 280px;
    height: 280px;
    background-size: 28px 28px;
  }
  .visual-orbit {
    width: 300px;
    height: 300px;
  }
  .visual-card-main {
    width: 280px;
    padding: 35px 30px;
  }
  .visual-card-main strong {
    font-size: 28px;
  }

  .visual-card-small {
    width: 65px;
    height: 65px;
    right: 3%;
    bottom: 5%;
  }

  /* Sections */

  .section {
    padding: 75px 0;
  }

  .section-heading {
    margin-bottom: 45px;
  }

  .section-heading h2 {
    font-size: 38px;
  }

  .large-text {
    font-size: 32px;
  }


  /* Interest cards */

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: auto;

    padding: 30px;
  }

  .interest-icon {
    margin-bottom: 35px;
  }


  /* Contact */

  .contact-section {
    padding: 90px 0;
  }

  .contact-content h2 {
    font-size: 55px;
    letter-spacing: -2px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }
  .footer-links {
    justify-content: center;
  }

  .copyright {
    grid-column: auto;
  }
}

/* ACCESSIBILITY */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Mobile navigation overflow fix */
@media (max-width: 980px) {
  .site-header {
    overflow: visible;
  }
  .nav-container {
    position: relative;
  }
  .main-nav {
    position: relative;
  }
  .nav-list.nav-open {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: min(220px, calc(100vw - 30px));
    max-width: calc(100vw - 30px);
    padding: 18px;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    z-index: 200;
  }
  .nav-list.nav-open li {
    width: 100%;
  }
  .nav-list.nav-open a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    white-space: nowrap;
  }
}
/* Extra protection for very small phones */
@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .nav-list.nav-open {
    right: -6px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }
}

/*CREDENTIALS PAGE*/
/* Page Introduction */
.credentials-hero {
  padding: 70px 0 45px;
  text-align: center;
}

.credentials-hero-content {
  max-width: 760px;
}

.credentials-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.credentials-hero h2 {
  margin: 0 0 15px;
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--brown-dark);
}

.credentials-hero p:not(.credentials-eyebrow) {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted-strong);
  line-height: 1.7;
}

/* Filter Buttons */
.credentials-filter-section {
  margin-bottom: 30px;
}

.credentials-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.credential-filter {
  padding: 9px 18px;
  border: 1px solid rgba(43,37,33,0.08);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.credential-filter:hover {
  border-color: rgba(201,139,70,0.35);
  transform: translateY(-2px);
}

.credential-filter.active {
  background: linear-gradient(
  180deg,
  var(--accent),
  var(--brown-mid)
  );
  color: var(--inverse-text);
  border-color: transparent;
}

/* Featured Credential */
.featured-credential {
  margin-top: 10px;
  margin-bottom: 65px;
}

.featured-credential-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: 35px;
  align-items: center;
  padding: 25px;
  background: var(--surface);
  border: 1px solid rgba(43,37,33,0.04);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
}

.featured-credential-image {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--Warm-100);
}

.featured-credential-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: contain;
  background: var(--Warm-100);
}

.featured-credential-info {
  padding: 10px;
}

.credential-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.featured-credential-info h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--brown-dark);
}

.credential-issuer {
  margin: 0 0 12px;
  color: var(--brown-mid);
  font-size: 0.92rem;
}

.credential-description {
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.6;
}

.credential-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.credential-meta span {
  padding: 5px 11px;
  border-radius: 15px;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-size: 0.78rem;
  font-weight: 600;
}

/* Credentials Section */
.credentials-section {
  padding-bottom: 40px;
}

.credentials-section-heading {
  margin-bottom: 28px;
  text-align: center;
}

.credentials-section-heading h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 34px;
  color: var(--brown-dark);
}

.credentials-section-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Credential Card */
.credential-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(43,37,33,0.04);
  border-radius: 14px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(43,37,33,0.09);
}

/* Certificate Preview */
.credential-card-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--Warm-100);
}

.credential-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--Warm-100);
  transition: transform 0.35s ease;
}

.credential-card:hover .credential-card-image img {
  transform: scale(1.025);
}

/* Credential Type Badge */
.credential-type {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 14px;
  background: rgba(255,253,251,0.92);
  color: var(--brown-mid);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(43,37,33,0.08);
}

/* Card Content */
.credential-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}

.credential-card-content h3 {
  margin: 0 0 6px;
  font-family: "Playfair Display", serif;
  font-size: 21px;
  color: var(--brown-dark);
}

.credential-date {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

.credential-card-content .credential-description {
  margin-top: 2px;
  margin-bottom: 18px;
}

/* Credential Buttons */
.credential-button {
  display: inline-block;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 9px;
  background: linear-gradient(
  180deg,
  var(--accent),
  var(--brown-mid)
  );
  color: var(--inverse-text);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
}

.credential-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(139,90,54,0.12);
}

.credential-button.secondary {
  width: 100%;
}

/* Navigation Active State */
.nav-list a.active {
  color: var(--brown-mid);
}

/* Hidden Cards - Used by JavaScript Filtering */
.credential-card.credential-hidden {
  display: none;
}

/* Responsive Design */
@media (max-width: 900px) {

.credentials-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}

.featured-credential-content {
  grid-template-columns: 1fr;
}

.featured-credential-image {
  max-width: 650px;
  margin: 0 auto;
}

}

@media (max-width: 600px) {
  .credentials-hero {
    padding: 45px 0 30px;
  }

  .credentials-hero h2 {
    font-size: 32px;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .featured-credential-content {
    padding: 15px;
    gap: 20px;
  }

  .featured-credential-info h2 {
    font-size: 27px;
  }

  .credentials-filters {
    gap: 7px;
  }

  .credential-filter {
    padding: 8px 13px;
    font-size: 0.82rem;
  }

  .credential-card-image {
    height: 230px;
  }

}

/* Very Small Screens */
@media (max-width: 400px) {
  .credentials-hero h2 {
    font-size: 28px;
  }

  .credential-card-content {
    padding: 16px;
  }

  .credential-card-image {
    height: 200px;
  }
}
/*Chess variables */
.chess-page {
  --chess-dark: #2d211b;
  --chess-brown: #6f4930;
  --chess-gold: #c98b46;
  --chess-light: #f3e8dd;
  --chess-square-light: #f0d9bd;
  --chess-square-dark: #8b5a36;
}
/* Header */
.chess-header {
  position: sticky;
}
.chess-header .nav-list a {
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

.chess-header .nav-list a:hover {
  color: var(--accent);
  opacity: 1;
}

.chess-hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px;
}

.chess-hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -220px;
  top: -180px;
  border-radius: 50%;
  background: rgba(201, 139, 70, 0.08);
  pointer-events: none;
}

.chess-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
  gap: 70px;
  align-items: center;
}

.chess-hero-content {
  position: relative;
  z-index: 2;
}

.chess-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brown-mid);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chess-hero h2 {
  max-width: 680px;
  margin: 0;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.chess-hero h2 span {
  display: block;
  color: var(--brown-mid);
}

.chess-hero-text {
  max-width: 580px;
  margin: 28px 0 0;
  color: var(--muted-strong);
  font-size: 1.05rem;
  line-height: 1.8;
}

.chess-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.chess-hero-actions .btn {
  text-decoration: none;
}

.chess-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 520px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(43, 37, 33, 0.08);
}

.chess-note-icon {
  display: flex;
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-size: 1.1rem;
}

.chess-hero-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* Chess Board */
.chess-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 530px;
}

.chess-visual-glow {
  position: absolute;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: rgba(201, 139, 70, 0.09);
  filter: blur(20px);
}

.chess-board {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(440px, 90vw);
  aspect-ratio: 1;
  grid-template-columns: repeat(8, 1fr);
  border: 10px solid var(--brown-dark);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 25px 70px rgba(43, 37, 33, 0.20),
    0 4px 0 rgba(43, 37, 33, 0.12);
  transform: rotate(1.5deg);
}

.chess-square {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  font-family: "Times New Roman", serif;
  font-size: clamp(1.5rem, 4vw, 2.8rem);
  line-height: 1;
  user-select: none;
}

.chess-square.light {
  background: var(--chess-square-light);
}

.chess-square.dark {
  background: var(--chess-square-dark);
}

.chess-rating-card {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 4;
  display: flex;
  min-width: 175px;
  flex-direction: column;
  padding: 18px 20px;
  background: rgba(255, 253, 251, 0.95);
  border: 1px solid rgba(43, 37, 33, 0.07);
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(43, 37, 33, 0.12);
  backdrop-filter: blur(8px);
}

.chess-rating-card span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.chess-rating-card strong {
  margin-top: 2px;
  color: var(--brown-mid);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
}

.chess-rating-card small {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.chess-section {
  padding: 100px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 45px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

/* Feature Card */

.chess-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.chess-feature-card {
  position: relative;
  min-height: 270px;
  padding: 32px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(43, 37, 33, 0.05);
  border-radius: 18px;
  box-shadow: var(--box-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.chess-feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 40px rgba(43, 37, 33, 0.11);
}

.feature-number {
  position: absolute;
  top: 20px;
  right: 25px;
  color: rgba(139, 90, 54, 0.10);
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
}

.feature-icon {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border-radius: 12px;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-size: 1.5rem;
}

.chess-feature-card h3 {
  margin: 0 0 12px;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.chess-feature-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.92rem;
  line-height: 1.7;
}

/*Curriculum section */
.chess-curriculum-section {
  background:
    linear-gradient(
      180deg,
      rgba(243, 232, 221, 0.48),
      rgba(251, 248, 245, 0)
    );
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.curriculum-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px;
  background: var(--surface);
  border: 1px solid rgba(43, 37, 33, 0.05);
  border-radius: 16px;
  box-shadow: 0 7px 25px rgba(43, 37, 33, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.curriculum-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 139, 70, 0.35);
}

.curriculum-icon {
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-family: "Times New Roman", serif;
  font-size: 1.65rem;
}

.curriculum-label {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.curriculum-card h3 {
  margin: 0 0 8px;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
}

.curriculum-card p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.65;
}

.curriculum-card-highlight {
  background:
    linear-gradient(
      135deg,
      rgba(255, 253, 251, 1),
      rgba(243, 232, 221, 0.65)
    );
}

/* Coach Section */

.coach-section {
  background: var(--surface);
}

.coach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 75px;
  align-items: center;
}

.coach-image-wrapper {
  position: relative;
  max-width: 430px;
}

.coach-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background-color: var(--Warm-100);
  background-position: center;
  background-size: cover;
  box-shadow: 0 25px 55px rgba(43, 37, 33, 0.12);
}

.coach-image-label {
  position: absolute;
  right: -25px;
  bottom: 25px;
  display: flex;
  min-width: 190px;
  flex-direction: column;
  padding: 17px 20px;
  background: rgba(255, 253, 251, 0.95);
  border-radius: 13px;
  box-shadow: 0 12px 30px rgba(43, 37, 33, 0.12);
}

.coach-image-label span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.coach-image-label strong {
  margin-top: 2px;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.coach-content h2 {
  max-width: 650px;
  margin: 0;
  color: var(--brown-dark);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
}

.coach-content > p {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

.coach-highlight {
  display: flex;
  gap: 16px;
  max-width: 600px;
  margin-top: 30px;
  padding: 20px;
  background: var(--Warm-100);
  border-radius: 14px;
}

.coach-highlight-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--surface);
  color: var(--brown-mid);
  font-size: 1.2rem;
}

.coach-highlight strong {
  color: var(--brown-dark);
}

.coach-highlight p {
  margin: 4px 0 0;
  color: var(--muted-strong);
  font-size: 0.86rem;
  line-height: 1.5;
}
/* Target audience */

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 850px;
  margin: 0 auto;
}

.audience-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: var(--surface);
  border: 1px solid rgba(43, 37, 33, 0.05);
  border-radius: 13px;
}

.audience-item span {
  display: flex;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-weight: 700;
}

.audience-item p {
  margin: 2px 0 0;
  color: var(--muted-strong);
  font-size: 0.88rem;
  line-height: 1.55;
}

.chess-cta-section {
  padding: 60px 0 100px;
}

.chess-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 55px 60px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      var(--brown-dark),
      var(--brown-mid)
    );
  box-shadow: 0 25px 60px rgba(43, 37, 33, 0.16);
}

.chess-cta .chess-eyebrow {
  color: var(--brown-light);
}

.chess-cta h2 {
  margin: 0;
  color: var(--inverse-text);
  font-family: "Playfair Display", serif;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.chess-cta p {
  max-width: 550px;
  margin: 15px 0 0;
  color: rgba(255, 250, 247, 0.75);
  line-height: 1.65;
}

.chess-cta .btn.primary {
  flex-shrink: 0;
  background: var(--cream);
  color: var(--brown-dark);
}

.chess-cta .btn.primary:hover {
  transform: translateY(-2px);
}

.chess-page .btn, .chess-page button, .chess-page a {
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.chess-page .btn:focus-visible,.chess-page button:focus-visible,.chess-page a:focus-visible {
  outline: 3px solid rgba(201, 139, 70, 0.28);
  outline-offset: 4px;
}

@media (max-width: 980px) {

  .chess-hero {
    padding: 65px 0 80px;
  }

  .chess-hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .chess-hero-content {
    text-align: center;
  }

  .chess-hero-text {
    margin-right: auto;
    margin-left: auto;
  }

  .chess-hero-actions {
    justify-content: center;
  }

  .chess-hero-note {
    margin-right: auto;
    margin-left: auto;
    text-align: left;
  }

  .chess-visual {
    min-height: auto;
  }

  .chess-rating-card {
    right: 5%;
    bottom: -10px;
  }

  .chess-feature-grid {
    grid-template-columns: 1fr;
  }

  .coach-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .coach-image-wrapper {
    margin: 0 auto;
  }

  .coach-content {
    text-align: center;
  }

  .coach-content > p,
  .coach-highlight {
    margin-right: auto;
    margin-left: auto;
  }

  .coach-highlight {
    text-align: left;
  }

  .chess-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 700px) {

  .chess-section {
    padding: 75px 0;
  }

  .chess-hero h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .chess-board {
    width: min(390px, 88vw);
    border-width: 7px;
  }

  .chess-rating-card {
    right: 0;
    min-width: 145px;
    padding: 14px;
  }

  .chess-rating-card strong {
    font-size: 1.6rem;
  }

  .curriculum-grid {
    grid-template-columns: 1fr;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .chess-cta {
    padding: 40px 28px;
  }
}


@media (max-width: 520px) {

  .chess-hero {
    padding-top: 45px;
  }

  .chess-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .chess-hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .chess-hero-note {
    text-align: left;
  }

  .chess-visual {
    margin-top: 10px;
  }

  .chess-board {
    width: min(340px, 86vw);
    border-width: 5px;
    transform: none;
  }

  .chess-square {
    font-size: clamp(1.15rem, 6vw, 2rem);
  }

  .chess-rating-card {
    right: -3px;
    bottom: -35px;
  }

  .coach-image-label {
    right: 10px;
    bottom: 15px;
  }

  .curriculum-card {
    grid-template-columns: 45px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .curriculum-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .chess-cta .btn {
    width: 100%;
  }

  .chess-cta-section {
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .chess-page *,.chess-page *::before,.chess-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
/* Projects Page */

/* Projects Hero */
.projects-hero {
  padding: 80px 0 70px;
  position: relative;
}

.projects-hero-inner {
  display: flex;
  align-items: center;
  min-height: 300px;
}

.projects-hero-text {
  max-width: 760px;
}

.projects-eyebrow {
  margin: 0 0 10px;
  color: var(--brown-mid);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.projects-hero h2 {
  margin: 0;
  max-width: 760px;
  font-family: "Playfair Display", serif;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  color: var(--brown-dark);
}

.projects-hero p:not(.projects-eyebrow) {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.7;
}

/* Projects Section */
.projects-section {
  padding-bottom: 70px;
}

.projects-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}

.projects-heading h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: 38px;
  color: var(--brown-dark);
}

.projects-intro {
  margin: 7px 0 0;
  color: var(--muted);
}

/* Filters */
.project-filters {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.project-filter {
  border: 1px solid rgba(43,37,33,0.08);
  background: var(--surface);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.project-filter:hover {
  border-color: var(--brown-light);
  transform: translateY(-1px);
}

.project-filter.active {
  color: var(--inverse-text);
  background: linear-gradient(
    180deg,
    var(--accent),
    var(--brown-mid)
  );
  border-color: transparent;
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Project Card */
.project-card {
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(43,37,33,0.04);
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 42px rgba(43,37,33,0.11);
}


/* Project Image */
.project-card-image {
  position: relative;
  height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-color: var(--Warm-100);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.chemical-image {
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(201,139,70,0.28),
      transparent 35%
    ),
    linear-gradient(
      135deg,
      var(--Warm-100),
      #e7d2bd
    );
}

.data-image {
  background:
    radial-gradient(
      circle at 75% 25%,
      rgba(139,90,54,0.22),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #eee2d5,
      var(--Warm-100)
    );
}

.coding-image {
  background:
    radial-gradient(
      circle at 30% 70%,
      rgba(201,139,70,0.25),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #eadbcf,
      #f3e8dd
    );
}
.chess-image {
  background:
    linear-gradient(
      135deg,
      #e4d3c2,
      #f6eee7
    );
}

/* Category Badge */
.project-category {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255,253,251,0.9);
  color: var(--brown-dark);
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(43,37,33,0.07);
}

/* Project Content */
.project-card-content {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 22px;
}

.project-card-content h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  color: var(--brown-dark);
}

.project-card-content p:not(.projects-eyebrow) {
  margin: 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.65;
}

/* Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.project-tags span {
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--Warm-100);
  color: var(--brown-mid);
  font-size: 0.72rem;
  font-weight: 500;
}

/* Project Link */
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 20px;
  color: var(--brown-mid);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    color 0.2s ease,
    gap 0.2s ease;
}

.project-link:hover {
  color: var(--brown-dark);
  gap: 12px;
}

/* Hidden projects for filter */
.project-item.project-hidden {
  display: none;
}

/* Coming Soon Card */
.project-coming-soon .project-card {
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      var(--surface),
      var(--cream)
    );
}

.project-coming-soon .project-card-content {
  min-height: 280px;
  justify-content: center;
}

.project-coming-soon h3 {
  font-size: 27px;
}

/* CTA */
.projects-cta {
  padding-bottom: 70px;
}

.projects-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 38px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      var(--Warm-100),
      var(--cream)
    );
  border: 1px solid rgba(43,37,33,0.04);
}

.projects-cta-inner h2 {
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--brown-dark);
}

.projects-cta-inner p:not(.projects-eyebrow) {
  max-width: 600px;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

/* CTA Buttons */
.projects-cta-buttons {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}
.project-btn {
  display: inline-block;
  padding: 11px 17px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.project-btn-primary {
  color: var(--inverse-text);
  background:
    linear-gradient(
      180deg,
      var(--accent),
      var(--brown-mid)
    );
  box-shadow: 0 8px 20px rgba(139,90,54,0.12);
}

.project-btn-primary:hover {
  transform: translateY(-2px);
}

.project-btn-outline {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(43,37,33,0.09);
}

.project-btn-outline:hover {
  background: rgba(255,255,255,0.55);
}

/* Active Navigation */
.active-nav {
  color: var(--brown-mid) !important;
}

@media (max-width: 980px) {

  .projects-hero {
    padding: 60px 0 45px;
  }

  .projects-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-filters {
    justify-content: flex-start;
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 600px) {

  .projects-hero {
    padding: 45px 0 35px;
  }

  .projects-hero h2 {
    font-size: 38px;
  }

  .projects-heading h2 {
    font-size: 32px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    width: 100%;
  }

  .project-filter {
    font-size: 0.75rem;
    padding: 8px 11px;
  }

  .projects-cta-inner {
    padding: 26px 22px;
  }

  .projects-cta-inner h2 {
    font-size: 27px;
  }
  .projects-cta-buttons {
    width: 100%;
    flex-direction: column;
  }
  .project-btn {
    text-align: center;
  }
}
/* Very small screens */
@media (max-width: 420px) {
  .projects-hero h2 {
    font-size: 33px;
  }
  .projects-card-content {
    padding: 18px;
  }
  .project-card-image {
    height: 170px;
  }
}