/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2e00f9;
    --secondary-color: #f9004d;
    --dark-color: #191919;
    --darker-color: #000000;
    --light-color: #ffffff;
    --gray-color: #e2b9c6;
    --accent-color: #4200f9;
    --text-color: #f5f5f5;
    --success-color: #4CAF50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196F3;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --section-padding: 80px 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Josefin Sans', sans-serif;
    background-color: var(--darker-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader-square {
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    animation: loader-animation 1.2s infinite ease-in-out;
}

.loader-square:nth-child(2) {
    animation-delay: -0.3s;
}

.loader-square:nth-child(3) {
    animation-delay: -0.6s;
}

.loader-square:nth-child(4) {
    animation-delay: -0.9s;
}

@keyframes loader-animation {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(46, 0, 249, 0.2);
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-color);
}

.logo-highlight {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-color);
    margin: 5px 0;
    transition: var(--transition);
}

.menu-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--light-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: rgba(46, 0, 249, 0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('./img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 10px;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-role {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 20px;
    min-height: 2.5rem;
}

.typewriter {
    color: var(--secondary-color);
    position: relative;
    font-weight: 600;
}

.typewriter::after {
    content: '|';
    position: absolute;
    right: -5px;
    color: var(--secondary-color);
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(46, 0, 249, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-color);
    border-color: var(--light-color);
}

.btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--darker-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-success {
    background-color: var(--success-color);
    color: var(--light-color);
}

.btn-success:hover {
    background-color: #3d8b40;
    transform: translateY(-3px);
}

.hero-image {
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    position: relative;
    z-index: 2;
    box-shadow: 0 0 30px rgba(46, 0, 249, 0.3);
}

.image-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.image-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: 1;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(46, 0, 249, 0.3);
}

.decoration-circle:nth-child(1) {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.decoration-circle:nth-child(2) {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
}

.decoration-circle:nth-child(3) {
    top: 20%;
    left: 20%;
    width: 60%;
    height: 60%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-link {
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--light-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

.scroll-text {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== SECTION STYLES ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    margin-bottom: 20px;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.badge-text {
    font-weight: 600;
    font-size: 1.1rem;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--light-color);
}

.about-text p {
    color: var(--gray-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.skills-list {
    list-style: none;
    margin-bottom: 30px;
}

.skills-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-color);
}

.skills-list i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.skills-list strong {
    color: var(--light-color);
    margin-right: 5px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: rgba(46, 0, 249, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(46, 0, 249, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(46, 0, 249, 0.2);
    border-color: var(--primary-color);
}

.stat-item h4 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.contact-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ===== SKILLS SECTION ===== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(46, 0, 249, 0.25), 0 0 0 1px rgba(46, 0, 249, 0.4);
    background-color: rgba(46, 0, 249, 0.07);
}

.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.skill-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.skill-progress {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-bar span {
    position: absolute;
    right: 10px;
    top: -25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--light-color);
}

/* ===== PROJECTS SECTION ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-screenshot {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.val-project {
    background-image: url('./img/valsalgados_project.png');
}

.agua-project {
    background-image: url('./img/agua_project.png');
}

.wellison-project {
    background-image: url('./img/castrapet_project.png');
}

.project-card:hover .project-screenshot {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 0, 249, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--darker-color);
    color: var(--light-color);
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--success-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.project-content p {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: rgba(46, 0, 249, 0.2);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

/* GitHub Stats */
.github-stats {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.github-stats h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--light-color);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    padding: 20px;
    background-color: rgba(46, 0, 249, 0.1);
    border-radius: var(--border-radius);
    border: 1px solid rgba(46, 0, 249, 0.2);
}

.stat i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.stat p {
    color: var(--gray-color);
    font-size: 1.5rem;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(46, 0, 249, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--light-color);
}

.contact-text p {
    color: var(--gray-color);
}

.contact-social h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--light-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* ===== FORMULÁRIO DE CONTATO ===== */
.contact-form {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--light-color);
}

.contact-form>p {
    color: var(--gray-color);
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--light-color);
    font-size: 1rem;
    font-family: 'Josefin Sans', sans-serif;
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(46, 0, 249, 0.05);
}

.form-group label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: var(--gray-color);
    font-size: 1rem;
    transition: var(--transition);
    pointer-events: none;
    padding: 0 5px;
    background-color: transparent;
}

