/* ================================================================
   TECGYM BRAND COLORS – same as homepage
   ================================================================ */
:root {
    --brand-orange: #FF8400;
    --brand-orange-hover: #E87500;
    --brand-orange-light: #FFF3E6;
    --brand-orange-extra-light: #FFF8F2;
    --brand-gray: #807E7E;
    --neutral-white: #FFFFFF;
    --neutral-heading: #1F2937;
    --neutral-paragraph: #4B5563;
    --neutral-border: #E5E7EB;
    --neutral-footer: #111827;
    --neutral-bg: #FAFAFA;
    --shadow-orange: 0 8px 30px rgba(255, 132, 0, 0.20);
    --shadow-soft: 0 2px 12px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
    --radius-btn: 50px;
    --radius: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #FAFAFA;
    color: var(--neutral-paragraph);
}

/* ================================================================
   HEADER – Sticky & responsive (same as homepage)
   ================================================================ */
.hdr-6 {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #141e2b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hdr-6 .top-bar {
    background: rgba(14, 23, 34, 0.92);
    padding: 0.4rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative;
    transition: transform 0.4s ease, opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
    min-height: 40px;
    text-align: center;
    overflow: hidden;
}
.hdr-6 .top-bar-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}
.hdr-6 .top-bar-closed {
    display: none;
}
.hdr-6 .top-bar p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin: 0;
    flex: 1;
}
.hdr-6 .top-bar p strong {
    color: var(--brand-orange);
    font-weight: 600;
}
.hdr-6 .top-bar-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    cursor: pointer;
    padding: 0 0.5rem;
    transition: color 0.2s;
    flex-shrink: 0;
}
.hdr-6 .top-bar-close:hover {
    color: var(--brand-orange);
}

.hdr-6 .main {
    padding: 0 2rem;
    background: #141e2b;
    position: relative;
    z-index: 2;
}
.hdr-6 .inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    position: relative;
}
.hdr-6 .logo-img {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.hdr-6 .nav {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.hdr-6 .nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.4rem 0.9rem;
    border-radius: 6px;
    transition: all 0.25s;
}
.hdr-6 .nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}
.hdr-6 .nav a.active {
    color: var(--brand-orange);
    font-weight: 600;
    background: rgba(255, 132, 0, 0.06);
}

.hdr-6 .btn-cta {
    background: var(--brand-orange);
    color: #fff !important;
    padding: 0.4rem 1.6rem !important;
    border-radius: 40px !important;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}
.hdr-6 .btn-cta:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.25);
}

.hdr-6 .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}
.hdr-6 .hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: #fff;
    border-radius: 4px;
    transition: 0.3s ease;
    transform-origin: center;
}

@media (max-width: 768px) {
    .hdr-6 .inner {
        flex-wrap: wrap;
        height: auto;
        padding: 10px 0;
        gap: 10px;
    }
    .hdr-6 .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    .hdr-6 .btn-cta {
        order: 1;
        padding: 0.3rem 1rem !important;
        font-size: 0.8rem;
        margin-left: auto;
    }
    .hdr-6 .logo-img {
        height: 38px;
        order: 0;
        margin-right: auto;
    }
    .hdr-6 .nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        order: 3;
        padding: 0.8rem 0 0.3rem 0;
        gap: 0.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.04);
        margin-top: 8px;
    }
    .hdr-6 .nav.open {
        display: flex;
    }
    .hdr-6 .nav a {
        font-size: 1rem;
        padding: 0.7rem 1rem;
        text-align: center;
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.8);
    }
    .hdr-6 .nav a:hover {
        background: rgba(255, 255, 255, 0.04);
    }
    .hdr-6 .nav a.active {
        color: var(--brand-orange);
        background: rgba(255, 132, 0, 0.08);
    }
    .hdr-6 .top-bar {
        padding: 0.3rem 0.8rem;
        min-height: 34px;
        gap: 0.5rem;
    }
    .hdr-6 .top-bar p {
        font-size: 0.6rem;
        letter-spacing: 0.3px;
    }
    .hdr-6 .top-bar-close {
        font-size: 0.9rem;
        padding: 0 0.3rem;
    }
    .hdr-6 .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    .hdr-6 .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    .hdr-6 .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

