
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #f5f9ff;
    color: #1d3557;
}

a {
    text-decoration: none;
}

.header {
    min-height: 90px;
    padding: 10px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: white;

    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    color: #003d8f;
    font-weight: bold;
}

nav a:hover,
nav a.active {
    color: #11c5d8;
}

.auth {
    display: flex;
    gap: 10px;
}

.auth a {
    padding: 10px 18px;
    border: 1px solid #003d8f;
    border-radius: 30px;
    color: #003d8f;
}


/* AI PAGE */

.ai-page {
    min-height: 700px;

    padding: 80px 6%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 80px;

    background:
        linear-gradient(
            120deg,
            #eefaff,
            #ffffff
        );
}

.ai-intro {
    width: 45%;
}

.ai-intro > p:first-child {
    color: #0088ff;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: bold;
}

.ai-intro h1 {
    color: #003d8f;
    font-size: 58px;
    line-height: 1.15;
    margin: 20px 0;
}

.ai-intro h1 span {
    color: #11c5d8;
}

.ai-intro > p:last-child {
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}


/* CHAT */

.chat-box {
    width: 420px;

    background: white;

    border-radius: 25px;

    overflow: hidden;

    box-shadow: 0 20px 50px rgba(0,61,143,0.15);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px;

    background: #003d8f;

    color: white;
}

.bot-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #11c5d8;

    font-weight: bold;
}

.chat-header span {
    color: #bdeef5;
    font-size: 13px;
}

.chat-body {
    min-height: 330px;
    padding: 25px;
    background: #f7fbff;
}

.bot-message {
    width: 80%;

    padding: 15px;

    background: white;

    border-radius: 15px;

    color: #555;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 25px;
}

.quick-options button {
    padding: 9px 14px;

    border: 1px solid #11c5d8;

    background: white;

    color: #003d8f;

    border-radius: 20px;

    cursor: pointer;
}

.chat-input {
    display: flex;
    padding: 15px;
    gap: 10px;
}

.chat-input input {
    flex: 1;

    padding: 13px;

    border: 1px solid #ddd;

    border-radius: 25px;

    outline: none;
}

.chat-input button {
    border: none;

    padding: 0 20px;

    border-radius: 25px;

    background: #003d8f;

    color: white;

    cursor: pointer;
}


/* FOOTER */

.footer {
    background: #071f45;
    color: white;
    text-align: center;
    padding: 30px;
}


@media(max-width:900px) {

    .header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .ai-page {
        flex-direction: column;
    }

    .ai-intro {
        width: 100%;
        text-align: center;
    }
}


@media(max-width:500px) {

    .chat-box {
        width: 100%;
    }

    .ai-intro h1 {
        font-size: 42px;
    }
}
.user-message {
    width: 80%;

    margin-left: auto;
    margin-top: 15px;
    margin-bottom: 15px;

    padding: 15px;

    background: #003d8f;

    color: white;

    border-radius: 15px 15px 3px 15px;

    line-height: 1.5;
}

.bot-message {
    width: 80%;

    margin-top: 15px;
    margin-bottom: 15px;

    padding: 15px;

    background: white;

    color: #555;

    border-radius: 15px 15px 15px 3px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);

    line-height: 1.5;
}

.chat-body {
    min-height: 330px;
    max-height: 400px;

    overflow-y: auto;

    padding: 25px;

    background: #f7fbff;
}
