/* All Pages */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

body {
    direction: rtl;
    background: #fff;
    color: #333;
}

.here {
    text-align: center;
    padding: 40px 20px 20px;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.here h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 50px;
}


/* Login */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70vh;
    margin-bottom: 30px;
}

.login-box {
    background-color: #fff;
    padding: 40px 30px;
    width: 500px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    margin-bottom: 300px;
    border-radius: 10px;
}

.login-logo img {
    width: 180px;
    margin-bottom: 20px;
    margin-top: 20px;
}

.login-box form {
    text-align: left;
    margin-top: 20px;
}

.login-box form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-weight: bold;
}

.login-box form input {
    width: 100%;
    padding: 10px;
    height: 40px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    direction: ltr;
}

.options {
    display: flex;
    direction: ltr;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 20px;
}

.remember-me input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-left: 6px;
    margin-top: 12px;
    margin-right: 4px;
    vertical-align: middle;
    font-weight: bold;
}

.options a {
    text-decoration: none;
    color: gray;
    font-size: 14px;
}

.login-bt {
    width: 60%;
    height: 40px;
    justify-items: center;
    padding: 1px;
    background-color: #666;
    color: white;
    font-weight: bold;
    /* font-size: medium; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-bottom: 15px;
}

.signup p {
    font-size: 13px;
    color: #333;
}

.signup a {
    text-decoration: none;
    color: #858585;
    font-weight: bold;
}

.divider {
    position: absolute;
    margin: 10px 0;
    text-align: center;
    /* top: 113%; */
    bottom: -26%;
    left: 49%;
}

.divider span {
    background-color: #fff;
    padding: 0 10px;
    color: #000000;
    font-size: 14px;
    font-weight: bold;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid #ccc;
    z-index: -1;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.social-login a {
    width: 30px;
    height: 30px;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 18px;
    color: #444;
    transition: 0.3s ease;
}


/* Sign Up */

.signup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin-bottom: 30px;
}

.signUp-logo img {
    width: 180px;
}


/* Verification */

.code-inputs {
    direction: ltr;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 20px;
}

.code-inputs input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border 0.3s;
}

.code-inputs input:focus {
    border-color: #3a7bd5;
    outline: none;
}

.login-bt:hover {
    background-color: #4d4d4d;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(-5px);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(-5px);
    }
    80% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.shake {
    animation: shake 0.4s;
}


/* Header */

.topbar {
    background: #184c98;
    color: #fff;
    padding: 10px 20px;
    border-bottom: 1px solid #fff;
    ;
}

.container {
    justify-content: space-between;
    align-items: center;
}

.Logo {
    width: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: white;
    text-decoration: none;
}

.login-btn {
    background-color: #ccc;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
}


/* Body */

.hero {
    background-color: #184c98;
    color: white;
    text-align: center;
    padding: 40px 20px;
}


/* Home Page */

.hero-buttons button {
    margin: 10px;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 100px;
}

.hero-buttons .secondary {
    background: #184c98;
    color: white;
    border: 2px solid #7c8893;
    width: 144px;
}

.services {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 10px;
    flex-wrap: wrap;
    width: 1200px;
    margin-bottom: 50px;
    align-items: center;
}

.service-card {
    background: white;
    color: black;
    width: 350px;
    height: 250px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: solid 2px #cdd2d6;
}

.service-card img {
    width: 80px;
}

.business {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
    background: #ffffff;
    flex-wrap: wrap;
    text-align: center;
}

.business img {
    width: 250px;
}

.business button {
    background-color: #7c8893;
    color: white;
    width: 150px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    font-size: large;
}

