/* /public/css/about.css */

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.about-wrapper,
.about-wrapper *:not(.nav-info-desc) {
    font-family: Arial, sans-serif !important;
}

.about-wrapper {
    --ac: #2bd4c4;
    --ac2: #e0a437;
    --ink: #eef1f6;
    max-width: 750px;
    margin: 40px auto;
    background: linear-gradient(120deg, #2b3040 0%, #363c4e 100%);
    border-radius: 20px;
    box-shadow: 0 6px 36px rgba(84, 116, 241, 0.14);
    padding: 40px 25px 48px 25px;
    text-align: left;
    border: 5px solid #e3e6f1;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 50px !important;
    line-height: 1.5;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    background: #f7f7f7;
}

.main-wrapper {
    flex: 1 0 auto;
}

#footer {
    flex-shrink: 0;
    width: 100%;
}

/* Fade in */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.97);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Decorative blobs (art) */
.about-wrapper::before,
.about-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50% 43% 55% 46%/60% 36% 64% 37%;
    z-index: 0;
}

.about-wrapper::before {
    left: -90px;
    top: -90px;
    width: 180px;
    height: 180px;
    background: radial-gradient(
        circle at 60% 40%,
        #2bd4c4 70%,
        transparent 100%
    );
    opacity: 0.13;
    animation: blob1 8s ease-in-out infinite alternate;
}
@keyframes blob1 {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.15) rotate(13deg);
    }
}
.about-wrapper::after {
    right: -70px;
    bottom: -60px;
    width: 150px;
    height: 150px;
    background: radial-gradient(
        circle at 50% 60%,
        #e0a437 70%,
        transparent 100%
    );
    opacity: 0.1;
    animation: blob2 7s ease-in-out infinite alternate;
}
@keyframes blob2 {
    0% {
        transform: scale(1) rotate(0deg);
    }
    100% {
        transform: scale(1.09) rotate(-19deg);
    }
}

.about-wrapper > * {
    position: relative;
    z-index: 1;
}

h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 28px;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Lede */
.about-wrapper .about-lede {
    color: var(--ink);
    font-size: 1.2em;
    text-align: center;
    margin: 0 0 26px;
    line-height: 1.6;
}
.about-wrapper .about-lede b {
    color: var(--ac);
}

/* Text blocks */
.about-wrapper .about-block {
    color: var(--ink);
    font-size: 1.02em;
    line-height: 1.7;
    margin: 0 0 18px;
}
.about-wrapper .about-block .ac {
    color: var(--ac);
}
.about-wrapper .about-block .ac2 {
    color: var(--ac2);
}

/* Feature list */
.about-wrapper .about-list-title {
    color: var(--ac);
    font-weight: 700;
    font-size: 1.08em;
    margin: 26px 0 12px;
}
.about-wrapper ul.about-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.about-wrapper ul.about-list li {
    color: var(--ink);
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 11px;
    padding-left: 15px;
    position: relative;
}
.about-wrapper ul.about-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ac);
}
.about-wrapper ul.about-list li .ac {
    color: var(--ac);
}

/* Links + contact */
.about-wrapper .about-links {
    text-align: center;
    color: #aeb4c4;
    font-size: 0.98em;
    margin: 26px 0 10px;
}
.about-wrapper .about-links a,
.about-wrapper .about-contact a {
    color: var(--ac);
    text-decoration: none;
}
.about-wrapper .about-links a:hover,
.about-wrapper .about-contact a:hover {
    text-decoration: underline;
}
.about-wrapper .about-contact {
    text-align: center;
    color: #aeb4c4;
    font-size: 0.98em;
}

/* Legacy paragraph fallback */
p {
    color: var(--ink);
    font-size: 1.18em;
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .about-wrapper {
        right: 13px;
        width: 82%;
    }
}

@media (max-width: 450px) {
    .about-wrapper {
        right: 4px;
        width: 82%;
    }
}

@media (max-width: 400px) {
    .about-wrapper {
        width: 80%;
    }
}

@media (max-width: 350px) {
    .about-wrapper {
        width: 75%;
    }
}
