/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;900&family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");
.container {
  width: 100%;
}
.block {
  display: block;
}
.contents {
  display: contents;
}
.grid {
  display: grid;
}
.underline {
  text-decoration-line: underline;
}
@layer base {
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  :root {
    --font-heading: "Playfair Display", serif;
    --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
      Roboto, sans-serif;
    --color-text: #333333;
    --color-heading: #111111;
    --color-muted: #6b6b6b;
    --color-bg: #ffffff;
  }
  html {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    color: var(--color-text);
    background-color: var(--color-bg);
  }
  body {
    transition: background-color 0.25s ease, color 0.25s ease;
    overflow-x: hidden;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image: repeating-linear-gradient( 90deg, rgba(0, 0, 0, 0.01) 0px, rgba(0, 0, 0, 0.01) 1px, transparent 1px, transparent 2px ), repeating-linear-gradient( 0deg, rgba(0, 0, 0, 0.01) 0px, rgba(0, 0, 0, 0.01) 1px, transparent 1px, transparent 2px ), radial-gradient( circle at 20% 30%, rgba(0, 0, 0, 0.005) 0%, transparent 50% ), radial-gradient( circle at 80% 70%, rgba(0, 0, 0, 0.005) 0%, transparent 50% );
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  }
  body.dark-mode {
    --color-text: #e6e6e6;
    --color-heading: #ffffff;
    --color-muted: #bdbdbd;
    --color-bg: #1a1a1a;
    background-image: repeating-linear-gradient( 90deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 2px ), repeating-linear-gradient( 0deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 2px ), radial-gradient( circle at 20% 30%, rgba(255, 255, 255, 0.005) 0%, transparent 50% ), radial-gradient( circle at 80% 70%, rgba(255, 255, 255, 0.005) 0%, transparent 50% );
  }
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    margin-bottom: 1rem;
    line-height: 1.15;
    font-variant-ligatures: common-ligatures;
    -webkit-font-smoothing: antialiased;
  }
  h1 {
    font-size: 3.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-top: 0;
    margin-bottom: 0.75rem;
  }
  h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    position: relative;
    padding-bottom: 0.4rem;
    display: inline-block;
    max-width: 100%;
  }
  h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-heading);
    opacity: 0.12;
  }
  @media (max-width: 768px) {
    h1 {
      font-size: 2.2rem;
    }
    h2 {
      font-size: 1.6rem;
    }
  }
  .eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
  }
  .lead {
    font-size: 1.125rem;
    color: var(--color-muted);
    margin-bottom: 1rem;
    max-width: 70ch;
  }
  blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-heading);
    border-left: 4px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 1rem;
    margin: 1.2rem 0;
    background: transparent;
  }
  body.dark-mode blockquote {
    border-left-color: rgba(230, 230, 230, 0.06);
  }
  .blockquote-decor {
    position: relative;
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-heading);
    padding: 1rem 1.25rem 1rem 2.5rem;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.01);
    border-radius: 6px;
    border-left: 6px solid rgba(0, 0, 0, 0.06);
  }
  .blockquote-decor::before {
    content: "“";
    position: absolute;
    left: 12px;
    top: -6px;
    font-size: 6rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.08);
    font-family: var(--font-heading);
    transform: translateY(-10%);
    pointer-events: none;
  }
  .blockquote-decor p:first-letter {
    float: left;
    font-size: 3rem;
    line-height: 0.85;
    margin-right: 0.35rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-heading);
  }
  body.dark-mode .blockquote-decor::before {
    color: rgba(230, 230, 230, 0.06);
  }
  ul {
    list-style: none;
    padding-left: 0;
  }
  ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
  }
  ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    background-color: #333333;
    border-radius: 1px;
  }
  body.dark-mode ul li::before {
    background-color: #e6e6e6;
  }
  p {
    margin-bottom: 1rem;
  }
}
@layer components {
  .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    gap: 0.5rem;
  }
  @media (hover: hover) {
    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    }
  }
  .btn-primary {
    background: #333;
    color: white;
    box-shadow: 0 4px 10px rgba(51, 51, 51, 0.3);
  }
  body.dark-mode .btn-primary {
    background: #e6e6e6;
    color: #1a1a1a;
  }
  @media (hover: hover) {
    .btn-primary:hover {
      background: #555;
      box-shadow: 0 8px 20px rgba(51, 51, 51, 0.4);
    }
  }
  .btn-secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 0.65rem 1.25rem;
    border-radius: 50px;
    transition: all 0.2s ease;
  }
  body.dark-mode .btn-secondary {
    color: #e6e6e6;
    border-color: #e6e6e6;
  }
  @media (hover: hover) {
    .btn-secondary:hover {
      background: rgba(51, 51, 51, 0.05);
    }
    body.dark-mode .btn-secondary:hover {
      background: rgba(230, 230, 230, 0.1);
    }
  }
  .btn-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 6px rgba(51, 51, 51, 0.06);
  }
  body.dark-mode .btn-secondary:focus {
    box-shadow: 0 0 0 6px rgba(230, 230, 230, 0.06);
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  body.dark-mode .header {
    background-color: rgba(26, 26, 26, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .header-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .logo {
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
  }
  body.dark-mode .logo {
    color: #e6e6e6;
  }
  .nav-container {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    transition: all 0.3s ease;
  }
  .nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
  }
  .nav-contact-btn {
    margin-left: auto;
  }
  .nav-link {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.2s ease;
  }
  body.dark-mode .nav-link {
    color: #aaa;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #333;
    transition: width 0.3s ease;
  }
  body.dark-mode .nav-link::after {
    background-color: #e6e6e6;
  }
  @media (hover: hover) {
    .nav-link:hover {
      color: #333;
    }
    body.dark-mode .nav-link:hover {
      color: #e6e6e6;
    }
    .nav-link:hover::after {
      width: 100%;
    }
  }
  .hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    gap: 5px;
    align-items: center;
    z-index: 1101;
    position: relative;
  }
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: #333;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
  }
  body.dark-mode .hamburger-menu span {
    background: #e6e6e6;
  }
  .hamburger-menu span:nth-child(1) {
    width: 100%;
  }
  .hamburger-menu span:nth-child(2) {
    width: 75%;
  }
  .hamburger-menu span:nth-child(3) {
    width: 50%;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
    width: 100%;
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
    width: 100%;
  }
  .theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  body.dark-mode .theme-toggle {
    background: #e6e6e6;
    color: #1a1a1a;
  }
  @media (hover: hover) {
    .theme-toggle:hover {
      transform: scale(1.1);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    body.dark-mode .theme-toggle:hover {
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
  }
  .main {
    margin-top: 80px;
    min-height: calc(100vh - 160px);
  }
  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 400;
  }
  .hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 2rem;
  }
  body.dark-mode .hero p {
    color: #aaa;
  }
  .hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero .btn {
    margin: 0 0.5rem;
  }
  .hero .btn-primary {
    background: #333;
    color: #fff;
    box-shadow: 0 4px 15px rgba(51, 51, 51, 0.4);
    font-weight: 600;
  }
  body.dark-mode .hero .btn-primary {
    background: #e6e6e6;
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(230, 230, 230, 0.4);
  }
  .hero .btn-primary:hover {
    background: #555;
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.6);
    transform: translateY(-4px);
  }
  body.dark-mode .hero .btn-primary:hover {
    background: #d4d4d4;
    box-shadow: 0 8px 25px rgba(230, 230, 230, 0.6);
  }
  .section {
    padding: 4rem 0;
  }
  #about {
    padding: 6rem 0;
  }
  .section-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  #about .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
  }
  .about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .about-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .about-profile-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  body.dark-mode .about-profile-image {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  .portfolio-item {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  body.dark-mode .portfolio-item {
    background: #2a2a2a;
    border-color: #333;
  }
  @media (hover: hover) {
    .portfolio-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    body.dark-mode .portfolio-item:hover {
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }
  }
  .portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
  }
  .portfolio-description {
    color: #666;
    margin-bottom: 1rem;
    flex-grow: 1;
  }
  body.dark-mode .portfolio-description {
    color: #aaa;
  }
  .portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
  }
  .tag {
    background: #e6e6e6;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
  }
  body.dark-mode .tag {
    background: #404040;
    color: #e6e6e6;
  }
  .cv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
  }
  .cv-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #333;
    font-weight: 500;
    color: #333;
  }
  .cv-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #eee;
    vertical-align: top;
  }
  .cv-table tr:last-child td {
    border-bottom: none;
  }
  .cv-table tr:hover td {
    background-color: rgba(0, 0, 0, 0.02);
  }
  body.dark-mode .cv-table th {
    border-bottom: 2px solid #e6e6e6;
    color: #e6e6e6;
  }
  body.dark-mode .cv-table td {
    border-bottom: 1px solid #333;
  }
  body.dark-mode .cv-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.05);
  }
  .date-column {
    width: 25%;
    color: #666;
    font-size: 0.9rem;
  }
  body.dark-mode .date-column {
    color: #aaa;
  }
  .content-column {
    width: 75%;
  }
  .section-table {
    margin: 2rem 0;
  }
  .section-title-row {
    background-color: #f8f8f8;
    border-left: 4px solid #333;
  }
  body.dark-mode .section-title-row {
    background-color: #2a2a2a;
    border-left: 4px solid #e6e6e6;
  }
  .section-title-cell {
    padding: 1rem !important;
    font-weight: 600;
    font-size: 1.2rem;
  }
  .skill-category {
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  .skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }
  .contact-form {
    max-width: 600px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 8px;
  }
  body.dark-mode .contact-form {
    background: #2a2a2a;
  }
  .form-group {
    margin-bottom: 1.5rem;
  }
  .form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
  }
  .form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease;
  }
  body.dark-mode .form-input {
    background: #333;
    color: #e6e6e6;
    border-color: #444;
  }
  .form-input:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
  }
  .form-input:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
  }
  body.dark-mode .form-input:focus {
    border-color: #e6e6e6;
    box-shadow: 0 0 0 3px rgba(230, 230, 230, 0.1);
  }
  body.dark-mode .form-input:focus-visible {
    outline-color: #e6e6e6;
  }
  .form-error {
    display: block;
    color: #d32f2f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
  }
  body.dark-mode .form-error {
    color: #ff6b6b;
  }
  button:focus-visible, a:focus-visible {
    outline: 2px solid #333;
    outline-offset: 2px;
  }
  body.dark-mode button:focus-visible, body.dark-mode a:focus-visible {
    outline-color: #e6e6e6;
  }
  .form-textarea {
    min-height: 120px;
    resize: vertical;
  }
  .social-icons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    justify-content: flex-start;
  }
  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
  }
  body.dark-mode .social-icons a {
    background-color: #333;
    color: #e6e6e6;
  }
  .social-icons a:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-3px);
  }
  body.dark-mode .social-icons a:hover {
    background-color: #e6e6e6;
    color: #1a1a1a;
  }
  .cta-section {
    padding: 4rem 0;
    background: linear-gradient( 135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100% );
  }
  body.dark-mode .cta-section {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.05) 100% );
  }
  .cta-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 3rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  body.dark-mode .cta-card {
    background: #2a2a2a;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }
  body.dark-mode .cta-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  }
  .cta-accent {
    position: absolute;
    top: 0;
    right: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient( 135deg, rgba(51, 51, 51, 0.05) 0%, transparent 100% );
    border-radius: 50%;
    pointer-events: none;
  }
  body.dark-mode .cta-accent {
    background: linear-gradient( 135deg, rgba(230, 230, 230, 0.05) 0%, transparent 100% );
  }
  .cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }
  .cta-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 1rem;
  }
  .cta-description {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
  }
  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  .btn-primary {
    background: #333;
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #333;
  }
  .btn-primary:hover {
    background: #555;
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.4);
  }
  body.dark-mode .btn-primary {
    background: #e6e6e6;
    color: #1a1a1a;
    border-color: #e6e6e6;
  }
  body.dark-mode .btn-primary:hover {
    background: #ccc;
    box-shadow: 0 8px 20px rgba(230, 230, 230, 0.4);
  }
  .btn-secondary {
    background: transparent;
    color: #333;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #333;
  }
  .btn-secondary:hover {
    background: rgba(51, 51, 51, 0.05);
  }
  body.dark-mode .btn-secondary {
    color: #e6e6e6;
    border-color: #e6e6e6;
  }
  body.dark-mode .btn-secondary:hover {
    background: rgba(230, 230, 230, 0.1);
  }
  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #333;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 950;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
  }
  .back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  body.dark-mode .back-to-top {
    background: #e6e6e6;
    color: #1a1a1a;
  }
  @media (hover: hover) {
    .back-to-top:hover {
      transform: scale(1.1) translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    body.dark-mode .back-to-top:hover {
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
  }
  .whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 80px;
    background: #25d366;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 950;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
  }
  @media (hover: hover) {
    .whatsapp-float:hover {
      transform: scale(1.1) translateY(-5px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
      background: #128c7e;
    }
  }
  .footer {
    padding: 3rem 0 2rem;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 4rem;
  }
  body.dark-mode .footer {
    border-top-color: #333;
  }
  .footer p {
    color: #666;
    font-size: 0.9rem;
  }
  body.dark-mode .footer p {
    color: #aaa;
  }
  .contact-info {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8f8f8;
    border-radius: 8px;
  }
  body.dark-mode .contact-info {
    background: #2a2a2a;
  }
  .contact-info h3 {
    margin-bottom: 1.5rem;
  }
  .contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  .contact-info h4 {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-heading);
  }
  .contact-info p {
    color: #666;
  }
  .contact-info p a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
    border-bottom: 1px solid rgba(51, 51, 51, 0.2);
  }
  .contact-info p a:hover {
    color: #555;
    border-bottom-color: rgba(51, 51, 51, 0.4);
  }
  body.dark-mode .contact-info h4 {
    color: #e6e6e6;
  }
  body.dark-mode .contact-info p {
    color: #aaa;
  }
  body.dark-mode .contact-info p a {
    color: #bdbdbd;
    border-bottom-color: rgba(230, 230, 230, 0.2);
  }
  body.dark-mode .contact-info p a:hover {
    color: #e6e6e6;
    border-bottom-color: rgba(230, 230, 230, 0.4);
  }
  .social-info {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  body.dark-mode .social-info {
    border-top-color: rgba(255, 255, 255, 0.1);
  }
  .social-info h3 {
    margin-bottom: 1.5rem;
    color: var(--color-heading);
  }
  .social-icons-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .social-icons-contact a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    color: #333;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
  }
  body.dark-mode .social-icons-contact a {
    background: #3a3a3a;
    color: #e6e6e6;
  }
  .social-icons-contact a:hover {
    background: #333;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(51, 51, 51, 0.2);
  }
  body.dark-mode .social-icons-contact a:hover {
    background: #e6e6e6;
    color: #1a1a1a;
    box-shadow: 0 6px 15px rgba(230, 230, 230, 0.2);
  }
}
@media (min-width: 769px) {
  .hamburger-menu {
    display: none !important;
  }
  .nav-container {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    z-index: auto !important;
    box-shadow: none !important;
    right: auto !important;
  }
  .back-to-top {
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    padding: 0.75rem;
    display: flex !important;
  }
  .whatsapp-float {
    bottom: 2rem;
    right: 80px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    padding: 0.75rem;
    display: flex !important;
  }
}
@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    gap: 0;
    padding: 0.75rem 15px;
    justify-content: space-between;
    align-items: center;
  }
  .nav-container {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 30px 30px;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    gap: 1.5rem;
    z-index: 1100;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  }
  body.dark-mode .nav-container {
    background: rgba(26, 26, 26, 0.95);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
  }
  .nav-container.active {
    right: 0;
  }
  .nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 1.5rem;
    margin-right: 0;
  }
  .nav-link {
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.1s;
  }
  .nav-container.active .nav-link {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-contact-btn {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
    max-width: 250px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.25s;
  }
  .nav-container.active .nav-contact-btn {
    opacity: 1;
    transform: translateX(0);
  }
  .hamburger-menu {
    display: flex;
    order: 3;
    margin-left: auto;
  }
  .about-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 3rem 0 2rem;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .hero .btn {
    display: block;
    margin: 0.5rem auto;
    width: 90%;
    max-width: 280px;
    padding: 0.9rem 1.5rem;
  }
  .cta-card {
    padding: 2rem 1.5rem;
  }
  .cta-title {
    font-size: 1.5rem;
  }
  .cta-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
  }
  .container {
    padding: 0 15px;
  }
  .section {
    padding: 2.5rem 0;
  }
  #about {
    padding: 2.5rem 0;
  }
  .cv-table {
    font-size: 0.85rem;
  }
  .date-column {
    width: 100%;
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }
  .content-column {
    width: 100%;
  }
  .section-table tr {
    display: block;
    margin-bottom: 1.5rem;
  }
  .section-table td {
    display: block;
    width: 100%;
  }
  .section-table .date-column {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 0.5rem;
  }
  body.dark-mode .section-table .date-column {
    border-bottom: 1px solid #333;
  }
  .theme-toggle {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    padding: 0.6rem;
  }
  .whatsapp-float {
    bottom: 5.25rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    padding: 0.6rem;
  }
  .back-to-top {
    bottom: 9rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    padding: 0.6rem;
    display: flex !important;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 16px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  h1 {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 1.4rem;
  }
  .header-content {
    padding: 0.5rem 10px;
  }
  .theme-toggle {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
  }
  .whatsapp-float {
    bottom: 4.8rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
  }
  .back-to-top {
    bottom: 8.4rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex !important;
  }
  .hero .btn {
    width: 95%;
    padding: 0.8rem 1.2rem;
    font-size: 0.95rem;
  }
  .portfolio-item {
    padding: 1rem;
  }
  .tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }
  .section {
    padding: 2rem 0;
  }
  .hero {
    padding: 2.5rem 0 1.5rem;
  }
  .cv-table {
    font-size: 0.8rem;
  }
}
@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
  .hero h1 {
    font-size: 1.4rem;
  }
  .hero .btn {
    width: 100%;
    margin: 0.4rem 0;
    padding: 0.7rem 1rem;
  }
  .container {
    padding: 0 10px;
  }
  .theme-toggle, .back-to-top, .whatsapp-float {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .section {
    padding: 1.8rem 0;
  }
}
