/*--------------------------------------------------------------
# Portfólio Tecnológico - Estilos Principais
# Autor: Seu Nome
# Versão: 1.0
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Variáveis e Configurações
--------------------------------------------------------------*/
:root {
    /* Cores Principais */
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --accent-color: #ff006e;
    --success-color: #38b000;
    --warning-color: #ffbe0b;
    --error-color: #fb5607;
    
    /* Cores Neutras */
    --dark-color: #151a30;
    --darker-color: #0f1221;
    --medium-color: #2d3250;
    --light-color: #f8f9fa;
    --lighter-color: #ffffff;
    
    /* Cores de Estado */
    --hover-color: rgba(58, 134, 255, 0.8);
    --focus-color: rgba(58, 134, 255, 0.6);
    --disabled-color: #a0a0a0;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--secondary-color) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark-color) 0%, var(--medium-color) 100%);
    
    /* Fontes */
    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Space Grotesk', sans-serif;
    --font-size-base: 1rem;
    --line-height-base: 1.6;
    
    /* Tamanhos de Fonte */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Espessura da Fonte */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Espaçamento */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 2rem;
    --border-radius-pill: 50rem;
    --border-radius-circle: 50%;
    
    /* Efeitos */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Sombras */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 30px rgba(0, 0, 0, 0.2);
    --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    
    /* Z-index */
    --z-index-dropdown: 1000;
    --z-index-sticky: 1020;
    --z-index-fixed: 1030;
    --z-index-modal: 1040;
    --z-index-popover: 1060;
    --z-index-tooltip: 1070;
    
    /* Glassmorphism */
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.18);
    --glass-backdrop-filter: blur(10px);
    
    /* Tamanhos de Container */
    --container-max-width: 1320px;
    --container-padding: 1rem;
    
    /* Navegação */
    --header-height: 80px;
    --mobile-header-height: 70px;
}

/*--------------------------------------------------------------
# Estilos Base
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--light-color);
    background-color: var(--dark-color);
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

body.light-mode {
    color: var(--dark-color);
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--lighter-color);
}

.light-mode h1,
.light-mode h2,
.light-mode h3,
.light-mode h4,
.light-mode h5,
.light-mode h6 {
    color: var(--dark-color);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-2xl);
}

h5 {
    font-size: var(--font-size-xl);
}

h6 {
    font-size: var(--font-size-lg);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--hover-color);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

button, input, select, textarea {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
}

/*--------------------------------------------------------------
# Layout e Containers
--------------------------------------------------------------*/
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

.section-padding {
    padding: var(--spacing-4xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-3xl);
    text-align: center;
    position: relative;
    z-index: 5;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    color: var(--title-color);
    text-align: center;
    width: 100%;
}

.section-title span {
    color: var(--primary-color);
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    margin-bottom: var(--spacing-md);
    border-radius: var(--border-radius-pill);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: 100%;
}

.light-mode .section-subtitle {
    color: var(--text-color-light);
}

/* Corrigindo centralização dos títulos nas seções */
.section-header, 
.col-lg-12.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/*--------------------------------------------------------------
# Header e Navegação
--------------------------------------------------------------*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: var(--z-index-fixed);
    transition: all var(--transition-normal);
    background: rgba(15, 18, 33, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
}

.light-mode .header {
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(21, 26, 48, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.light-mode .header.scrolled {
    background: rgba(248, 249, 250, 0.9);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--lighter-color);
    position: relative;
}

.light-mode .logo-text {
    color: var(--dark-color);
}

.logo-text span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
}

.nav-link {
    padding: 0 var(--spacing-md);
    font-weight: var(--font-weight-medium);
    color: var(--light-color);
    text-transform: capitalize;
    position: relative;
    transition: color var(--transition-fast);
}

.light-mode .nav-link {
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
    opacity: 1;
}

/* Efeito de destaque na seção ativa */
.nav-link.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

/* Efeito de hover nas opções do menu */
.nav-list li {
    position: relative;
    overflow: hidden;
}

.nav-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 30px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-list li:hover::before {
    transform: translateY(0);
    opacity: 1;
}

/* Menu Mobile */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--lighter-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.light-mode .hamburger-menu span {
    background: var(--dark-color);
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 8px;
}

.hamburger-menu span:nth-child(3) {
    top: 16px;
}

.hamburger-menu.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-menu.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(21, 26, 48, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateX(-100%);
}

.light-mode .mobile-menu {
    background: rgba(248, 249, 250, 0.98);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease 0.2s;
    text-align: center;
}

.mobile-menu.active .mobile-nav-list {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    color: var(--lighter-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.light-mode .mobile-nav-link {
    color: var(--dark-color);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Tema Toggle */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: var(--z-index-fixed);
    width: 40px;
    height: 40px;
    background: var(--glass-background);
    border-radius: var(--border-radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);
    transition: all var(--transition-normal);
}

.theme-toggle i {
    color: var(--light-color);
    font-size: var(--font-size-xl);
    transition: all var(--transition-normal);
}

.light-mode .theme-toggle i {
    color: var(--dark-color);
}

.light-mode .theme-toggle .fa-moon {
    display: none;
}

.light-mode .theme-toggle .fa-sun {
    display: block;
}

.theme-toggle .fa-sun {
    display: none;
}

/*--------------------------------------------------------------
# Botões
--------------------------------------------------------------*/
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-weight: var(--font-weight-medium);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    font-family: var(--font-primary);
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: scale(0);
    transition: transform var(--transition-normal);
    border-radius: var(--border-radius-md);
}

.btn:hover::before {
    transform: scale(1);
}

.btn-text {
    margin-right: 0.5rem;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--lighter-color);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.2);
}

