/* =====================================================================
   Combined CSS File: app.css
   ===================================================================== */

/* Global Styles */
body,
html {
    font-family: poppins;
    margin: 0;
}

/* =====================================================================
   Navbar Section (common to index, login, sign-up)
   ===================================================================== */
.navbar {
    padding: 30px 10px !important;
}
.navbar-nav .nav-link {
    font-size: 18px;
    font-weight: bold;
    position: relative;
}
.navbar-nav {
    display: flex;
    gap: 40px; /* Increase spacing between menu items */
}
.dropdown-menu {
    min-width: 150px;
}
.btn-login {
    background: white;
    color: #0c3b1b;
    border: 2px solid white;
    padding: 6px 20px;
    font-weight: bold;
}
.btn-signup {
    background: #0c3b1b;
    color: white;
    border: 2px solid #0c3b1b;
    padding: 6px 20px;
    font-weight: bold;
}
.bottom-line {
    position: relative;
    display: inline-block; /* Underline only as wide as text */
    padding-bottom: 5px;
}
.bottom-line::after {
    content: "";
    position: absolute;
    bottom: 7px;
    left: 50%;
    width: 0; /* Initially hidden */
    height: 3.5px;
    background-color: #0c3b1b;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}
.bottom-line:hover::after {
    width: 100%;
    left: 0;
}
.active-page::after {
    width: 100% !important;
    left: 0;
}
.kjf:hover,
.kjf:focus {
    border: 1px solid #0c3b1b !important;
    color: #0c3b1b !important;
}
.login-signup {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -15px !important;
}
.login-signup a {
    list-style: none !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: bold !important;
}
.login {
    color: #0c3b1b !important;
    padding: 6px 37px !important;
    border-radius: 5px !important;
    border: 2px solid white !important;
    transition: 0.3s ease !important;
    font-weight: bold !important;
    position: relative !important;
    background-color: white !important;
    box-shadow: 0 6px 10px rgb(246, 246, 246) !important;
}
.login.active-page::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    bottom: -5px !important;
    width: 100% !important;
    height: 4px !important;
    background-color: #0c3b1b !important;
    transition: width 0.3s ease-in-out !important;
}
.signup {
    color: white !important;
    background-color: #0c3b1b !important;
    border: 2px solid #0c3b1b !important;
    padding: 6px 37px !important;
    border-radius: 5px !important;
    box-shadow: 0 6px 10px rgb(232, 232, 232) !important;
    transition: 0.3s ease !important;
}
.signup:hover {
    color: #0c3b1b !important;
    border: 2px solid #0c3b1b !important;
    background-color: transparent !important;
    box-shadow: 0 6px 10px rgb(238, 238, 238) !important;
}

/* =====================================================================
   Forms, Inputs, and Buttons (Registration & Login)
   ===================================================================== */
.fullname-input {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: -30px;
    padding-bottom: 30px;
    transition: color 0.3s ease;
}
.fullname-input input {
    border-radius: 10px;
    padding: 15px 20px;
    width: 137px;
    border: 1px solid #555555;
    transition: color 0.3s ease;
}
.login-tab input,
.login-tab input:focus {
    border-radius: 10px;
    padding: 15px 20px;
    border: none;
    background-color: #f1f3f6;
    color: #555555;
    transition: color 0.3s ease;
    width: 332px;
    outline: none;
}
.signup-btn {
    background-color: #0c3b1b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 6px;
    width: 100%;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.signup-btn:hover {
    background-color: #056122;
}

/* =====================================================================
   Password Toggle (for both login and register)
   ===================================================================== */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.password-wrapper input {
    width: calc(100% - 4px);
    padding-right: 40px;
    transition: color 0.3s ease;
}
.password-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 19px;
    color: #ffffff;
    background-color: #0c3b1b;
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: -15px;
    transition: color 0.3s ease;
}

/* =====================================================================
   Divider and OR Container
   ===================================================================== */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 10px 0;
}
.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}
.divider:not(:empty)::before {
    margin-right: 10px;
}
.divider:not(:empty)::after {
    margin-left: 10px;
}

/* =====================================================================
   Footer Styles (for footer-48201 and general footer)
   ===================================================================== */
.footer,
.footer-48201 {
    background-color: #252641;
    padding: 50px 0;
}
.footer h3,
.footer-48201 h3 {
    color: #b2b3cf;
    font-size: 22px;
    font-weight: 400;
}
.footer-48201 {
    padding-top: 7rem;
    background-color: #002f0f;
    color: #f5f5f5;
}
.footer-48201 .footer-site-logo {
    font-size: 1.5rem;
    color: #fff;
}
.footer-48201 .nav-links li {
    margin-bottom: 10px;
}
.footer-48201 .nav-links li a {
    color: #e2fcff;
}
.footer-48201 .nav-links li a:hover {
    color: #fff;
}
.footer-48201 .btn.btn-tertiary {
    background-color: #e42c64;
    color: #fff;
    border-radius: 30px;
    border: none;
    padding: 10px 20px;
}
.footer-48201 .social li {
    display: inline-block;
}
.footer-48201 .social li a {
    color: gray;
    padding: 7px;
}
.footer-48201 .social li a:hover {
    color: #fff;
}
.footer-48201 .copyright {
    border-top: 1px solid #32656b;
}

/* =====================================================================
   Other Global Styles and Utilities
   ===================================================================== */
.input-for-gmail {
    background-color: transparent;
    color: #83839a;
    border: 1px solid #83839a;
    border-radius: 80px;
    padding: 15px 20px;
    font-size: 18px;
    width: 100%;
}
.subscribe {
    border: none;
    background-color: #0c3b1b;
    border: 2px solid #0c3b1b;
    border-radius: 80px;
    font-size: 18px;
    color: white;
    font-weight: 500;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
}
.subscribe:hover {
    background-color: transparent;
    border: 2px solid #0c3b1b;
    color: #0c3b1b;
}
a,
a:hover {
    text-decoration: none !important;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}
.ko:hover {
    color: white !important;
    background-color: #14682f !important;
}

/* =====================================================================
   Accordion (for FAQ sections)
   ===================================================================== */
.accordion-button:not(.collapsed) {
    background-color: #0c3b1b !important;
    color: white !important;
    box-shadow: none !important;
}
.accordion-body {
    background-color: transparent !important;
    color: #000000;
}
.accordion-button:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* =====================================================================
   Responsive (Media Queries)
   ===================================================================== */
@media (max-width: 768px) {
    .logandsign {
        flex-direction: column !important;
    }
    .mavul {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    .navbar-nav {
        gap: 10px !important;
    }
    .kjf {
        margin-bottom: 10px !important;
        width: 100% !important;
    }
    .custom-img,
    .ingg {
        display: none !important;
    }
    .parentt {
        border-bottom-left-radius: 100px;
        border-top-right-radius: 100px;
        border-bottom-right-radius: 0;
    }
    .mgtop {
        margin-top: 70px !important;
    }
    .details-statistics {
        flex-direction: column;
        gap: 10px;
    }
    .auto-count-number span {
        font-size: 60px;
    }
    .partners-logos img {
        max-width: 50px;
        height: auto;
    }
}
