/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}



:root {
    --white-color: #fff;
    --black-color: #000;
    --primary-color: #1e16f3;
    --primary-hover-color: #3f38ff;
    --grey-color: rgba(57, 57, 57, 0.296);
}

.containerHeader {
    width: 100%;
    max-width: 1300px;
    margin: auto;
}

.header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 7777;
    background-color: white;
    box-shadow: 0 0 15px 5px rgba(64, 64, 64, 0.197);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    width: 220px;
    height: 65px;
    object-fit: cover;
}

.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-toggle {
    appearance: none;
    background: transparent;
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 250ms ease;
    display: flex;
    align-items: center;
    border: none;
}


.lang-toggle:focus {
    outline: none;
}

.lang-flag {
    width: 35px;
    height: 27px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 250ms ease;
}


.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}


.nav-links li {
    position: relative;
}


.nav-links li a {
    display: block;
    padding: 10px 10px;
    color: #222;
    font-size: 15px;
    font-weight: 400;
    transition: 0.3s ease-in-out;
}

.nav-links li a:hover {
    color: var(--primary-hover-color);
}

.nav-links li a.activeLink {
    color: var(--primary-color);
}


.nav-links li .dropdown {
    position: absolute;
    top: 100%;
    left: 0px;
    width: 230px;
    background: var(--primary-color);
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.345);
    border-radius: 12px;
    transform: translate(-70px);
    overflow: hidden;
    padding: 10px 8px;
}


.nav-links li .dropdown li {
    width: 100%;
}


.nav-links li .dropdown li a {
    padding: 10px 15px;
    text-align: left;
    color: rgb(255, 255, 255);
    border-radius: 7px;
    margin-bottom: 2px;
}

.nav-links li .dropdown li a:hover {
    background-color: var(--primary-hover-color);
    padding: 10px 15px;
    color: white;
}


.nav-links li:hover>.dropdown {
    display: block;
    transition: .2s ease-out;
}

.user-profile-menu a.user-name {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 10px;
    color: #222;
    font-size: 15px;
    font-weight: 400;
    transition: 0.3s ease-in-out;
    white-space: nowrap;
}

.header-profile-pic {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-block;
}



.user-dropdown {
    position: absolute;
    top: 100%;
    left: 0px;
    width: 120px;
    background: var(--primary-color);
    display: none;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.345);
    border-radius: 12px;
    transform: translateX(-100px);
    overflow: hidden;
    padding: 10px 8px;
    z-index: 10000;
}

.user-dropdown li {
    width: 100%;
}

.user-dropdown li a {
    padding: 10px 15px;
    text-align: left;
    color: rgb(255, 255, 255);
    border-radius: 7px;
    margin-bottom: 2px;
    display: block;
}

.user-dropdown li a:hover {
    background-color: var(--primary-hover-color);
    padding: 10px 15px;
    color: white;
}

.nav-links li .dropdown li a.activeDropDown {
    background-color: var(--primary-hover-color);
    padding: 10px 15px;
    color: white;
}

.user-profile-menu:hover>.user-dropdown {
    display: block;
    transition: .2s ease-out;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    font-size: 18px;
}

.notification-count {
    position: absolute;
    top: 5px;
    right: -8px;
    background: #ff4d4f;
    color: #fff;
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.7);
    }

    70% {
        box-shadow: 0 0 0 8px rgba(255, 77, 79, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0);
    }
}

.modal-notification {
    position: absolute;
    top: 75px;
    right: 20px;
    width: 420px;
    max-height: 520px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    z-index: 10000;
    opacity: 0;
    transition: all 0.25s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.modal-notification.active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.header-modal {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(128, 128, 128, 0.14);
    gap: 10px;
}

.header-modal h3 {
    color: #111;
    font-size: 15px;
    font-weight: 700;
    margin: 0;
}

.header-modal div:last-child {
    display: flex;
    gap: 10px;
    align-items: center;
}

.header-modal button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: #000000;
    padding: 8px 10px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.header-modal button:hover {
    background: rgba(218, 218, 218, 0.286);
}

.close-btn-1 {
    width: 32px;
    height: 32px;
    padding: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 300;
    transition: all .2s ease-out;
}


.notification-item {
    padding: 16px 18px;
    border-bottom: 1px solid #f0f2f5;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: background 0.2s ease;
    cursor: pointer;
}


.notification-icon {
    width: 64px;
    min-width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #dcdcdc65;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon i {
    font-size: 20px;
    color: #ff0000ca;
}

.notification-details {
    flex: 1;
}

.notification-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.notification-meta h4 {
    font-size: 15px;
    color: #111;
    font-weight: 700;
    margin: 0;
}

.notification-time {
    font-size: 12px;
    color: #8c8c8c;
    white-space: nowrap;
}

.notification-details p {
    font-size: 13px;
    color: #555;
}

.no-notifications .notification-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}





