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

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
}

body {
    min-height: 100vh;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #000000;
    background-image: url("https://img.freepik.com/vector-gratis/fondo-empresarial-moderno-diseno-tecnologia-digital_1361-3299.jpg?semt=ais_hybrid&w=740&q=80");
    background-size: cover;
    background-attachment: fixed;
    color: #fafafa;
    line-height: 1.6;
}

.top-bar {
    background: linear-gradient(90deg, #1c0de6, #05bdae);
    color: rgb(7, 255, 214);
    text-align: center;
    padding: 2rem 1rem;
    font-size: 1.8rem;
    font-weight: bold;
}

.top-bar h1 {
    font-size: 2rem;
    color: rgb(7, 255, 214);
}

.navbar {
    background-color: #48cff5;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgb(10, 36, 237);
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-list li a {
    display: block;
    padding: 1.2rem 0.8rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: rgb(4, 252, 244);
    background-color: #289fee;
    border-radius: 6px 6px 0 0;
}

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

.hero-section {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #00f2ff;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-section h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.hero-section p {
    color: #cbd5e1;
    font-size: 1.1rem;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 3rem;
}

.galeria-item {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid #334155;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 242, 255, 0.3);
    border-color: #00f2ff;
}

.galeria-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.galeria-item figcaption {
    padding: 15px;
}

.galeria-item h3 {
    color: #00f2ff;
    font-size: 1rem;
    margin-bottom: 5px;
}

.galeria-item p {
    color: #94a3b8;
    font-size: 0.85rem;
}

.back-to-top-wrapper {
    height: 20vh;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.scroll-top-btn {
    position: sticky;
    bottom: 30px;
    width: 60px;
    height: 60px;
    background-color: #3b82f6;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.9rem;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.scroll-top-btn:hover {
    background-color: #003d82;
    transform: scale(1.15) rotate(-5deg);
}

.main-footer {
    background-color: #0f172a;
    border-top: 3px solid #ff00ff;
    padding: 40px 20px;
    margin-top: 50px;
    width: 100%;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
}

.footer-brand h3, .footer-links h4, .footer-team h4 {
    color: #00f2ff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: bold;
}

.main-footer p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .nav-list {
        gap: 0.5rem;
    }
    .nav-list li a {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }
    .hero-section h2 {
        font-size: 1.5rem;
    }
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
    }
}