.form-group input:focus+label,
.form-group textarea:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.9rem;
    color: var(--primary-color);
    background-color: var(--darker-color);
}

/* Mensagens do formulário */
.form-message {
    padding: 12px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(76, 175, 80, 0.3);
    display: block;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(244, 67, 54, 0.3);
    display: block;
}

/* Botão desabilitado */
#submit-btn:disabled {
    background-color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

#submit-btn:disabled:hover {
    background-color: #666;
    transform: none;
    box-shadow: none;
}

/* Mensagens de erro */
.error-message {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-group input.error,
.form-group textarea.error {
    border-color: var(--error-color) !important;
}

.form-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-note {
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.form-note i {
    color: var(--success-color);
}

.contact-alternatives {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.alternative-title {
    color: var(--gray-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.alternative-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ALERTAS GLOBAIS ===== */
.global-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 10px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: alertSlideIn 0.3s ease;
    max-width: 400px;
    min-width: 300px;
    color: white;
}

.alert-success {
    background: var(--success-color);
}

.alert-error {
    background: var(--error-color);
}

.alert-warning {
    background: var(--warning-color);
}

.alert-info {
    background: var(--info-color);
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.alert-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.alert-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes alertSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes alertSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ===== FOOTER ===== */
.footer {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(46, 0, 249, 0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 20px;
}

.footer-text {
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--gray-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    width: 50px;
    height: 50px;
    background-color: rgba(46, 0, 249, 0.1);
    color: var(--light-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.3rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom i {
    color: var(--secondary-color);
    margin: 0 5px;
}

.footer-version {
    color: rgba(226, 185, 198, 0.6);
    font-size: 0.8rem;
}

/* ===== EXPERIENCE / TIMELINE SECTION ===== */
.experience-section {
    background: linear-gradient(180deg, var(--darker-color) 0%, rgba(10, 5, 30, 1) 100%);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--primary-color), var(--secondary-color), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 40px);
    position: relative;
    margin-bottom: 50px;
}

.timeline-item.right {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 40px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 24px;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px rgba(46, 0, 249, 0.2), 0 0 20px rgba(46, 0, 249, 0.5);
    z-index: 2;
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    box-shadow: 0 0 0 6px rgba(46, 0, 249, 0.3), 0 0 30px rgba(46, 0, 249, 0.8);
    transform: translateX(-50%) scale(1.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 28px 30px;
    max-width: 380px;
    transition: var(--transition);
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 28px;
    width: 20px;
    height: 2px;
    background: var(--primary-color);
    right: -20px;
}

.timeline-item.right .timeline-content::before {
    right: auto;
    left: -20px;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-4px);
    border-color: rgba(46, 0, 249, 0.4);
    box-shadow: 0 15px 40px rgba(46, 0, 249, 0.15);
    background: rgba(46, 0, 249, 0.06);
}

.timeline-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    background: rgba(46, 0, 249, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--light-color);
    margin-bottom: 6px;
}

.timeline-content h4 {
    font-size: 0.9rem;
    color: var(--gray-color);
    font-weight: 400;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-content h4 i {
    color: var(--secondary-color);
}

.timeline-content p {
    color: var(--gray-color);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.timeline-tags span {
    background: rgba(46, 0, 249, 0.15);
    color: var(--primary-color);
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(46, 0, 249, 0.25);
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .github-stats {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-role {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        gap: 0;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        padding: 15px 0;
        justify-content: center;
        font-size: 1.3rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-form {
        padding: 30px 20px;
    }

    .global-alert {
        min-width: 250px;
        max-width: 90%;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    /* Timeline responsive */
    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.right {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 55px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }

    .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        right: auto;
        left: -20px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-role {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .alternative-buttons {
        flex-direction: column;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}