@media (max-width: 480px) {
    .hdr-6 .btn-cta {
        font-size: 0.7rem;
        padding: 0.2rem 0.7rem !important;
    }
    .hdr-6 .logo-img {
        height: 32px;
    }
    .hdr-6 .hamburger span {
        width: 22px;
        height: 2px;
    }
    .hdr-6 .top-bar p {
        font-size: 0.5rem;
    }
}

/* ================================================================
   BUTTONS – Unified (same as homepage)
   ================================================================ */
.btn {
    padding: 12px 32px;
    border-radius: var(--radius-btn);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-primary {
    background: var(--brand-orange);
    color: var(--neutral-white);
    box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 132, 0, 0.35);
    color: var(--neutral-white);
}
.btn-primary:active {
    background: var(--brand-orange-active);
    transform: translateY(0);
}

.btn-outline-primary {
    background: transparent;
    color: var(--brand-orange);
    border: 2px solid var(--brand-orange);
}
.btn-outline-primary:hover {
    background: var(--brand-orange);
    color: var(--neutral-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.btn-cta {
    background: var(--brand-orange);
    color: var(--neutral-white);
    padding: 10px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-cta:hover {
    background: var(--brand-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 132, 0, 0.25);
    color: var(--neutral-white);
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--brand-orange);
    outline-offset: 2px;
}

/* ================================================================
   FEATURE PAGE LAYOUT
   ================================================================ */
.support-container {
    display: flex;
    min-height: calc(100vh - 200px);
    margin-top: 20px;
}

.sidebar {
    width: 280px;
    background-color: var(--neutral-white);
    padding: 30px 20px;
    border-right: 1px solid var(--neutral-border);
    position: sticky;
    top: 80px;
    height: fit-content;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 8px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    color: var(--neutral-paragraph);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-weight: 500;
}

.sidebar-nav a:hover {
    background-color: var(--brand-orange-light);
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.sidebar-nav a.active {
    color: var(--brand-orange);
    background-color: var(--brand-orange-light);
    border-color: var(--brand-orange);
    font-weight: 600;
}

.main-content {
    flex: 1;
    padding: 30px 40px;
    max-width: 1200px;
}

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--neutral-heading);
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: var(--neutral-paragraph);
    max-width: 700px;
    margin: 0 auto;
}

.feature-section {
    background-color: #F8F9FA;
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--neutral-border);
    box-shadow: var(--shadow-soft);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 30px;
}

.feature-content {
    flex: 1;
}

.feature-tag {
    display: inline-block;
    background-color: var(--brand-orange);
    color: var(--neutral-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-heading);
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-description {
    font-size: 14px;
    color: var(--neutral-paragraph);
    line-height: 1.8;
    text-align: justify;
}

.feature-image {
    width: 200px;
    height: 140px;
    background: linear-gradient(135deg, var(--brand-orange-light) 0%, #ffd4b0 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-image i {
    font-size: 60px;
    color: var(--brand-orange);
}

.insights-list {
    margin: 30px 0;
}

.insight-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: var(--neutral-white);
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--neutral-border);
    transition: all 0.3s ease;
}
.insight-item:hover {
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-hover);
}

.insight-number {
    width: 40px;
    height: 40px;
    background-color: var(--brand-orange);
    color: var(--neutral-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.insight-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-heading);
    margin-bottom: 8px;
}

.insight-content p {
    font-size: 14px;
    color: var(--neutral-paragraph);
    margin: 0;
    line-height: 1.6;
}

.cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--neutral-white);
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid var(--neutral-border);
    transition: all 0.3s ease;
}
.cta-section:hover {
    border-color: var(--brand-orange);
    box-shadow: var(--shadow-hover);
}

.cta-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-heading);
}

