/* Alphard Golf Trade-In Program Styles - Black and White Theme */
:root {
    --primary-color: #000000;
    --primary-color-rgb: 0, 0, 0;
    --secondary-color: #333333;
    --accent-color: #666666;
    --success-color: #000000;
    --warning-color: #666666;
    --error-color: #000000;
    --light-gray: #f8f9fa;
    --dark-gray: #000000;
    --border-color: #d1d5db;
    --text-primary: #000000;
    --text-secondary: #666666;
    --white: #ffffff;
    --hover-color: #f3f4f6;
}

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

body {
    font-family: 'Inter', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

/* Why Trade Up Section */
.why-trade-up-section {
    padding: 3rem 0;
    background: var(--light-gray);
    margin: 2rem 0;
}

.why-trade-up-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.image-container {
    position: relative;
}

.why-trade-up-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.mobile-cybercart-hero {
    display: none; /* Hidden on desktop */
}

.mobile-cybercart-image {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-features-overlay {
    display: none; /* Hidden on desktop */
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 1rem;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.mobile-features-overlay h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.feature-group {
    margin-bottom: 1.5rem;
}

.feature-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-group li {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.limited-offer {
    background: rgba(255, 193, 7, 0.1);
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #ffc107;
}

.limited-offer h4 {
    color: #d4720a;
}

.cta-box {
    padding: 2rem;
    background: var(--white);
    border-radius: 1rem;
    margin: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.cta-box .lead {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-buttons .btn {
    margin: 0;
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .why-trade-up-section {
        padding: 2rem 0;
        margin: 1rem 0;
    }

    .cta-box {
        margin: 1rem 0.5rem;
        padding: 1.5rem;
    }

    .why-trade-up-card .row {
        flex-direction: column-reverse;
    }

    .cta-box h3 {
        font-size: 1.2rem;
    }

    .cta-stats {
        margin: 1.5rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    /* Show mobile content on tablets and below */
    .mobile-cybercart-hero {
        display: block;
    }

    .mobile-features-overlay {
        display: block;
    }

    /* Hide original image on mobile */
    .why-trade-up-image {
        display: none;
    }

    .mobile-features-overlay h3 {
        font-size: 1.6rem;
    }

    .feature-group h4 {
        font-size: 1.05rem;
    }

    .feature-group li {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .why-trade-up-section {
        padding: 1.5rem 0;
        margin: 0.5rem 0;
    }

    .cta-box {
        margin: 0.5rem;
        padding: 1rem;
    }

    .cta-stats {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    /* Enhanced mobile styling for better readability */
    .mobile-cybercart-hero {
        margin: 0.5rem;
    }

    .mobile-cybercart-image {
        margin-bottom: 0.75rem;
    }

    .mobile-features-overlay {
        margin: 0.5rem;
        padding: 1.25rem;
    }

    .mobile-features-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .feature-group {
        margin-bottom: 1.25rem;
    }

    .feature-group h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .feature-group li {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0.4rem;
    }

    .limited-offer {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
}

/* Free Accessories Section */
.free-accessories-section {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.03) 0%, rgba(102, 102, 102, 0.05) 100%);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

.free-accessories-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.free-accessories-section .lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.accessory-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.accessory-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.accessory-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.accessory-details p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.value-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 0.5rem;
    margin-top: 1.5rem;
    border: 1px solid var(--border-color);
}

.value-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.value-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cta-box-accent {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-box-accent h3 {
    color: white !important;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-box-accent p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-box-accent .btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-box-accent .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.pulse-animation {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5); }
    100% { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
}

.small-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .accessory-item {
        padding: 0.75rem;
    }

    .accessory-icon {
        width: 35px;
        height: 35px;
    }

    .value-highlight {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .cta-box-accent {
        padding: 2.5rem 1.5rem;
        margin-top: 1.5rem;
        min-height: 240px;
    }

    .cta-box-accent h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }

    .cta-box-accent p {
        margin-bottom: 1.75rem;
    }
}

/* Collapsible Section */
.collapsible-header {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.collapsible-header:hover {
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.collapse-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.collapsible-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    overflow: hidden;
}

.collapsible-content.collapsed {
    max-height: 0;
    opacity: 0;
}

.collapsible-content:not(.collapsed) {
    max-height: 2000px;
    opacity: 1;
}

/* How It Works Steps */
.how-it-works-steps {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.step-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.step-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.step-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .step-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.95rem;
    }
}

/* Header Styles */
.header {
    background: var(--white);
    color: var(--text-primary);
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    min-height: 70px;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    gap: 3rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    flex-shrink: 0;
    margin-right: 2rem;
}

.logo:hover {
    color: var(--primary-color);
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-start;
    margin-left: 1rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    display: block;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    padding: 0.5rem;
}

.mobile-nav-toggle:hover {
    color: var(--primary-color);
}

/* Responsive navigation */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Mobile Floating Menu */
@media (max-width: 768px) {
    .header {
        position: relative;
        z-index: 1000;
        background: var(--white);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    }

    .header.floating {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .header .container {
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 1rem;
        position: relative;
        z-index: 10000;
    }

    .mobile-nav-toggle {
        display: block !important;
        position: fixed !important;
        top: 15px !important;
        right: 20px !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        background: white !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        padding: 8px !important;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        display: none;
        transform: translateY(-20px);
        transition: all 0.3s ease;
    }

    .nav-links.active {
        display: flex !important;
        transform: translateY(0) !important;
        animation: slideDown 0.3s ease forwards;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* FINAL WORKING MOBILE NAVIGATION */
    .nav-links.active {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: white !important;
        z-index: 999999 !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow-y: auto !important;
        padding-top: 80px !important;
    }

    .nav-links.active li {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
        border-bottom: 1px solid #eee !important;
    }

    .nav-links.active li a {
        display: block !important;
        padding: 20px 30px !important;
        width: 100% !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        background: white !important;
        border: none !important;
    }

    .nav-links.active li a:hover {
        background: #f8f9fa !important;
        color: var(--primary-color) !important;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 1rem 2rem;
        display: block;
        width: 100%;
        color: var(--text-primary);
        font-weight: 500;
    }

    .nav-links a:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: var(--primary-color);
    }

    /* Add top spacing to main content only when header is floating */
    .main-content.floating-header {
        padding-top: 5rem;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}

/* Global Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.loading-overlay * {
    animation-fill-mode: none !important;
}

.loading-overlay .loading-text {
    animation: none !important;
    transform: none !important;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: none !important;
    transform: none !important;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(var(--primary-color-rgb), 0.2);
    border-left: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

/* Simple spinner for buttons */
.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-left: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

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

.loading-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    animation: none !important;
    transform: none !important;
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    transform-origin: initial !important;
    will-change: auto !important;
}

/* Page transition effects */
.page-transition {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.page-transition.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.page-transition.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.4s ease forwards;
}

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

@media (max-width: 480px) {
    .header .container {
        padding: 0.5rem 1rem;
    }

    .nav-links a {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/static/images/cybercart-bg.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 4rem 2rem;
    margin-bottom: 3rem;
    border-radius: 8px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-warning {
    background: var(--warning-color);
    color: white;
}

.btn-error {
    background: var(--error-color);
    color: white;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.button-group .btn {
    flex: 1;
    min-width: 120px;
}

@media (max-width: 480px) {
    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        flex: none;
        width: 100%;
    }
}

/* Cards */
.card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* CTA Section Override */
.card[style*="linear-gradient"] h2 {
    color: white !important;
}

/* Program Cards */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.program-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.program-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.credit-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-control.error {
    border-color: var(--error-color);
}

.form-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.05);
}

.file-upload.dragover {
    border-color: var(--primary-color);
    background-color: rgba(0, 0, 0, 0.1);
}

/* File Preview Styles */
.file-preview {
    max-width: 100%;
    overflow: hidden;
}

.file-preview img,
.file-preview video {
    max-width: 100% !important;
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 0.5rem;
}

/* Responsive preview sizing */
@media (max-width: 768px) {
    .file-preview img,
    .file-preview video {
        max-height: 150px !important;
    }
}

@media (max-width: 480px) {
    .file-preview img,
    .file-preview video {
        max-height: 120px !important;
    }
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Status Tracking */
.status-tracker {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.status-steps {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    position: relative;
    padding: 0 1rem;
}

.status-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-step:hover {
    transform: translateY(-2px);
}

.status-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 65%;
    right: -35%;
    height: 3px;
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 100%);
    border-radius: 2px;
    z-index: 1;
    transition: all 0.6s ease-in-out;
}

.status-step.completed:not(:last-child)::after {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% { 
        box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    }
    50% { 
        box-shadow: 0 4px 16px rgba(16, 185, 129, 0.5);
    }
}

.status-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    z-index: 2;
    position: relative;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    color: #6b7280;
}

.status-step.completed .status-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.4),
        0 0 0 3px rgba(16, 185, 129, 0.1);
    transform: scale(1.05);
    animation: completedBounce 0.6s ease-out;
}

@keyframes completedBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1.05); }
}

.status-step.current .status-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 
        0 4px 12px rgba(59, 130, 246, 0.4),
        0 0 0 3px rgba(59, 130, 246, 0.2);
    animation: currentPulse 2s ease-in-out infinite;
}

@keyframes currentPulse {
    0%, 100% { 
        box-shadow: 
            0 4px 12px rgba(59, 130, 246, 0.4),
            0 0 0 3px rgba(59, 130, 246, 0.2);
    }
    50% { 
        box-shadow: 
            0 6px 20px rgba(59, 130, 246, 0.6),
            0 0 0 6px rgba(59, 130, 246, 0.3);
    }
}

.status-step span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    transition: all 0.3s ease;
    max-width: 100px;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(229, 231, 235, 0.8);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.status-step.completed span {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: 1px solid #059669;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.status-step.current span {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: 1px solid #1d4ed8;
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

/* Responsive adjustments for progress bar */
@media (max-width: 768px) {
    .status-steps {
        padding: 0 0.5rem;
        margin: 2rem 0;
    }

    .status-icon {
        width: 2rem;
        height: 2rem;
        font-size: 0.75rem;
    }

    .status-step span {
        font-size: 0.75rem;
        max-width: 80px;
    }

    .status-step:not(:last-child)::after {
        height: 2px;
        left: 70%;
        right: -30%;
    }
}

@media (max-width: 480px) {
    .status-tracker {
        padding: 1.5rem;
    }

    .status-steps {
        flex-direction: column;
        gap: 1.5rem;
    }

    .status-step:not(:last-child)::after {
        display: none;
    }

    .status-step {
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .status-icon {
        margin-bottom: 0;
    }

    .status-step span {
        max-width: none;
        text-align: left;
    }
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background-color: #f9fafb;
    color: #000000;
    border: 1px solid #d1d5db;
}

.alert-error {
    background-color: #f3f4f6;
    border-color: #6b7280;
    color: #000000;
}

.alert-warning {
    background-color: #f3f4f6;
    border-color: #6b7280;
    color: #000000;
}

.alert-info {
    background-color: #f9fafb;
    border-color: #d1d5db;
    color: #000000;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background-color: var(--light-gray);
    font-weight: 600;
    color: var(--text-primary);
}

.table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Status Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Override Bootstrap bg-info to ensure proper contrast */
.badge.bg-info {
    background-color: #17a2b8 !important;
    color: #ffffff !important;
}

.badge-submitted {
    background-color: #f3f4f6;
    color: #374151;
}

.badge-under-review {
    background-color: #e5e7eb;
    color: #374151;
}

.badge-approved {
    background-color: #000000;
    color: #ffffff;
}

.badge-order-placed {
    background-color: #2563eb;
    color: #ffffff;
}

.badge-rejected {
    background-color: #6b7280;
    color: #ffffff;
}

.badge-validation-in-progress {
    background-color: #f59e0b;
    color: #ffffff;
}

.badge-validation-complete {
    background-color: #dc2626;
    color: #ffffff;
}

.badge-completed {
    background-color: #000000;
    color: #ffffff;
}

.badge-auto-approved {
    background-color: #000000;
    color: #ffffff;
}

.badge-auto-calculated {
    background-color: #000000;
    color: #ffffff;
}

.badge-auto-processed {
    background-color: #000000;
    color: #ffffff;
}

.badge-TRADE-IN-REGISTERED {
    background-color: #10b981;
    color: #ffffff;
    font-weight: 700;
    border: 2px solid #059669;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.badge-success {
    background-color: #f8f9fa;
    color: #007bff !important;
    border: 1px solid #dee2e6;
}

/* Form Label Styles */
.form-label-sm {
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: block;
    font-weight: 500;
}

/* Purchase Date Selector Styling */
.form-group .row.g-2 {
    gap: 0.5rem;
}

.form-group .row.g-2 .col-md-6 {
    flex: 1;
}

/* FAQ Section */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--light-gray);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-answer {
    padding: 1rem;
    display: none;
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
}

/* FAQ Section */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    background: var(--light-gray);
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #e5e7eb;
}

.faq-answer {
    padding: 1rem;
    display: none;
    border-top: 1px solid var(--border-color);
}

.faq-answer.active {
    display: block;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

/* FAQ Item Hover and Active States */
.faq-question:hover {
    background: #e5e7eb;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

/* FAQ Items Container */
.faq-items {
    margin: 1.5rem 0;
}

/* Enhanced FAQ Spacing */
.faq-items .faq-item:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }


    .status-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .status-step:not(:last-child)::after {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }
}

/* Loading Spinner */
.spinner {
    border: 3px solid var(--border-color);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

/* Admin Styles */
.admin-sidebar {
    width: 250px;
    background: white;
    border-right: 1px solid var(--border-color);
    padding: 1rem;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    overflow-y: auto;
}

.admin-content {
    margin-left: 250px;
    padding: 2rem;
}

.admin-nav {
    list-style: none;
    margin-top: 2rem;
}

.admin-nav li {
    margin-bottom: 0.5rem;
}

.admin-nav a {
    display: block;
    padding: 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Admin Transition Effects */
.admin-content {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.admin-content.fade-in {
    opacity: 0;
    transform: translateY(10px);
    animation: adminFadeIn 0.4s ease forwards;
}

.admin-content.admin-transitioning {
    opacity: 0.7;
    pointer-events: none;
}

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

/* Admin Navigation Loading States */
.admin-nav a {
    position: relative;
    transition: all 0.2s ease;
}

.admin-nav a.loading {
    opacity: 0.7;
}

.admin-nav a.loading::after {
    content: '';
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border: 2px solid rgba(var(--primary-color-rgb), 0.3);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Spin animation for icons and loading indicators */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced loading states for admin sections */
.admin-content .card {
    transition: all 0.3s ease;
}

.admin-transitioning .card {
    opacity: 0.8;
    transform: translateY(5px);
}

/* Media Queries for Mobile Admin */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }

    /* Adjust transition timing for mobile */
    .admin-content.fade-out,
    .admin-content.fade-in {
        transition-duration: 0.2s;
    }
}

/* Program Highlights Section */
.program-highlights-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.program-highlights-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.highlights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight-point {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid var(--primary-color);
}

.highlight-point:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.highlight-content {
    flex: 1;
}

.highlight-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.5;
}

.highlight-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.highlight-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Bullet Point Style for Program Highlights */
.highlights-list-bullets {
    list-style: none;
    padding: 0 0 0 2rem;
    margin: 0 0 2rem 0;
}

.highlight-bullet-point {
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
}

.highlight-bullet-point:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.highlight-bullet-point::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
}

.highlight-bullet-point strong {
    color: var(--primary-color);
    font-weight: 600;
}

.highlights-cta {
    text-align: center;
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
}

.highlights-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.highlights-cta .button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive adjustments for Program Highlights */
@media (max-width: 768px) {
    .program-highlights-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .program-highlights-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .highlights-list {
        gap: 1rem;
    }

    .highlight-point {
        padding: 1rem;
    }

    .highlight-content h4 {
        font-size: 1.1rem;
    }

    /* Mobile responsive for bullet points */
    .highlight-bullet-point {
        padding: 0.75rem 0;
        margin-bottom: 0.75rem;
    }

    .highlight-bullet-point::before {
        left: -1rem;
        font-size: 1.2rem;
        top: 0.4rem;
    }

    .highlights-cta {
        padding: 1.5rem 0;
    }

    .highlights-cta h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .highlights-cta .button-group {
        flex-direction: column;
        align-items: center;
    }

    .highlights-cta .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Good to Know Section */
.good-to-know-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.good-to-know-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    font-weight: 700;
}

.good-to-know-section .lead {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 600;
}

.terms-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.know-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.know-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.know-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.know-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.know-item p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments for Good to Know */
@media (max-width: 768px) {
    .good-to-know-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }

    .good-to-know-section h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .good-to-know-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .know-items {
        gap: 1rem;
    }

    .know-item {
        padding: 1rem;
    }

    .know-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .know-item p {
        font-size: 0.95rem;
    }
}

/* Free Gear Banner Image Styling */
.free-gear-banner {
    margin: 2rem 0;
}

.free-gear-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.free-gear-image:hover {
    transform: none;
}

/* Responsive adjustments for Free Gear Banner */
@media (max-width: 768px) {
    .free-gear-banner {
        margin: 1.5rem 0;
    }

    .free-gear-image {
        max-width: 100%;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .free-gear-image {
        max-width: 350px;
        border-radius: 6px;
    }
}