:root {
      --bg-dark: #0b0b1f;
      --bg-hero-dark: linear-gradient(135deg, #060613 0%, #090911 50%, #0a0a17 100%);
      --text-primary-dark: #ffffff;
      --text-secondary-dark: #b8b8b8;
      --bg-light: #f8f9fa;
      --bg-hero-light: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
      --text-primary-light: #1a1a1f;
      --text-secondary-light: #4a4a4f;
      --accent-gold: #d4af37;
      --accent-gold-light: #f0c952;
      --transition: all 0.3s ease;
      
      --bg-body: var(--bg-dark);
      --bg-hero: var(--bg-hero-dark);
      --text-primary: var(--text-primary-dark);
      --text-secondary: var(--text-secondary-dark);
      --breadcrumb-separator: rgba(212, 175, 55, 0.5);
      --glow-color: rgba(212, 175, 55, 0.15);
    }

    body.light-theme {
      --bg-body: var(--bg-light);
      --bg-hero: var(--bg-hero-light);
      --text-primary: var(--text-primary-light);
      --text-secondary: var(--text-secondary-light);
      --breadcrumb-separator: rgba(212, 175, 55, 0.6);
      --glow-color: rgba(212, 175, 55, 0.2);
    }

    body {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-body);
      color: var(--text-primary);
      height: 100%;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    html {
      height: 100%;
    }

    .theme-toggle-demo {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      color: var(--bg-dark);
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
      z-index: 1000;
    }

    .theme-toggle-demo:hover,
    .theme-toggle-demo:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .portfolio-hero-section {
      width: 100%;
      min-height: 90%;
      background: var(--bg-hero);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 6rem 2rem 4rem;
      transition: background 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .portfolio-hero-section::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
      pointer-events: none;
      animation: pulse-glow 8s ease-in-out infinite;
    }

    .hero-content-wrapper {
      max-width: 900px;
      width: 100%;
      text-align: center;
      z-index: 2;
      animation: fadeInUp 0.8s ease-out;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
      margin-bottom: 2rem;
      font-size: 0.95rem;
      color: var(--text-secondary);
      animation: fadeIn 1s ease-out 0.2s both;
    }

    .breadcrumb-link {
      color: var(--text-secondary);
      text-decoration: none;
      transition: var(--transition);
    }

    .breadcrumb-link:hover,
    .breadcrumb-link:focus {
      color: var(--accent-gold);
      outline: none;
    }

    .breadcrumb-separator {
      color: var(--breadcrumb-separator);
      font-weight: bold;
    }

    .breadcrumb-current {
      color: var(--accent-gold);
      font-weight: 600;
    }

    .portfolio-hero-heading {
      font-size: 4rem;
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      color: var(--text-primary);
      transition: color 0.3s ease;
      animation: fadeInUp 0.8s ease-out 0.3s both;
      position: relative;
    }

    .portfolio-hero-heading::after {
      content: '';
      display: block;
      width: 120px;
      height: 4px;
      background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
      margin: 1.5rem auto 0;
      border-radius: 2px;
    }

    .hero-heading-highlight {
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .portfolio-hero-description {
      font-size: 1.25rem;
      line-height: 1.8;
      color: var(--text-secondary);
      max-width: 700px;
      margin: 0 auto;
      transition: color 0.3s ease;
      animation: fadeInUp 0.8s ease-out 0.5s both;
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
      }
      to {
        opacity: 1;
      }
    }

    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-in-up {
      animation: fadeInUp 0.8s ease-out both;
    }

    .fade-in-up:nth-child(1) { animation-delay: 0.1s; }
    .fade-in-up:nth-child(2) { animation-delay: 0.2s; }
    .fade-in-up:nth-child(3) { animation-delay: 0.3s; }
    .fade-in-up:nth-child(4) { animation-delay: 0.4s; }
    .fade-in-up:nth-child(5) { animation-delay: 0.5s; }
    .fade-in-up:nth-child(6) { animation-delay: 0.6s; }

    @keyframes pulse-glow {
      0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
      }
      50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
      }
    }

    @media (max-width: 1024px) {
      .portfolio-hero-heading {
        font-size: 3.25rem;
      }

      .portfolio-hero-description {
        font-size: 1.15rem;
      }
    }

    @media (max-width: 768px) {
      .portfolio-hero-section {
        padding: 5rem 1.5rem 3rem;
        min-height: 50%;
      }

      .portfolio-hero-heading {
        font-size: 2.5rem;
      }

      .portfolio-hero-description {
        font-size: 1.05rem;
      }

      .breadcrumb {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
      }

      .theme-toggle-demo {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .portfolio-hero-section {
        padding: 4rem 1.25rem 2.5rem;
      }

      .portfolio-hero-heading {
        font-size: 2rem;
      }

      .portfolio-hero-heading::after {
        width: 80px;
        height: 3px;
        margin-top: 1rem;
      }

      .portfolio-hero-description {
        font-size: 1rem;
      }

      .breadcrumb {
        font-size: 0.85rem;
        gap: 0.5rem;
      }
    }

    /* portfolio section */


    body {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-body);
      color: var(--text-primary);
      height: 100%;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    html {
      height: 100%;
    }

    .theme-toggle-demo {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      color: var(--bg-dark);
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
      z-index: 1000;
    }

    .theme-toggle-demo:hover,
    .theme-toggle-demo:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .portfolio-section {
      width: 100%;
      background: var(--bg-section);
      padding: 5rem 2rem;
      transition: background-color 0.3s ease;
    }

    .portfolio-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-heading {
      font-size: 3rem;
      font-weight: 700;
      margin-top: 75px;
      margin-bottom: 10px;
      color: var(--text-primary);
      transition: color 0.3s ease;
      position: relative;
      display: inline-block;
    }

    .section-heading::after {
      content: '';
      display: block;
      width: 100px;
      height: 3px;
      background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
      margin: 1rem auto 0;
      border-radius: 2px;
    }

    .section-intro {
      font-size: 1.15rem;
      line-height: 1.8;
      color: var(--text-secondary);
      max-width: 800px;
      margin: 0 auto;
      transition: color 0.3s ease;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .portfolio-card {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .portfolio-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .portfolio-card:hover::before,
    .portfolio-card:focus-within::before {
      opacity: 1;
    }

    .portfolio-card:hover,
    .portfolio-card:focus-within {
      transform: translateY(-12px);
      box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25), 0 8px 30px rgba(0, 0, 0, 0.2);
      border-color: var(--accent-gold);
    }

    .project-image {
      width: 100%;
      height: 240px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .portfolio-card:hover .project-image {
      transform: scale(1.08);
    }

    .image-placeholder {
      font-size: 4rem;
      color: var(--accent-gold);
      opacity: 0.5;
    }

    .project-content {
      padding: 2rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .project-title {
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 1rem;
      transition: color 0.3s ease;
      letter-spacing: -0.3px;
      line-height: 1.3;
    }

    .project-description {
      font-size: 1.05rem;
      line-height: 1.75;
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      flex: 1;
      transition: color 0.3s ease;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.25rem;
    }

    .tag {
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      color: var(--accent-gold);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.875rem;
      font-weight: 600;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      backdrop-filter: blur(10px);
    }

    .tag:hover {
      background: var(--accent-gold);
      color: var(--bg-dark);
      border-color: var(--accent-gold);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

    .project-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--accent-gold);
      text-decoration: none;
      font-weight: 600;
      font-size: 1.05rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .project-link::after {
      content: '→';
      font-size: 1.3rem;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .project-link:hover,
    .project-link:focus {
      color: var(--accent-gold-light);
      gap: 0.75rem;
      outline: none;
    }

    .project-link:hover::after,
    .project-link:focus::after {
      transform: translateX(4px);
    }

    @media (max-width: 1024px) {
      .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
      }

      .section-heading {
        font-size: 2.5rem;
      }

      .section-intro {
        font-size: 1.1rem;
      }
    }

    @media (max-width: 768px) {
      .portfolio-section {
        padding: 4rem 1.5rem;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .section-header {
        margin-bottom: 3rem;
      }

      .section-heading {
        font-size: 2rem;
      }

      .section-intro {
        font-size: 1rem;
      }

      .project-image {
        height: 200px;
      }

      .theme-toggle-demo {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .portfolio-section {
        padding: 3rem 1.25rem;
      }

      .section-heading {
        font-size: 1.75rem;
      }

      .section-heading::after {
        width: 70px;
        height: 2px;
      }

      .project-title {
        font-size: 1.3rem;
      }

      .project-description {
        font-size: 0.95rem;
      }

      .project-content {
        padding: 1.5rem;
      }
    }

    /* proctes section */

    body {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-body);
      color: var(--text-primary);
      height: 100%;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    html {
      height: 100%;
    }

    .theme-toggle-demo {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      color: var(--bg-dark);
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
      z-index: 1000;
    }

    .theme-toggle-demo:hover,
    .theme-toggle-demo:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .projects-section {
      width: 100%;
      background: var(--bg-section);
      padding: 5rem 2rem;
      transition: background-color 0.3s ease;
    }

    .projects-container {
      max-width: 900px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-heading {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--text-primary);
      transition: color 0.3s ease;
      position: relative;
      display: inline-block;
    }

    .section-heading::after {
      content: '';
      display: block;
      width: 100px;
      height: 3px;
      background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
      margin: 1rem auto 0;
      border-radius: 2px;
    }

    .section-intro {
      font-size: 1.15rem;
      line-height: 1.8;
      color: var(--text-secondary);
      max-width: 800px;
      margin: 0 auto;
      transition: color 0.3s ease;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .project-card {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .project-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .project-card:hover::before,
    .project-card:focus-within::before {
      opacity: 1;
    }

    .project-card:hover,
    .project-card:focus-within {
      transform: translateY(-12px);
      box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3), 0 8px 30px rgba(0, 0, 0, 0.2);
      border-color: var(--accent-gold);
    }

    .project-thumbnail {
      width: 100%;
      height: 220px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      transition: var(--transition);
    }

    .project-card:hover .project-thumbnail {
      transform: scale(1.08);
    }

    .thumbnail-icon {
      font-size: 4.5rem;
      opacity: 0.6;
      transition: var(--transition);
    }

    .project-card:hover .thumbnail-icon {
      opacity: 0.8;
      transform: scale(1.1);
    }

    .project-content {
      padding: 2rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .project-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 0.875rem;
      transition: color 0.3s ease;
      line-height: 1.3;
    }

    .project-description {
      font-size: 1rem;
      line-height: 1.7;
      color: var(--text-secondary);
      margin-bottom: 1.5rem;
      flex: 1;
      transition: color 0.3s ease;
    }

    .project-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .tag {
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      color: var(--accent-gold);
      padding: 0.4rem 0.9rem;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      transition: var(--transition);
    }

    .tag:hover {
      background: var(--accent-gold);
      color: var(--bg-dark);
      border-color: var(--accent-gold);
      transform: translateY(-2px);
    }

    .project-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: var(--button-bg);
      color: var(--button-text);
      padding: 1rem 2rem;
      border: 2px solid var(--accent-gold);
      border-radius: 10px;
      text-decoration: none;
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: 0.3px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    }

    .project-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: -1;
    }

    .project-button:hover,
    .project-button:focus {
      color: var(--button-hover-text);
      border-color: var(--accent-gold-light);
      box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5), 0 4px 15px rgba(212, 175, 55, 0.3);
      transform: translateY(-3px);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .project-button:hover::before,
    .project-button:focus::before {
      left: 0;
    }

    @media (max-width: 1024px) {
      .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
      }

      .section-heading {
        font-size: 2.5rem;
      }

      .section-intro {
        font-size: 1.1rem;
      }
    }

    @media (max-width: 768px) {
      .projects-section {
        padding: 4rem 1.5rem;
      }

      .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .section-header {
        margin-bottom: 3rem;
      }

      .section-heading {
        font-size: 2rem;
      }

      .section-intro {
        font-size: 1rem;
      }

      .project-thumbnail {
        height: 200px;
      }

      .theme-toggle-demo {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .projects-section {
        padding: 3rem 1.25rem;
      }

      .section-heading {
        font-size: 1.75rem;
      }

      .section-heading::after {
        width: 70px;
        height: 2px;
      }

      .project-title {
        font-size: 1.3rem;
      }

      .project-description {
        font-size: 0.95rem;
      }

      .project-content {
        padding: 1.5rem;
      }

      .thumbnail-icon {
        font-size: 3.5rem;
      }
    }

    /* projects details */

    body.light-theme {
      --bg-body: var(--bg-light);
      --bg-section: var(--bg-section-light);
      --bg-card: var(--bg-card-light);
      --text-primary: var(--text-primary-light);
      --text-secondary: var(--text-secondary-light);
      --card-border: rgba(212, 175, 55, 0.25);
      --tag-bg: rgba(212, 175, 55, 0.2);
      --tag-border: rgba(212, 175, 55, 0.4);
      --divider: rgba(212, 175, 55, 0.3);

      --project-bg: #ffffff;
      --project-text: #111827;
      --project-muted: #6b7280;
      --project-border: #e5e7eb;
      

    }

    body {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-body);
      color: var(--text-primary);
      height: 100%;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    html {
      height: 100%;
    }

    .theme-toggle-demo {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      color: var(--bg-dark);
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
      z-index: 1000;
    }

    .theme-toggle-demo:hover,
    .theme-toggle-demo:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .project-details-section {
      width: 100%;
      background: var(--bg-section);
      padding: 5rem 2rem;
      transition: background-color 0.3s ease;
    }

    .project-details-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .project-layout {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 3rem;
    }

    .project-main-content {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }

    .project-header {
      margin-bottom: 1rem;
    }

    .project-title {
      font-size: 3rem;
      font-weight: 700;
      color: var(--text-primary);
      margin-bottom: 0.5rem;
      line-height: 1.2;
      transition: color 0.3s ease;
    }

    .project-category {
      font-size: 1.1rem;
      color: var(--accent-gold);
      font-weight: 500;
    }

    .content-block {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 2.5rem;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      position: relative;
    }

    .content-block::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .content-block:hover::before {
      opacity: 1;
    }

    .content-block:hover {
      border-color: var(--accent-gold);
      box-shadow: 0 12px 40px rgba(212, 175, 55, 0.2), 0 4px 20px rgba(0, 0, 0, 0.1);
      transform: translateY(-4px);
    }

    .content-heading {
      font-size: 1.75rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      transition: color 0.3s ease;
    }

    .content-heading::before {
      content: '';
      width: 4px;
      height: 28px;
      background: linear-gradient(180deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      border-radius: 2px;
    }

    .content-text {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--text-secondary);
      transition: color 0.3s ease;
    }

    .project-sidebar {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }

    .project-image {
      width: 100%;
      height: 300px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.08) 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid var(--card-border);
      transition: var(--transition);
    }

    .project-image:hover {
      border-color: var(--accent-gold);
      transform: scale(1.02);
    }

    .image-placeholder {
      font-size: 5rem;
      opacity: 0.5;
    }

    .info-card {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 1.75rem;
      transition: var(--transition);
    }

    .info-card:hover {
      border-color: var(--accent-gold);
      box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
    }

    .info-card-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 1.25rem;
      transition: color 0.3s ease;
    }

    .info-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.875rem 0;
      border-bottom: 1px solid var(--divider);
    }

    .info-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .info-item:first-child {
      padding-top: 0;
    }

    .info-label {
      font-size: 0.95rem;
      color: var(--text-secondary);
      font-weight: 500;
      transition: color 0.3s ease;
    }

    .info-value {
      font-size: 0.95rem;
      color: var(--text-primary);
      font-weight: 600;
      transition: color 0.3s ease;
    }

    .technologies-card {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 12px;
      padding: 1.75rem;
      transition: var(--transition);
    }

    .technologies-card:hover {
      border-color: var(--accent-gold);
      box-shadow: 0 8px 30px rgba(212, 175, 55, 0.15);
    }

    .technologies-title {
      font-size: 1.25rem;
      font-weight: 600;
      color: var(--text-primary);
      margin-bottom: 1.25rem;
      transition: color 0.3s ease;
    }

    .tech-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.625rem;
    }

    .tech-tag {
      background: var(--tag-bg);
      border: 1px solid var(--tag-border);
      color: var(--accent-gold);
      padding: 0.5rem 1rem;
      border-radius: 20px;
      font-size: 0.9rem;
      font-weight: 500;
      transition: var(--transition);
    }

    .tech-tag:hover {
      background: var(--accent-gold);
      color: var(--bg-dark);
      border-color: var(--accent-gold);
      transform: translateY(-2px);
    }

    @media (max-width: 1024px) {
      .project-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .project-sidebar {
        order: -1;
      }

      .project-title {
        font-size: 2.5rem;
      }
    }

    @media (max-width: 768px) {
      .project-details-section {
        padding: 4rem 1.5rem;
      }

      .project-title {
        font-size: 2rem;
      }

      .content-heading {
        font-size: 1.5rem;
      }

      .content-block {
        padding: 1.5rem;
      }

      .info-card,
      .technologies-card {
        padding: 1.5rem;
      }

      .theme-toggle-demo {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .project-details-section {
        padding: 3rem 1.25rem;
      }

      .project-title {
        font-size: 1.75rem;
      }

      .content-heading {
        font-size: 1.3rem;
      }

      .content-text {
        font-size: 1rem;
      }

      .project-image {
        height: 220px;
      }

      .image-placeholder {
        font-size: 4rem;
      }
    }

    /* testonimials */

    body {
      box-sizing: border-box;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: var(--bg-body);
      color: var(--text-primary);
      height: 100%;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    html {
      height: 100%;
    }

    .theme-toggle-demo {
      position: fixed;
      top: 2rem;
      right: 2rem;
      background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
      color: var(--bg-dark);
      padding: 0.75rem 1.5rem;
      border-radius: 8px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
      z-index: 1000;
    }

    .theme-toggle-demo:hover,
    .theme-toggle-demo:focus {
      transform: translateY(-2px);
      box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
      outline: 2px solid var(--accent-gold);
      outline-offset: 2px;
    }

    .testimonials-section {
      width: 100%;
      background: var(--bg-section);
      padding: 5rem 2rem;
      transition: background-color 0.3s ease;
    }

    .testimonials-container {
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-heading {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 1rem;
      color: var(--text-primary);
      transition: color 0.3s ease;
      position: relative;
      display: inline-block;
    }

    .section-heading::after {
      content: '';
      display: block;
      width: 100px;
      height: 3px;
      background: linear-gradient(90deg, transparent 0%, var(--accent-gold) 50%, transparent 100%);
      margin: 1rem auto 0;
      border-radius: 2px;
    }

    .testimonials-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2.5rem;
    }

    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--card-border);
      border-radius: 16px;
      padding: 2.5rem;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
      position: relative;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .testimonial-card::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: 16px;
      padding: 1px;
      background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .testimonial-card:hover::before,
    .testimonial-card:focus-within::before {
      opacity: 1;
    }

    .testimonial-card:hover,
    .testimonial-card:focus-within {
      transform: translateY(-12px);
      box-shadow: 0 20px 60px rgba(212, 175, 55, 0.25), 0 8px 30px rgba(0, 0, 0, 0.2);
      border-color: var(--accent-gold);
    }

    .quote-icon {
      font-size: 3.5rem;
      color: var(--accent-gold);
      opacity: 0.3;
      line-height: 1;
      margin-bottom: 1rem;
    }

    .testimonial-quote {
      font-size: 1.05rem;
      line-height: 1.8;
      color: var(--text-secondary);
      margin-bottom: 2rem;
      flex: 1;
      transition: color 0.3s ease;
      font-style: italic;
    }

    .client-info {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--card-border);
    }

    .client-avatar {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: var(--avatar-bg);
      border: 2px solid var(--accent-gold);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--accent-gold);
      flex-shrink: 0;
      transition: var(--transition);
    }

    .testimonial-card:hover .client-avatar {
      transform: scale(1.1);
      box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    }

    .client-details {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
    }

    .client-name {
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text-primary);
      transition: color 0.3s ease;
    }

    .client-role {
      font-size: 0.9rem;
      color: var(--accent-gold);
      font-weight: 500;
    }

    .client-company {
      font-size: 0.875rem;
      color: var(--text-secondary);
      transition: color 0.3s ease;
    }

    @media (max-width: 1024px) {
      .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
      }

      .section-heading {
        font-size: 2.5rem;
      }
    }

    @media (max-width: 768px) {
      .testimonials-section {
        padding: 4rem 1.5rem;
      }

      .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .section-header {
        margin-bottom: 3rem;
      }

      .section-heading {
        font-size: 2rem;
      }

      .theme-toggle-demo {
        top: 1rem;
        right: 1rem;
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
      }
    }

    @media (max-width: 480px) {
      .testimonials-section {
        padding: 3rem 1.25rem;
      }

      .section-heading {
        font-size: 1.75rem;
      }

      .section-heading::after {
        width: 70px;
        height: 2px;
      }

      .testimonial-card {
        padding: 1.5rem;
      }

      .quote-icon {
        font-size: 3rem;
      }

      .testimonial-quote {
        font-size: 1rem;
      }

      .client-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
      }
    }

    /* Call to action */

    * {
      margin: 0;
      padding: 0;
      box-sizing: inherit;
    }


    html, body {
      height: 100%;
      width: 100%;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      background: var(--bg-primary);
      color: var(--text-primary);
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    .cta-section {
      width: 100%;
      min-height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 80px 24px;
      background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
      transition: background 0.3s ease;
    }

    .cta-container {
      max-width: 900px;
      width: 100%;
      background: var(--bg-secondary);
      border: 2px solid var(--border-color);
      border-radius: 24px;
      padding: 72px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
    }

    .cta-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
      opacity: 0.8;
    }

    .cta-headline {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 48px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-primary);
      margin-bottom: 24px;
      letter-spacing: -0.02em;
      transition: color 0.3s ease;
    }

    .cta-subheadline {
      font-size: 20px;
      font-weight: 400;
      line-height: 1.6;
      color: var(--text-secondary);
      margin-bottom: 48px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
      transition: color 0.3s ease;
    }

    .cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
    }

    .cta-button-primary {
      display: inline-block;
      padding: 18px 48px;
      background: var(--button-bg);
      color: var(--button-text);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 18px;
      font-weight: 600;
      text-decoration: none;
      border-radius: 12px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 16px rgba(251, 191, 36, 0.4);
      position: relative;
      overflow: hidden;
    }

    .cta-button-primary::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .cta-button-primary:hover {
      background: var(--button-hover);
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(251, 191, 36, 0.5);
    }

    .cta-button-primary:hover::before {
      left: 100%;
    }

    .cta-button-primary:active {
      transform: translateY(-1px);
    }

    .cta-link-secondary {
      display: inline-block;
      padding: 18px 32px;
      color: var(--secondary-link);
      font-family: 'Space Grotesk', sans-serif;
      font-size: 18px;
      font-weight: 500;
      text-decoration: none;
      border-radius: 12px;
      transition: all 0.3s ease;
      position: relative;
    }

    .cta-link-secondary::after {
      content: '';
      position: absolute;
      bottom: 14px;
      left: 32px;
      right: 32px;
      height: 2px;
      background: var(--accent-primary);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .cta-link-secondary:hover {
      color: var(--secondary-link-hover);
    }

    .cta-link-secondary:hover::after {
      transform: scaleX(1);
    }

    @media (max-width: 768px) {
      .cta-section {
        padding: 60px 20px;
      }

      .cta-container {
        padding: 48px 32px;
        border-radius: 16px;
      }

      .cta-headline {
        font-size: 36px;
        margin-bottom: 20px;
      }

      .cta-subheadline {
        font-size: 18px;
        margin-bottom: 36px;
      }

      .cta-buttons {
        flex-direction: column;
        gap: 16px;
      }

      .cta-button-primary,
      .cta-link-secondary {
        width: 100%;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .cta-section {
        padding: 40px 16px;
      }

      .cta-container {
        padding: 36px 24px;
      }

      .cta-headline {
        font-size: 28px;
      }

      .cta-subheadline {
        font-size: 16px;
      }

      .cta-button-primary {
        padding: 16px 36px;
        font-size: 16px;
      }

      .cta-link-secondary {
        padding: 16px 24px;
        font-size: 16px;
      }
    }

    /* projects section */

    :root {
      --yellow: #e7bc11;
      --yellow-dark: #ba9424;
      --black: #1a1a1a;
      --white: #ffffff;
      --gray: #e5e5e5;
      --gray-light: #a0a8c8;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background: var(--black);
      color: var(--white);
      line-height: 1.6;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* ==== Typography ==== */
    h1, h2, h3 {
      font-family: 'Space Grotesk', sans-serif;
      font-weight: 700;
    }

    .text-gradient {
      background: linear-gradient(135deg, var(--yellow) 0%, #ffed4e 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    /* ==== Buttons ==== */
    .btn {
      display: inline-block;
      padding: 16px 40px;
      border-radius: 12px;
      font-weight: 600;
      font-size: 18px;
      text-decoration: none;
      text-align: center;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .btn-primary {
      background: var(--yellow);
      color: var(--black);
    }

    .btn-primary:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(231, 188, 17, 0.4);
    }

    .btn-secondary {
      border: 2px solid var(--yellow);
      color: var(--yellow);
      background: transparent;
    }

    .btn-secondary:hover {
      background: var(--yellow);
      color: var(--black);
    }

    /* ==== Hero Section ==== */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 120px 20px 80px;
    }

    .hero h1 {
      font-size: 4.5rem;
      margin-bottom: 24px;
    }

    .hero p {
      font-size: 1.5rem;
      color: var(--gray-light);
      max-width: 800px;
      margin: 0 auto 48px;
    }

    .hero-buttons {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ==== Filter Buttons ==== */
    .filters {
      text-align: center;
      padding: 60px 20px;
      margin-bottom: 20px;
    }

    .filter-btn {
      display: inline-block;
      padding: 12px 24px;
      margin: 8px;
      border-radius: 8px;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .filter-btn.active {
      background: var(--yellow);
      color: var(--black);
    }

    .filter-btn:not(.active) {
      border: 1px solid var(--yellow);
      color: var(--yellow);
      background: transparent;
    }

    /* ==== Project Section ==== */
    .project-section {
      background: var(--project-bg);
      border-radius: 32px;
      padding: 48px;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 100px;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      width: 60%;
      
      color: var(--project-text);
      border: 1px solid var(--project-border);
      border-radius: 16px;
      transition: background 0.3s ease, color 0.3s ease;

    }

    .project-section:hover {
      transform: scale(1.02);
      box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    }

    .project-title {
      font-size: 3.5rem;
      margin-bottom: 20px;
    }

    .project-desc {
      font-size: 1.25rem;
      color: var(--gray-light);
      max-width: 800px;
      margin-bottom: 40px;
    }

    .project-gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      height: 60vh;
      margin-bottom: 48px;
    }

    .gallery-item {
      border-radius: 20px;
      overflow: hidden;
      transition: transform 0.4s ease;
    }

    .gallery-item:hover {
      transform: scale(1.05);
    }

    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    /* Grid Layouts */


    .layout-1 { grid-template-areas: "a a b" "c d b" "c e f"; }
    .layout-2 { grid-template-areas: "a b c" "a d e" "f f e"; }
    .layout-3 { grid-template-areas: "a b b" "c c d" "e f d"; }
    .layout-4 { grid-template-areas: "a a c" "b d c" "b e f"; }

    .layout-1 .img1 { grid-area: a; }
    .layout-1 .img2 { grid-area: b; }
    .layout-1 .img3 { grid-area: c; }
    .layout-1 .img4 { grid-area: d; }
    .layout-1 .img5 { grid-area: e; }
    .layout-1 .img6 { grid-area: f; }


    
    

    /* Repeat for other layouts if needed */

    .project-buttons {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
    }

    /* ==== Responsive ==== */
    @media (max-width: 1024px) {
      .hero h1 { font-size: 3.8rem; }
      .project-title { font-size: 3rem; }
      .project-gallery { height: 50vh; }
    }

    @media (max-width: 768px) {
      .hero h1 { font-size: 3rem; }
      .hero p { font-size: 1.2rem; }
      .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-areas: "a b" "c d" "e f";
        height: 50vh;
      }
      .project-section { padding: 32px; }
      .project-buttons { flex-direction: column; align-items: center; }
      .btn { width: 100%; max-width: 300px; }
    }