/* Skills cards styled to match Experience/Education */

#about .row.py-5,
#experience .row.py-5,
#education .row.py-5 {
    padding-top: 0.5rem !important;
}

#about .skills-title {
    margin-top: 0.2rem;
    margin-bottom: 2rem;
}

#skills-grid .card,
#skills-grid .card * {
    background-color: var(--secondary-color) !important;
}

#skills-grid .card {
    border-radius: 1.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
    border: 2px solid var(--text-secondary-color) !important;
    transition: transform 0.2s;
}

#skills-grid .card .card-body {
    border-radius: 1.5rem;
    padding: 1.25rem 1.5rem;
}

#skills-grid .card:hover {
    transition: 0.3s;
    box-shadow: 0 4px 11px rgb(15 80 100 / 16%);
    border: 2px solid var(--primary-color) !important;
}

#skills-grid .card .card-title {
    color: var(--text-color) !important;
    margin-bottom: 0;
}

#skills-grid .card ul {
    display: block;
    padding: 0;
    margin: 0.5rem 0 0 0;
    list-style: none;
}

#skills-grid .card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 4px;
}

#skills-grid .card ul li::before {
    content: "▹";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Patents section styled to match Experience/Education */

#patents .container > h3 {
    color: var(--text-secondary-color) !important;
}

#patents .card,
#patents .card * {
    background-color: var(--secondary-color) !important;
}

#patents .card {
    border-radius: 1.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
    border: 2px solid var(--text-secondary-color) !important;
    transition: transform 0.2s;
}

#patents .card .card-body {
    border-radius: 1.5rem;
    padding: 2rem;
}

@media all and (max-width:768px) {
    #patents .card .card-body {
        padding: 2rem 1rem;
    }
}

#patents .card:hover {
    transition: 0.3s;
    box-shadow: 0 4px 11px rgb(15 80 100 / 16%);
    border: 2px solid var(--primary-color) !important;
}

#patents .row.py-5 {
    padding-top: 0.5rem !important;
}

/* Experience section styled to match Education */

#experience .container > h3 {
    color: var(--text-secondary-color) !important;
}

#experience .card,
#experience .card * {
    background-color: var(--secondary-color) !important;
}

#experience .card {
    border-radius: 1.5rem;
    box-shadow: 0px 8px 56px rgb(15 80 100 / 16%);
    border: 2px solid var(--text-secondary-color) !important;
    transition: box-shadow .2s linear, opacity .2s linear;
    transition: transform 0.2s;
}

#experience .card .card-body {
    border-radius: 1.5rem;
    padding: 2rem;
}

@media all and (max-width:768px) {
    #experience .card .card-body {
        padding: 2rem 1rem;
    }
}

#experience .card:hover {
    transition: 0.3s;
    box-shadow: 0 4px 11px rgb(15 80 100 / 16%);
    border: 2px solid var(--primary-color) !important;
}

#experience .card .card-body > a h6 {
    display: inline-block;
    text-decoration: none;
    color: var(--text-link-color) !important;
}

#experience .card .card-body > a h6::after {
    content: "";
    display: block;
    width: 0px;
    height: 2px;
    bottom: 0.37em;
    background-color: var(--primary-color);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
    opacity: 0.5;
}

#experience .card .card-body > a h6:hover::after,
#experience .card .card-body > a h6:focus::after,
#experience .card .card-body > a h6:active::after {
    width: 100%;
}
