/* HRT - The Stock Tech Custom Styles */


/* Typography Helpers */
.fs-7 {
    font-size: 0.85rem;
}

/* About Us Layout Styles */
.about-page-wrapper {
    background-color: #f8f9fa;
}

.who-we-are-card {
    box-shadow: 0 10px 30px rgba(26, 67, 191, 0.2);
}

.about-feature-list li span {
    font-weight: 500;
    color: #495057;
}

/* Services Grid */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.service-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #e9ecef;
}

.service-list li:last-child {
    border-bottom: none;
}

/* Approach Timeline */
.process-step {
    text-align: center;
    padding: 0 10px;
}

.process-number {
    font-size: 1.25rem;
    font-weight: bold;
    box-shadow: 0 0 0 5px rgba(255,255,255,0.1);
}

@media (max-width: 768px) {
    .process-timeline-row {
        flex-direction: column;
    }
    .process-step {
        margin-bottom: 30px;
    }
}

/* ── Header Navigation Spacing & Layout Fixes ── */
.site-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.55rem 0 !important;
    gap: 1rem !important;
    max-width: 100% !important;
}

.header-left {
    flex-shrink: 0 !important;
}

.header-center {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 0.6rem !important;
    flex-wrap: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-nav .nav-link {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
}

.main-nav .nav-link:hover {
    color: #1669e8 !important;
    background: #f0f6ff !important;
}

.main-nav .nav-link.active {
    color: #1669e8 !important;
    background: #eef5ff !important;
    font-weight: 700 !important;
}

.header-logo-img {
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.header-logo-img:hover {
    transform: scale(1.02);
}

.header-right {
    flex-shrink: 0 !important;
}

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
}

.search-box input {
    width: 175px !important;
    font-size: 0.82rem !important;
    padding: 0.45rem 0.85rem 0.45rem 2.2rem !important;
}

.search-box input:focus {
    width: 220px !important;
}

/* ── Mobile Navigation Drawer (Android & Tablet) ── */
.mobile-drawer-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1100;
    animation: fadeIn 0.2s ease;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    z-index: 1110;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    animation: slideInLeft 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Mobile Bottom Navigation Bar (Android & iOS Smartphones) ── */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
    z-index: 1040;
    padding: 0.25rem 0.5rem;
}

.mobile-bottom-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 600;
    gap: 2px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    flex: 1;
}

.mobile-bottom-link i {
    font-size: 1.15rem;
}

.mobile-bottom-link.active, .mobile-bottom-link:hover {
    color: #1669e8;
}

.mobile-cart-badge {
    position: absolute;
    top: 2px;
    right: calc(50% - 15px);
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── RESPONSIVE BREAKPOINTS: ANDROID / MOBILE (< 768px) ── */
@media (max-width: 767.98px) {
    /* Safe padding for bottom bar */
    .site-footer, .site-content {
        padding-bottom: 65px;
    }

    .hrt-hero {
        padding: 35px 0 25px !important;
    }

    .hrt-hero-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .hrt-hero-title {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
    }

    .hrt-hero-subtitle {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .hrt-hero-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .hrt-hero-actions .hrt-btn {
        width: 100% !important;
        justify-content: center !important;
        font-size: 0.95rem !important;
        padding: 12px 18px !important;
    }

    .hrt-hero-visual-col {
        margin-top: 15px !important;
    }

    .hrt-founder-frame {
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .hrt-founder-img-wrap {
        height: 250px !important;
    }

    .hrt-floating-growth {
        position: static !important;
        width: 100% !important;
        margin-top: 15px !important;
        margin-bottom: 12px !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    }

    .hrt-floating-tickers {
        position: static !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .hrt-ticker-card {
        padding: 8px 10px !important;
        border-radius: 10px !important;
    }

    .hrt-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .hrt-stat-card {
        padding: 16px 10px !important;
    }

    .hrt-stat-number {
        font-size: 1.65rem !important;
    }

    .hrt-stat-title {
        font-size: 0.85rem !important;
    }

    .hrt-about-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .hrt-checklist-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .hrt-services-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .hrt-courses-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .hrt-testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .hrt-partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ── RESPONSIVE BREAKPOINTS: TABLET / iPAD (768px - 1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
    .hrt-hero {
        padding: 45px 0 35px !important;
    }

    .hrt-hero-grid {
        grid-template-columns: 1.15fr 0.85fr !important;
        gap: 24px !important;
        align-items: center !important;
    }

    .hrt-hero-title {
        font-size: 2.6rem !important;
    }

    .hrt-founder-img-wrap {
        height: 290px !important;
    }

    .hrt-stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 12px !important;
    }

    .hrt-stat-card {
        padding: 18px 12px !important;
    }

    .hrt-about-grid {
        grid-template-columns: 1fr 1.2fr !important;
        gap: 24px !important;
    }

    .hrt-services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .hrt-courses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .hrt-testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }

    .hrt-partners-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 24px !important;
    }
}

/* ── RESPONSIVE BREAKPOINTS: WINDOWS DESKTOP & WIDESCREEN (1025px+) ── */
@media (min-width: 1025px) {
    .hrt-container {
        max-width: 1240px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    .hrt-hero-grid {
        grid-template-columns: 1.2fr 0.8fr !important;
        gap: 48px !important;
    }

    .hrt-services-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px !important;
    }

    .hrt-courses-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 24px !important;
    }

    .hrt-stats-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }

    .hrt-partners-grid {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 16px !important;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr !important;
        gap: 30px !important;
    }
}


