body {
    font-family: sans-serif;
    background: #aebacc;
}

header {
    background-color: #8d9db5;
    margin: -8px -8px 0 -8px;
    position: relative;
    border-radius: 0px 0px 20px 20px;
    min-height: 70px;
    padding: 14px 18px;
    animation: headerReveal 0.9s ease-out;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

header img:first-child {
    animation: logoPulse 3s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.cslogo {
    position: absolute;
    right: 18px;
    top: 14px;
    animation: csFloat 2.2s ease-in-out infinite;
    transition: transform 0.25s ease;
}

.cslogo:hover {
    transform: rotate(10deg) scale(1.08);
}

@keyframes headerReveal {
    from {
        opacity: 0;
        transform: translateY(-18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes csFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

@keyframes logoPulse {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    }
    50% {
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.65));
    }
}

@keyframes whoReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.posac {
    margin-top: 10px;
}

.navbutton1 {
    position: absolute;
    top: 33px;
    right: 250px;
    background-color: #7d93ca;
    padding: 7px;
    text-decoration: none;
    border-radius: 10px;
    color: #000000;
    transition: all 0.3s ease-out;
}

.navbutton1:hover {
    background-color: #8aa1f3;
    padding: 10px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    color: #000000;
    box-shadow: 0 5px 5px 0 rgb(169, 193, 255);
}

.navbutton2 {
    position: absolute;
    top: 33px;
    right: 150px;
    background-color: #7d93ca;
    padding: 7px;
    text-decoration: none;
    border-radius: 10px;
    color: #000000;
    transition: all 0.3s ease-out;
}

.navbutton2:hover {
    background-color: #8aa1f3;
    padding: 10px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 10px;
    color: #000000;
    box-shadow: 0 5px 5px 0 rgb(169, 193, 255);
}

.about-title {
    margin: 0 auto;
    max-width: 900px;
    text-align: center;
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 800;
    color: #16304d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    animation: whoReveal 1.1s ease-out;
}

.aboutavtor {
    animation: whoReveal 1.1s ease-out;
    color: #233a56;
}

.contact-section {
    margin: 40px auto 30px auto;
    max-width: 760px;
    background: #8d9db5;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    animation: whoReveal 1.1s ease-out;
}

.contact-title {
    margin: 0 0 8px 0;
    color: #102741;
    font-size: clamp(26px, 4vw, 34px);
}

.contact-subtitle {
    margin: 0 0 18px 0;
    color: #1e3550;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    color: #0f2238;
    font-weight: 700;
}

.contact-input,
.contact-textarea {
    border: 2px solid #6f84aa;
    border-radius: 10px;
    padding: 10px 12px;
    background: #d9e0ea;
    color: #182d47;
    font-size: 16px;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus,
.contact-textarea:focus {
    border-color: #4f73b7;
    box-shadow: 0 0 0 3px rgba(79, 115, 183, 0.2);
}

.contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-button {
    margin-top: 6px;
    border: none;
    border-radius: 10px;
    padding: 10px 14px;
    background: #5f79ae;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
    background: #4f6da7;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(34, 58, 86, 0.25);
}

.contact-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.contact-status {
    min-height: 20px;
    margin: 4px 0 0 0;
    color: #18314d;
    font-weight: 600;
}

.contact-status-success {
    color: #114a25;
}

.contact-status-error {
    color: #7b1e1e;
}

@media (max-width: 900px) {
    .contact-section {
        margin-left: 10px;
        margin-right: 10px;
    }
}
