/* ===== GENERAL ===== */

body {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #f8fafc;
    font-family: 'Segoe UI', sans-serif;
    min-height: 100vh;
}

/* ===== HERO ===== */

.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero img {
    width: 220px;
    height: 220px;
    object-fit: cover;

    border-radius: 50%;
    border: 4px solid #60a5fa;

    box-shadow:
        0 0 25px rgba(96, 165, 250, .5),
        0 0 50px rgba(96, 165, 250, .2);

    transition: .3s;
}

.hero img:hover {
    transform: scale(1.05);
}

.hero h1 {
    margin-top: 25px;
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    color: #cbd5e1;
    font-size: 1.2rem;
}

/* ===== BOTONES ===== */

.btn {
    border-radius: 50px;
    padding: 12px 25px;
    font-weight: 600;
    transition: .3s;
}

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

/* ===== TARJETAS ===== */

.card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 20px;

    color: white;

    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2,
.card h5 {
    color: #60a5fa;
}

/* ===== ACCORDION ===== */

.accordion-item {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(15px);

    border-radius: 15px !important;
    overflow: hidden;

    border: none;

    margin-bottom: 12px;
}

.accordion-button {
    background: transparent;
    color: white;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: rgba(96,165,250,.2);
    color: #60a5fa;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: transparent;
    color: #cbd5e1;
}

.accordion-body ul {
    margin: 0;
}

/* ===== PROYECTOS ===== */

.project-card {
    transition: .3s;
}

.project-card:hover {
    transform: translateY(-8px);
}

/* ===== TITULOS ===== */

h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

/* ===== FOOTER ===== */

footer {
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
}

/* ===== SCROLL ===== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #60a5fa;
    border-radius: 10px;
}

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

@media(max-width:768px){

    .hero h1{
        font-size:2rem;
    }

    .hero img{
        width:160px;
        height:160px;
    }

}