@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    overflow-x: hidden;
}

p {
    font-size: 16px;
}

.container-fluid {
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    margin: 0;
    padding: 0;
}

.min-vh-90 {
    min-height: 90vh;
}
.min-vh-75 {
    min-height: 75vh;
}
.min-vh-50 {
    min-height: 50vh;
}


/* CSS for Resusable Classes */
h2 {
    color: #262626;
}


.m-border-lightorange {
    border-color: #f0e6dd !important;
}

.m-border-lightblue {
    border-color: #dce6ed !important;
}

.m-title {
    font-family: 'Ubuntu', sans-serif;
}

.m-fw-600 {
    font-weight: 600;
}

.m-bg-blue {
    background-color: #1E9BD0;
}

.m-bg-orange {
    background-color: #fd760d;
}

.m-bg-lightblue {
    background-color: #1e9bd01a;
}

.m-bg-lightorange {
    background-color: #f88b361a;
}

.m-color-blue {
    color: #009cde;
}

.m-color-orange {
    color: #f47920;
}


.m-btn-blue {
    background-color: #1e9bd0;
    color: #ffffff;
    border: none;
}

.m-btn-blue:hover,
.m-bg-blue:active {
    background-color: #1988b8 !important;
    color: #ffffff;
}

.m-btn-black {
    background-color: #262626;
    color: #ffffff;
    border: none;
}

.m-btn-black:hover {
    background-color: #1a1a1a !important;
    color: #ffffff;
}

.m-bg-dark {
    background: #262626 !important;
}

.m-bg-dark:hover {
    background: #1a1a1a !important;
}
.m-btn-orange {
    background-color: #FD760D;
    color: #FFFFFF;
    border: none;
}

.m-btn-orange:hover,
.m-bg-orange:active {
    background-color: #eb6b0a !important;
    color: #FFFFFF;
}

.m-td-none {
    text-decoration: none;
}

.m-hover-black:hover {
    color: #262626 !important;
    transition: 0.3s ease-in-out;
}

.m-border-color-orange {
    border-color: #fd760d !important;
}

.m-border-color-blue {
    border-color: #1e9bd0 !important;
}

.m-me-3 {
    margin-right: 11px;
}

