﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: myFont, Tahoma,sans-serif;
}

body {
    direction: rtl;
    background: #f8f9fa;
}

.header {
    background: linear-gradient(135deg,#3f51b5,#3a216c);
    color: #fff;
    position: relative;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
}

.topbar {
    min-height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

    .menu a {
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        transition: .2s;
    }

        .menu a:hover {
            color: #ffc107;
        }

.login-btn {
    background: #ffc107;
    color: #000 !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
}

.content {
    min-height: 600px;
    padding: 0;
}

/* ====================== */
/* Mobile Menu */
/* ====================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* ====================== */
/* Footer */
/* ====================== */

.footer {
    background: #001f54;
    color: #fff;
    margin-top: 40px;
}

.footer-container {
    width: 95%;
    max-width: 1400px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    padding: 50px 0;
}

.footer-col {
    flex: 1;
}

    .footer-col:first-child {
        flex: 1.8;
        padding-left: 40px;
    }

    .footer-col h3 {
        color: #ffc107;
        margin-bottom: 20px;
    }

    .footer-col p,
    .footer-col a {
        color: #ddd;
        text-decoration: none;
        display: block;
        line-height: 2.3;
    }

    .footer-col:first-child p {
        text-align: justify;
        line-height: 2.4;
    }

    .footer-col a:hover {
        color: #ffc107;
    }

.socials {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

    .socials a {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: rgba(255,255,255,.15);
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        text-decoration: none;
        font-size: 20px;
        transition: .3s;
    }

        .socials a:hover {
            background: #ffc107;
            color: #001f54;
        }

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,.15);
}

/* ====================== */
/* Mobile */
/* ====================== */

@media(max-width:768px) {

    .topbar {
        min-height: 80px;
        position: relative;
    }

    .logo {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
    }

    .menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        background: #2f1d57;
        flex-direction: column;
        gap: 0;
        z-index: 9999;
    }

        .menu.show {
            display: flex;
        }

        .menu a {
            width: 100%;
            text-align: center;
            padding: 15px;
            border-bottom: 1px solid rgba(255,255,255,.1);
        }

    .login-btn {
        border-radius: 0;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-col:first-child {
        padding-left: 0;
    }

        .footer-col:first-child p {
            text-align: center;
        }

    .socials {
        justify-content: center;
    }
}