.toggle-button {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.toggle-button .bar {
    width: 30px;
    height: 2px;
    background: #000;
    margin: 4px 0;
    border-radius: 5px;
    transition: 0.4s;
}


.toggle-button.active .bar:nth-child(1) {
    transform: translateY(12px) rotate(45deg);
}

.toggle-button.active .bar:nth-child(2) {
    opacity: 0;
}

.toggle-button.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* end of navbar */


.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}






/* profile */


.profile {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 50px auto;
}

.row-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.698);
}

.left-side-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    width: 340px;
    background: var(--primary-color);
    border-radius: 12px 0 0 12px;
}

.left-side-profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
}

.left-side-profile h3 {
    font-size: 20px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.784);
}

.left-side-profile h6 {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 35px;
    text-align: center;
    width: 100%;
}

.ulProfileList {
    width: 100%;
    list-style: none;
    padding: 20px 0;
}

.ulProfileList li {
    width: 100%;
    margin-bottom: 5px;
}

.ulProfileList a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 22px;
    font-weight: 500;
    font-size: 17px;
    color: #ffffff;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.25s ease-in-out;
}

.ulProfileList a:hover {
    background: #edededb7;
    color: black;
}

.activeProfile {
    background: linear-gradient(320deg, var(--primary-color), var(--primary-hover-color));
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.right-side-profile {
    flex: 1;
    padding: 50px;
    border-radius: 0 12px 12px 0;
    border: 1px solid rgba(234, 234, 234, 0.174);
    background: white;
    box-shadow: 0 0 12px rgba(128, 128, 128, 0.196);
}

.right-side-profile h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 30px;
}

.right-side-profile img {
    width: 110px;
    height: 110px;
    border-radius: 18px;
    object-fit: cover;
    border: 4px solid #f4f6f8;
    margin-bottom: 35px;
}

.field {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.filed-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filed-row:last-child {
    grid-column: span 2;
}

.filed-row label {
    font-size: 14px;
    font-weight: 600;
    color: #6b6f85;
}

.filed-row label span {
    color: #ff0000;
}

.filed-row input,
.filed-row textarea {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e2e5ec;
    font-size: 15px;
    color: #2c2f45;
    background: #ffffff;
    transition: 0.25s ease;
}


.filed-row textarea {
    height: 280px;
    resize: none;
    font-family: inherit;
}

/* display message delete modal */
.formDeleteModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 150px;
}

.formDeleteModal.show {
    display: block;
}

.formDeleteModal .formDelete {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    margin: 150px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.submit-btn {
    padding: 12px 24px;
    background: #e53124;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.submit-btn:hover {
    background: #c20d00;
}

.row-close-modal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid grey;
    padding-bottom: 20px;
}

.row-close-modal h2 {
    margin: 0;
    font-size: 22px;
}

.row-close-modal span {
    cursor: pointer;
}

.row-button {
    display: flex;
    justify-items: center;
    align-items: center;
    gap: 10px;
}

.closeButton {
    color: var(--text-color);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}





















/* footer */
.footer {
    background: #090821;
    color: white;
    padding: 80px 0 20px;
    margin-top: 200px;
}

.footer-container {
    max-width: 1300px;
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    width: 180px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: grey;
    transition: .3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    font-size: 20px;
    color: rgb(255, 255, 255);
    background-color: #37373e;
    padding: 10px 13px;
    border-radius: 50%;
    transition: .3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 16px;
}

/* footer */












/* responsive */