/* Animation for main components */
main {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Social Media Icons */
.social-icon {
    width: 42px;
    height: 42px;
    border: 1px solid #262626;
    font-size: 18px;
    color: #262626;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.social-icon:hover {
    background-color: #262626;
    color: white;
}

@media (max-width: 768px) {
    .social-icon {
        width: 18px;
        height: 18px;
        font-size: 16px;
        padding: 16px;
    }
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}

/* M-Card CSS for Resusable Classes */

.m-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    min-height: 210px;
    border-radius: 15px;
    padding: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.m-card-light {
    background: url("../images/backgrounds/blue-card.webp") no-repeat center;
    background-size: 99% 100%;
}

.m-card-dark {
    background: url("../images/backgrounds/orange-card.webp") no-repeat center;
    background-size: 99% 100%;
}

.m-card-description {
    margin-bottom: 10px;
    width: 90%;
}

.m-card-btn {
    font-size: 20px;
    border-radius: 12px;
    width: 207px;
    display: inline-block;
    padding: 8px 20px;
}

/* Ensure row layout stays intact */
.user-info {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.user-images {
    display: flex;
    align-items: center;
    position: relative;
}

.user-images .user-image {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
    position: relative;
    z-index: 1;
    margin-left: -20px;
    /* Overlapping effect */
}

.user-images img:first-child {
    margin-left: 0;
}

.m-card span {
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .m-card {
        min-height: auto;
        padding: 14px;
    }

    .m-card span,
    .m-card h5 {
        font-size: 14px;
        word-wrap: break-word;
        /* Prevent text overflow */
    }

    .m-card-btn {
        font-size: 14px;
        width: auto;
    }
}

@media (max-width: 475px) {
    .m-card-img {
        width: 110px !important;
        height: auto !important;
    }
    .m-card-description {
        font-size: 12px;
    }
    .user-images .user-image {
        width: 28px;
        height: 28px;
    }
}
/* Header CSS */

/* General Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 40px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Logo */
.navbar-brand img {
    width: 100%;
    height: 50px;
}

/* Navbar Links */
.navbar-nav {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-link {
    color: #595959;
    font-size: 16px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.navbar-nav .nav-link:hover {
    color: #262626;
}

.navbar-nav .nav-link.active {
    color: #262626;
    font-weight: 700;
}

/* Login Dropdown  */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    overflow: hidden;
    display: none;
    opacity: 0;
    transform: translateY(-15px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    z-index: 2000;
    padding: 8px 12px;
    border: 1px solid #ddd;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(10px);
    background: #f6f6f6;
    border-radius: 12px;
    padding: 12px 15px;
    border: none;
}

.dropdown-item {
    padding: 10px 15px;
    display: block;
    text-decoration: none;
    color: #595959;
    font-size: 16px;
    transition: background 0.3s ease;
}

.dropdown-item:hover {
    background: none;
}

.dropdown-item:first-child {
    border-bottom: 1px solid #e6e6e6;
}

.dropdown-item:active,
.dropdown-item:focus {
    color: #262626;
    background: none;
}

.dropdown-toggle::after {
    display: none !important;
}

.rotate-arrow {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#mobileLoginDropdown i,
#desktopLoginDropdown i {
    transition: transform 0.3s ease;
    font-size: 12px;
}

/* Hamburger Menu Button */
.navbar-toggler {
    display: block;
    width: 24px;
    height: 3px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.navbar-toggler-icon {
    width: 28px;
    height: 3px;
    background-color: #262626;
    border-radius: 2px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    transition: all 0.3s ease-in-out;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: "";
    width: 24px;
    height: 3px;
    background-color: #262626;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.3s ease-in-out;
}

.navbar-toggler.active {
    border: none !important;
    outline: none !important;
}

.navbar-toggler-icon::before {
    top: -10px;
}

.navbar-toggler-icon::after {
    top: 10px;
}

/* Transform Bars into X when Active */
.navbar-toggler.active .navbar-toggler-icon {
    background: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
    height: 2px;
}

.navbar-toggler.active .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    top: 0;
    height: 2px;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.contact-info {
    display: none;
}

/* Overlay effect after opening menu */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    /* Behind navbar but above other content */
}

.overlay.show {
    visibility: visible;
    opacity: 1;
}

/* Responsive Navbar Menu */

@media (max-width: 1200px) {
    .navbar-nav {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 10px 20px;
    }

    .navbar-collapse {
        position: absolute;
        width: 80%;
        top: 100%;
        left: -100%;
        height: 93vh;
        background: white;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        padding-top: 20px;
        transition: left 0.3s ease-in-out;
        gap: 80px;
        opacity: 0;
    }

    /* When menu is active (open), slide it into view */
    .navbar-collapse.show {
        left: 0;
        visibility: visible;
        opacity: 1;
    }

    .navbar-nav {
        flex-direction: column;
        gap: 12px;
        padding-left: 20px;
        align-items: flex-start;
        /* Aligns menu items to the left */
        width: 100%;
    }

    .navbar-nav .nav-link {
        color: #262626;
    }

    #desktopLoginDropdown {
        display: none;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        width: 160px;
        height: auto;

        @media (max-width: 375px) {
            width: 140px;
        }
    }

    .dropdown-toggle {
        padding: 6px 12px !important;
        gap: 3px !important;
        font-size: 14px !important;
    }

    .dropdown-item {
        padding: 10px !important;
        font-size: 14px !important;
    }

    .contact-info {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-left: 20px;
    }

    .contact-item {
        display: flex;
        align-items: center;
        font-size: 14px;
        color: #262626;
        text-decoration: none;
        margin-bottom: 10px;
        font-weight: 500;
    }

    .contact-item:hover {
        color: #545454;
    }

    .contact-item i {
        margin-right: 10px;
        font-size: 18px;
        color: #1e9bd0;
        /* Blue icon */
    }
}

/* Footer CSS */

.footer {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 40px 10px 40px;
}

.footer-links {
    text-align: center;
    flex: 1;
}

.footer-nav {
    gap: 120px;
}

.footer-nav .nav-link {
    color: #262626;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 0;
    margin-bottom: 8px;
}

.footer-nav .nav-link:hover {
    color: #494848;
}

.app_btns {
    display: flex;
    gap: 15px;
    align-items: center;
}

.app_btns a {
    background: #363636;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    width: auto;
}

small {
    font-size: 9px;
    margin-bottom: -3px;
    font-weight: 400;
}

.apple_icon {
    margin-top: -4px;
    margin-right: 7px;
}

.footer-copyright-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    background-color: #1e9bd00f;
    padding: 20px;
}

@media (max-width: 1024px) {
    .footer {
        flex-direction: column !important;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .footer {
        flex-direction: column !important;
        padding: 20px 20px 30px 20px;
    }

    .footer-nav {
        gap: 60px;
    }

    .app_btns {
        justify-content: center;
    }

    .footer-logo img {
        width: 240px;
        height: auto;
        max-width: 100%;
    }
}

@media (max-width: 375px) {
    .app_btns a {
        /* Prevent excessive width */
        width: 80%;
        justify-content: center;
    }

    .app_btns {
        flex-wrap: wrap;
    }
}
.container-fluid {
    max-width: 1600px;
}
