@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    font-family: "Inter", sans-serif;
    transition: color 0.3s ease;
}

.network-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #dc3545;
    /* red for offline */
    color: white;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

.network-toast.show {
    opacity: 1;
    bottom: 30px;
    pointer-events: all;
}

.network-toast.online {
    background: #28a745;
    /* green when online */
}

.weight-bold {
  font-weight: bold;
}
#comment-loader{
        position: absolute;
    inset: 50% 0px 0px;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.43);
    height: 100%;
    z-index: 1;
    cursor: unset;
}
.hidden {
    display: none;
}

.fa-spinner.fa-spin {
    animation-duration: 0.75s;
    /* default is 2s */
}

/* Custom Popup Styling */
.custom-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
}

a {
    text-decoration: none;
    color: #000;
}

.custom-popup.show-alert {
    opacity: 1;
    z-index: 10000;
}

.main-btn {
    background-color: #38D191;
    color: #000;
    border-radius: 12px;
    padding: 15px 20px;
    border: none;
    text-decoration: none;
}

.secondary-btn {
    background-color: #000;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 66px;
    display: inline-block;
    position: relative;
    border: 1px solid #000;
    z-index: 1;
}

.secondary-btn:hover {
    color: #000;
    background: #fff;
}

.swiper-button-next svg,
.swiper-button-prev svg {
    padding: 7px;
    fill: white !important;
}

.swiper-button-next,
.swiper-button-prev {
    height: 30px !important;
    width: 30px !important;
    background-color: black;
    color: white !important;
    border-radius: 100%;
    border: 1px solid white;
}

.cursor-pointer {
    cursor: pointer;
}

.main-btn:hover {
    color: #fff;
}

.footer__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
}

.footer__right {
    display: flex;
    gap: 20px;
}

/* Links Element */

.footer__logo__text {
    margin-bottom: 25px;
}

.footer {
    margin: 35px auto;
}

.footer__logo__text a,
header a {
    text-decoration: none;
}

.header img,
.footer__logo__text img {
    height: auto;
    width: 25px;
}

.social-share li {
    margin: 5px 0;
}

.social-share a {
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    background-color: #eee;
    border-radius: 5px;
    color: #333;
    font-weight: bold;
}

.social-share a:hover {
    background-color: #ddd;
}

.footer__logo__text span,
header a div span {
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: #000;
}

.footer__link::after {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 100%;
    right: -12px;
    background-color: #000;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.footer__link:last-child:after {
    display: none;
}

.footer__left {
    font-size: 18px;
    line-height: 26px;
}

footer li a {
    font-size: 16px;
}

footer li a:hover,
.list-unstyled li a:hover {
    color: #38d191 !important;
}

#mainMenu ul {
    margin: 0;
    padding: 0;
}

#mainMenu ul li {
    list-style-type: none;
}

#mainMenu #navbarDropdown {
    color: #000;
}

.social-section__logo.linkedin {
    background: #0075B5;
    border-radius: 100%;
    padding: 4px;
}

/* Links List */
.social-section__list {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Link Styling */
.social-section__link {
    text-decoration: none;
    font-size: 24px;
    line-height: 40px;
    color: #000;
    transition: color 0.3s ease;
}

.social-section__link:hover {
    color: #0056b3;
}

/* Header Styling */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    background-color: #ffffff;
}

.section_bg {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #EBFCF4;
    position: sticky;
    top: 0;
    z-index: 9;
}

.toast-container {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    z-index: 10000000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.header a>div {
    margin: 0;
}

.alert {
    transition: opacity 0.5s ease;
}


/* Left Section */
.header__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__logo {
    width: 40px;
    height: 40px;
}

.header__name {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.navbar-collapse {
    transition: all 0.4s ease-in-out;
    transform-origin: top;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-toggler {
    background: #3cd293;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    display: none;
    /* Hide on desktop by default */
}

.navbar-collapse {
    display: flex;
    flex-direction: row;
}

.header__link {
    text-decoration: none;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

@media (max-width: 768px) {
    .navbar-collapse {
        display: none;
        /* Initially hidden on mobile */
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        z-index: 1000;
    }

    .navbar-toggler {
        display: block;
    }
}

@media (min-width: 769px) {
    .navbar-collapse {
        display: flex;
    }
}

.header__link.active {
    color: #0d6efd;
}

/* Middle Section */
.header__middle {
    justify-content: center;
    align-items: center;
    background-color: #CDF6E4;
    border-radius: 8px;
}

.show {
    display: block;
}

.navbar-list {
    display: flex;
}

.show-alert {
    display: flex;
    /* Show collapsed menu */
}

.header__link {
    text-decoration: none;
    font-size: 16px;
    color: #000;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header__link .sub-link {
    font-size: 16px;
    font-weight: normal;
    width: 100%;
    text-align: left;
    padding: 5px 10px;
    display: block;
}

.header__link:hover,
.header__link.active {
    color: #00AD65;
}

.header__contact {
    text-decoration: none;
    font-size: 16px;
    color: #ffffff;
    background-color: #38D191;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header__contact:hover {
    background-color: #00AD65;
    color: #000;
}

/* Mobile Modifier */
@media (max-width: 767px) {
    .footer__row {
        flex-direction: column-reverse;
        text-align: center;
    }

    .navbar-list {
        flex-direction: column;
    }

    .section_bg a div img {
        height: 32px;
    }

    .header {
        padding: 10px 0;
    }

    .social-section__list {
        flex-direction: row;
        gap: 10px;
        padding-left: 0;
        flex-wrap: wrap;
    }

    .footer__right {
        margin-bottom: 16px;
    }

    .footer__right {
        flex-direction: row;
        gap: 10px;
    }

    .section_bg a div span,
    .footer__logo__text span {
        font-size: 25px;
        line-height: 33px;
    }
}