
/* =================================
   NAVBAR DESIGN - FRIENDS ENGLISH
================================= */

.navbar {
    width: 100%;
    min-height: 90px;
    padding: 0 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    /* background: #020819; */
    background-color: #030815;
    border-bottom: 1px solid rgba(255,255,255,0.08);

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}


/* =================================
   LOGO
================================= */

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: 85px;

    object-fit: contain;
    display: block;
    background: transparent;
}


/* =================================
   NAVIGATION LINKS
================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links .anchor {
    color: #cbd5e1;
    text-decoration: none;

    font-size: 15px;
    font-weight: 500;

    position: relative;
    transition: all 0.3s ease;
}


/* HOVER EFFECT */

.nav-links .anchor:hover {
    color: #60a5fa;
}

.nav-links .anchor::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    background: #3b82f6;
    border-radius: 5px;

    transition: width 0.3s ease;
}

.nav-links .anchor:hover::after {
    width: 100%;
}


/* =================================
   USER NAME
================================= */

.nav-links span.anchor {
    color: #60a5fa !important;

    display: flex;
    align-items: center;
    gap: 8px;
}


/* =================================
   SIGN IN / LOGOUT BUTTON
================================= */

.headbutton {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 22px;

    color: #ffffff !important;
    text-decoration: none;

    font-size: 14px;
    font-weight: 700;

    background: linear-gradient(135deg, #2563eb, #3b82f6);

    border-radius: 50px;
    border: 1px solid #2563eb;

    transition: all 0.3s ease;

    box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}

.headbutton:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    border-color: #1d4ed8;

    box-shadow: 0 5px 15px rgba(37,99,235,0.3);
    color: #ffffff !important;
}


/* =================================
   CONSULTATION BUTTON
================================= */

.consult-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: #ed1c24;
    color: #ffffff;

    padding: 14px 23px;
    border-radius: 50px;

    font-size: 16px;
    font-weight: 700;
    text-decoration: none;

    border: 1px solid #ed1c24;
    transition: all 0.3s ease;
}

.consult-btn:hover {
    background: #c81018;
    border-color: #c81018;
    color: #ffffff;

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(237,28,36,0.25);
}


/* =================================
   HAMBURGER MENU
================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 7px;

    cursor: pointer;

    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-toggle span {
    width: 21px;
    height: 2px;

    background: #ffffff;
    border-radius: 5px;

    transition: all 0.3s ease;
}


/* =================================
   RESPONSIVE DESIGN
================================= */

@media (max-width: 768px) {

    .navbar {
        min-height: 75px;
        padding: 0 5%;
    }

    /* LOGO */

    .logo img {
        width: 115px;
        height: 68px;
    }

    /* MENU BUTTON */

    .menu-toggle {
        display: flex;
    }

    /* NAVIGATION */

    .nav-links {
        display: none;

        position: absolute;
        top: 75px;
        left: 0;

        width: 100%;

        background: #020819;

        flex-direction: column;
        align-items: stretch;

        gap: 0;
        padding: 12px 5% 22px;

        border-top: 1px solid rgba(255,255,255,0.08);

        box-shadow: 0 12px 20px rgba(0,0,0,0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .anchor {
        padding: 15px 5px;

        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-links .anchor::after {
        display: none;
    }

    .nav-links .anchor:hover {
        padding-left: 12px;
        color: #60a5fa;
    }

    .nav-links span.anchor {
        padding: 15px 5px;
    }

    /* SIGN IN BUTTON */

    .headbutton {
        margin-top: 15px;
        text-align: center;
        padding: 12px 20px;
    }

    /* CONSULTATION BUTTON */

    .consult-btn {
        width: 100%;
        margin-top: 12px;
    }
}


/* =================================
   SMALL MOBILE
================================= */

@media (max-width: 380px) {

    .logo img {
        width: 100px;
        height: 62px;
    }

    .navbar {
        padding: 0 4%;
    }

}



/* flash css */
.flash-container {
    position: relative;
    z-index: 1001;
 
}

.flash-container .alert {
    position: relative;
    z-index: 1001;
}


/* Flash message background section */
.flash-container {
    background-color: #030815;
    width: 100%;
    max-width: 100%;
    padding: 15px 7%;
    margin: 0 !important;
    position: relative;
    z-index: 10;
}

/* Flash alert */
.flash-container .alert {
     margin-top: 12vh !important;
    border-radius: 12px;
    position: relative;
    z-index: 10;
}