/* default login css */

/*intro css */
#login_logo { height:70px; }
#intro_top { width:100%; height:100%; z-index:1; position:relative; background:#292929 url('images/background.jpg'); background-repeat:no-repeat; background-size:cover; background-position:center center; background-attachment:fixed; }
#login_wrap { width:100%; height:100%; }
#login_all { width:800px; max-width:94%; border-radius:20px; display:block; margin:0 auto; color:#fff; }
.login_not_member { text-align:center; padding-top:5px; }
#intro_lang { position:absolute; top:10px; right:20px; width:40px; height:40px; }

/* section css */
.home_icon { display: block; margin-left: auto; margin-right: auto; width: 64px; height: 64px; }
.box_round { background-color: rgba(255,255,255,0.9); border-radius: 10px; text-align: center; margin: 10px; padding:15px; height: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.section_inside h2, .section_inside h3 { color: #333; }
.section_inside p { color: #555; line-height: 1.6; }

.features_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.feature_card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature_icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
}

.feature_card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.feature_card p, .feature_card ul li {
    font-size: 0.95em;
    color: #333; /* Darker color for better visibility */
}

.login_actions button, .login_actions .bclick {
    margin: 8px 5px;
    padding: 12px 25px;
    font-size: 1.1em;
}

.login_actions .intro_login_btn i {
    margin-right: 8px;
}

.text_large {
    font-size: 1.2em;
}

.additional_info_section {
    background-color: #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
}

.additional_info_section h3 {
    font-size: 1.8em;
    color: #343a40;
    margin-bottom: 15px;
}

.additional_info_section p {
    font-size: 1.1em;
    color: #333; /* Darker color for better visibility */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.articles_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.article_item {
    display: flex;
    flex-direction: column;
    text-align: right; /* Changed from left to right for Arabic */
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.article_item h4 {
    margin: 15px 15px 10px 15px;
    font-size: 1.1em;
    text-align: right; /* Ensure heading is also right-aligned */
}

.article_item p {
    margin: 0 15px 15px 15px;
    font-size: 0.9em;
    color: #555;
    flex-grow: 1;
    text-align: right; /* Ensure paragraph is also right-aligned */
}

.article_item .intro_login_btn {
    margin: 0 15px 15px 15px;
    padding: 10px 15px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
}

.article_item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}
.section { width:100%; height:auto; margin:0 auto; }
.section_content { width:100%; max-width:1100px; margin:0 auto; }
.section_inside { margin:0 auto; padding: 20px; background-color: transparent; /* Ensure section_inside itself is transparent if section has background */ }

@media screen and (max-width:1120px){
	.section_inside { width:96%; }
}

/* Chat Rooms Links Section */
.chat_rooms_links_section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
}

.chat_rooms_links_section h3 {
    font-size: 2em;
    color: #333;
    margin-bottom: 25px;
}

.chat_rooms_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.chat_room_button {
    display: inline-block;
    color: #007bff; /* Link color */
    padding: 5px 10px;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s ease;
    border-radius: 4px; /* Optional: for slight rounding on hover */
}

.chat_room_button:hover {
    color: #0056b3; /* Darker link color on hover */
    text-decoration: underline;
    background-color: #f0f0f0; /* Optional: slight background on hover */
}

.chat_room_button:active {
    color: #004085; /* Even darker link color when active */
}