.mobile-sidebar-toggle {
    display: none;
    width: 100%;
    padding: 12px;
    background-color: var(--brand-orange);
    color: var(--neutral-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* ================================================================
   FOOTER – Same as homepage
   ================================================================ */
.site-footer .footer-main {
    background: var(--neutral-footer) !important;
}
.site-footer .footer__heading {
    color: var(--neutral-white) !important;
}
.site-footer .footer__link {
    color: #d1d5db !important;
    text-decoration: none;
    transition: color 0.3s ease;
}
.site-footer .footer__link:hover {
    color: var(--brand-orange) !important;
}
.site-footer .footer-bottom {
    background: var(--neutral-footer) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.site-footer .footer-bottom p {
    color: #9ca3af !important;
}
.site-footer .footer__list {
    list-style: none;
    padding: 0;
}
.site-footer .footer__social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--brand-orange) !important;
}
.site-footer .footer__social-link:hover {
    border-color: var(--brand-orange-hover) !important;
    color: var(--brand-orange) !important;
    transform: translateY(-2px);
}

.btn-quote-modal {
    background: var(--brand-orange);
    color: #FFFFFF;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-orange);
    width: 100%;
    max-width: 320px;
}
.btn-quote-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 132, 0, 0.35);
    color: #FFFFFF;
}

/* ================================================================
   QUOTE MODAL
   ================================================================ */
.quote-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    background: #1a1a2e;
}
.quote-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 20px 25px 10px 25px;
    background: #1a1a2e;
    border-radius: 20px 20px 0 0;
}
.quote-modal .modal-header .modal-title {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.4rem;
}
.quote-modal .modal-header .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.7;
}
.quote-modal .modal-header .btn-close:hover {
    opacity: 1;
}
.quote-modal .modal-body {
    padding: 20px 25px 30px 25px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
}
.quote-modal .form-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 3px;
    letter-spacing: 0.3px;
}
.quote-modal .form-control {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    color: #FFFFFF !important;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    width: 100%;
    transition: border-color 0.3s ease;
}
.quote-modal .form-control:focus {
    border-color: var(--brand-orange) !important;
    box-shadow: 0 0 0 2px rgba(255,132,0,0.15);
    background: rgba(255,255,255,0.08) !important;
}
.quote-modal .form-control::placeholder {
    color: #9CA3AF !important;
}
.quote-modal .form-control.is-invalid {
    border-color: #dc3545 !important;
}
.quote-modal .field-error {
    color: #ff6b6b;
    font-size: 0.7rem;
    display: none;
    margin-top: 2px;
}

.quote-success-modal .modal-content {
    border: none;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.quote-success-modal .modal-header {
    border-bottom: none;
    padding: 25px 30px 0 30px;
}
.quote-success-modal .modal-body {
    padding: 10px 30px 30px 30px;
    text-align: center;
}
.quote-success-modal .modal-body .success-icon {
    font-size: 4rem;
    color: var(--brand-orange);
    display: block;
    margin-bottom: 15px;
}
.quote-success-modal .modal-body h4 {
    font-weight: 700;
    color: var(--neutral-heading);
    margin-bottom: 10px;
}
.quote-success-modal .modal-body p {
    color: var(--neutral-paragraph);
    font-size: 1rem;
    margin-bottom: 0;
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 992px) {
    .support-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--neutral-border);
        padding: 20px;
    }
    .sidebar-nav {
        display: none;
        flex-wrap: wrap;
        gap: 10px;
    }
    .sidebar-nav.show {
        display: flex;
    }
    .sidebar-nav li {
        margin-bottom: 0;
    }
    .sidebar-nav a {
        padding: 10px 15px;
        font-size: 13px;
    }
    .main-content {
        padding: 20px;
    }
    .feature-header {
        flex-direction: column-reverse;
    }
    .feature-image {
        width: 100%;
        height: 180px;
    }
    .feature-section {
        padding: 25px 20px;
    }
    .cta-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .mobile-sidebar-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 28px;
    }
    .page-header p {
        font-size: 14px;
    }
    .feature-title {
        font-size: 22px;
    }
    .insight-item {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 22px;
    }
    .feature-title {
        font-size: 20px;
    }
    .cta-text {
        font-size: 14px;
    }
}