/* RESET */

* {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}

html {

    scroll-behavior: smooth;
}

body {

    font-family: 'Orbitron', sans-serif;

    background:
        linear-gradient(
            180deg,
            #050816,
            #0f172a,
            #020617
        );

    color: #e2e8f0;

    overflow-x: hidden;

    position: relative;
}

/* NAVBAR */

.navbar {

    position: fixed;

    top: 0;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 50px;

    background: rgba(15,23,42,0.7);

    backdrop-filter: blur(12px);

    z-index: 999;
}

.logo {

    font-size: 28px;
    font-weight: 900;

    color: #38bdf8;

    text-shadow:
        0 0 10px #38bdf8;
}

.navbar ul {

    display: flex;

    gap: 25px;

    list-style: none;
}

.navbar a {

    color: white;

    text-decoration: none;

    transition: 0.3s;
}

.navbar a:hover {

    color: #38bdf8;
}

/* HERO */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
}

.hero-background {

    position: absolute;

    inset: 0;

    background-image:
        url("https://ucsp.edu.pe/wp-content/uploads/2023/08/universidad-catolica-san-pablo-1.jpg");

    background-size: cover;
    background-position: center;

    transform: scale(1.05);

    animation:
        heroZoom 20s ease-in-out infinite alternate;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(2,6,23,0.8),
            rgba(2,6,23,0.92)
        );
}

.hero-content {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 80px;

    padding: 120px 40px;

    max-width: 1400px;
}

.hero-text {

    max-width: 700px;
}

.hero-mini {

    color: #38bdf8;

    margin-bottom: 20px;

    letter-spacing: 2px;
}

.hero-text h1 {

    font-size: 68px;

    line-height: 1.1;

    margin-bottom: 25px;
}
.location-link{
    color: #8d9497;

    text-decoration: none;

    border-bottom: 1px solid transparent;

    transition: 0.3s;

}
.location-link:hover {

    color: #38bdf8;

    border-bottom: 1px solid #38bdf8;
}
.subtitle {

    font-size: 28px;

    color: #38bdf8;

    margin-bottom: 15px;
}

.location {

    color: #94a3b8;

    margin-bottom: 25px;
}

.hero-description {

    line-height: 1.9;

    color: #cbd5e1;

    margin-bottom: 35px;
}

.hero-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-bottom: 40px;
}

.hero-tags span {

    padding: 12px 20px;

    border-radius: 30px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(56,189,248,0.2);

    color: #38bdf8;
}

/* FOTO */

.perfil {

    width: 320px;

    border-radius: 24px;

    border: 2px solid rgba(56,189,248,0.3);

    box-shadow:
        0 0 40px rgba(56,189,248,0.25);

    transition: 0.4s;
}

.perfil:hover {

    transform:
        translateY(-8px)
        scale(1.05);
}

/* BUTTON */

#contactBtn {

    padding: 16px 34px;

    border: none;

    border-radius: 14px;

    background: #38bdf8;

    color: #020617;

    font-family: 'Orbitron', sans-serif;

    cursor: pointer;

    transition: 0.3s;
}

#contactBtn:hover {

    transform: scale(1.08);

    box-shadow:
        0 0 25px #38bdf8;
}

/* SECTIONS */

section {

    padding: 120px 40px;
}

section h2 {

    font-size: 48px;

    color: #38bdf8;

    text-align: center;

    margin-bottom: 50px;
}

/* ABOUT */

.about-card {

    max-width: 1300px;

    margin: auto;

    display: flex;

    align-items: center;

    gap: 60px;

    padding: 40px;

    border-radius: 28px;

    background: rgba(255,255,255,0.03);

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

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 30px rgba(56,189,248,0.08);
}

.about-image img {

    width: 480px;

    border-radius: 24px;
}

.about-text {

    flex: 1;
}

.about-text h2 {

    font-size: 52px;

    margin-bottom: 30px;

    color: #38bdf8;
}

.about-text p {

    line-height: 2;

    text-align: justify;

    margin-bottom: 20px;

    color: #cbd5e1;
}

/* EXPERIENCE */

.experience-card {

    max-width: 1100px;

    margin: auto;

    padding: 50px;

    border-radius: 28px;

    background: rgba(255,255,255,0.03);

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

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 30px rgba(56,189,248,0.08);
}

.experience-card ul {

    display: flex;

    flex-direction: column;

    gap: 20px;

    padding-left: 20px;
}

.experience-card li {

    line-height: 1.8;

    color: #cbd5e1;
}

/* SKILLS */

.skills-container,
.courses-container,
.friends-container,
.teachers-container {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 25px;
}

.skill-box,
.course-card,
.friend-card,
.teacher-card {

    padding: 25px 35px;

    border-radius: 18px;

    background: rgba(255,255,255,0.03);

    border: 1px solid rgba(56,189,248,0.15);

    transition: 0.3s;

    color: white;

    text-decoration: none;
}

.skill-box:hover,
.course-card:hover,
.friend-card:hover,
.teacher-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        0 0 25px rgba(56,189,248,0.25);
}

/* FOOTER */

footer {

    padding: 80px 20px;

    text-align: center;

    border-top:
        1px solid rgba(255,255,255,0.08);
}

footer h3 {

    color: #38bdf8;

    margin-bottom: 25px;
}

footer p {

    margin-bottom: 12px;

    color: #cbd5e1;
}

.socials {

    margin-top: 25px;

    display: flex;

    justify-content: center;

    gap: 25px;
}

.socials a {

    color: white;

    text-decoration: none;
}

.socials a:hover {

    color: #38bdf8;
}

/* STARS */

.stars,
.stars2 {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -1;
}

.stars {

    background-image:
        radial-gradient(white 1px, transparent 1px);

    background-size: 50px 50px;

    opacity: 0.08;

    animation:
        starsMove 120s linear infinite;
}

.stars2 {

    background-image:
        radial-gradient(#38bdf8 1px, transparent 1px);

    background-size: 120px 120px;

    opacity: 0.04;

    animation:
        starsMove2 180s linear infinite;
}

/* ANIMATIONS */

.hidden {

    opacity: 0;

    transform:
        translateY(80px)
        scale(0.96);

    filter: blur(8px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease,
        filter 0.9s ease;
}

.show {

    opacity: 1;

    transform:
        translateY(0px)
        scale(1);

    filter: blur(0px);
}

/* KEYFRAMES */

@keyframes heroZoom {

    from {

        transform:
            scale(1.05);
    }

    to {

        transform:
            scale(1.12);
    }
}

@keyframes starsMove {

    from {

        transform: translateY(0px);
    }

    to {

        transform: translateY(-1000px);
    }
}

@keyframes starsMove2 {

    from {

        transform: translateX(0px);
    }

    to {

        transform: translateX(-1000px);
    }
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .hero-content,
    .about-card {

        flex-direction: column;

        text-align: center;
    }

    .about-text p {

        text-align: center;
    }

    .hero-text h1 {

        font-size: 46px;
    }

    .perfil {

        width: 240px;
    }

    .about-image img {

        width: 100%;
    }

    .navbar {

        flex-direction: column;

        gap: 20px;
    }

    .navbar ul {

        flex-wrap: wrap;

        justify-content: center;
    }
}