/*
===================================
EmpowerNext CSS Stylesheet
Updated for Mobile Responsiveness
===================================
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Kumbh Sans', sans-serif;
}

/* ---------- Navigation Bar ---------- */

.navbar {
    background: white;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
    position: relative;
}

a {
    text-decoration: none;
}

.navbar__menu {
    display: flex;
    align-items: center;
    list-style: none;
    text-align: center;
}

.navbar__item {
    height: 80px;
}

.navbar__link {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    padding: 0 1rem;
    height: 100%;
}

.navbar__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    height: 100%;
    width: 100%;
    border: none;
    outline: none;
    border-radius: 4px;
    background-color: #374E59;
    color: white;
}

.button:hover {
    background: #B3282E;
    transition: all 0.3s ease;
}

.navbar__link:hover {
    color: #B3282E;
    transition: all 0.3s ease;
}

/* ---------- Mobile Toggle Menu ---------- */

.navbar__toggle {
    cursor: pointer;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    z-index: 1001;
    width: 30px;
    height: 30px;
    justify-content: center;
}

.navbar__toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 3px 0;
    background: #374E59;
    transition: all 0.3s ease-in-out;
}

#empnexlogo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

#empnelogo {
    height: 50px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
}

/* ---------- Main Section ---------- */

.main__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-self: center;
    margin: 0 auto;
    height: 90vh;
    background-color: white;
    z-index: 1;
    width: 100%;
    max-width: 1300px;
    padding: 0 50px;
    text-align: center;
}

.main__content h1,
.main__content h2 {
    font-size: 4rem;
    background-color: #374E59;
    background-image: linear-gradient(to top, #3F3D56 0%, #B3282E 100%);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
}

.main__content p {
    margin-top: 1rem;
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.main__btn {
    font-size: 1rem;
    background-image: linear-gradient(to top, #3F3D56 0%, #B3282E 100%);
    padding: 14px 32px;
    border: none;
    border-radius: 4px;
    color: #fff;
    margin-top: 2rem;
    cursor: pointer;
    position: relative;
    transition: all 0.35s;
    outline: none;
}

.main__btn a {
    position: relative;
    z-index: 2;
    color: white;
    text-decoration: none;
}

.main__btn::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #B3282E;
}

.main__btn:hover::after {
    width: 100%;
}

.main__img--container {
    text-align: center;
}

#main__img {
    height: 80%;
    width: 80%;
}

/* ---------- Services Section ---------- */

.services, .services1 {
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 5rem 0;
    text-align: center;
}

.services h1, .services1 h1 {
    background-color: #374E59;
    background-image: linear-gradient(to right, #6D9277, #3F3D56);
    background-size: 100%;
    margin-bottom: 5rem;
    font-size: 2.5rem;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.services__container, .services__container1 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------- Updated Card Styles for Consistent Layout ---------- */

.services__card, .services__card2 {
    margin: 1rem;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    height: 400px;
    width: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    box-sizing: border-box;
    text-align: left;
}

.services__card {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(17,17,17,0.7) 100%), url('/images/disabled.jpg');
}

.services__card:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(17,17,17,0.7) 100%), url('/images/otherdisabled.jpg');
}

.services__card2 {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(17,17,17,0.7) 100%), url('/images/gethelped.jpg');
}

.services__card2:nth-child(2) {
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(17,17,17,0.7) 100%), url('/images/helper.jpg');
}

.services__card h2,
.services__card2 h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    line-height: 1.3;
}

.services__card p,
.services__card2 p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.services__card button,
.services__card2 button {
    padding: 12px 24px;
    border: none;
    background: #374E59;
    border-radius: 4px;
    cursor: pointer;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.services__card button:hover,
.services__card2 button:hover {
    background: #B3282E;
}

.services__card button a,
.services__card2 button a {
    color: white;
    text-decoration: none;
}

.services__card1 {
    height: 200px;
    width: 400px;
    background-image: linear-gradient(to top, #3F3D56 0%, #B3282E 100%);
    text-align: left;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 1rem;
    border-radius: 4px;
    color: white;
}

.services__card1:nth-child(2) {
    background-image: linear-gradient(to top, #6D9277 0%, #6D668C 100%);
}

.services__card1 h2 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    font-weight: bold;
    text-align: center;
}

.services__card1 p {
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.1rem;
    margin-top: 0;
}

/* ---------- Footer ---------- */

.footer__container, .footer__container1 {
    background-color: white;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer__links {
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__link--wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer__link--items {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px;
    text-align: center;
    width: 260px;
}

.footer__link--items h2 {
    margin-bottom: 16px;
    color: black;
}

.footer__link--items a {
    color: black;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__link--items a:hover {
    color: blue;
    transition: 0.3s ease-out;
}

/* ---------- Social Media ---------- */

.social__media--wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    text-align: center;
}

.website__rights {
    margin: 20px 0;
    color: black;
}

.social__icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social__icon--link {
    color: black;
    font-size: 24px;
}

/* ---------- Responsive Design ---------- */

@media screen and (max-width: 768px) {
    .main__container {
        grid-template-columns: 1fr;
        padding: 0 20px;
        height: auto;
        min-height: 90vh;
    }

    .main__content h1,
    .main__content h2 {
        font-size: 3rem;
    }

    .services__card,
    .services__card1,
    .services__card2 {
        width: 90%;
        max-width: 500px;
    }

    .services__container,
    .services__container1 {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    
    .navbar__container {
        padding: 0 20px;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    }

    .navbar__menu.active {
        left: 0;
    }

    .navbar__item {
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .navbar__btn {
        padding: 0;
        height: 50px;
    }

    .navbar__btn .button {
        padding: 8px 16px;
        border-radius: 2px;
        font-size: 0.9rem;
    }

    .main__content h1,
    .main__content h2 {
        font-size: 2.5rem;
    }

    .services__card,
    .services__card2 {
        width: 90%;
        height: auto;
        min-height: 300px;
        padding: 20px;
    }

    .services__card h2,
    .services__card2 h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .services__card p,
    .services__card2 p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .services__card button,
    .services__card2 button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .services__card1 {
        width: 90%;
        height: auto;
        min-height: 180px;
        padding: 20px;
        margin: 10px 0;
    }

    .services__card1 h2 {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
        text-align: center;
    }

    .services__card1 p {
        font-size: 0.9rem;
        margin-bottom: 0.1rem;
        margin-top: 0;
        line-height: 1.2;
    }

    .services__container,
    .services__container1 {
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }

    .footer__links,
    .footer__link--wrapper {
        flex-direction: column;
        align-items: center;
    }

    .footer__link--items {
        text-align: center;
        align-items: center;
        margin: 10px 0;
        width: 100%;
    }

    .social__media--wrap {
        margin-top: 20px;
    }

    .website__rights {
        margin: 10px 0;
    }
}