@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Floating Navigation */
.floating-nav {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    color: #999;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-icon {
    display: none !important;
}

.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.active .nav-text {
    color: #fff;
}

/* Partículas de fondo para secciones inferiores */
.background-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.particle-bg {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 255, 159, 0.6);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle 8s infinite ease-in-out;
}

.particle-bg:nth-child(odd) {
    background: rgba(255, 255, 255, 0.4);
    animation-duration: 12s;
}

.particle-bg:nth-child(3n) {
    background: rgba(0, 200, 255, 0.5);
    animation-duration: 10s;
    width: 3px;
    height: 3px;
}

.particle-bg:nth-child(4n) {
    background: rgba(255, 100, 200, 0.4);
    animation-duration: 15s;
    width: 2px;
    height: 2px;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90vh) translateX(10px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(50vh) translateX(-20px) scale(1.2);
    }
    90% {
        opacity: 0.3;
        transform: translateY(10vh) translateX(15px) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) translateX(0) scale(0);
    }
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0 6rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-social-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.footer-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    background: rgba(0, 255, 159, 0.1);
    border: 1px solid rgba(0, 255, 159, 0.3);
    border-radius: 12px;
    color: #00ff9f;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer-contact-btn:hover {
    background: rgba(0, 255, 159, 0.2);
    border-color: rgba(0, 255, 159, 0.5);
    transform: translateY(-2px);
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .floating-nav {
        left: 1rem;
        padding: 0.8rem 0;
    }
    
    .nav-link {
        padding: 0.7rem 1rem;
    }
}

/* Botón FAB de navegación - oculto en desktop */
.nav-fab {
    display: none;
}