.btn-secondary {
    background: var(--dark-color);
    color: var(--lighter-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(58, 134, 255, 0.1);
}

.light-mode .btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(58, 134, 255, 0.3);
    color: var(--lighter-color);
}

.btn-secondary:hover {
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: var(--font-size-sm);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: var(--font-size-lg);
}

/*--------------------------------------------------------------
# Componentes Comuns
--------------------------------------------------------------*/
/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    z-index: var(--z-index-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-slow);
}

.light-mode .preloader {
    background: var(--light-color);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(58, 134, 255, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    margin: 0 auto;
    margin-bottom: var(--spacing-md);
}

.loader-text {
    font-size: var(--font-size-md);
    color: var(--light-color);
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
}

.light-mode .loader-text {
    color: var(--dark-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Efeito Scroll Indicator */
.scroll-indicator {
    display: none;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
    margin-bottom: 5px;
}

.light-mode .mouse {
    border: 2px solid var(--dark-color);
}

.wheel {
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary-color);
    border-radius: var(--border-radius-pill);
    animation: scroll 1.5s infinite;
}

.scroll-text {
    font-size: var(--font-size-xs);
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.light-mode .scroll-text {
    color: var(--dark-color);
}

@keyframes scroll {
    0% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }
}

/* Efeito de digitação */
.typing-effect {
    position: relative;
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--primary-color);
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* Terminal Oculto */
.terminal-container {
    position: fixed;
    bottom: -450px;
    right: 20px;
    width: 500px;
    height: 400px;
    background: rgba(15, 18, 33, 0.95);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-glass);
    border: var(--glass-border);
    transition: bottom var(--transition-normal);
    z-index: var(--z-index-fixed);
}

.terminal-container.active {
    bottom: 20px;
}

.terminal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.terminal-buttons {
    display: flex;
    align-items: center;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.terminal-button.close {
    background: #ff5f57;
}

.terminal-button.minimize {
    background: #ffbd2e;
}

.terminal-button.maximize {
    background: #28c941;
}

.terminal-title {
    font-size: var(--font-size-sm);
    color: var(--light-color);
    flex-grow: 1;
    text-align: center;
    font-weight: var(--font-weight-medium);
}

.terminal-content {
    padding: 15px;
    height: calc(100% - 40px);
    overflow-y: auto;
}

.terminal-output {
    color: var(--light-color);
    font-family: monospace;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: 10px;
}

.terminal-input-line {
    display: flex;
    align-items: center;
}

.terminal-prompt {
    color: var(--primary-color);
    font-family: monospace;
    font-size: var(--font-size-sm);
    margin-right: 8px;
    white-space: nowrap;
}

.terminal-input {
    background: transparent;
    border: none;
    color: var(--light-color);
    font-family: monospace;
    font-size: var(--font-size-sm);
    flex-grow: 1;
    outline: none;
}

/*--------------------------------------------------------------
# Media Queries
--------------------------------------------------------------*/
@media (max-width: 1200px) {
    :root {
        --container-max-width: 1140px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-max-width: 960px;
        --header-height: var(--mobile-header-height);
    }
    
    h1 {
        font-size: var(--font-size-4xl);
    }
    
    h2 {
        font-size: var(--font-size-3xl);
    }
    
    h3 {
        font-size: var(--font-size-2xl);
    }
    
    h4 {
        font-size: var(--font-size-xl);
    }
    
    .section-padding {
        padding: var(--spacing-3xl) 0;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .terminal-container {
        width: 90%;
        right: 5%;
    }
}

@media (max-width: 768px) {
    :root {
        --container-max-width: 720px;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-md);
    }
    
    .section-header {
        margin-bottom: var(--spacing-2xl);
    }
}

@media (max-width: 576px) {
    :root {
        --container-max-width: 100%;
        --container-padding: 15px;
    }
    
    h1 {
        font-size: var(--font-size-3xl);
    }
    
    h2 {
        font-size: var(--font-size-2xl);
    }
    
    h3 {
        font-size: var(--font-size-xl);
    }
    
    .section-padding {
        padding: var(--spacing-2xl) 0;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
    }
}

/* Estilo para o fundo de partículas em toda a página */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--dark-color);
    overflow: hidden;
}

/* Ajustes para a seção Hero e conteúdo */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 130px 0 100px;
    overflow: hidden;
    background: transparent;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 18, 33, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hero-intro {
    margin-bottom: 2rem;
}

.hero-greeting {
    display: block;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: var(--font-weight-medium);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.hero-name {
    display: block;
    font-size: 4rem;
    line-height: 1.3;
    font-weight: var(--font-weight-bold);
    margin-bottom: 1.2rem;
    color: var(--lighter-color);
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
    animation-delay: 0.4s;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-medium);
    margin-bottom: 2rem;
    color: var(--lighter-color);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: 1.8rem;
    color: var(--lighter-color);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.8s;
}

