/* ================================
   CSS Variables - NOVA COR APLICADA
   ================================ */
:root {
    --primary-color: rgb(12, 197, 255);
    --primary-color-rgb: 12, 197, 255;
    --secondary-color: #FF4C4C;
    --bg-dark: #0a0a0a;
    --bg-medium: #1a1a1a;
    --bg-light: #252525;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --gradient-primary: linear-gradient(135deg, rgb(12, 197, 255) 0%, rgb(10, 150, 200) 100%);
    --gradient-secondary: linear-gradient(135deg, #FF4C4C 0%, #FF6B6B 100%);
    --shadow-sm: 0 2px 10px rgba(12, 197, 255, 0.1);
    --shadow-md: 0 4px 20px rgba(12, 197, 255, 0.2);
    --shadow-lg: 0 8px 30px rgba(12, 197, 255, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 72px; /* ajuste se sua navbar for maior/menor */
}

/* ================================
   Global Styles
   ================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Evita problemas de parallax com background fixo em mobile */
@media (max-width: 1024px) {
    .hero {
        background-attachment: scroll !important;
    }
}
/* ================================
   Navigation
   ================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-logo span {
    color: var(--primary-color);
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ================================
   Hero Section - MELHORADO
   ================================ */
section {
    position: relative; 
    scroll-margin-top: var(--nav-height);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    background-image: url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
     z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(12, 197, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 76, 76, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-name .line {
    display: block;
    opacity: 0;
}

/* NOVO: Melhor espaçamento para título e subtítulo */
.hero-title-wrapper {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin: 0;
}

.typing-text {
    border-right: 3px solid var(--primary-color);
    padding-right: 5px;
    animation: blink 0.7s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    z-index: 10;
}



@keyframes scrollDown {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(20px); opacity: 1; }
}

/* ================================
   Section Titles
   ================================ */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* ================================
   About Section
   ================================ */
.about {
    padding: 100px 0;
    background-color: var(--bg-dark);
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    transition: var(--transition);
    filter: grayscale(20%);
}

.image-wrapper:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.image-border {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    transition: var(--transition);
}

.image-wrapper:hover .image-border {
    top: -20px;
    left: -20px;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-medium);
    border-radius: 15px;
    border: 1px solid rgba(12, 197, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* ================================
   Skills Section - REDESENHADO
   ================================ */
/* ================================
   Skills Section - COM FONT AWESOME
   ================================ */
.skills {
    padding: 100px 0;
    background-color: var(--bg-medium);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

/* ================================
   Technology Badges - Layout horizontal elegante
   ================================ */
.skills-badges {
  background: var(--bg-dark);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(12, 197, 255, 0.12);
}

.skills-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  text-align: center;
}

/* Grid responsivo de chips (badges) */
.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  align-items: start;
}

/* Chip em formato "pill": ícone + nome lado a lado */
.tech-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-medium);
  border: 1px solid rgba(12, 197, 255, 0.14);
  border-radius: 999px; /* pill */
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: default;
  min-height: 44px;
}

/* Mantém tudo horizontal (evita ícone acima do texto) */
.tech-badge .badge-icon,
.tech-badge .badge-name {
  display: inline-flex;
  align-items: center;
}

/* Ícone com "medalhão" circular */
.badge-icon {
  font-size: 1.25rem;           /* tamanho do ícone FA */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--primary-color);
  background: rgba(12, 197, 255, 0.10);
  box-shadow: inset 0 0 0 2px rgba(12, 197, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Nome da tecnologia ao lado do ícone */
.badge-name {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  white-space: nowrap; /* evita quebrar o texto dentro do chip */
}

/* Efeito ao passar o mouse */
.tech-badge:hover {
  transform: translateY(-3px);
  background: var(--bg-light);
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(12, 197, 255, 0.12);
}

/* Efeito sutil de brilho deslizando */
.tech-badge {
  position: relative;
  overflow: hidden;
}
.tech-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(12, 197, 255, 0.08), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}
.tech-badge:hover::before {
  left: 120%;
}
.skills-content.only-badges {
  display: block; /* simples e direto */
}

.skills-badges {
  /* já está visualmente centralizada; se quiser forçar largura máxima */
  max-width: 1100px;
  margin: 0 auto;
}
/* Ajustes responsivos */
@media (max-width: 992px) {
  .badges-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}
@media (max-width: 600px) {
  .badges-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }
  .badge-name {
    font-size: 0.9rem;
  }
  .badge-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
  }
}

