/* ========== Shared Component Styles ========== */

/* ========== Buttons ========== */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border: none;
    padding: 14px 36px;
    border-radius: 16px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(37, 99, 235, 0.35);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary i {
    font-size: 1.1rem;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.05rem;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #2563EB;
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    color: #2563EB;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
    background: #EFF6FF;
    color: #2563EB;
}

/* Button Variants */
.btn-amber {
    background: #F59E0B !important;
    color: #0F172A !important;
}

.btn-amber:hover {
    background: #D97706 !important;
}

.btn-yellow {
    background: #FACC15 !important;
    color: #0F172A !important;
}

.btn-yellow:hover {
    background: #EAB308 !important;
}

/* ========== Enquiry Floating Form ========== */
.enquiry-card {
    position: fixed;
    top: 84px;
    right: 24px;
    z-index: 1050;
}

.enquiry-toggle {
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    border: none;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.2);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.enquiry-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.3);
}

.enquiry-panel {
    display: none;
    width: 320px;
    background: white;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(2, 6, 23, 0.12);
    margin-top: 8px;
    position: relative;
}

.enquiry-panel h4 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
}

.enquiry-panel .muted {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 12px;
}

.enquiry-panel input,
.enquiry-panel textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.enquiry-panel input:focus,
.enquiry-panel textarea:focus {
    outline: none;
    border-color: #2563EB;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.enquiry-panel .btn-primary {
    width: 100%;
    justify-content: center;
}

.close-enquiry {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #64748B;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-enquiry:hover {
    color: #0F172A;
}

@media (max-width: 768px) {
    .enquiry-card {
        display: none;
    }
}

/* ========== Utility Classes ========== */
.container-fluid {
    width: 100%;
}

.muted {
    color: #64748B;
}

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

/* ========== Professional Full Width Problem Card ========== */
.problem-section {
    padding: 80px 0;
    background: #f8fafc;
}

.problem-card {
    width: 100%;
    background: white;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    padding: 48px 0;
    margin: 0;
    border-top: 4px solid #2563eb;
    border-bottom: 1px solid #e5e7eb;
}

.problem-card-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 320px 1fr;
    align-items: start;
    gap: 48px;
}

.problem-graph {
    background: #f3f4f6;
    border-radius: 20px;
    padding: 32px;
    height: fit-content;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.problem-graph h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    text-align: center;
}

.graph-container {
    display: flex;
    align-items: flex-end;
    height: 140px;
    gap: 8px;
}

.graph-bar {
    flex: 1;
    background: linear-gradient(180deg, #ef4444, #dc2626);
    border-radius: 6px 6px 0 0;
    height: 25%;
    position: relative;
    transition: height 0.4s ease;
}

.graph-bar.current {
    background: linear-gradient(180deg, #059669, #047857);
    height: 100%;
}

.graph-bar span {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.problem-icon {
    font-size: 2.2rem;
    color: #2563eb;
    align-self: flex-start;
    line-height: 1;
}

.problem-content {
    flex: 1;
}

.problem-card h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 16px 0;
    line-height: 1.25;
}

.problem-card p {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.7;
    margin: 0 0 40px 0;
    max-width: 700px;
}

.problem-stats {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.problem-stat {
    flex: 1;
    min-width: 180px;
    text-align: left;
}

.problem-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1.1;
    margin-bottom: 4px;
}

.problem-stat .stat-label {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .problem-stats {
        gap: 32px;
    }
    
    .problem-stat {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .problem-card-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
        padding: 0 20px;
    }
    
    .problem-icon {
        order: -1;
    }
    
    .problem-stats {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }
    
    .problem-card h2 {
        font-size: 1.875rem;
    }
    
    .problem-stat {
        text-align: center;
    }
    
    .problem-stat .stat-number {
        font-size: 2.25rem;
    }
}
