/* =================================
   SKILLS PAGE
================================= */

.skills-header {
    padding: 75px 7% 55px;
    background: #f7f3ee;
}

.skills-header-inner {
    max-width: 1080px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 60px;
}

.skills-label {
    margin-bottom: 16px;
    color: #b06c83;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 3px;
}

.skills-header h1 {
    max-width: 650px;
    color: #23395d;
    font-family: Georgia, serif;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: normal;
    line-height: 1;
    letter-spacing: -2px;
}

.skills-header h1 span {
    color: #b06c83;
    font-style: italic;
}

.skills-description {
    max-width: 310px;
    margin-bottom: 4px;
    color: #68748a;
    font-size: 13px;
    line-height: 1.7;
}


/* =================================
   SKILL CARDS
================================= */

.skills-section {
    padding: 45px 7% 75px;
    background: #f7f3ee;
}

.skills-grid {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.skill-card {
    height: 285px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(35, 57, 93, 0.12);
}


/* Card colors */

.navy {
    background: #23395d;
    color: #ffffff;
}

.rose {
    background: #d99aaa;
    color: #23395d;
}

.sage {
    background: #a9b8a5;
    color: #23395d;
}

.white {
    background: #ffffff;
    color: #23395d;
    border: 1px solid rgba(35, 57, 93, 0.1);
}

.navy-light {
    background: #354e72;
    color: #ffffff;
}


/* Card top */

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-top span {
    font-family: Georgia, serif;
    font-size: 17px;
    opacity: 0.5;
}

.card-top small {
    font-size: 8px;
    font-weight: bold;
    letter-spacing: 2px;
    opacity: 0.55;
}


/* Card body */

.card-body h2 {
    margin-bottom: 12px;
    font-family: Georgia, serif;
    font-size: 31px;
    font-weight: normal;
    line-height: 0.95;
    letter-spacing: -1px;
}

.card-body h2 em {
    font-style: italic;
}

.card-body p {
    max-width: 270px;
    font-size: 11px;
    line-height: 1.65;
    opacity: 0.68;
}


/* Tags */

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.skill-tags span {
    padding: 6px 9px;
    border: 1px solid currentColor;
    border-radius: 50px;
    font-size: 8px;
    letter-spacing: 0.7px;
    opacity: 0.65;
}


/* Decorative dot */

.card-dot {
    width: 90px;
    height: 90px;
    position: absolute;
    right: -40px;
    bottom: -40px;
    border: 1px solid currentColor;
    border-radius: 50%;
    opacity: 0.08;
}


/* =================================
   CURRENTLY LEARNING
================================= */

.learning-section {
    padding: 65px 7%;
    background: #ffffff;
    border-top: 1px solid rgba(35, 57, 93, 0.08);
    border-bottom: 1px solid rgba(35, 57, 93, 0.08);
}

.learning-inner {
    max-width: 1080px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: center;
}

.learning-title p {
    margin-bottom: 12px;
    color: #b06c83;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 2.5px;
}

.learning-title h2 {
    color: #23395d;
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: normal;
    line-height: 1;
}

.learning-title h2 span {
    display: block;
    color: #b06c83;
    font-style: italic;
}

.learning-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(35, 57, 93, 0.15);
    border-bottom: 1px solid rgba(35, 57, 93, 0.15);
}

.learning-items span {
    min-height: 75px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    color: #23395d;
    font-size: 11px;
}

.learning-items span + span {
    border-left: 1px solid rgba(35, 57, 93, 0.15);
}

.learning-items b {
    color: #b06c83;
    font-size: 8px;
    font-weight: normal;
    letter-spacing: 1px;
}


/* =================================
   MARQUEE
================================= */

.skills-marquee {
    overflow: hidden;
    padding: 19px 0;
    background: #b06c83;
    color: #ffffff;
}

.marquee-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 25px;
    animation: moveSkills 18s linear infinite;
}

.marquee-track span {
    font-family: Georgia, serif;
    font-size: 19px;
    letter-spacing: 2px;
}

.marquee-track i {
    font-size: 10px;
    font-style: normal;
}

@keyframes moveSkills {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =================================
   TABLET
================================= */

@media (max-width: 900px) {

    .skills-header-inner {
        display: block;
    }

    .skills-description {
        margin-top: 25px;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

}


/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .skills-header {
        padding: 60px 7% 45px;
    }

    .skills-header h1 {
        font-size: 48px;
    }

    .skills-section {
        padding: 35px 6% 55px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        height: 265px;
    }

    .learning-section {
        padding: 50px 7%;
    }

    .learning-items {
        grid-template-columns: 1fr;
    }

    .learning-items span + span {
        border-left: none;
        border-top: 1px solid rgba(35, 57, 93, 0.15);
    }

    .learning-items span {
        min-height: 60px;
    }

    .marquee-track span {
        font-size: 17px;
    }

}


/* =================================
   REDUCED MOTION
================================= */

@media (prefers-reduced-motion: reduce) {

    .marquee-track {
        animation: none;
    }

    .skill-card {
        transition: none;
    }
}
.rose-light {
    background: #8da490;
    color: #14356a;
}
