/* style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #e9e8f2; /* Light blue-gray background for a softer look */
    color: #333;
}

header {
    background: #0d0e0d; /* Sky blue background */
    color: #ffffff;
    padding: 1rem 0;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

section {
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px; /* Restrict max width for readability */
}

.gpt-item {
    background: #fff;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 10px solid #87CEEB; /* Sky blue accent */
    overflow: hidden; /* In case of float */
}

.gpt-explain {
    background: #ffff;
    margin-bottom: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 0px solid #f7faf8; /* Sky blue accent */
    overflow: hidden; /* In case of float */
}

.gpt-image {
    float: left;
    margin-right: 15px;
    width: 100px; /* Adjust as needed */
    height: 100px; /* Adjust as needed */
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}

.language-selector button {
    background: #4CAF50; /* Green background for buttons */
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.language-selector button:hover {
    background-color: #388E3C; /* Darker green on hover */
}

@media screen and (max-width: 768px) {
    header nav ul li {
        display: block;
        text-align: center;
    }

    .gpt-image {
        display: block;
        float: none;
        margin: 0 auto 10px;
    }
}

.content {
    direction: ltr; /* Left to right by default */
}

#ar {
    direction: rtl; /* Right to left for Arabic */
}

.language-selector {
    text-align: center;
    margin-bottom: 20px;
}

.language-selector button {
    margin: 0 5px;
    padding: 5px 10px;
}