.hero-subtitle p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.hero-description {
    font-size: var(--font-size-lg);
    max-width: 600px;
    margin-bottom: 2rem;
    color: var(--lighter-color);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.2s;
}

/* Animações da hero section */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Efeito Glitch melhorado */
.glitch-effect {
    position: relative;
    display: inline-block;
    transform-style: preserve-3d;
}

.glitch-effect::before,
.glitch-effect::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-effect::before {
    transform: translateZ(-1px);
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s linear infinite alternate-reverse;
}

.glitch-effect::after {
    transform: translateZ(1px);
    left: -2px;
    text-shadow: 2px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s linear infinite alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(24px, 450px, 36px, 0);
    }
    20% {
        clip: rect(62px, 450px, 78px, 0);
    }
    40% {
        clip: rect(58px, 450px, 72px, 0);
    }
    60% {
        clip: rect(24px, 450px, 42px, 0);
    }
    80% {
        clip: rect(62px, 450px, 78px, 0);
    }
    100% {
        clip: rect(36px, 450px, 48px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(36px, 450px, 48px, 0);
    }
    20% {
        clip: rect(24px, 450px, 36px, 0);
    }
    40% {
        clip: rect(58px, 450px, 72px, 0);
    }
    60% {
        clip: rect(62px, 450px, 78px, 0);
    }
    80% {
        clip: rect(24px, 450px, 42px, 0);
    }
    100% {
        clip: rect(62px, 450px, 78px, 0);
    }
}

/* Elemento 3D flutuante aprimorado */
.hero-3d-element {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    z-index: 5;
    opacity: 0;
    animation: fadeIn 1s ease 1.4s forwards;
}

.rotating-cube {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.rotating-cube:before,
.rotating-cube:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px var(--primary-color), 
                inset 0 0 20px var(--primary-color);
    border-radius: 4px;
}

.rotating-cube:before {
    transform: rotateX(90deg);
    animation: pulse 3s linear infinite;
}

.rotating-cube:after {
    transform: rotateY(90deg);
    animation: pulse 2s linear infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate3d(1, 1, 1, 0deg);
    }
    50% {
        transform: translateY(-20px) rotate3d(1, 1, 1, 180deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--primary-color), 
                    inset 0 0 20px var(--primary-color);
        border-color: var(--primary-color);
    }
    50% {
        box-shadow: 0 0 30px var(--secondary-color), 
                    inset 0 0 30px var(--secondary-color);
        border-color: var(--secondary-color);
    }
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Ajuste para altura mínima garantindo que a hero ocupe toda a tela */
#inicio {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
}

/* Ajustes para as ondas (wave) na parte inferior da hero section */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 5;
    overflow: hidden;
    margin-bottom: -1px;
}

.hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    transform: rotateY(180deg);
}

.hero-waves .parallax > use {
    animation: wave-move-forever 20s cubic-bezier(.55,.5,.45,.5) infinite;
}

.hero-waves .parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 8s;
    opacity: 0.8;
}

.hero-waves .parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 12s;
    opacity: 0.6;
}

.hero-waves .parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 16s;
    opacity: 0.4;
}

.hero-waves .parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
    opacity: 1;
}

/* Ajuste da animação para um movimento mais suave */
@keyframes wave-move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Ajuste nas cores para melhor contraste com o fundo de partículas */
.section-title, 
.section-subtitle,
.hero-greeting,
.hero-name,
.hero-title,
.hero-subtitle,
.hero-description {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Ajuste para o fundo de partículas no modo claro */
.light-mode .particles-background canvas {
    opacity: 0.7; /* Reduzindo um pouco a opacidade no modo claro */
}

/* Ajuste para todas as seções, garantindo que o conteúdo fique acima do fundo */
section {
    position: relative;
    z-index: 2;
}

.hero-section .particles-container {
    display: none; /* Escondemos o container específico da hero, já que usaremos o global */
}

/* Corrigindo o posicionamento das partículas */
.particles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    background-color: var(--dark-color);
    overflow: hidden;
}

/* Ajuste especial para a primeira seção após a hero */
.about-section {
    position: relative;
    padding-top: 130px;
    margin-top: -70px;
    z-index: 4;
    background-color: rgba(21, 26, 48, 0.95);
}

