/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header, section, footer {
    padding: 20px 0;
}

/* Header Styles */
header {
    background: #747474;
    color: #ffffff;
    padding: 0px 0;
    border-bottom: #0779e4 3px solid;
    display: flex;
    align-items: center;
}

#logo-container {
    display: flex;
    align-items: center;
    order: 2;
    margin-left: auto;
}

header img#logo {
    height: 100px; /* Adjust size as needed */
    margin-left: 0px;
}

header h1 {
    margin: 0;
    font-size: 24px;
    display: flex;
    align-items: center;
    margin-right: auto;
    order: 1;
}

header nav {
    margin-left: 20px;
    order: 1;
}

header nav ul {
    padding: 0;
    list-style: none;
    display: flex;
}

header nav ul li {
    margin: 0 10px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header nav ul li a:hover {
    color: #0779e4;
}

/* Hero Section Styles */
.hero {
    background: url('hero-image.jpg') no-repeat center center/cover;
    height: 400px;
    color: #fff;
    text-align: center;
    padding-top: 100px;
}

.hero h2 {
    font-size: 50px;
    color: #fff;
    margin: 0;
}

.hero p {
    font-size: 20px;
}

.hero .cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #0779e4;
    color: #fff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-top: 20px;
}

/* Section Styles */
section {
    background: #fff;
    margin: 20px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* About Section */
.about p {
    text-align: justify;
}

/* Research Section */
.research p {
    text-align: justify;
}

.research .cta-button {
    display: block;
    width: 200px;
    margin: 20px auto;
    text-align: center;
    padding: 10px;
    background: #0779e4;
    color: #fff;
    text-decoration: none;
}

/* Experience Section */
.experience .timeline {
    list-style: none;
    padding: 0;
}

.experience .timeline-item {
    margin-bottom: 20px;
}

.experience .timeline-item h3 {
    margin: 0;
}

/* Education Section */
.education ul {
    list-style: none;
    padding: 0;
}

.education ul li {
    margin-bottom: 10px;
}

/* Skills Section */
.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.skills ul li {
    flex: 1 1 45%;
    margin: 5px;
}

/* Contact Section */
.contact form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact form label {
    grid-column: span 2;
}

.contact form input,
.contact form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
}

.contact form button {
    grid-column: span 2;
    padding: 10px;
    background: #0779e4;
    color: #fff;
    border: none;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}

footer a {
    color: #0779e4;
    text-decoration: none;
}

/* Chatbot Styles */
#chatbot .container {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#chat {
    margin-bottom: 10px;
    height: 300px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.user-message {
    text-align: right;
    background: #007bff;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

.bot-message {
    text-align: left;
    background: #eee;
    color: black;
    padding: 10px;
    border-radius: 5px;
    margin: 5px 0;
}

#user-input {
    width: 80%;
    padding: 10px;
    margin-right: 10px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }

    header nav ul {
        flex-direction: column;
        align-items: center;
    }

    header nav ul li {
        margin: 10px 0;
    }

    .contact form {
        grid-template-columns: 1fr;
    }

    .skills ul li {
        flex: 1 1 100%;
    }

    .hero {
        height: auto;
        padding: 50px 0;
    }

    .hero h2 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero .cta-button {
        padding: 10px 15px;
    }
}
