/* CSS Variables for Consistent Theming */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
:root {
    --primary-color: #f52008;
    --secondary-color: #333;
    --text-color: #444;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --header-height: 80px;
    --mobile-panel-width: 320px;
    --z-header: 1000;
    --z-mobile-panel: 1100;
    --z-overlay: 1050;
    --z-modal: 1200;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Prevent body scrolling when mobile menu is open */
body.ahive-mobile-menu-open-u4k7b {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Main Header Styles */
.ahive-responsive-header-main-x9k2p {
    font-family: 'Montserrat', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-light);
    z-index: var(--z-header);
    border-bottom: 1px solid rgba(224, 224, 224, 0.3);
}

.ahive-header-container-wrapper-m7n4q {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    gap: 10px;
    min-width: 0;
    /* Prevent flex item from growing beyond container */
}

/* Logo Section */
.ahive-logo-section-container-r8v3w {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    height: 100%;
    min-width: 200px;
    overflow: hidden;
    /* Prevent logo overflow */
}

.ahive-header-logo-link-t5b9c {
    display: flex;
    align-items: center;
    height: 62px;
    line-height: 0;
    min-width: 200px;
    white-space: nowrap;
    overflow: hidden;
}

.ahive-header-logo-link-t5b9c img {
    margin-left: -0px;
    height: 62px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 250px;
    flex-shrink: 0;
}

/* Desktop Navigation */
.ahive-desktop-navigation-menu-k6f7l {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
    margin-right: 20px;
    min-width: 0;
    /* Allow shrinking */
}

.ahive-nav-items-list-p3h8d {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.ahive-nav-item-dropdown-container-z2j5s {
    position: relative;
}

.ahive-nav-item-with-dropdown-n4x1y {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ahive-nav-link-builders-corner-g8u6e,
.ahive-nav-link-standard-h1c9b {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.ahive-nav-link-builders-corner-g8u6e:hover,
.ahive-nav-link-standard-h1c9b:hover {
    color: var(--primary-color);
}

.ahive-desktop-dropdown-arrow-v9i2o {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-desktop-dropdown-arrow-v9i2o:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-desktop-dropdown-arrow-v9i2o i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.ahive-desktop-dropdown-arrow-v9i2o.active i {
    transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.ahive-desktop-dropdown-menu-l5w3a {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ahive-desktop-dropdown-menu-l5w3a.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ahive-desktop-dropdown-menu-l5w3a ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.ahive-desktop-dropdown-menu-l5w3a ul li a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.ahive-desktop-dropdown-menu-l5w3a ul li a:hover {
    background: rgba(245, 32, 8, 0.05);
    color: var(--primary-color);
}

/* Desktop Header Actions */
.ahive-desktop-header-actions-f4d8x {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 130px;
}

.ahive-desktop-call-button-s6k2j {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.ahive-desktop-call-button-s6k2j:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.ahive-desktop-auth-container-e7m3n {
    position: relative;
}

.ahive-desktop-auth-button-y5t9u {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-desktop-auth-button-y5t9u:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-desktop-auth-dropdown-w8p1i {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-color);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.ahive-desktop-auth-dropdown-w8p1i.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ahive-auth-dropdown-link-b4v7z {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    transition: var(--transition);
}

.ahive-auth-dropdown-link-b4v7z:hover {
    background: rgba(245, 32, 8, 0.05);
    color: var(--primary-color);
}

.ahive-desktop-cta-button-c3x6q {
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 18px;
    font-weight: 600;
    font-size: 13px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    white-space: nowrap;
}

.ahive-desktop-cta-button-c3x6q:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mobile Hamburger Toggle */
.ahive-mobile-hamburger-toggle-a9l5k {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-mobile-panel) + 10);
    position: relative;
}

.ahive-hamburger-line-d2f8r {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--secondary-color);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--primary-color);
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(2) {
    opacity: 0;
}

.ahive-mobile-hamburger-toggle-a9l5k.active .ahive-hamburger-line-d2f8r:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: var(--primary-color);
}

/* Mobile Menu Overlay */
.ahive-mobile-menu-overlay-background-x4n7g {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-overlay);
    backdrop-filter: blur(2px);
}

.ahive-mobile-menu-overlay-background-x4n7g.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Right Panel Menu */
.ahive-mobile-right-panel-menu-j8k2v {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: var(--mobile-panel-width);
    max-width: 90vw;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: var(--z-mobile-panel);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    border-left: 1px solid rgba(224, 224, 224, 0.3);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.ahive-mobile-right-panel-menu-j8k2v.active {
    transform: translateX(0);
}

.ahive-mobile-panel-close-btn-m5p9t {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(245, 32, 8, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ahive-mobile-panel-close-btn-m5p9t:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.ahive-mobile-panel-content-q3w6s {
    padding: 80px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Mobile Navigation Items */
.ahive-mobile-nav-items-r1h4y {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ahive-mobile-nav-item-with-dropdown-u7e8z {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 4px;
    margin-bottom: 4px;
}

.ahive-mobile-nav-item-header-i2o5f {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.ahive-mobile-nav-link-l9c3x {
    text-decoration: none;
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    flex: 1;
}

.ahive-mobile-nav-link-l9c3x:hover {
    color: var(--primary-color);
}

.ahive-mobile-submenu-toggle-b6v0d {
    background: rgba(245, 32, 8, 0.1);
    border: 1px solid rgba(245, 32, 8, 0.2);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-mobile-submenu-toggle-b6v0d:hover {
    background: rgba(245, 32, 8, 0.2);
}

.ahive-mobile-submenu-toggle-b6v0d i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.ahive-mobile-submenu-toggle-b6v0d.active i {
    transform: rotate(180deg);
}

.ahive-mobile-submenu-container-k4t7n {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(245, 32, 8, 0.03);
    border-radius: 8px;
    margin-top: 8px;
}

.ahive-mobile-submenu-container-k4t7n.active {
    max-height: 200px;
}

.ahive-mobile-submenu-list-a8w1p {
    list-style: none;
    padding: 12px 0;
    margin: 0;
}

.ahive-mobile-submenu-link-g5j9s {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    transition: var(--transition);
    border-radius: 6px;
    margin: 0 8px;
}

.ahive-mobile-submenu-link-g5j9s:hover {
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
}

/* Mobile Panel Actions */
.ahive-mobile-panel-actions-z2f6h {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ahive-mobile-action-btn-v3y8c {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    text-decoration: none;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid transparent;
}

.ahive-mobile-request-btn-n7k4m {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.ahive-mobile-request-btn-n7k4m:hover {
    background: transparent;
    color: var(--primary-color);
}

.ahive-mobile-call-btn-s1q5e {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-color: rgba(34, 197, 94, 0.2);
}

.ahive-mobile-call-btn-s1q5e:hover {
    background: #16a34a;
    color: var(--white);
}

.ahive-mobile-login-btn-p9d2r {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-color: rgba(59, 130, 246, 0.2);
}

.ahive-mobile-login-btn-p9d2r:hover {
    background: #2563eb;
    color: var(--white);
}

.ahive-mobile-signup-btn-w6x0t {
    background: rgba(168, 85, 247, 0.1);
    color: #7c3aed;
    border-color: rgba(168, 85, 247, 0.2);
}

.ahive-mobile-signup-btn-w6x0t:hover {
    background: #7c3aed;
    color: var(--white);
}

/* Authentication Modal Styles */
.ahive-auth-modal-overlay-h4s7j {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: var(--z-modal);
    padding: 20px;
}

.ahive-auth-modal-overlay-h4s7j.active {
    opacity: 1;
    visibility: visible;
}

.ahive-auth-modal-container-t9p2w {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9) translateY(-20px);
    transition: transform 0.3s ease;
}

.ahive-auth-modal-overlay-h4s7j.active .ahive-auth-modal-container-t9p2w {
    transform: scale(1) translateY(0);
}

.ahive-auth-modal-close-e6k1x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.ahive-auth-modal-close-e6k1x:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-auth-modal-container-t9p2w h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--secondary-color);
    font-size: 24px;
}

.ahive-auth-form-r5n8d {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ahive-auth-form-group-c7b4f {
    position: relative;
    display: flex;
    align-items: center;
}

.ahive-auth-form-group-c7b4f i {
    position: absolute;
    left: 16px;
    color: var(--text-color);
    font-size: 16px;
    z-index: 1;
}

.ahive-auth-form-group-c7b4f input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.ahive-auth-form-group-c7b4f input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(245, 32, 8, 0.1);
}

.ahive-auth-submit-btn-m3v9y {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
}

.ahive-auth-submit-btn-m3v9y:hover {
    background: #d41607;
    transform: translateY(-2px);
}

.ahive-auth-switch-text-l8q6z {
    text-align: center;
    margin-top: 20px;
    color: var(--text-color);
    font-size: 14px;
}

.ahive-auth-switch-link-a1i5o {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.ahive-auth-switch-link-a1i5o:hover {
    text-decoration: underline;
}

/* Responsive Design */

/* Tablet Landscape Optimizations (1024px - 1199px) */
@media (max-width: 1199px) and (min-width: 1025px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        gap: 8px;
    }

    .ahive-logo-section-container-r8v3w {
        min-width: 180px;
    }

    .ahive-header-logo-link-t5b9c {
        min-width: 180px;
    }

    .ahive-header-logo-link-t5b9c img {
        margin-left: -0px;
        height: 58px;
        max-width: 220px;
    }

    .ahive-nav-items-list-p3h8d {
        gap: 20px;
    }

    .ahive-nav-link-builders-corner-g8u6e,
    .ahive-nav-link-standard-h1c9b {
        font-size: 14px;
    }

    .ahive-desktop-header-actions-f4d8x {
        gap: 10px;
        min-width: 120px;
    }

    .ahive-desktop-cta-button-c3x6q {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* iPad and Small Tablet Landscape (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        gap: 6px;
    }

    .ahive-logo-section-container-r8v3w {
        min-width: 160px;
    }

    .ahive-header-logo-link-t5b9c {
        min-width: 160px;
    }

    .ahive-header-logo-link-t5b9c img {
        margin-left: -0px;
        height: 56px;
        max-width: 200px;
    }

    .ahive-nav-items-list-p3h8d {
        gap: 16px;
    }

    .ahive-nav-link-builders-corner-g8u6e,
    .ahive-nav-link-standard-h1c9b {
        font-size: 13px;
    }

    .ahive-desktop-header-actions-f4d8x {
        gap: 8px;
        min-width: 110px;
    }

    .ahive-desktop-cta-button-c3x6q {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Mobile and Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .ahive-desktop-navigation-menu-k6f7l {
        display: none;
    }

    .ahive-desktop-header-actions-f4d8x {
        display: none;
    }

    .ahive-mobile-hamburger-toggle-a9l5k {
        display: flex;
    }

    /* Mobile header container adjustments */
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
        display: flex;
        align-items: center;
        position: relative;
    }

    /* Center logo on mobile */
    .ahive-logo-section-container-r8v3w {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: 0;
        min-width: auto;
        justify-content: center;
        display: flex;
        align-items: center;
    }

    /* Position hamburger menu on the right */
    .ahive-mobile-hamburger-toggle-a9l5k {
        margin-left: auto;
        position: relative;
        z-index: 10;
    }

    /* Mobile logo link adjustments */
    .ahive-header-logo-link-t5b9c {
        justify-content: center;
        min-width: auto;
        white-space: nowrap;
    }

    /* Mobile logo image adjustments */
    .ahive-header-logo-link-t5b9c img {
        margin-left: 0;
        height: 55px;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .ahive-header-container-wrapper-m7n4q {
        padding: 0 16px;
    }

    .ahive-mobile-right-panel-menu-j8k2v {
        width: 100vw;
        max-width: 100vw;
    }

    .ahive-mobile-panel-content-q3w6s {
        padding: 80px 20px 20px;
    }

    .ahive-auth-modal-container-t9p2w {
        padding: 24px;
        margin: 16px;
    }
}

/* Hover Effects for Better UX */
@media (hover: hover) {
    .ahive-nav-item-dropdown-container-z2j5s:hover .ahive-desktop-dropdown-menu-l5w3a {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }

    .ahive-desktop-auth-container-e7m3n:hover .ahive-desktop-auth-dropdown-w8p1i {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition-delay: 0s;
    }
}

/* Focus Styles for Accessibility */
.ahive-mobile-hamburger-toggle-a9l5k:focus,
.ahive-desktop-dropdown-arrow-v9i2o:focus,
.ahive-desktop-auth-button-y5t9u:focus,
.ahive-mobile-submenu-toggle-b6v0d:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li {
    animation: fadeInUp 0.3s ease forwards;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(1) {
    animation-delay: 0.1s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(2) {
    animation-delay: 0.15s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(3) {
    animation-delay: 0.2s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(4) {
    animation-delay: 0.25s;
}

.ahive-mobile-right-panel-menu-j8k2v.active .ahive-mobile-nav-items-r1h4y li:nth-child(5) {
    animation-delay: 0.3s;
}

/* Header Cart Icon Styles */
.ahive-desktop-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    color: var(--text-color);
    font-size: 20px;
}

.ahive-desktop-cart-button:hover {
    color: var(--primary-color);
    background: rgba(245, 32, 8, 0.1);
}

.ahive-cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ahive-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
}

.ahive-cart-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Cart Button Styling */
.ahive-mobile-cart-btn {
    background: rgba(245, 32, 8, 0.05);
    color: var(--text-color);
    border-color: rgba(245, 32, 8, 0.1);
    justify-content: flex-start;
}

.ahive-mobile-cart-btn:hover {
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
}

.ahive-mobile-cart-btn .ahive-cart-icon-wrapper {
    margin-right: 0;
}

.ahive-mobile-cart-btn .ahive-cart-badge {
    top: -5px;
    right: -8px;
    border-color: #f8f9fa;
    /* Match mobile menu background if possible, or white */
}

/* Floating Cart Button */
.ahive-floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #111;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    /* High z-index to stay on top */
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ahive-floating-cart-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.ahive-floating-cart-icon {
    position: relative;
    font-size: 20px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ahive-floating-cart-btn:hover .ahive-floating-cart-icon {
    color: #fff;
}

.ahive-floating-cart-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #ef4444;
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #111;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ahive-floating-cart-badge.active {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Adjustments for Floating Button */
@media (max-width: 768px) {
    .ahive-floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .ahive-floating-cart-icon {
        font-size: 20px;
    }

    .ahive-floating-cart-badge {
        top: -6px;
        right: -8px;
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Student Login Button and Full-screen Portal Loader Animation */
.ahive-mobile-student-btn-s3t9w {
    background: rgba(245, 32, 8, 0.1);
    color: var(--primary-color);
    border-color: rgba(245, 32, 8, 0.2);
}

.ahive-mobile-student-btn-s3t9w:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Fullscreen Loader Styles - ArchitectsHive Theme */
.student-portal-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fafafa;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2d3748;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.student-portal-loader.active {
    opacity: 1;
    visibility: visible;
}

.loader-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/student_loader_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.65;
    animation: slowZoom 25s infinite ease-in-out;
    pointer-events: none;
}

.loader-hive-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(245, 32, 8, 0.05) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    pointer-events: none;
}

.loader-content-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 460px;
    padding: 0 20px;
}

.academy-loader-card {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(245, 32, 8, 0.08);
    box-shadow: 0 25px 60px rgba(245, 32, 8, 0.04), 0 5px 20px rgba(0, 0, 0, 0.02);
    border-radius: 20px;
    padding: 55px 40px 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.academy-live-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(245, 32, 8, 0.05);
    color: #f52008;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(245, 32, 8, 0.05);
}

.live-dot {
    width: 6px;
    height: 6px;
    background-color: #f52008;
    border-radius: 50%;
    animation: blinkDot 1.2s infinite ease-in-out;
}

.academy-sketch-container {
    position: relative;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
}

.sketch-line {
    position: absolute;
    background: rgba(245, 32, 8, 0.06);
    pointer-events: none;
}

.sketch-line-horizontal {
    top: 50%;
    left: -40px;
    right: -40px;
    height: 1px;
    transform: translateY(-50%);
}

.sketch-line-vertical {
    left: 50%;
    top: -20px;
    bottom: -20px;
    width: 1px;
    transform: translateX(-50%);
}

.academy-icon-box {
    width: 76px;
    height: 76px;
    background: linear-gradient(135deg, #f52008 0%, #d41607 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(245, 32, 8, 0.25);
    position: relative;
    z-index: 2;
}

.academy-icon-box::after {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    border-radius: 50%;
    border: 1.5px dashed rgba(245, 32, 8, 0.35);
    animation: rotateDashed 12s infinite linear;
}

.academy-icon-box i {
    font-size: 30px;
    color: #ffffff;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.academy-title-animated {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 5px;
    margin: 0 0 12px 0;
    color: #1a202c;
    text-transform: uppercase;
}

.academy-title-animated span {
    color: #f52008;
}

.academy-slide-text {
    font-size: 13.5px;
    font-weight: 400;
    color: #718096;
    margin-bottom: 35px;
    min-height: 48px;
    line-height: 1.6;
    transition: opacity 0.25s ease;
    text-align: center;
}

.academy-progress-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.academy-progress-bar {
    height: 8px;
    width: 100%;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.academy-progress-fill {
    height: 100%;
    width: 0%;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.2) 25%, transparent 25%, transparent 50%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.2) 75%, transparent 75%, transparent),
                      linear-gradient(90deg, #f52008, #ff6b5c);
    background-size: 15px 15px;
    box-shadow: 0 0 10px rgba(245, 32, 8, 0.5);
    border-radius: 6px;
    transition: width 0.1s linear;
    animation: progressStripes 1s infinite linear;
}

.academy-progress-percentage {
    position: absolute;
    right: 0;
    top: -24px;
    font-size: 11px;
    font-weight: 700;
    color: #f52008;
    letter-spacing: 0.5px;
}

.academy-status-text {
    font-size: 12px;
    font-weight: 600;
    color: #f52008;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.academy-software-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0, 0, 0, 0.05);
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: 100%;
}

.academy-software-footer span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.academy-software-footer span i {
    color: #f52008;
    font-size: 6px;
}

@keyframes slowZoom {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@keyframes blinkDot {
    0%, 100% { opacity: 0.3; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

@keyframes rotateDashed {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes progressStripes {
    from { background-position: 0 0; }
    to { background-position: 15px 0; }
}/* Interactive Project Card Mockup */
.project-mockup-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 82%;
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 3;
    transition: var(--transition);
}

.project-mockup-card:hover {
    transform: translate(-50%, -53%);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.09);
}

.mockup-header {
    background: rgba(247, 250, 252, 0.45);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.mockup-dots span:nth-child(1) { background-color: #ff5f56; }
.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27c93f; }

.mockup-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
    font-family: monospace;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mockup-title i {
    color: var(--primary-color);
}

.mockup-body {
    padding: 16px;
}

.mockup-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.status-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.active-badge {
    background: rgba(245, 32, 8, 0.08);
    color: var(--primary-color);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.mockup-progress-section {
    margin-bottom: 16px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.progress-bar-track {
    height: 6px;
    background: #edf2f7;
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 78%;
    background: linear-gradient(90deg, var(--primary-color), #ff6b5b);
    border-radius: 3px;
    animation: mockupProgressPulse 3s infinite ease-in-out;
}

@keyframes mockupProgressPulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

.mockup-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mockup-checklist li {
    font-size: 0.72rem;
    color: #4a5568;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.mockup-checklist li i.fa-circle-check {
    color: #38a169;
    font-size: 0.85rem;
}

.mockup-checklist li i.fa-circle-notch {
    color: var(--primary-color);
    font-size: 0.85rem;
}

/* Floating Badges Styling */
.software-pill {
    position: absolute;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: floatBadge 6s infinite ease-in-out;
    animation-delay: var(--animation-delay);
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.software-pill i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.pill-autocad {
    top: 10%;
    left: -8%;
}

.pill-revit {
    top: 25%;
    right: -10%;
}

.pill-sketchup {
    bottom: 25%;
    left: -12%;
}

.pill-vray {
    bottom: 12%;
    right: -6%;
}

.pill-lumion {
    top: 50%;
    right: -14%;
}

@media (max-width: 768px) {
    .software-pill {
        display: none !important;
    }
    .student-portal-loader .project-mockup-card {
        transform: scale(0.95);
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .student-portal-loader .project-mockup-card {
        transform: scale(0.85);
    }
}