@media (max-width:1024px) {

    .toggle-button {
        display: flex;
    }

    .navbar {
        padding: 18px 25px;
    }

    .logo img {
        width: 200px;
        height: 50px;
        object-fit: cover;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        align-items: self-start;
        justify-content: center;
        flex-direction: column;
        background: var(--primary-color);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-30px);
        transition: 0.5s;
    }

    .nav-links.active {
        max-height: 1000px;
        opacity: 1;
        padding: 20px 25px;
        transform: translateY(0);
    }

    #userFullName {
        color: white;
    }

    .nav-links li a {
        color: var(--white-color);
    }

    .nav-links li a.activeLink {
        color: #cdd2ef;
    }

    .nav-links i {
        color: white;
    }

    .nav-links li .dropdown {
        left: 80px;
        z-index: 7777;
        color: black;
    }

    .nav-links li .dropdown {
        position: relative;
        width: 250px;
        top: 5px;
        box-shadow: none;
        background-color: #081b96;
    }


    .modal-notification {
        position: relative;
        top: 0;
        width: 100%;
        text-align: center;
        width: calc(100% - 0px);
        right: -1px;
        top: 0;
        max-height: 85vh;
    }

    .notification-message i {
        font-size: 25px;
        color: red;
        margin-top: 10px;
    }


    /* profile */

    .profile {
        gap: 30px;
        padding: 0 20px;
    }

    .field {
        display: block;
    }

    .left-side-profile {
        width: 300px;
        padding: 50px 18px;
    }

    .right-side-profile {
        padding: 40px;
    }

    .field {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .ulProfileList a {
        font-size: 16px;
        padding: 14px 18px;
    }

    .formDeleteModal {
        padding: 80px;
    }


    /* profile */





    /* footer */
    .footer {
        padding: 70px 0 20px;
        margin-top: 150px;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: 35px;
    }

    /* footer */

    .row-work:not(:last-child)::after {
        display: none;
    }

}


/* MOBILE */
@media (max-width:768px) {

    /* profile */

    .profile {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 0 20px;
    }

    .left-side-profile,
    .right-side-profile {
        width: 100%;
    }

    .right-side-profile {
        padding: 35px 25px;
    }

    .field {
        grid-template-columns: 1fr;
    }

    .filed-row:last-child {
        grid-column: span 1;
    }

    .right-side-profile img {
        width: 95px;
        height: 95px;
    }

    .ulProfileList a {
        font-size: 15px;
        padding: 13px 16px;
    }

    .formDeleteModal {
        padding: 40px;
    }

    .formDeleteModal .formDelete {
        margin: 80px auto;
    }

    .row-button {
        flex-wrap: wrap;
    }


    /* profile */



    /* footer */

    .footer {
        padding: 60px 0 20px;
        margin-top: 100px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-logo {
        width: 150px;
    }

    .footer-col h4 {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .footer-col ul li {
        margin-bottom: 12px;
    }

    .social-icons a {
        font-size: 18px;
        padding: 9px 11px;
    }

    .footer-bottom {
        font-size: 14px;
    }

    /* footer */
}



/* SMALL MOBILE */
@media (max-width:480px) {


    /* profile */

    .profile {
        margin: 30px auto;
        padding: 0 12px;
    }

    .left-side-profile {
        padding: 35px 15px;
        border-radius: 15px;
    }

    .left-side-profile img {
        width: 60px;
        height: 60px;
    }

    .left-side-profile h3 {
        font-size: 18px;
    }

    .left-side-profile h6 {
        font-size: 13px;
    }

    .right-side-profile {
        padding: 25px 18px;
        border-radius: 15px;
    }

    .right-side-profile h3 {
        font-size: 20px;
    }

    .right-side-profile img {
        width: 80px;
        height: 80px;
    }

    .ulProfileList a {
        font-size: 14px;
        padding: 12px 14px;
        gap: 10px;
    }

    .filed-row input,
    .filed-row textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .filed-row textarea {
        height: 220px;
    }

    .formDeleteModal {
        padding: 20px;
    }

    .formDeleteModal .formDelete {
        padding: 25px 18px;
        margin: 60px auto;
    }

    .row-close-modal h2 {
        font-size: 18px;
    }

    .submit-btn,
    .closeButton {
        width: 100%;
        text-align: center;
    }

    .row-button {
        flex-direction: column;
        width: 100%;
    }



    /* profile */


    /* footer */

    .footer {
        padding: 50px 0 15px;
        margin-top: 80px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-logo {
        margin: 0 auto 15px;
        width: 140px;
    }

    .footer-col h4 {
        font-size: 16px;
    }

    .footer-col ul li {
        margin-bottom: 10px;
    }


    .social-icons a {
        font-size: 17px;
        padding: 8px 10px;
    }

    .footer-bottom {
        font-size: 13px;
        padding-top: 20px;
    }

    /* footer */

}