@media (max-width: 768px) {
    /* Ocultar nav por defecto en móvil, mostrar con clase .open */
    .floating-nav {
        left: 1.25rem;
        right: auto;
        top: auto;
        bottom: 5.5rem;
        transform: translateY(20px);
        padding: 0.5rem;
        border-radius: 20px;
        width: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .floating-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0.25rem;
    }

    .nav-icon {
        display: block !important;
        font-size: 1.1rem;
        min-width: 1.2rem;
        text-align: center;
    }

    .nav-text {
        display: block !important;
        font-size: 0.85rem;
        margin-left: 0.75rem;
    }

    .nav-link {
        padding: 0.7rem 1rem;
        min-width: unset;
        justify-content: flex-start;
    }

    .nav-link:hover {
        transform: translateX(4px);
    }

    /* Botón FAB visible en móvil */
    .nav-fab {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: calc(1.25rem - 4px);
        left: 1.25rem;
        width: 64px;
        height: 64px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        color: #fff;
        font-size: 1.3rem;
        cursor: pointer;
        z-index: 101;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }

    .nav-fab:active {
        transform: scale(0.92);
    }

    .nav-fab.open {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .nav-fab-icon {
        transition: transform 0.3s ease;
    }

    .nav-fab.open .nav-fab-icon {
        transform: rotate(90deg);
    }
}

/* Grid Background Animado */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.grid-background.active {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-right {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero-image {
    position: relative;
    margin-bottom: 0;
}

.photo-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: -1;
    filter: blur(15px);
}

.hero-image:hover .photo-glow {
    opacity: 1;
}

.hero-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #ccc;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}


.hero-badge {
    display: inline-flex;
    align-self: flex-start;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.4rem 1rem;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-photo {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 2px 0 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
}

.profile-photo::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.1) 100%
    );
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.profile-photo:hover {
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 3px 0 0 rgba(255, 255, 255, 0.15);
}

.profile-photo:hover::before {
    opacity: 1;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.role-chip {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
    transition: all 0.3s ease;
}

.role-chip.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.role-chip:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.hero-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.hero-location i {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.hero-experience {
    margin-bottom: 2rem;
}

.experience-text {
    font-size: 1rem;
    color: #aaa;
    font-weight: 400;
    padding: 0.5rem 0;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: flex-start;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ccc;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Social Links Colors */
.social-link.linkedin:hover {
    background: rgba(0, 119, 181, 0.2);
    border-color: rgba(0, 119, 181, 0.4);
    color: #0077b5;
}

.social-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.social-link.github:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.social-link.email:hover {
    background: rgba(234, 67, 53, 0.2);
    border-color: rgba(234, 67, 53, 0.4);
    color: #ea4335;
}

.cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid;
    background: #000;
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.cta-primary {
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cta-primary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    outline-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.cta-secondary {
    border-color: rgba(255, 255, 255, 0.1);
    color: #ccc;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-secondary:hover {
    border-color: rgba(255, 255, 255, 0.2);
    outline-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    transform: translateY(-2px);
}

.n8n-link {
    display: inline-flex;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-left {
        flex: none;
        align-items: center;
    }
    
    .hero-right {
        order: -1;
    }
    
    .hero-badge {
        align-self: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-primary, .cta-secondary {
        width: 200px;
        justify-content: center;
    }
}

/* Carrusel de Tecnologías */
.tech-carousel-section {
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.tech-carousel {
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.tech-track {
    display: flex;
    align-items: center;
    animation: scroll-infinite 30s linear infinite;
    gap: 4.5rem;
    white-space: nowrap;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.tech-item:hover {
    transform: translateY(-3px);
}

.tech-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.tech-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(1) opacity(0.8);
}

.tech-icon img[alt="Ollama"] {
    filter: brightness(0.8) opacity(0.9);
}

.tech-icon img[alt="OpenAI"] {
    filter: grayscale(1) opacity(0.8);
}

.tech-item:hover .tech-icon {
    color: #fff;
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.tech-item:hover .tech-icon img {
    filter: grayscale(1) brightness(0) invert(1) opacity(1);
    transform: scale(1.1);
}

.tech-item:hover .tech-icon img[alt="Ollama"] {
    filter: brightness(1) opacity(1);
    transform: scale(1.1);
}

.tech-item:hover .tech-icon img[alt="OpenAI"] {
    filter: grayscale(1) opacity(1);
    transform: scale(1.1);
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.tech-item:hover span {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tech-carousel-section {
        padding: 4rem 0;
    }
    
    .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 30px;
    }
    
    .tech-icon img {
        width: 32px;
        height: 32px;
    }
    
    .tech-item span {
        font-size: 0.8rem;
    }
    
    .tech-track {
        gap: 2rem;
    }
}


/* Sections */
.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: #fff;
}

.skills-section, .projects-section {
    margin: 8rem 0;
}

/* Tech Search Styles */
.tech-search-container {
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #999;
    font-size: 0.9rem;
    z-index: 2;
    pointer-events: none;
}

.tech-search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem 3rem 1rem 3rem;
    font-size: 0.95rem;
    font-weight: 400;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.tech-search-input::placeholder {
    color: #999;
}

.tech-search-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 159, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 255, 159, 0.1);
}

.clear-search-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.clear-search-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.search-results-info {
    text-align: center;
    margin-top: 1rem;
}

#resultsCount {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
}

/* No Results Message */
.no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #999;
    display: none;
}

.no-results-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-results-message h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.no-results-message p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.skill-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.skill-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Material Icons';
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.skill-card p {
    color: #999;
    line-height: 1.5;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.project-card * {
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.project-card:focus,
.project-card *:focus {
    outline: none !important;
}

.project-year,
.project-title,
.project-description,
.project-tech {
    pointer-events: none;
}

.tech-tag {
    pointer-events: none;
}

.more-tech {
    pointer-events: auto !important;
}

.project-links {
    pointer-events: auto;
    position: relative;
    z-index: 5;
}

.project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.02), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.project-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}


.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #333;
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.more-tech {
    background: rgba(0, 255, 159, 0.2) !important;
    border: 1px solid rgba(0, 255, 159, 0.4);
    color: #00ff9f !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.more-tech:hover {
    background: rgba(0, 255, 159, 0.3) !important;
    border-color: #00ff9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 159, 0.3);
}

.more-tech:active {
    transform: translateY(0px);
    background: rgba(0, 255, 159, 0.4) !important;
}

.project-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-main-image {
    margin: 1.5rem 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-main-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-main-image:hover img {
    transform: scale(1.02);
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.project-year {
    color: #999;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-link {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.project-link:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.primary-link {
    background: rgba(0, 255, 159, 0.1);
    border-color: rgba(0, 255, 159, 0.3);
    color: #00ff9f;
}

.primary-link:hover {
    background: rgba(0, 255, 159, 0.2);
    border-color: #00ff9f;
    color: #fff;
}

.secondary-link {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); opacity: 0; }
}

/* Timeline Section */
.timeline-section {
    margin: 8rem 0;
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(255, 255, 255, 0.1) 100%
    );
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-items {
    position: relative;
    z-index: 2;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 3rem);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.4s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -24px;
    border-left-color: rgba(255, 255, 255, 0.08);
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -24px;
    border-right-color: rgba(255, 255, 255, 0.08);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.timeline-year {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid;
    z-index: 3;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.timeline-company {
    color: #999;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-title {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.timeline-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.timeline-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-tech-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(60px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-overlay.show .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #ccc;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: scale(1.1);
}

.modal-content {
    padding: 2rem;
}

.modal-subtitle {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}

.modal-text {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.modal-text strong {
    color: #fff;
    font-weight: 600;
}

/* Carousel Styles */
.project-carousel {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.1);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 1rem;
}

.carousel-btn.next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: #00ff9f;
    transform: scale(1.2);
}

/* Tech Tooltip */
.tech-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all 0.2s ease;
    max-width: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.tech-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.tech-tooltip-content {
    text-align: left;
}

.tech-tooltip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-start;
}

.tech-tooltip-item {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline-line {
        left: 2rem;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 5rem;
        padding-right: 1rem;
    }
    
    .timeline-content::before {
        top: 2rem;
        left: -24px !important;
        right: auto !important;
        border: 12px solid transparent;
        border-right-color: rgba(255, 255, 255, 0.08) !important;
        border-left-color: transparent !important;
    }
    
    .timeline-item {
        display: flex;
        flex-direction: column;
    }

    .timeline-year {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        margin-bottom: 0.75rem;
        display: inline-block;
        align-self: flex-start;
        order: -1;
    }
    
    .timeline-title {
        font-size: 1.2rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 1rem;
    }
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: pointer;
    animation: fadeIn 0.2s ease;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-close:hover {
    color: #00bcd4;
}

/* Hackathones */
.hackathons-section {
    padding: 4rem 0;
}

.hackathon-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hackathon-card + .hackathon-card {
    margin-top: 3rem;
}

.hackathon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hackathon-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.hackathon-badge i {
    color: #00bcd4;
    font-size: 1.4rem;
}

.hackathon-icon {
    height: 64px;
    width: auto;
    object-fit: contain;
}

.hackathon-icon--lg {
    height: 96px;
}

.award-icon-img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.hackathon-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.9rem;
}

.hackathon-award {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 100px;
    padding: 0.6rem 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #ffd700;
}

.award-icon {
    font-size: 1.2rem;
}

.hackathon-text {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.hackathon-text strong {
    color: #fff;
}

/* Collage Grid */
.collage-wrapper {
    position: relative;
    margin-top: 2rem;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
    max-height: 280px;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.collage-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, rgba(10, 10, 14, 0) 0%, rgba(10, 10, 14, 0.55) 55%, rgba(10, 10, 14, 0.92) 100%);
    pointer-events: none;
    border-radius: 0 0 16px 16px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.collage-wrapper.expanded::after,
.collage-wrapper.no-overflow::after {
    opacity: 0;
}

.collage-wrapper.no-overflow .collage-grid {
    max-height: none;
}

.collage-expand {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.4rem;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
    z-index: 2;
}

.collage-expand:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.collage-expand i {
    transition: transform 0.4s ease;
    font-size: 0.8rem;
}

.collage-wrapper.expanded .collage-expand i {
    transform: rotate(180deg);
}

.collage-item {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    cursor: zoom-in;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
    filter: brightness(0.85);
}

.collage-item:hover img {
    transform: scale(1.08);
    filter: brightness(1);
}

.collage-large {
    grid-column: span 2;
    grid-row: span 2;
}

.collage-tall {
    grid-row: span 2;
}

.collage-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        max-height: 235px;
    }

    .hackathon-badge {
        font-size: 1rem;
    }

    .hackathon-card {
        padding: 1.5rem;
    }
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.contact-container {
    width: 100%;
    max-width: 600px;
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.contact-back:hover {
    color: #fff;
}

.contact-header {
    margin-bottom: 2.5rem;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.contact-subtitle {
    color: #999;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.contact-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #ccc;
}

.form-optional {
    color: #666;
    font-weight: 400;
}

.form-input {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #555;
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: #151515;
}

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

.form-error {
    color: #ef4444;
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.submit-loading {
    display: none;
    align-items: center;
    gap: 0.6rem;
}

.form-submit.loading .submit-text,
.form-submit.loading .submit-icon {
    display: none;
}

.form-submit.loading .submit-loading {
    display: inline-flex;
}

.form-submit.loading {
    opacity: 0.7;
    pointer-events: none;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-actions .social-links {
    margin: 0;
}

@media (max-width: 768px) {
    .contact-page {
        padding: 1.5rem;
        align-items: flex-start;
        padding-top: 3rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-submit {
        width: 100%;
    }

    .form-actions .social-links {
        justify-content: center;
    }
}