/* Ajustes para seções que precisam de fundo sólido ou translúcido com efeito glassmorphism */
.about-section,
.skills-section,
.portfolio-section,
.blog-section,
.contact-section {
    position: relative;
    background-color: rgba(21, 26, 48, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    overflow: hidden;
    margin-top: -1px;
    padding: 100px 0;
    z-index: 3;
}

/* Modo claro ajustado para o fundo de partículas */
.light-mode .about-section,
.light-mode .skills-section,
.light-mode .portfolio-section,
.light-mode .blog-section,
.light-mode .contact-section {
    background-color: rgba(248, 249, 250, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Seção de Serviços */
.services-section {
    position: relative;
    padding: 120px 0;
    background: rgba(21, 26, 48, 0.92);
    z-index: 3;
    overflow: hidden;
}

.light-mode .services-section {
    background: rgba(248, 249, 250, 0.95);
}

.services-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(180deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(2deg);
}

.light-mode .services-section::before {
    background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(0deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(2deg);
}

.light-mode .services-section::after {
    background: linear-gradient(0deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

/* Cards de serviços com design mais moderno e orgânico */
.service-card {
    background: rgba(30, 35, 60, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(58, 134, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
}

.light-mode .service-card {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.15), rgba(131, 56, 236, 0.15));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(58, 134, 255, 0.3);
}

.light-mode .service-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-card:hover:before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: var(--lighter-color);
    border-radius: 50%;
    transform: rotate(10deg);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.3);
}

.service-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: all 0.6s ease;
}

.service-card:hover .service-icon:before {
    top: 150%;
    left: 150%;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--lighter-color);
    position: relative;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

.service-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.service-card:hover .service-title:after {
    width: 80px;
    background: var(--gradient-primary);
}

.light-mode .service-title {
    color: var(--dark-color);
}

.service-description {
    color: var(--light-color);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.light-mode .service-description {
    color: var(--dark-color);
}

.service-card:hover .service-description {
    opacity: 1;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* Grid para os serviços com layout mais dinâmico */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

/* Adicionar um leve efeito de movimento nos cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.service-card:nth-child(2) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.service-card:nth-child(3) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.service-card:nth-child(4) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 3s;
}

.service-card:nth-child(5) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.service-card:nth-child(6) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2.5s;
}

/* Quando o mouse estiver sobre o card, pausar a animação */
.service-card:hover {
    animation-play-state: paused;
}

/* Ajuste para o footer */
.footer {
    position: relative;
    background-color: rgba(21, 26, 48, 0.98);
    color: var(--light-color);
    padding: 0 0 30px;
    overflow: hidden;
    z-index: 5;
}

.light-mode .footer {
    background-color: rgba(248, 249, 250, 0.98);
    color: var(--dark-color);
}

.footer-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
    transform: rotateY(180deg);
}

.footer-wave-top path {
    fill: var(--primary-color);
    opacity: 0.1;
}

.footer-wave-bottom {
    position: relative;
    height: 120px;
    width: 100%;
    overflow: hidden;
}

.particles-footer {
    position: absolute;
    width: 100%;
    height: 120px;
    bottom: 0;
    left: 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 70px 0 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 40px;
}

.light-mode .footer-top {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-newsletter, .footer-social-main {
    flex: 1;
    padding: 30px;
    background: rgba(30, 35, 60, 0.5);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.light-mode .footer-newsletter, 
.light-mode .footer-social-main {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(58, 134, 255, 0.1);
}

.footer-newsletter h3,
.footer-social-main h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--lighter-color);
}

.light-mode .footer-newsletter h3,
.light-mode .footer-social-main h3 {
    color: var(--dark-color);
}

.footer-newsletter p,
.footer-social-main p {
    color: var(--light-color);
    margin-bottom: 20px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.light-mode .footer-newsletter p,
.light-mode .footer-social-main p {
    color: var(--dark-color);
}

.footer-form-group {
    display: flex;
    margin-top: 20px;
}

.footer-form-group input {
    flex: 1;
    height: 50px;
    padding: 10px 20px;
    border-radius: 25px 0 0 25px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lighter-color);
    font-size: 1rem;
}

.light-mode .footer-form-group input {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
}

.footer-form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.light-mode .footer-form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.footer-form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

.light-mode .footer-form-group input:focus {
    background: rgba(0, 0, 0, 0.08);
}

.footer-subscribe-btn {
    padding: 0 25px;
    height: 50px;
    border: none;
    border-radius: 0 25px 25px 0;
    background: var(--primary-color);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-subscribe-btn:hover {
    background: #2d78fd;
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.3);
}

.footer-subscribe-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.footer-subscribe-btn:hover i {
    transform: translateX(5px);
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--lighter-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.light-mode .social-icon-link {
    background: rgba(0, 0, 0, 0.05);
    color: var(--dark-color);
}

.social-icon-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.3);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1;
    min-width: 300px;
}

.footer-brand .logo-text {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-description {
    max-width: 350px;
    margin-bottom: 25px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-contact-info {
    margin-top: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.footer-contact-item i {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    margin-right: 15px;
    transition: all 0.3s ease;
}

.footer-contact-item:hover i {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    flex: 2;
}

.footer-links-column {
    flex: 1;
    min-width: 160px;
}

.footer-links-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--lighter-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
}

.light-mode .footer-links-column h4 {
    color: var(--dark-color);
}

.footer-links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--light-color);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.light-mode .footer-links-column ul li a {
    color: var(--dark-color);
}

.footer-links-column ul li a i {
    font-size: 0.7rem;
    margin-right: 8px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateX(5px);
}

.footer-links-column ul li a:hover i {
    transform: translateX(3px);
}

.footer-blog-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-blog-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.light-mode .footer-blog-post {
    background: rgba(0, 0, 0, 0.03);
}

.footer-blog-post:hover {
    background: rgba(58, 134, 255, 0.1);
    transform: translateY(-3px);
}

.footer-post-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.footer-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-post-content {
    flex: 1;
}

.footer-post-content h5 {
    font-size: 0.9rem;
    margin: 0 0 5px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--lighter-color);
    transition: all 0.3s ease;
}

.light-mode .footer-post-content h5 {
    color: var(--dark-color);
}

.footer-blog-post:hover .footer-post-content h5 {
    color: var(--primary-color);
}

.footer-post-content span {
    font-size: 0.75rem;
    color: var(--light-color);
    opacity: 0.7;
}

.light-mode .footer-post-content span {
    color: var(--dark-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.light-mode .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.copyright p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
}

.footer-bottom-links a {
    color: var(--light-color);
    font-size: 0.9rem;
    opacity: 0.8;
    transition: color 0.3s ease;
}

.light-mode .footer-bottom-links a {
    color: var(--dark-color);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer-divider {
    margin: 0 10px;
    opacity: 0.5;
}

/* Navbar interativa */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 25px 0;
    background: transparent;
}

.header.scrolled {
    background: rgba(21, 26, 48, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.light-mode .header.scrolled {
    background: rgba(248, 249, 250, 0.9);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--lighter-color);
    padding: 8px 15px;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.light-mode .nav-link {
    color: var(--dark-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link:hover, 
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 30px;
    opacity: 1;
}

/* Efeito de destaque na seção ativa */
.nav-link.active::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(58, 134, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 134, 255, 0);
    }
}

/* Efeito de hover nas opções do menu */
.nav-list li {
    position: relative;
    overflow: hidden;
}

.nav-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 30px;
    transform: translateY(100%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-list li:hover::before {
    transform: translateY(0);
    opacity: 1;
}

/* Menu Mobile */
.mobile-menu-icon {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu {
    width: 30px;
    height: 20px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--lighter-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.light-mode .hamburger-menu span {
    background: var(--dark-color);
}

.hamburger-menu span:nth-child(1) {
    top: 0px;
}

.hamburger-menu span:nth-child(2) {
    top: 8px;
}

.hamburger-menu span:nth-child(3) {
    top: 16px;
}

.hamburger-menu.active span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.hamburger-menu.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(21, 26, 48, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    transform: translateX(-100%);
}

.light-mode .mobile-menu {
    background: rgba(248, 249, 250, 0.98);
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease 0.2s;
    text-align: center;
}

.mobile-menu.active .mobile-nav-list {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-link {
    display: block;
    color: var(--lighter-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 20px 0;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.light-mode .mobile-nav-link {
    color: var(--dark-color);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Seção Sobre */
.about-content {
    position: relative;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.about-content h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
}

.about-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.stat-item {
    background: rgba(58, 134, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    flex: 1;
    min-width: 160px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(58, 134, 255, 0.15);
}

.stat-count {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--light-color);
    opacity: 0.8;
}

.light-mode .stat-label {
    color: var(--dark-color);
}

/* Seção Habilidades */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    margin-bottom: 50px;
}

.category-underline {
    width: 60px;
    height: 2px;
    margin-top: 0;
    margin-bottom: 1.8rem;
}

.skill-category-title {
    position: relative;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--title-color);
    padding-bottom: 0;
    text-align: center;
    display: inline-block;
}

.skill-category-title::after {
    content: none;
}

/* Ajustes adicionais para o layout das habilidades */
.skill-group {
    padding-top: 1rem;
    padding-bottom: 2.5rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.skill-progress {
    margin-bottom: 25px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 500;
}

.skill-percentage {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-container {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-pill);
    overflow: hidden;
}

.light-mode .progress-container {
    background: rgba(0, 0, 0, 0.1);
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
    transition: width 1.5s ease;
    width: 0;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(58, 134, 255, 0.7);
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.tech-card {
    padding: 20px;
    text-align: center;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.tech-name {
    font-size: 1rem;
    font-weight: 500;
}

/* Seção Portfolio */
.portfolio-section {
    position: relative;
    padding: 120px 0;
    background: rgba(21, 26, 48, 0.92);
    z-index: 3;
    overflow: hidden;
}

.light-mode .portfolio-section {
    background: rgba(248, 249, 250, 0.95);
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(180deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(-2deg);
}

.light-mode .portfolio-section::before {
    background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.portfolio-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(0deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(-2deg);
}

.light-mode .portfolio-section::after {
    background: linear-gradient(0deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

/* Filtro do portfólio */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-item {
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--dark-color-lighter);
    color: var(--light-color);
    text-align: center;
}

.light-mode .filter-item {
    background: rgba(58, 134, 255, 0.1);
    color: var(--dark-color);
}

.filter-item:hover,
.filter-item.active {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

/* Grid do portfólio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Cards do portfólio */
.portfolio-card {
    background: rgba(30, 35, 60, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid rgba(58, 134, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}

.light-mode .portfolio-card {
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.portfolio-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.15), rgba(131, 56, 236, 0.15));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border-color: rgba(58, 134, 255, 0.3);
}

.light-mode .portfolio-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-card:hover:before {
    opacity: 1;
}

.portfolio-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 20px;
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: absolute;
    top: 180px;
    left: 25px;
    z-index: 2;
    overflow: hidden;
    transform: translateY(-50%);
    border: 5px solid rgba(30, 35, 60, 0.8);
}

.light-mode .portfolio-icon {
    border-color: rgba(255, 255, 255, 0.9);
}

.portfolio-card:hover .portfolio-icon {
    background: var(--primary-color);
    color: var(--lighter-color);
    border-radius: 50%;
    transform: translateY(-50%) rotate(10deg);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.3);
}

.portfolio-icon:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: all 0.6s ease;
}

.portfolio-card:hover .portfolio-icon:before {
    top: 150%;
    left: 150%;
}

.portfolio-title {
    font-size: 1.5rem;
    margin: 65px 25px 5px;
    font-weight: 600;
    color: var(--lighter-color);
    position: relative;
    transition: all 0.3s ease;
}

.light-mode .portfolio-title {
    color: var(--dark-color);
}

.portfolio-category {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 25px 10px;
}

.light-mode .portfolio-category {
    color: var(--primary-color);
}

.portfolio-description {
    color: var(--light-color);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 25px 20px;
    flex-grow: 1;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.light-mode .portfolio-description {
    color: var(--dark-color);
}

.portfolio-card:hover .portfolio-description {
    opacity: 1;
}

.portfolio-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.light-mode .portfolio-actions {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.portfolio-link {
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.portfolio-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-link i {
    transform: translateX(5px);
}

.portfolio-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.portfolio-preview:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

/* Animação de flutuação para os cards */
.portfolio-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.portfolio-card:nth-child(2) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1s;
}

.portfolio-card:nth-child(3) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2s;
}

.portfolio-card:nth-child(4) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 1.5s;
}

.portfolio-card:nth-child(5) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

.portfolio-card:nth-child(6) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 2.5s;
}

/* Quando o mouse estiver sobre o card, pausar a animação */
.portfolio-card:hover {
    animation-play-state: paused;
}

/* Blog Section Styling */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--lighter-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--light-color);
    opacity: 0.8;
}

.light-mode .blog-meta {
    color: var(--dark-color);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.blog-meta-icon {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--light-color);
    opacity: 0.8;
    flex-grow: 1;
}

.light-mode .blog-excerpt {
    color: var(--dark-color);
}

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.blog-link-icon {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-link-icon {
    transform: translateX(5px);
}

/* Seção de Contato */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.contact-form-container {
    padding: 40px;
    background-color: rgba(31, 35, 49, 0.8);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(0);
    transition: all 0.4s ease;
}

.contact-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-form-container h3 {
    margin-bottom: 25px;
    font-weight: 600;
    color: #fff;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-container h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-form-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1rem;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--light-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.light-mode .form-control {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--dark-color);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(58, 134, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.light-mode .form-control::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    padding: 30px;
    background-color: rgba(31, 35, 49, 0.8);
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.contact-info-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
}

.contact-info-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--light-color);
    opacity: 0.9;
}

.light-mode .contact-info-text {
    color: var(--dark-color);
}

.contact-info-list {
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--primary-color);
    color: var(--lighter-color);
    transform: translateY(-5px);
}

.contact-info-content {
    flex-grow: 1;
}

.contact-info-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-info-value {
    font-size: 1rem;
    color: var(--light-color);
    opacity: 0.8;
}

.light-mode .contact-info-value {
    color: var(--dark-color);
}

.contact-social {
    display: flex;
    gap: 15px;
}

.contact-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(58, 134, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-social-link:hover {
    background: var(--primary-color);
    color: var(--lighter-color);
    transform: translateY(-5px);
}

/* Lightbox para visualização de imagens do portfólio */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.show {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.show .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 0, 0, 0.7);
    transform: rotate(90deg);
}

/* Seção de Certificações */
.certifications-section {
    position: relative;
    padding: 120px 0;
    background: rgba(21, 26, 48, 0.92);
    z-index: 3;
    overflow: hidden;
}

.light-mode .certifications-section {
    background: rgba(248, 249, 250, 0.95);
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(180deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(-2deg);
}

.light-mode .certifications-section::before {
    background: linear-gradient(180deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.certifications-section::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -5%;
    width: 110%;
    height: 200px;
    background: linear-gradient(0deg, rgba(21, 26, 48, 0) 0%, rgba(21, 26, 48, 0.92) 100%);
    z-index: -1;
    transform: rotate(-2deg);
}

.light-mode .certifications-section::after {
    background: linear-gradient(0deg, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.95) 100%);
}

/* Grid de certificações */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card de certificação */
.certification-card {
    display: flex;
    background: rgba(30, 35, 60, 0.9);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 25px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    height: 100%;
}

.light-mode .certification-card {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(58, 134, 255, 0.15);
}

.certification-issuer {
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0 0 15px;
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certification-issuer i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.certification-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(58, 134, 255, 0.25);
    color: var(--primary-color);
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 5;
    margin-left: 10px;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.light-mode .certification-badge {
    background: rgba(58, 134, 255, 0.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.certification-card:hover .certification-badge {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(58, 134, 255, 0.3);
}

.certification-card:hover .certification-icon.academic + .certification-body .certification-badge {
    background: #2ec4b6;
    box-shadow: 0 6px 12px rgba(46, 196, 182, 0.3);
}

.certification-card:hover .certification-icon.design + .certification-body .certification-badge {
    background: #e76f51;
    box-shadow: 0 6px 12px rgba(231, 111, 81, 0.3);
}

.certification-card:hover .certification-icon.cloud + .certification-body .certification-badge {
    background: #e9c46a;
    box-shadow: 0 6px 12px rgba(233, 196, 106, 0.3);
}

.certification-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.certification-skills span {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 15px;
    background: rgba(58, 134, 255, 0.2);
    color: #ffffff;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.light-mode .certification-skills span {
    background: rgba(58, 134, 255, 0.15);
    color: #3a86ff;
}

.certification-link {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.certification-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.certification-link:hover::after {
    width: 100%;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(58, 134, 255, 0.4);
}

.light-mode .certification-card:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.certification-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.2) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.certification-card:hover::before {
    opacity: 1;
}

/* Ícone do card */
.certification-icon {
    width: 90px;
    height: 100%;
    background: rgba(58, 134, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: inset 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
}

/* Ajustes específicos para ícones de certificação */
.certification-icon .fa-js,
.certification-icon .fa-html5 {
    font-size: 0.85em;
}

.certification-card:hover .certification-icon {
    background: var(--primary-color);
    color: var(--lighter-color);
    box-shadow: 0 10px 25px rgba(58, 134, 255, 0.4);
    width: 100px;
}

.certification-icon.academic {
    background: rgba(46, 196, 182, 0.15);
    color: #2ec4b6;
    border-left: 3px solid #2ec4b6;
}

.certification-card:hover .certification-icon.academic {
    background: #2ec4b6;
    color: var(--lighter-color);
    box-shadow: 0 10px 25px rgba(46, 196, 182, 0.4);
    animation: pulse-academic 1.5s infinite;
}

.certification-icon.design {
    background: rgba(231, 111, 81, 0.15);
    color: #e76f51;
    border-left: 3px solid #e76f51;
}

.certification-card:hover .certification-icon.design {
    background: #e76f51;
    color: var(--lighter-color);
    box-shadow: 0 10px 25px rgba(231, 111, 81, 0.4);
    animation: pulse-design 1.5s infinite;
}

.certification-icon.cloud {
    background: rgba(233, 196, 106, 0.15);
    color: #e9c46a;
    border-left: 3px solid #e9c46a;
}

.certification-card:hover .certification-icon.cloud {
    background: #e9c46a;
    color: var(--lighter-color);
    box-shadow: 0 10px 25px rgba(233, 196, 106, 0.4);
    animation: pulse-cloud 1.5s infinite;
}

/* Conteúdo do card */
.certification-body {
    flex: 1;
    padding: 22px;
    position: relative;
}

/* Estilo da Seção de Blog */
.blog-section {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 35, 60, 0.95) 0%, rgba(13, 17, 33, 0.95) 100%);
    padding: 100px 0;
    overflow: hidden;
    z-index: 1;
}

.light-mode .blog-section {
    background: linear-gradient(135deg, rgba(240, 242, 255, 0.95) 0%, rgba(220, 226, 250, 0.95) 100%);
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/patterns/pattern-dots.png');
    opacity: 0.1;
    z-index: -1;
}

.blog-section::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(58, 134, 255, 0.3) 0%, rgba(58, 134, 255, 0) 70%);
    z-index: -1;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
}

.category-tag {
    padding: 8px 20px;
    border-radius: 30px;
    background: rgba(58, 134, 255, 0.15);
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.light-mode .category-tag {
    background: rgba(58, 134, 255, 0.1);
}

.category-tag:hover, 
.category-tag.active {
    background: var(--primary-color);
    color: var(--lighter-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.featured-posts {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.featured-post-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.light-mode .featured-post-main {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.featured-post-main .featured-post-image {
    height: 300px;
    position: relative;
}

.featured-post-main .featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.featured-post-overlay .post-category {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-post-overlay .post-meta {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.featured-post-overlay .post-meta span {
    display: flex;
    align-items: center;
}

.featured-post-overlay .post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.featured-post-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: rgba(30, 35, 60, 0.95);
}

.light-mode .featured-post-content {
    background: rgba(255, 255, 255, 0.95);
}

.featured-post-content .post-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--lighter-color);
    line-height: 1.4;
}

.light-mode .featured-post-content .post-title {
    color: var(--dark-color);
}

.featured-post-content .post-excerpt {
    color: var(--light-color);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.light-mode .featured-post-content .post-excerpt {
    color: var(--dark-color);
}

.featured-post-content .post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.light-mode .featured-post-content .post-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.featured-post-content .post-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.featured-post-content .post-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.featured-post-content:hover .post-link i {
    transform: translateX(5px);
}

.featured-post-content .post-stats {
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
    color: var(--light-color);
}

.light-mode .featured-post-content .post-stats {
    color: var(--dark-color);
}

.featured-post-content .post-stats span {
    display: flex;
    align-items: center;
}

.featured-post-content .post-stats i {
    margin-right: 5px;
    color: var(--primary-color);
}

.featured-post-secondary-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.featured-post-secondary {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: calc(50% - 12.5px);
}

.light-mode .featured-post-secondary {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.featured-post-secondary .featured-post-image {
    height: 160px;
    position: relative;
}

.featured-post-secondary .featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-post-secondary:hover .featured-post-image img {
    transform: scale(1.1);
}

.featured-post-secondary .post-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    background: var(--primary-color);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.featured-post-secondary .featured-post-content {
    padding: 20px;
    flex-grow: 1;
}

.featured-post-secondary .post-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.featured-post-secondary .post-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--light-color);
}

.light-mode .featured-post-secondary .post-meta {
    color: var(--dark-color);
}

.featured-post-secondary .post-meta span {
    display: flex;
    align-items: center;
}

.featured-post-secondary .post-meta i {
    margin-right: 4px;
    color: var(--primary-color);
}

.featured-post-secondary .post-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.featured-post-secondary .post-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.featured-post-secondary:hover .post-link i {
    transform: translateX(5px);
}

.certification-title {
    font-size: 1.4rem;
    margin: 20px 0 10px;
    font-weight: 700;
    color: var(--lighter-color);
    transition: all 0.3s ease;
    padding-right: 100px; /* Espaço para a data não sobrepor */
    line-height: 1.3;
}

.light-mode .certification-title {
    color: var(--dark-color);
}

.certification-issuer {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certification-issuer i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.certification-details {
    color: var(--light-color);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 15px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.light-mode .certification-details {
    color: #505a6e;
}

.certification-card:hover .certification-details {
    opacity: 1;
}

.certification-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.certification-skills span {
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 15px;
    background: rgba(58, 134, 255, 0.15);
    color: var(--primary-color);
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 500;
}

.coming-soon-message {
    font-size: 1.2rem;
    color: var(--light-color);
    margin: 50px 0;
    opacity: 0.8;
}

.light-mode .coming-soon-message {
    color: var(--dark-color);
}

.contact-form .btn-primary {
    background: linear-gradient(45deg, #3a86ff, #5e60ce);
    border: none;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

.contact-form .btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(45deg, #5e60ce, #3a86ff);
    transition: all 0.5s ease;
    z-index: -1;
    border-radius: 50px;
}

.contact-form .btn-primary:hover:before {
    width: 100%;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(58, 134, 255, 0.3);
}

.contact-form .btn-primary i {
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover i {
    transform: translateX(5px);
}

.char-counter {
    display: block;
    text-align: right;
    margin-top: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.char-counter.warning {
    color: #ffc107;
}

.char-counter.danger {
    color: #dc3545;
}

.contact-form .form-group.input-focused label {
    color: var(--primary-color);
}

.contact-form .form-group.input-focused label i {
    transform: scale(1.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2);
}

.contact-form .alert {
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    margin-top: 20px;
}

.contact-form .alert-success {
    background: linear-gradient(45deg, #28a745, #20c997);
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.2);
    border-left: 4px solid #1f8d3d;
}

.contact-form .alert-danger {
    background: linear-gradient(45deg, #dc3545, #f44336);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.2);
    border-left: 4px solid #bd2130;
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeOut {
    animation-name: fadeOut;
}

.animate__shakeX {
    animation-name: shakeX;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes shakeX {
    from, to {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-10px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(10px);
    }
}

.contact-card {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #3a86ff, #5e60ce);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: #fff;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
}

.contact-card-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-social {
    margin-top: 40px;
}

.contact-social h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
    color: #fff;
    position: relative;
    padding-bottom: 15px;
}

.contact-social h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-pill);
}

.contact-social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(45deg, #3a86ff, #5e60ce);
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(58, 134, 255, 0.3);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group-prepend {
    display: flex;
    margin-right: -1px;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background: rgba(58, 134, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px 0 0 10px;
}

.input-group-text i {
    font-size: 1.1rem;
    color: #3a86ff;
}

.input-group .form-control {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
    border-left: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 15px;
}

.input-group .form-control:focus ~ .input-group-prepend .input-group-text {
    border-color: var(--primary-color);
}

.d-none {
    display: none !important;
}

.text-right {
    text-align: right !important;
}

.mb-3 {
    margin-bottom: 15px !important;
}

textarea.form-control {
    height: auto;
    min-height: 150px;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.input-group-prepend + textarea.form-control {
    border-left: 0;
}

/*--------------------------------------------------------------
# Formulário de Contato
--------------------------------------------------------------*/
.contact-section {
    background-color: var(--darker-color);
    padding: var(--spacing-4xl) 0;
}

.contact-form-container {
    background-color: rgba(15, 18, 33, 0.8);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-container h3 {
    margin-bottom: var(--spacing-xl);
    text-align: center;
    color: var(--lighter-color);
    font-size: var(--font-size-2xl);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.contact-input-icon {
    position: absolute;
    left: 16px;
    top: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.contact-input {
    background-color: #1a1f36;
    border: 1px solid #292f45;
    color: var(--lighter-color);
    padding: 15px 15px 15px 50px;
    border-radius: var(--border-radius-md);
    height: auto;
    font-size: var(--font-size-md);
    transition: all var(--transition-normal);
}

.contact-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 134, 255, 0.25);
    background-color: #212740;
}

textarea.contact-input {
    min-height: 150px;
    resize: vertical;
}

.char-counter {
    text-align: right;
    color: #8c8fa3;
    font-size: var(--font-size-sm);
}

.contact-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    color: white;
    font-weight: var(--font-weight-medium);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.contact-btn i {
    margin-left: 8px;
}