.chaticon {
    right: -4px;
    top: 1030px;
    position: absolute;
    border: solid 1px #becbd8;
    width: 180px;
    border-radius: 50px 0 0 50px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.chaticon img {
    width: 70px;
    float: left;
    margin-left: 5px;
    border-radius: 50px;
}

.testimonials {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 40px 20px;
    background: #fff;
    flex-wrap: wrap;
    text-align: center;
}

.testimonial {
    width: 250px;
    padding: 20px;
    border-radius: 8px;
}

.stars {
    color: gold;
    font-size: 1.2em;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-card.reverse {
    flex-direction: row-reverse;
}

.info h4 {
    margin: 0;
}

.info span {
    font-size: 0.9rem;
    color: #666;
}

.site-footer {
    position: relative;
    background: #f2f3f3;
    color: #000000;
    padding: 60px 50px 80px 50px;
    overflow: hidden;
}

.footer-grid,
.copyright {
    position: relative;
    z-index: 2;
}

.footer-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    transform: scaleY(-1);
    pointer-events: none;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-list li,
.footer-list li a {
    color: #070707;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-list li a:hover {
    text-decoration: underline;
}

.site-footer h4 {
    margin: 0 0 10px;
}

.site-footer p {
    margin: 5px 0;
}

.social a {
    color: #8a8a8a;
    margin-inline: 4px;
    transition: 0.2s;
}

.social a:hover {
    opacity: 0.8;
}

.copyright {
    text-align: center;
    padding-bottom: 30px;
    font-size: 0.85rem;
    background-color: #003d7a;
    color: #ffffff;
}


/* News */

.news {
    padding: 40px;
    margin-bottom: 30px;
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.search-container input {
    width: 300px;
    padding: 10px;
    border: 1px solid #333;
    border-left: none;
    border-radius: 0px 5px 5px 0px;
    outline: none;
}

.search-icon {
    background-color: #1a38d1;
    color: #000000;
    border-radius: 5px 0px 0px 5px;
    padding: 10px 15px;
    cursor: pointer;
}

.main-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    margin-bottom: 30px;
}

.image-section {
    flex: 2;
    text-align: right;
}

.image-section img {
    width: 800px;
    height: 320px;
    border-radius: 4px;
}

.image-section p {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.sidebar {
    background-color: white;
    padding: 0px 20px 20px 20px;
    box-shadow: 0 5px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
    border-right: solid 1px #afafaf;
    border-left: solid 1px #afafaf;
    margin-right: 0;
}

.sidebar h3 {
    margin-bottom: 15px;
    text-align: center;
}

.sidebar a {
    text-decoration: none;
    color: #000000;
}

.sidebar button {
    display: block;
    width: 70%;
    padding: 10px;
    margin-bottom: 10px;
    margin: 20px;
    border: none;
    background-color: #fff;
    cursor: pointer;
    text-align: center;
    border-radius: 10px;
    font-size: 14px;
}

.sidebar button:hover {
    background-color: #dcdcdc;
}


/* About */

.about {
    display: flex;
    flex-direction: row-reverse;
    gap: 30px;
    margin: 20px 0 0 30px;
}

.work {
    flex: 2;
    text-align: right;
    padding-top: 20px;
    padding-bottom: 20px;
}

.CV {
    text-align: center;
}


/* Training */

.service-card .image {
    width: 100px;
    padding: 10px;
}


/* Graphic Design */

.h {
    font-size: medium;
    color: black;
    padding-top: 190px;
    text-decoration: none;
}

.service-card a {
    text-decoration: none;
    color: #000000;
}


/* الظل فوق الصورة */

.shadow {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(217, 215, 215, 0.4), rgba(217, 215, 215, 0.4));
    z-index: 1;
    pointer-events: none;
}

.aboutUS {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 35px;
    background: #ffffff;
    flex-wrap: wrap;
    text-align: center;
}

.aboutUS img {
    width: 350px;
}

.aboutUS p {
    text-align: right;
    font-size: large;
    margin-left: 20px;
}


/* Chat */

.chat-container {
    width: 800px;
    margin: 20px auto;
    margin-bottom: 50px;
    border: 1px solid #ccc;
    background-color: #DDDDDD;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-header {
    background-color: #3c6eb4;
    color: white;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    direction: ltr;
    gap: 300px;
}

.chat-header .logo {
    width: 25px;
    margin-left: 10px;
    background-color: #afafaf;
    border-radius: 20px;
}

.chat-box {
    height: 400px;
    padding: 15px;
    overflow-y: auto;
    direction: ltr;
}

.message {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.message img {
    width: 24px;
    margin-left: 10px;
    margin-top: 4px;
    background-color: #184C99;
    border-radius: 20px;
}

.message .text {
    background-color: #ffffff;
    margin-left: 5px;
    padding: 8px 12px;
    border-radius: 10px;
    max-width: 80%;
}

.chat-input {
    display: flex;
    padding: 5px;
    background-color: #e6e6ff;
    align-items: center;
    direction: ltr;
    width: 720px;
    margin: 30px;
    border: solid 1px #D6BC97;
    border-radius: 5px;
}

.chat-input input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    outline: none;
    background-color: #e6e6ff;
}

.chat-input button {
    background-color: #3c6eb4;
    border: none;
    padding: 10px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
}

.chat-input button img {
    width: 20px;
}


/* Contact  */

.cont {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin: 50px;
    margin-top: 0px;
}

.form-section {
    width: 500px;
}

form label {
    display: block;
    margin-bottom: 20px;
    font-weight: bold;
}

form input {
    width: 100%;
    height: 60px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #9c9999;
    border-radius: 6px;
    font-size: 16px;
}

form textarea {
    width: 100%;
    height: 200px;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #9c9999;
    border-radius: 20px;
    font-size: 16px;
}

form button {
    background-color: #AAB8C2;
    color: white;
    padding: 20px;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.contact-info {
    width: fit-content;
    height: fit-content;
    background-color: #fff;
    padding: 20px;
    margin-top: 90px;
    border-left: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.contact-info i {
    margin-left: 6px;
    color: #5485af;
}