/* Cores de brand no hover (opcional) */
.tech-badge:hover .fa-html5 { color: #E34F26; }
.tech-badge:hover .fa-css3-alt { color: #1572B6; }
.tech-badge:hover .fa-js { color: #F7DF1E; }
.tech-badge:hover .fa-laravel { color: #FF2D20; }
.tech-badge:hover .fa-java { color: #007396; }
.tech-badge:hover .fa-react { color: #61DAFB; }
.tech-badge:hover .fa-node-js { color: #339933; }
.tech-badge:hover .fa-wordpress { color: #21759B; }
.tech-badge:hover .fa-python { color: #3776AB; }
.tech-badge:hover .fa-docker { color: #2496ED; }
.tech-badge:hover .fa-php { color: #777BB4; }
.tech-badge:hover .fa-bootstrap { color: #7952B3; }
.tech-badge:hover .fa-npm { color: #CB3837; }
.tech-badge:hover .fa-git-alt { color: #F05032; }
.tech-badge:hover .fa-github { color: #ffffff; } /* melhor contraste no dark */
.tech-badge:hover .mongodb { color: #47A248; }
.tech-badge:hover .postgres { color: #336791; }

/* Responsive para badges */
@media (max-width: 768px) {

    .section-title {
    position: static !important;        /* desativa qualquer left/transform do desktop só no mobile */
    display: block;
    text-align: center;
    margin: 0 auto 1rem;
    padding: 0 16px;                    /* respiro lateral */
    max-width: calc(100% - 32px);       /* evita ultrapassar a tela */
    font-size: clamp(1.6rem, 7vw, 2.2rem); /* tipografia fluida sem estourar */
    line-height: 1.15;
    white-space: normal;                /* permite quebrar linha */
    overflow: visible;
    word-break: normal;
    overflow-wrap: anywhere;            /* quebra palavras longas se necessário */
    hyphens: auto;
  }

  /* Sublinhado centrado visualmente (sem position absoluta) */
  .section-title::after {
    content: '';
    display: block;
    width: 88px;                        /* levemente menor que no desktop */
    height: 4px;
    margin: 10px auto 0;                /* centraliza pelo margin auto */
    background: var(--gradient-primary);
    border-radius: 2px;
    position: static !important;        /* garante não usar left/transform no mobile */
  }

  /* Subtítulo das seções */
  .section-subtitle {
    padding: 0 16px;
    margin-left: auto;
    margin-right: auto;
    max-width: calc(100% - 32px);
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    hyphens: auto;
    font-size: 1rem;
  }

  /* Menu mobile: não truncar e manter legível */
  .nav-menu {
    width: 100%;
    padding: 1.25rem 1rem;
    overflow-x: visible;                /* evita corte lateral */
  }

  .nav-item {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: block;
    padding: 0.9rem 0.5rem;
    font-size: 1rem;                    /* leve redução para caber com elegância */
    line-height: 1.35;
    white-space: normal;                /* permite quebrar em 2 linhas se preciso */
    overflow: visible;
    text-overflow: clip;                /* garante que não use reticências */
    word-break: keep-all;               /* evita quebrar palavras no meio (PT-BR) */
  }

    .badges-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .badge-icon {
        font-size: 2rem;
    }
}

@media (max-width: 420px) {
  .section-title {
    font-size: clamp(1.5rem, 7.5vw, 1.9rem);
  }
  .nav-menu .nav-link {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
    .badges-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .tech-badge {
        padding: 1rem 0.8rem;
    }

    .badge-icon {
        font-size: 1.8rem;
    }

    .badge-name {
        font-size: 0.8rem;
    }
}


/* ================================
   Projects Section
   ================================ */
.projects {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-medium);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--bg-light);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 197, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 1.5rem;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--primary-color);
}

.project-link:hover {
    background: var(--text-primary);
    transform: scale(1.1) rotate(360deg);
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: var(--bg-dark);
border: 1px solid var(--primary-color);
border-radius: 20px;
font-size: 0.85rem;
color: var(--primary-color);
transition: var(--transition);
}

.tag:hover {
background: var(--primary-color);
color: var(--bg-dark);
}

/* ================================
Contact Section - REDESENHADO
================================ */
.contact {
padding: 100px 0;
background-color: var(--bg-medium);
}

.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1.3fr;
gap: 3rem;
margin-top: 3rem;
}

/* Contact Info Cards - NOVA ESTRUTURA */
.contact-info-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}

.info-card {
background: var(--bg-dark);
padding: 2rem;
border-radius: 15px;
display: flex;
align-items: center;
gap: 1.5rem;
border: 1px solid rgba(12, 197, 255, 0.1);
transition: var(--transition);
}

.info-card:hover {
transform: translateX(5px);
border-color: var(--primary-color);
box-shadow: var(--shadow-md);
}

.info-card-icon {
width: 60px;
height: 60px;
background: var(--gradient-primary);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.info-card-icon svg {
color: var(--bg-dark);
}

.info-card-content h4 {
font-size: 1.1rem;
margin-bottom: 0.5rem;
color: var(--text-primary);
}

.info-card-content p {
color: var(--text-secondary);
font-size: 0.95rem;
}

/* Social Links Card */
.social-links-card {
background: var(--bg-dark);
padding: 2rem;
border-radius: 15px;
border: 1px solid rgba(12, 197, 255, 0.1);
}

.social-links-card h4 {
font-size: 1.2rem;
margin-bottom: 1.5rem;
color: var(--primary-color);
text-align: center;
}

.social-buttons {
display: flex;
flex-direction: column;
gap: 1rem;
}

.social-btn {
display: flex;
align-items: center;
gap: 1rem;
padding: 1rem 1.5rem;
background: var(--bg-medium);
border-radius: 10px;
border: 2px solid transparent;
transition: var(--transition);
font-weight: 600;
}

.social-btn:hover {
border-color: var(--primary-color);
transform: translateX(10px);
box-shadow: var(--shadow-md);
}

.social-btn.github:hover {
background: rgba(12, 197, 255, 0.1);
}

.social-btn.linkedin:hover {
background: rgba(12, 197, 255, 0.1);
}

.social-btn svg {
color: var(--primary-color);
}

/* Contact Form - OTIMIZADO */
.contact-form-container {
background: var(--bg-dark);
padding: 2.5rem;
border-radius: 20px;
border: 1px solid rgba(12, 197, 255, 0.1);
}

.contact-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
}

.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
}

.form-group {
display: flex;
flex-direction: column;
gap: 0.6rem;
}

.form-group label {
color: var(--text-primary);
font-weight: 600;
font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
padding: 1rem 1.5rem;
background: var(--bg-medium);
border: 2px solid rgba(12, 197, 255, 0.1);
border-radius: 10px;
color: var(--text-primary);
font-family: 'Montserrat', sans-serif;
font-size: 1rem;
transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: var(--shadow-md);
background: var(--bg-light);
}

.form-group textarea {
resize: vertical;
min-height: 150px;
}

.btn-submit {
width: 100%;
justify-content: center;
margin-top: 0.5rem;
}

.form-message {
padding: 1rem;
border-radius: 10px;
text-align: center;
font-weight: 600;
display: none;
}

.form-message.success {
background: rgba(12, 197, 255, 0.1);
border: 1px solid var(--primary-color);
color: var(--primary-color);
display: block;
}

.form-message.error {
background: rgba(255, 76, 76, 0.1);
border: 1px solid var(--secondary-color);
color: var(--secondary-color);
display: block;
}

/* ================================
Footer
================================ */
.footer {
padding: 2rem 0;
background-color: var(--bg-dark);
border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1.5rem;
}

.footer-text p {
color: var(--text-secondary);
}

.footer-links {
display: flex;
gap: 2rem;
}

.footer-links a {
color: var(--text-secondary);
transition: var(--transition);
}

.footer-links a:hover {
color: var(--primary-color);
}

/* ================================
Responsive Design
================================ */
@media (max-width: 968px) {
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: rgba(10, 10, 10, 0.98);
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 2rem 0;
}
.nav-menu.active {
    left: 0;
}

.hamburger {
    display: flex;
}

.hero-name {
    font-size: 3rem;
}

.hero-title {
    font-size: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
}

.about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
}

.about-stats {
    grid-template-columns: repeat(2, 1fr);
}

.skills-content {
    grid-template-columns: 1fr;
}

.contact-wrapper {
    grid-template-columns: 1fr;
}

.footer-content {
    flex-direction: column;
    text-align: center;
}

.form-row {
    grid-template-columns: 1fr;
}
}
@media (max-width: 768px) {
.section-title {
font-size: 2.5rem;
}
.hero-name {
    font-size: 2.5rem;
}

.hero-title {
    font-size: 1.3rem;
}

.hero-subtitle {
    font-size: 1rem;
}

.hero-buttons {
    flex-direction: column;
    align-items: center;
}

.btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
}

.projects-grid {
    grid-template-columns: 1fr;
}

.about-stats {
    grid-template-columns: 1fr;
}

.footer-links {
    flex-direction: column;
    gap: 1rem;
}

.badges-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}
}
@media (max-width: 480px) {
.hero-name {
font-size: 2rem;
}
.hero-title {
    font-size: 1.1rem;
}

.hero-subtitle {
    font-size: 0.9rem;
}

.section-title {
    font-size: 2rem;
}

.nav-logo {
    font-size: 1.5rem;
}

.badges-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

.contact-form-container {
    padding: 1.5rem;
}
}

/* ================================
Animations
================================ */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}

@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}

/* ================================
Utility Classes
================================ */
.text-gradient {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ================================
Scroll Bar Customization
================================ */
::-webkit-scrollbar {
width: 10px;
}

::-webkit-scrollbar-track {
background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
background: rgb(10, 150, 200);
}

/* ================================
Selection Color
================================ */
::selection {
background: var(--primary-color);
color: var(--bg-dark);
}

::-moz-selection {
background: var(--primary-color);
color: var(--bg-dark);
}