/* ==========================================================================
   OSHNI SOFTWARE — Public Frontend Shared Styles
   Global reset, navigation, footer, and shared buttons.
   Page-specific styles live in home.css, team.css, contact.css,
   product_details.css, and service_details.css.
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

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

.navbar {
    background: #FFFFFF;
    box-shadow: 0px 4px 20px rgba(22, 22, 22, 0.1);
}

.navbar.sticky-top {
    z-index: 1045 !important;
}

.navbar .offcanvas {
    z-index: 1050;
    max-width: 85vw;
}

@media screen and (max-width: 767.98px) {
    .navbar .offcanvas {
        width: 320px;
        max-width: 85vw;
    }
}

.dropdown-menu {
    border-top: 4px solid #EC6F57 !important;
    margin-top: 20px;
    left: 0%;
    width: 100%;
    z-index: 1 !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.92) !important;
    height: auto;
    overflow: hidden;
}

.dropdown-row {
    width: 70%;
}

.dropdown-menu .dropdown-item:hover {
    background-color: white;
}

.nav-link {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 22px;
    color: #fd7373;
}

.nav-link:hover,
.nav-link.active {
    color: #f92b2b !important;
}

.navbar-card {
    background: #FFFFFF;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border-radius: 20px;
    width: 100%;
    transition: all 0.3s;
    border: 1px solid #FFFFFF !important;
}

.navbar-card:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
    transform: translateY(-3px);
    border: 1px solid #f92b2b !important;
}

.navbar-card-body h6 {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    text-transform: uppercase;
    color: #EC6F57;
}

.navbar-card-body p {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-size: 8px;
    line-height: 10px;
    text-transform: uppercase;
    color: #000000;
}

@media screen and (max-width: 480px) {
    .dropdown-menu {
        border-top: 4px solid #EC6F57 !important;
        margin-top: 18px;
        left: 0%;
        width: 100%;
        z-index: 1 !important;
        opacity: 1;
        background: rgba(255, 255, 255, 0.92) !important;
    }

    .dropdown-row {
        width: 85%;
    }

    .navbar-card {
        background: #FFFFFF;
        box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }

    .navbar-card-body h6 {
        font-size: 12px;
    }

    .navbar-card-body {
        padding: 0px !important;
    }

    .navbar-card-body p {
        font-size: 7px;
    }

    .wrapper .col-md-6:nth-child(even) {
        order: 1;
    }

    .wrapper .col-md-6:nth-child(odd) {
        order: 2;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .dropdown-menu {
        border-top: 4px solid #EC6F57 !important;
        margin-top: 18px;
        left: 0%;
        width: 100%;
        z-index: 1 !important;
        opacity: 1;
        background: rgba(255, 255, 255, 0.92) !important;
    }

    .dropdown-row {
        width: 85%;
    }

    .navbar-card {
        background: #FFFFFF;
        box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.1);
        border-radius: 20px;
    }

    .navbar-card-body h6 {
        font-size: 12px;
    }

    .navbar-card-body {
        padding: 0px !important;
    }

    .navbar-card-body p {
        font-size: 7px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer-title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: #EC6F57;
}

.footer-title-2 {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    color: rgba(37, 47, 64, 0.8);
}

.footer-item {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 25px;
    color: #252F40;
}

.footer-section {
    background: #FFFFFF;
}

.footer-section a.footer-item {
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section a.footer-item:hover {
    color: #EC6F57;
}

.footer-section a.footer-item:last-child {
    margin-bottom: 0;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #252F40;
    font-size: 1.15rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    color: #EC6F57;
    transform: translateY(-2px);
}

.footer-bottom {
    font-size: 13px;
}

/* ==========================================================================
   SHARED BRAND BUTTONS
   Used by product detail, service detail, and team pages.
   ========================================================================== */

.product-btn,
.service-btn,
.about-btn {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    padding: 9px 15px;
    background: #EC6F57;
    border-radius: 20px;
}

.product-btn:hover,
.service-btn:hover,
.about-btn:hover {
    background: #ff3838;
}

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */

.js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1),
        transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
    transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger the service cards when the grid enters the viewport */
.services-grid > [data-reveal]:nth-child(1) {
    --delay: 0s;
}

.services-grid > [data-reveal]:nth-child(2) {
    --delay: 0.06s;
}

.services-grid > [data-reveal]:nth-child(3) {
    --delay: 0.12s;
}

.services-grid > [data-reveal]:nth-child(4) {
    --delay: 0.18s;
}

.services-grid > [data-reveal]:nth-child(5) {
    --delay: 0.24s;
}

.services-grid > [data-reveal]:nth-child(6) {
    --delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   BREADCRUMB COMPONENT
   ========================================================================== */

.breadcrumb-nav {
    padding: 16px 0;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
}

.breadcrumb-custom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-custom a {
    color: #67748E;
    text-decoration: none;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.breadcrumb-custom a:hover {
    color: #EC6F57;
}

.breadcrumb-custom .separator {
    color: #CBD5E1;
    font-size: 12px;
}

.breadcrumb-custom .active {
    color: #EC6F57;
    font-weight: 600;
}
