/**
 * VX Platform Landing Page - Clean Design
 */

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

/* Hide WordPress Admin Bar for non-admins */
#wpadminbar {
    display: none !important;
}

html {
    margin-top: 0 !important;
}

html.admin-bar body {
    padding-top: 0 !important;
}

/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
    /* Fallback for older browsers */
    background: linear-gradient(to bottom right, #1c398e 0%, #0f172b 50%, #1d293d 100%);
    /* Modern browsers with OKLCH */
    background: linear-gradient(to bottom right in oklab, oklch(.379 .146 265.522) 0%, oklch(.208 .042 265.755) 50%, oklch(.279 .041 260.031) 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.elementor-editor-active {
    background: #ffffff !important;
}

body.elementor-editor-active .landing-page,
body.elementor-editor-active .login-page,
body.elementor-editor-active .registration-page,
body.elementor-editor-active .marketplace-page,
body.elementor-editor-active .dashboard-wrapper {
    background: #ffffff !important;
}

body.elementor-editor-active .btn-login,
body.elementor-editor-active .btn-registration {
    padding: 0 ;
    min-width: 0 ;
}

.elementor-widget-irf_login_button .btn-login,
.elementor-widget-irf_registration_button .btn-registration {
    padding: 0;
    min-width: 0;
    width: auto;
    max-width: none;
}

/* VX Timeline Widget */
.irf-timeline {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 3rem;
    align-items: flex-start;
}

.irf-timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: #e5e7eb;
}

.irf-timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 2px;
    height: 0;
    margin: 0 auto;
    background: #174f86;
    border-radius: 999px;
    transform-origin: top;
}

.irf-timeline-items {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.irf-timeline-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
    position: relative;
}

.irf-timeline-item-dot {
    grid-column: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.irf-timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 3px solid #174f86;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.15);
}

.irf-timeline-dot-inner {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #174f86;
}

.irf-timeline-item-content-wrapper {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.irf-timeline-item:nth-child(even) .irf-timeline-item-content-wrapper {
    grid-column: 3;
}

.irf-timeline-item-image img {
    width: 100%;
    border-radius: 1.5rem;
    display: block;
}

.irf-timeline-item-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.irf-timeline-item-content {
    font-size: 0.95rem;
    color: #4b5563;
}

@media (max-width: 900px) {
    .irf-timeline {
        display: flex;
        flex-direction: column;
    }

    .irf-timeline-line {
        left: 20px;
        transform: none;
    }

    .irf-timeline-item {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 1.5rem;
        align-items: flex-start;
    }

    .irf-timeline-item-content-wrapper,
    .irf-timeline-item:nth-child(even) .irf-timeline-item-content-wrapper {
        grid-column: 2;
    }
}

/* --- Modern Dashboard Redesign --- */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f7fa;
}
.dashboard-sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    padding: 0rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 2px 0 16px 0 rgba(16,30,54,0.04);
    z-index: 10;
}
.sidebar-header {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}
.platform-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.01em;
}
.company-name-badge {
    background: #f5f7fa;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    color: #2563eb;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: auto;
}
.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #111827;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.nav-item.active, .nav-item:hover {
    background: #2563eb;
    color: #fff;
}
.sidebar-footer {
    margin-top: 2rem;
}
.logout-item {
    color: #ef4444;
    background: #fff1f2;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}
.logout-item:hover {
    background: #ef4444;
    color: #fff;
}
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dashboard-top-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 5;
}
.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.user-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}
.membership-badge {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 500;
    background: #e0f7ef;
    border-radius: 0.5rem;
    padding: 0.25rem 0.75rem;
    display: inline-block;
}
.dashboard-content {
    flex: 1;
    padding: 2.5rem 2rem 2rem 2rem;
    background: #f5f7fa;
    min-height: 0;
    overflow-y: auto;
}
.dashboard-section {
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 2px 16px 0 rgba(16,30,54,0.06);
    padding: 2rem 2rem 2.5rem 2rem;
    margin-bottom: 2.5rem;
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.metric-card {
    background: #f5f7fa;
    border-radius: 1rem;
    box-shadow: 0 1px 4px 0 rgba(16,30,54,0.04);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}
.metric-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
}
.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
}
.metric-change {
    font-size: 0.95rem;
    color: #10b981;
    font-weight: 500;
}
.edit-section-card {
    background: #f5f7fa;
    border-radius: 1rem;
    box-shadow: 0 1px 4px 0 rgba(16,30,54,0.04);
    padding: 1.5rem 1.25rem;
    margin-bottom: 2rem;
}
.profile-form-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
}
.btn-save-profile-inline {
    background: #2563eb;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    padding: 0.85rem 2.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37,99,235,0.08);
    transition: background 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-save-profile-inline:hover {
    background: #1746b3;
    transform: translateY(-2px) scale(1.03);
}
/* --- End Modern Dashboard Redesign --- */

.landing-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    color: #ffffff !important;
    stroke: #ffffff !important;
    stroke-width: 2;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff !important;
    letter-spacing: 0;
}

/* Main Card */
.landing-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 1rem;
    padding: 3.5rem 4rem;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    animation: cardFadeIn 0.8s ease-out, pulseGlow 4s ease-in-out infinite 1s;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

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

.landing-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(23, 79, 134, 0.08) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Subtle pulsing glow effect */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(23, 79, 134, 0.1), 0 0 40px rgba(23, 79, 134, 0.1);
    }
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.welcome-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #174f86;
    margin-bottom: 1.5rem;
    text-align: center;
}

.welcome-content {
    color: #1f2937;
    line-height: 1.75;
}

.welcome-content p {
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
    color: #374151;
    text-align: left;
}

.welcome-content p:last-child {
    margin-bottom: 0;
}

/* Opportunities Section */
.opportunities-section {
    margin-bottom: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 2;
}

.opportunities-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.25rem;
}

.opportunities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 2.5rem;
}

.opportunity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
}

.check-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 0.125rem;
    color: #174f86;
    stroke-width: 2.5;
    flex-shrink: 0;
}

.opportunity-item span {
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 0.9375rem;
    color: #333;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}


/* Registration Form Card - Premium Design */
.registration-form-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 2.5rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 650px;
    margin: 2rem auto 0;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: premiumSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    overflow: hidden;
    border: none;
}

/* Membership Selection - Wider Card */
.form-step[data-step="3"].active~*,
.registration-form-card:has(.form-step[data-step="3"].active) {
    max-width: 1200px;
}

/* Alternative approach for wider card on step 3 */
.registration-form-card .form-step[data-step="3"].active {
    max-width: 1200px;
}

.registration-form-card {
    transition: max-width 0.4s ease;
}

.registration-form-card.step-3-active {
    max-width: 1200px;
}

/* Ensure container expands for step 3 */
.registration-page .landing-container {
    transition: max-width 0.4s ease;
}

/* Registration Page - Show form immediately with animation */
.registration-page .registration-form-card {
    display: block;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    animation: premiumSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hide registration form on all pages except registration page */
.landing-page:not(.registration-page) .registration-form-card {
    display: none !important;
}

/* Animated bottom border */
.registration-form-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #60a5fa 0%, #174f86 50%, #60a5fa 100%);
    background-size: 200% 100%;
    animation: borderGrow 1s ease-out 0.3s forwards, shimmer 3s linear infinite 1.3s;
    z-index: 1;
}

@keyframes premiumSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes borderGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.registration-form-header {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* Progress Bar */
.progress-bar-container {
    margin: 1.5rem 0;
    position: relative;
}

.progress-bar {
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #1e6ba8 100%);
    border-radius: 2px;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-text {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.step-item.active .step-number {
    background: #174f86;
    color: #ffffff;
    border-color: #174f86;
    box-shadow: 0 0 0 4px rgba(23, 79, 134, 0.1);
}

.step-item.completed .step-number {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.step-item.completed .step-number::before {
    content: '✓';
    font-size: 1rem;
}

.step-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    transition: color 0.3s ease;
}

.step-item.active .step-label {
    color: #174f86;
}

.step-item.completed .step-label {
    color: #10b981;
}

.step-line {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    transition: background 0.3s ease;
    margin-top: -18px;
    position: relative;
    overflow: hidden;
}

.step-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #10b981;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item.completed~.step-line .step-line-fill {
    width: 100%;
}

/* Form Steps */
.form-step {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: slideInStep 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.step-exit {
    opacity: 0;
    transform: translateX(-30px);
}

@keyframes slideInStep {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

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

.step-content {
    margin-bottom: 1.25rem;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-family: 'Poppins', sans-serif;
}

.step-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row-two {
        grid-template-columns: 1fr;
    }
}

.form-step .form-group-reg {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-step.active .form-group-reg:nth-child(1) {
    animation-delay: 0.1s;
}

.form-step.active .form-group-reg:nth-child(2) {
    animation-delay: 0.15s;
}

.form-step.active .form-group-reg:nth-child(3) {
    animation-delay: 0.2s;
}

.form-step.active .form-group-reg:nth-child(4) {
    animation-delay: 0.25s;
}

.form-step.active .form-group-reg:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

.form-title-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: #60a5fa;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.02em;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-reg {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.form-group-reg:nth-child(1) {
    animation-delay: 0.3s;
}

.form-group-reg:nth-child(2) {
    animation-delay: 0.35s;
}

.form-group-reg:nth-child(3) {
    animation-delay: 0.4s;
}

.form-group-reg:nth-child(4) {
    animation-delay: 0.45s;
}

.form-group-reg:nth-child(5) {
    animation-delay: 0.5s;
}

.form-label-reg {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.form-group-reg:focus-within .form-label-reg {
    color: #174f86;
}

.form-input-reg {
    width: 100%;
    padding: 0.9375rem 1.125rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    position: relative;
}

.form-input-reg:hover {
    border-color: #cbd5e1;
}

.form-input-reg:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 4px rgba(23, 79, 134, 0.1), 0 4px 12px rgba(23, 79, 134, 0.15);
    transform: translateY(-1px);
}

.form-input-reg.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    animation: shake 0.4s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-8px);
    }

    75% {
        transform: translateX(8px);
    }
}

.field-error {
    display: none;
    font-size: 0.75rem;
    color: #ef4444;
    margin-top: 0.375rem;
    animation: fadeIn 0.3s ease;
}

.field-error:not(:empty) {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.password-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.375rem;
    display: block;
}

/* Verification Code Input */
.verification-code-container {
    margin-top: 1.5rem;
}

.code-input-group,
.code-inputs-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.code-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #d1d5db;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
    padding: 0;
}

.code-input:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 4px rgba(23, 79, 134, 0.1), 0 4px 12px rgba(23, 79, 134, 0.15);
    transform: translateY(-2px) scale(1.05);
}

.code-input.error {
    border-color: #ef4444;
    background: #fef2f2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.code-input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Membership Cards */

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 2fr));
    gap: 2rem;
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem 0;
}


.membership-card {
    background: rgba(255,255,255,0.92);
    border: 2px solid #e5e7eb;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1), border-color 0.18s cubic-bezier(.4,0,.2,1);
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10), 0 1.5px 6px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 420px;
    overflow: hidden;
}

.membership-card:hover {
    border-color: #1976d2;
    box-shadow: 0 12px 36px 0 rgba(31, 38, 135, 0.16), 0 2px 8px rgba(0,0,0,0.10);
    transform: translateY(-6px) scale(1.025);
    z-index: 2;
}

.membership-card.selected {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 12px 36px 0 rgba(16, 185, 129, 0.18), 0 2px 8px rgba(0,0,0,0.10);
}

.membership-card.featured {
    border-color: #fbbf24;
    background: linear-gradient(120deg, #fffbe6 60%, #fef3c7 100%);
    box-shadow: 0 12px 36px 0 rgba(251, 191, 36, 0.12), 0 2px 8px rgba(0,0,0,0.10);
}

.membership-card.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    border-radius: 1.25rem 1.25rem 0 0;
}

.card-badge {
    position: absolute;
    top: -12px;
    width: 32px;
    height: 32px;
    background: #fbbf24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    z-index: 1;
}

.star-icon {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.card-header {
    margin-bottom: 1.25rem;
    width: 100%;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
}

.card-pricing {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
    width: 100%;
}

.price-onboarding {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.price-main {
    font-size: 2rem;
    font-weight: 700;
    color: #174f86;
    font-family: 'Poppins', sans-serif;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    width: 100%;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
}

.check-icon {
    color: #10b981;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.btn-select-membership {
    width: 100%;
    background: #1976d2;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}

.btn-select-membership:hover {
    background: #125ea6;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.18);
}

.membership-card.selected .btn-select-membership {
    background: #10b981;
}

.membership-card.selected .btn-select-membership:hover {
    background: #059669;
}

/* Add-ons Section */

/* Dashboard Membership Selection Button */
.btn-select-membership-dashboard {
    width: 100%;
    background: #1976d2;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(.4,0,.2,1);
    font-family: 'Poppins', sans-serif;
    margin-top: auto;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
    letter-spacing: 0.01em;
    display: block;
}

.btn-select-membership-dashboard:hover {
    background: #125ea6;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.18);
}

.membership-card.selected .btn-select-membership-dashboard {
    background: #10b981;
    color: #fff;
}

.membership-card.selected .btn-select-membership-dashboard:hover {
    background: #059669;
}
.addons-section {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.addons-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
}

.addons-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.addon-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    transition: all 0.3s ease;
}

.addon-item:hover {
    border-color: #174f86;
    background: #f0f7ff;
}

.addon-checkbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    gap: 1rem;
}

.addon-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #174f86;
    flex-shrink: 0;
}

.addon-name {
    flex: 1;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.addon-price {
    font-size: 1rem;
    font-weight: 600;
    color: #174f86;
    font-family: 'Poppins', sans-serif;
}

.addon-input:checked~.addon-name,
.addon-input:checked~.addon-price {
    color: #174f86;
}

.addon-item:has(.addon-input:checked) {
    border-color: #174f86;
    background: #e0f2fe;
}

/* Fallback for browsers without :has() support */
.addon-item.selected {
    border-color: #174f86;
    background: #e0f2fe;
}

/* Shopping Cart - Exact Match Design */
.cart-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 1.75rem;
    padding-bottom: 0.875rem;
    border-bottom: 1px solid #e5e7eb;
}

.cart-icon {
    width: 24px;
    height: 24px;
    color: #60a5fa;
    stroke-width: 2;
}

.cart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.cart-membership {
    margin-bottom: 1.25rem;
}

.membership-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: #374151;
}

.cart-label {
    flex: 1;
    color: #6b7280;
    font-weight: 400;
}

.cart-value {
    font-weight: 600;
    color: #1f2937;
    font-size: 0.875rem;
}

.cart-total {
    font-size: 1rem;
    font-weight: 700;
    color: #174f86;
}

.cart-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 1.25rem 0;
}

.cart-summary {
    margin-bottom: 1.25rem;
}

.whats-next {
    margin-bottom: 1.75rem;
}

.whats-next-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.625rem;
    font-family: 'Poppins', sans-serif;
}

.whats-next-text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.875rem;
    line-height: 1.5;
}

.whats-next-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.whats-next-list li {
    font-size: 0.875rem;
    color: #374151;
    padding: 0.375rem 0;
    padding-left: 1.25rem;
    position: relative;
    line-height: 1.5;
}

.whats-next-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #174f86;
    font-weight: 700;
    font-size: 1rem;
}

.cart-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.cart-footer p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

.support-email {
    color: #174f86;
    text-decoration: none;
    font-weight: 500;
}

.support-email:hover {
    text-decoration: underline;
}

/* Step 4 specific styling */
.form-step[data-step="4"] .step-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-step[data-step="4"] .form-step-buttons {
    margin-top: 1.5rem;
}

.form-step[data-step="4"] .btn-create-account {
    width: 100%;
    margin-top: 0;
}

/* Step 5 - Questionnaire Page */
.form-step[data-step="5"] .step-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Override registration-form-card max-width for Step 5 */
.registration-form-card:has(.form-step[data-step="5"].active),
.registration-page:has(.form-step[data-step="5"].active) .registration-form-card,
.registration-form-card .form-step[data-step="5"].active~* {
    max-width: 900px !important;
}

.registration-page .landing-container:has(.form-step[data-step="5"].active) {
    max-width: 900px;
}

/* Fallback for browsers without :has() support */
.registration-page .form-step[data-step="5"].active~*,
.registration-form-card.step-5-active {
    max-width: 900px !important;
}

.questionnaire-content {
    width: 100%;
}

.questionnaire-header {
    margin-bottom: 1.75rem;
}

.questionnaire-title-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.questionnaire-icon {
    width: 24px;
    height: 24px;
    color: #174f86;
}

.questionnaire-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.questionnaire-instructions {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.support-link {
    color: #174f86;
    text-decoration: none;
    font-weight: 500;
}

.support-link:hover {
    text-decoration: underline;
}

/* Questionnaire Tabs */
.questionnaire-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow-x: auto;
}

.questionnaire-tab {
    background: none;
    border: none;
    padding: 0.625rem 0.875rem;
    font-size: 13px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    position: relative;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.questionnaire-tab:hover {
    color: #174f86;
}

.questionnaire-tab.active {
    color: #174f86;
    border-bottom-color: #174f86;
}

/* Questionnaire Form */
.questionnaire-form {
    position: relative;
    min-height: 400px;
}

.questionnaire-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.questionnaire-tab-content.active {
    display: block;
}

.tab-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.questionnaire-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.questionnaire-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.questionnaire-field:has(.questionnaire-textarea),
.questionnaire-field.full-width {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .questionnaire-fields {
        grid-template-columns: 1fr;
    }
    
    .questionnaire-field:has(.questionnaire-textarea),
    .questionnaire-field.full-width {
        grid-column: span 1;
    }
}

.questionnaire-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    font-family: 'Poppins', sans-serif;
}

.questionnaire-input,
.questionnaire-textarea,
.questionnaire-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.questionnaire-textarea {
    resize: vertical;
    min-height: 100px;
}

.questionnaire-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231f2937'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.questionnaire-input:focus,
.questionnaire-textarea:focus,
.questionnaire-select:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

/* Checkboxes */
.questionnaire-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.questionnaire-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #174f86;
}

/* Radio Buttons */
.questionnaire-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
    cursor: pointer;
}

.questionnaire-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #174f86;
}

/* Field Hint */
.questionnaire-field .field-hint {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.75rem;
    color: #6b7280;
}

/* Documents Section */
.documents-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.document-icon {
    width: 20px;
    height: 20px;
    color: #174f86;
    flex-shrink: 0;
}

.document-name {
    flex: 1;
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 500;
}

.btn-upload-doc {
    background: #174f86;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-upload-doc:hover {
    background: #1e6ba8;
    transform: translateY(-1px);
}

/* Questionnaire Navigation Buttons */
.questionnaire-nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.btn-questionnaire-next {
    background: #174f86;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

.btn-questionnaire-next:hover {
    background: #1e6ba8;
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.4);
    transform: translateY(-1px);
}

.form-step[data-step="5"] .btn-prev-step {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.form-step[data-step="5"] .btn-prev-step:hover {
    background: #e5e7eb;
}

.form-step[data-step="5"] #btn-submit-questionnaire {
    background: #174f86;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

.form-step[data-step="5"] #btn-submit-questionnaire:hover {
    background: #1e6ba8;
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.4);
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Dashboard Page - New Design */
.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    background: #f5f5f5;
    font-family: 'Poppins', sans-serif;
}

/* Left Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    box-sizing: border-box;
}

.dashboard-sidebar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.dashboard-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.sidebar-header {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: #174f86;
    flex-shrink: 0;
}

.platform-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    width: 100%;
    text-align: center;
    display: block;
}

.company-name-badge {
    margin-top: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

.company-name-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.company-name-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 50%, #174f86 100%);
    opacity: 0.8;
}

.company-name-wrapper:hover {
    border-color: #174f86;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.15), 0 2px 6px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.vip-icon {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(245, 158, 11, 0.3));
}

.company-name-text {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.01em;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    word-wrap: break-word;
    word-break: break-word;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #f9fafb;
    color: #174f86;
}

.nav-item.active {
    background: #f0f7ff;
    color: #174f86;
    border-left-color: #174f86;
    font-weight: 600;
}

.nav-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sidebar Footer */
.sidebar-footer {
    margin-top: auto;
    padding: 15px;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    box-sizing: border-box;
}

.logout-item {
    color: #ef4444 !important;
}

.logout-item:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
    border-left-color: #ef4444 !important;
}

/* Dashboard Responsive */
@media (max-width: 768px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        width: 280px;
    }
    
    .dashboard-sidebar.mobile-open {
        transform: translateX(0);
    }
    
    .dashboard-main {
        margin-left: 0;
        width: 100%;
    }
    
    .sidebar-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 12px;
    }
    
    .platform-logo {
        gap: 0.5rem;
        margin-bottom: 0.875rem;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
    }
    
    .platform-name {
        font-size: 0.875rem;
    }
    
    .company-name-wrapper {
        padding: 8px 12px;
        gap: 6px;
    }
    
    .vip-icon {
        width: 16px;
        height: 16px;
    }
    
    .company-name-text {
        font-size: 0.8125rem;
    }
    
    .sidebar-nav,
    .sidebar-footer {
        width: 100%;
        box-sizing: border-box;
    }
    
    .nav-item {
        padding: 0.875rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .dashboard-sidebar {
        width: 100%;
    }
    
    .sidebar-header {
        padding: 10px;
    }
    
    .platform-logo {
        gap: 0.375rem;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
    }
    
    .platform-name {
        font-size: 0.8125rem;
    }
    
    .company-name-wrapper {
        padding: 8px 10px;
    }
    
    .company-name-text {
        font-size: 0.75rem;
    }
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-sizing: border-box;
}

.dashboard-top-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.membership-badge {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.logout-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.logout-icon {
    width: 20px;
    height: 20px;
}

.dashboard-content {
    padding: 15px;
    flex: 1;
    overflow-y: auto;
}

/* Dashboard Sections */
.dashboard-section {
    display: none !important;
}

.dashboard-section.active {
    display: block !important;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.section-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
}

/* Profile Section */
.dashboard-section[data-section="profile"] {
    width: 100%;
}

.dashboard-section[data-section="profile"] .profile-section-card {
    background: #ffffff !important;
    border-radius: 0.75rem !important;
    padding: 2rem !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e5e7eb !important;
    margin-bottom: 1.5rem !important;
}

.dashboard-section[data-section="profile"] .profile-section-card:last-child {
    margin-bottom: 0 !important;
}

.dashboard-section[data-section="profile"] .profile-section-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid #f3f4f6 !important;
}

.dashboard-section[data-section="profile"] .profile-info-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
}

.dashboard-section[data-section="profile"] .profile-info-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
}

.dashboard-section[data-section="profile"] .profile-info-item.full-width {
    grid-column: 1 / -1 !important;
}

.dashboard-section[data-section="profile"] .profile-info-label {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #6b7280 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    display: block !important;
}

.dashboard-section[data-section="profile"] .profile-info-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.profile-image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-image-preview {
    width: 100%;
    min-height: 150px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.profile-image-preview img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.profile-image-preview .no-image {
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 2rem;
    text-align: center;
}

.btn-upload-profile-image {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(23, 79, 134, 0.2);
    align-self: flex-start;
}

.btn-upload-profile-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

.btn-upload-profile-image:active {
    transform: translateY(0);
}

.btn-upload-profile-image svg {
    stroke-width: 2;
}

.dashboard-section[data-section="profile"] .profile-info-input:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.dashboard-section[data-section="profile"] .profile-info-input[readonly] {
    background: #f9fafb;
    cursor: not-allowed;
}

.dashboard-section[data-section="profile"] .profile-info-input::placeholder {
    color: #9ca3af;
}

.profile-edit-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.profile-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-save-profile-inline {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
}

.btn-save-profile-inline:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.3);
}

.btn-save-profile-inline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save-profile-inline svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.profile-form-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    display: none;
}

.profile-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.profile-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.dashboard-section[data-section="profile"] .profile-info-value {
    font-size: 0.9375rem !important;
    color: #1f2937 !important;
    font-weight: 500 !important;
    word-break: break-word !important;
    display: block !important;
}

.dashboard-section[data-section="profile"] .profile-link {
    color: #174f86 !important;
    text-decoration: none !important;
    word-break: break-all !important;
    transition: color 0.2s ease !important;
}

.dashboard-section[data-section="profile"] .profile-link:hover {
    color: #1e5fa3 !important;
    text-decoration: underline !important;
}

.dashboard-section[data-section="profile"] .membership-badge-profile {
    display: inline-block !important;
    background: #f0f7ff !important;
    color: #174f86 !important;
    padding: 0.375rem 0.875rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.dashboard-section[data-section="profile"] .verification-badge {
    display: inline-block !important;
    padding: 0.375rem 0.875rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
}

.dashboard-section[data-section="profile"] .verification-badge.verified {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.dashboard-section[data-section="profile"] .verification-badge.not-verified {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* Fallback styles without data-section selector */
.profile-section-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.profile-section-card:last-child {
    margin-bottom: 0;
}

.profile-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.profile-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-info-item.full-width {
    grid-column: 1 / -1;
}

.profile-info-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profile-info-value {
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 500;
    word-break: break-word;
}

.profile-link {
    color: #174f86;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.profile-link:hover {
    color: #1e5fa3;
    text-decoration: underline;
}

.membership-badge-profile {
    display: inline-block;
    background: #f0f7ff;
    color: #174f86;
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.verification-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.verification-badge.verified {
    background: #d1fae5;
    color: #065f46;
}

.verification-badge.not-verified {
    background: #fee2e2;
    color: #991b1b;
}

/* Analytics Section */
.analytics-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.analytics-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.analytics-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin: 0;
}

.analytics-card-icon {
    width: 20px;
    height: 20px;
    color: #174f86;
    flex-shrink: 0;
}

.analytics-card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.analytics-card-change {
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.analytics-card-change.positive {
    color: #10b981;
}

.analytics-chart-section {
    margin-bottom: 2rem;
}

.analytics-chart-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.chart-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.chart-period-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1f2937;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.chart-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.analytics-visitors-section {
    margin-bottom: 2rem;
}

.visitors-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.visitors-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.visitors-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.visitor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #f3f4f6;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.visitor-item:hover {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.visitor-info {
    flex: 1;
}

.visitor-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.visitor-count {
    font-size: 0.8125rem;
    color: #6b7280;
}

.visitor-badge {
    background: #174f86;
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Documents Section */
.documents-upload-section {
    margin-bottom: 2rem;
}

.upload-area {
    background: #ffffff;
    border: 2px dashed #d1d5db;
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.upload-area:hover {
    border-color: #174f86;
    background: #f9fafb;
}

.upload-icon {
    width: 48px;
    height: 48px;
    color: #9ca3af;
    margin: 0 auto 1rem;
    display: block;
}

.upload-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.upload-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1.5rem 0;
}

.btn-upload {
    background: #174f86;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-upload:hover {
    background: #1e5fa3;
    transform: translateY(-1px);
}

.documents-content-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.documents-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.documents-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: #1f2937;
    background: #ffffff;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.document-item:hover {
    background: #f9fafb;
    border-color: #174f86;
}

.document-icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f7ff;
    border-radius: 0.5rem;
    flex-shrink: 0;
}

.document-icon {
    width: 24px;
    height: 24px;
    color: #174f86;
}

.document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.document-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
}

.document-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.document-size {
    font-weight: 500;
}

.document-separator {
    color: #d1d5db;
}

.document-date {
    color: #6b7280;
}

.document-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn-document-action {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 0.5rem;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-document-action:hover {
    background: #f3f4f6;
    border-color: #174f86;
    color: #174f86;
}

.btn-download {
    background: #174f86;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-download:hover {
    background: #1e5fa3;
    transform: translateY(-1px);
}

/* Settings Section */
.settings-content-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.settings-group {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f3f4f6;
}

.settings-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.settings-group-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item-info {
    flex: 1;
}

.settings-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.settings-description {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #d1d5db;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked+.toggle-slider {
    background-color: #174f86;
}

.toggle-switch input:checked+.toggle-slider:before {
    transform: translateX(24px);
}

.btn-settings-action {
    background: #174f86;
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-settings-action:hover {
    background: #1e5fa3;
    transform: translateY(-1px);
}

/* Edit Profile Form */
.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.edit-section-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.edit-section-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.edit-section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.edit-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.edit-section-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.edit-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group-edit {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-edit.full-width {
    grid-column: 1 / -1;
}

.form-group-edit label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-edit input,
.form-group-edit textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group-edit input:focus,
.form-group-edit textarea:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.form-group-edit input::placeholder,
.form-group-edit textarea::placeholder {
    color: #9ca3af;
}

.form-group-edit textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* Image Upload */
.image-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.image-preview {
    width: 100%;
    min-height: 200px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    overflow: hidden;
}

.image-preview img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.image-preview .no-image {
    color: #9ca3af;
    font-size: 0.875rem;
    padding: 2rem;
    text-align: center;
}

.btn-upload-image {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(23, 79, 134, 0.2);
    align-self: flex-start;
}

.btn-upload-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

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

/* Form Actions */
.edit-form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
}

.btn-save-profile {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
}

.btn-save-profile:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.3);
}

.btn-save-profile:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-save-profile svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.edit-form-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    display: none;
}

.edit-form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.edit-form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Responsive for Edit Profile */
@media (max-width: 768px) {
    .edit-section-card {
        padding: 1.5rem;
    }
    
    .edit-form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .edit-form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-save-profile {
        width: 100%;
        justify-content: center;
    }
}

/* Profile URL Section */
.profile-url-section {
    background: #174f86;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.url-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.url-display-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.5rem;
    padding: 0.875rem 1rem;
}

.profile-url,
a.profile-url {
    flex: 1;
    color: #ffffff;
    font-size: 0.9375rem;
    font-family: 'Courier New', monospace;
    text-decoration: none;
    word-break: break-all;
    transition: opacity 0.2s ease;
}

a.profile-url:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.btn-copy-url {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #174f86;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-copy-url:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.copy-icon {
    width: 16px;
    height: 16px;
}

/* Metrics Grid */

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
    padding: 0.5rem 0;
}

.metric-card {
    background: rgba(255,255,255,0.85);
    border-radius: 1.25rem;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10), 0 1.5px 6px rgba(0,0,0,0.07);
    border: 1.5px solid rgba(30,64,175,0.08);
    backdrop-filter: blur(2px);
    transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s cubic-bezier(.4,0,.2,1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.metric-card:hover {
    transform: translateY(-4px) scale(1.025);
    box-shadow: 0 12px 36px 0 rgba(31, 38, 135, 0.16), 0 2px 8px rgba(0,0,0,0.10);
    border-color: #1976d2;
}


.metric-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}


.metric-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1976d2;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.01em;
}


.metric-icon {
    width: 28px;
    height: 28px;
    color: #1976d2;
    opacity: 0.85;
    margin-bottom: 0.25rem;
}


.metric-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(30,64,175,0.07);
}


.metric-change {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.15rem;
}

.metric-change.positive {
    color: #10b981;
    font-weight: 600;
}

/* Recent Activity */
.recent-activity-section {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.activity-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.activity-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.activity-refresh-indicator {
    display: inline-flex;
    align-items: center;
    color: #174f86;
    opacity: 0.7;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.activity-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.activity-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.activity-text {
    font-size: 0.9375rem;
    color: #1f2937;
    font-weight: 500;
}

.activity-entity {
    font-size: 0.8125rem;
    color: #6b7280;
}

.activity-time {
    font-size: 0.8125rem;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .dashboard-sidebar {
        width: 200px;
    }

    .dashboard-main {
        margin-left: 200px;
    }

    .dashboard-content {
        padding: 1.5rem;
    }

    .nav-item {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .dashboard-section[data-section="profile"] .profile-info-grid,
    .profile-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .dashboard-section[data-section="profile"] .profile-section-card,
    .profile-section-card {
        padding: 1.5rem !important;
    }

    .dashboard-section[data-section="profile"] .profile-section-title,
    .profile-section-title {
        font-size: 1.125rem !important;
    }

    .analytics-overview-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .analytics-chart-card {
        padding: 1.5rem !important;
    }

    .visitors-card {
        padding: 1.5rem !important;
    }

    .documents-content-card {
        padding: 1.5rem !important;
    }

    .upload-area {
        padding: 2rem 1rem !important;
    }

    .chart-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    .documents-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
    }
}

@media (max-width: 640px) {
    .dashboard-sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

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

    .dashboard-main {
        margin-left: 0;
    }

    .url-display-box {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-copy-url {
        width: 100%;
        justify-content: center;
    }
}

.form-input-reg::placeholder {
    color: #9ca3af;
    transition: opacity 0.3s ease;
}

.form-input-reg:focus::placeholder {
    opacity: 0.5;
}

.btn-create-account {
    background: linear-gradient(135deg, #174f86 0%, #1e6ba8 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1.125rem 2rem;
    border: none;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(23, 79, 134, 0.35);
    margin-top: 0.5rem;
    font-family: 'Poppins', sans-serif;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.55s forwards;
}

.btn-create-account::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-create-account:hover::before {
    left: 100%;
}

.btn-create-account:hover {
    background: linear-gradient(135deg, #1e6ba8 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(23, 79, 134, 0.45);
    transform: translateY(-2px);
}

.btn-create-account:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.35);
}

.btn-create-account:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Step Navigation Buttons */
.form-step-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: space-between;
}

.btn-next-step,
.btn-prev-step {
    background: linear-gradient(135deg, #174f86 0%, #1e6ba8 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.625rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(23, 79, 134, 0.35);
    font-family: 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
}

.btn-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-next-step:hover .btn-icon {
    transform: translateX(2px);
}

.btn-prev-step:hover .btn-icon {
    transform: translateX(-2px);
}

.btn-prev-step {
    background: #ffffff;
    color: #374151;
    border: 1.5px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-prev-step:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.btn-next-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-next-step:hover::before {
    left: 100%;
}

.btn-next-step:hover {
    background: linear-gradient(135deg, #1e6ba8 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(23, 79, 134, 0.45);
    transform: translateY(-2px);
}

.btn-next-step:active,
.btn-prev-step:active {
    transform: translateY(0);
}

.form-step-buttons .btn-create-account {
    flex: 1;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-create-account .btn-text {
    display: inline-block;
}

.btn-create-account .btn-icon {
    width: 18px;
    height: 18px;
}

.registration-message {
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.registration-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.registration-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Hide landing card when form is shown */
.landing-page.show-form .landing-card {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-page.show-form .registration-form-card {
    display: block;
}

/* Hide default header/footer */
.site-header {
    display: none;
}

.site-footer {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-page {
        padding: 2rem 1rem;
    }

    .landing-card {
        padding: 2.5rem 2rem;
        border-radius: 0.875rem;
    }

    .landing-header {
        margin-bottom: 2rem;
        flex-direction: column;
        text-align: center;
    }

    .landing-logo {
        justify-content: center;
    }

    .landing-header-actions {
        width: 100%;
        justify-content: center;
    }

    .btn-login {
        width: 100%;
        max-width: 200px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .welcome-title {
        font-size: 1.125rem;
    }

    .opportunities-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem 1.5rem;
    }

    .opportunities-section {
        margin-bottom: 2rem;
    }

    .cta-section {
        padding-top: 1.75rem;
    }

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

    .btn-login,
    .btn-registration {
        width: 100%;
        max-width: 100%;
        min-width: auto;
    }

    .registration-form-card {
        padding: 2.5rem 2rem;
        max-width: 100%;
        margin: 1.5rem auto 0;
    }

    .registration-form {
        gap: 1.5rem;
    }

    .form-input-reg {
        padding: 0.875rem 1rem;
    }

    .btn-create-account {
        padding: 1rem 1.75rem;
    }

    .step-indicator {
        gap: 0.5rem;
    }

    .step-line {
        width: 40px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .step-label {
        font-size: 0.6875rem;
    }

    .step-title {
        font-size: 1.125rem;
    }

    .step-description {
        font-size: 0.8125rem;
    }

    .form-step-buttons {
        flex-direction: column;
    }

    .btn-next-step,
    .btn-prev-step {
        width: 100%;
    }

    .progress-bar-container {
        margin: 1.25rem 0;
    }

    .membership-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .membership-card {
        padding: 1.25rem;
    }

    .card-title {
        font-size: 1.25rem;
    }

    .price-main {
        font-size: 1.75rem;
    }
}

/* Custom Login Page */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0 1rem 2rem;
    position: relative;
    background: linear-gradient(to bottom right, #1c398e 0%, #0f172b 50%, #1d293d 100%);
}

.login-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.login-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.login-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 1rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.login-header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.9375rem;
    color: #6b7280;
}

.login-form {
    width: 100%;
}

.form-group-login {
    margin-bottom: 1.5rem;
}

.form-label-login {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input-login {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #1f2937;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-input-login:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.form-input-login.error {
    border-color: #ef4444;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #174f86;
}

.forgot-password {
    font-size: 0.875rem;
    color: #174f86;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: #1e6ba8;
    text-decoration: underline;
}

.btn-login-submit {
    width: 100%;
    background: #174f86;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1.125rem 2.75rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login-submit:hover:not(:disabled) {
    background: #1e6ba8;
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.4);
    transform: translateY(-1px);
}

.btn-login-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Spin only for login loading spinner - scoped so it doesn't affect registration step buttons */
.btn-login-submit .btn-icon {
    width: 20px;
    height: 20px;
    animation: login-spin 1s linear infinite;
}

@keyframes login-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.signup-text {
    font-size: 0.9375rem;
    color: #6b7280;
}

.signup-link {
    color: #174f86;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.signup-link:hover {
    color: #1e6ba8;
    text-decoration: underline;
}

.login-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.login-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.login-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.field-error {
    display: block;
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    min-height: 1rem;
}

/* Forgot Password Modal */
.forgot-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 1rem;
    padding: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #6b7280;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #1f2937;
}

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 2rem;
}

.forgot-password-step {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }

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

.step-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#reset-email-display {
    font-weight: 600;
    color: #174f86;
}

/* Company Profile Page Styles */
.company-profile-page {
    min-height: 100vh;
    background: #f9fafb;
    padding-top: 0;
    margin-top: 0;
    position: relative;
}

/* Remove all top spacing on profile page */
body.single-issuer_profile,
body.single-issuer_profile .site,
body.single-issuer_profile #page,
body.single-issuer_profile .site-content,
body.single-issuer_profile .site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-issuer_profile .site-header,
body.single-issuer_profile header {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

body.single-issuer_profile .company-profile-page {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-issuer_profile .company-banner {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-issuer_profile .banner-image {
    top: 0 !important;
}

/* Ensure banner starts at top */
.company-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    margin-bottom: 2rem;
    margin-top: 0;
    padding-top: 0;
}

.company-banner {
    position: relative;
    width: 100%;
    min-height: 500px;
    height: 60vh;
    margin-bottom: 2rem;
    margin-top: 0;
    padding-top: 0;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.company-info-card {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 200px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.company-logo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-fallback {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.company-info-content {
    flex: 1;
    min-width: 300px;
}

.company-name-large {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
}

.company-location {
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.company-description-banner {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.company-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #174f86;
    color: #ffffff;
    transform: translateY(-2px);
}

.company-actions-top {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-visit-website {
    padding: 0.75rem 1.5rem;
    background: #174f86;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-visit-website:hover {
    background: #1e6ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.profile-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.tab-item {
    padding: 1rem 1.5rem;
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-item:hover {
    color: #174f86;
    background: #f9fafb;
}

.tab-item.active {
    color: #174f86;
    border-bottom-color: #174f86;
    font-weight: 600;
}

/* Profile Main Layout */
.profile-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.profile-main-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.tab-content {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.3s ease;
}

/* Metrics Section */
.metrics-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.metric-icon.green {
    background: #d1fae5;
    color: #10b981;
}

.metric-icon.blue {
    background: #dbeafe;
    color: #3b82f6;
}

.metric-icon.purple {
    background: #e9d5ff;
    color: #8b5cf6;
}

.metric-icon.yellow {
    background: #fef3c7;
    color: #f59e0b;
}

.metric-info {
    flex: 1;
}

.metric-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

/* About Section - Modern Design */
.about-section {
    margin-bottom: 3rem;
}

.about-content {
    margin-top: 2rem;
}

.section-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 100%);
    border-radius: 2px;
}

.about-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 4px solid #174f86;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.about-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.detail-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.detail-item:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.15);
    transform: translateY(-4px);
}

.detail-item:hover::before {
    transform: scaleX(1);
}

.detail-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-item h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, #174f86 0%, #3b82f6 100%);
    border-radius: 2px;
    flex-shrink: 0;
}

.detail-item p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail-list li {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
    font-size: 0.9375rem;
    color: #4b5563;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.detail-list li:hover {
    background: #f0f7ff;
    border-color: #dbeafe;
    color: #1f2937;
    transform: translateX(4px);
}

.detail-list li:last-child {
    border-bottom: none;
}

.detail-list li strong {
    color: #1f2937;
    font-weight: 600;
    min-width: 160px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-list li strong::after {
    content: ':';
    color: #9ca3af;
}

.detail-list li a {
    color: #174f86;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    word-break: break-word;
}

.detail-list li a:hover {
    color: #1e6ba8;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 768px) {
    .profile-main-layout {
        grid-template-columns: 1fr 380px;
    }
    
    .company-info-card {
        flex-wrap: nowrap;
    }
}

/* Profile Sidebar */
.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.org-info,
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.org-item,
.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.org-item:last-child,
.contact-item:last-child {
    border-bottom: none;
}

.org-label {
    font-weight: 600;
    color: #6b7280;
    min-width: 100px;
    font-size: 0.875rem;
}

.org-value {
    color: #1f2937;
    font-size: 0.9375rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: #174f86;
    flex-shrink: 0;
}

.contact-item a {
    color: #174f86;
    text-decoration: none;
    font-size: 0.9375rem;
}

.contact-item a:hover {
    text-decoration: underline;
}

.cta-card {
    background: linear-gradient(135deg, #174f86 0%, #1e6ba8 100%);
    color: #ffffff;
}

.cta-card .sidebar-title {
    color: #ffffff;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-contact {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    background: #ffffff;
    color: #174f86;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-contact:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Section Descriptions */
.section-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* View More Links */
.view-more-link-overview {
    text-align: center;
    margin-top: 2rem;
}

.btn-view-all-templates {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #174f86;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.btn-view-all-templates:hover {
    background: #1e6ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

/* Responsive */
@media (max-width: 767px) {
    .company-info-card {
        margin-top: 150px;
        padding: 1.5rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .company-logo-large {
        width: 100px;
        height: 100px;
    }
    
    .company-name-large {
        font-size: 1.5rem;
    }
    
    .profile-main-content {
        padding: 1.5rem;
    }
    
    .metrics-section {
        grid-template-columns: 1fr;
    }
    
    .profile-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
    }
    
    .tab-item {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .about-details {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .detail-item {
        padding: 1.5rem;
    }
    
    .detail-item h3 {
        font-size: 1.125rem;
        margin-bottom: 1.25rem;
    }
    
    .detail-list li {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.875rem;
    }
    
    .detail-list li strong {
        min-width: auto;
        width: 100%;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .section-heading {
        font-size: 1.5rem;
    }
    
    .profile-sidebar {
        display: none;
    }
}

/* Contact Preview Section */
.contact-preview-section {
    margin: 2rem 0;
    padding: 2rem 0;
}

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

.contact-preview-card-modern {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-preview-card-modern:hover {
    border-color: #174f86;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.15);
    transform: translateY(-2px);
}

.contact-preview-icon-modern {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-preview-icon-modern.email {
    background: #dbeafe;
    color: #3b82f6;
}

.contact-preview-icon-modern.phone {
    background: #d1fae5;
    color: #10b981;
}

.contact-preview-icon-modern.location {
    background: #fef3c7;
    color: #f59e0b;
}

.contact-preview-card-modern:hover .contact-preview-icon-modern {
    transform: scale(1.1);
}

.contact-preview-icon-modern svg {
    width: 24px;
    height: 24px;
}

.contact-preview-content-modern {
    flex: 1;
    min-width: 0;
}

.contact-preview-label-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-preview-value-modern {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
    text-decoration: none;
    display: block;
    word-break: break-word;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.contact-preview-value-modern:hover {
    color: #174f86;
}

.contact-preview-value-modern:not(a) {
    color: #4b5563;
}

/* Responsive for Contact Preview */
@media (max-width: 768px) {
    .contact-preview-grid-modern {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-preview-card-modern {
        padding: 1.25rem;
    }
    
    .contact-preview-icon-modern {
        width: 40px;
        height: 40px;
    }
    
    .contact-preview-icon-modern svg {
        width: 20px;
        height: 20px;
    }
}

/* Modern Contact Section (Tab Content) */
.tab-content .contact-section-modern {
    padding: 2rem 0;
}

.tab-content .contact-section-modern .section-header {
    margin-bottom: 3rem;
}

.tab-content .contact-section-modern .section-description {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.6;
    max-width: 700px;
}

.contact-layout-modern {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

/* Contact Info Section */
.contact-info-section-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-header-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.info-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #174f86;
    flex-shrink: 0;
}

.info-header-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.contact-info-header-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.contact-info-header-modern p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.contact-details-modern {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.contact-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #174f86 0%, #3b82f6 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card-modern:hover {
    border-color: #174f86;
    box-shadow: 0 12px 32px rgba(23, 79, 134, 0.15);
    transform: translateX(4px);
}

.contact-card-modern:hover::before {
    transform: scaleY(1);
}

.contact-icon-modern {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-icon-modern.email {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #3b82f6;
}

.contact-icon-modern.phone {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #10b981;
}

.contact-icon-modern.location {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #f59e0b;
}

.contact-card-modern:hover .contact-icon-modern {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.contact-icon-modern svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.contact-card-content-modern {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label-modern {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.contact-card-modern:hover .contact-label-modern {
    color: #174f86;
}

.contact-value-modern {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    display: block;
    word-break: break-word;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.contact-value-modern:hover {
    color: #174f86;
}

.contact-value-modern:not(a) {
    color: #4b5563;
    font-weight: 500;
}

/* Social Links */
.contact-social-modern {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.social-header-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.social-header-modern svg {
    color: #174f86;
}

.social-header-modern h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.social-links-modern {
    display: flex;
    gap: 0.75rem;
}

.social-link-modern {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.social-link-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.social-link-modern.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: #ffffff;
}

.social-link-modern.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: #ffffff;
}

.social-link-modern.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.social-link-modern svg {
    width: 20px;
    height: 20px;
}

/* Contact Form Section */
.contact-form-section-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-header-modern {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f3f4f6;
}

.form-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #174f86;
    flex-shrink: 0;
}

.form-header-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.form-header-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.form-header-modern p {
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
    background: #ffffff;
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: #9ca3af;
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.btn-submit-modern {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
    margin-top: 0.5rem;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 79, 134, 0.3);
}

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

.btn-submit-modern svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Responsive for Modern Contact Section */
@media (max-width: 1024px) {
    .contact-layout-modern {
        gap: 2.5rem;
    }
}

/* Marketplace Page */
.marketplace-page {
    min-height: 100vh;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

/* Marketplace Site Header */
.marketplace-site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

.marketplace-header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.marketplace-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1f2937;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-icon {
    width: 32px;
    height: 32px;
    color: #174f86;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #174f86;
}

.marketplace-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #174f86;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #174f86;
}

.btn-nav-register {
    background: #174f86;
    color: #ffffff !important;
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-nav-register:hover {
    background: #1e5a9e;
    transform: translateY(-1px);
}

.btn-nav-register::after {
    display: none;
}

/* User Menu Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.user-menu-trigger:hover {
    background: #f3f4f6;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.user-menu-trigger:hover .user-avatar {
    border-color: #174f86;
}

.user-avatar-initials {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid #e5e7eb;
    transition: border-color 0.3s ease;
}

.user-menu-trigger:hover .user-avatar-initials {
    border-color: #174f86;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.3s ease, color 0.3s ease;
}

.user-menu-wrapper.active .dropdown-arrow {
    transform: rotate(180deg);
    color: #174f86;
}

.user-menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-menu-wrapper.active .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.user-menu-avatar {
    flex-shrink: 0;
}

.user-menu-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.user-avatar-initials-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    border: 2px solid #e5e7eb;
}

.user-menu-info {
    flex: 1;
    min-width: 0;
}

.user-menu-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-menu-company {
    font-size: 0.8125rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0.125rem;
}

.user-menu-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.user-menu-item:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.user-menu-item svg {
    width: 18px;
    height: 18px;
    color: #6b7280;
    transition: color 0.3s ease;
}

.user-menu-item:hover svg {
    color: #174f86;
}

.user-menu-item span {
    flex: 1;
}

.user-menu-logout {
    color: #dc2626;
}

.user-menu-logout:hover {
    background: #fef2f2;
    color: #dc2626;
}

.user-menu-logout svg {
    color: #dc2626;
}

/* Marketplace Main Content */
.marketplace-main {
    flex: 1;
    padding: 1rem 0 2rem;
}

.marketplace-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Page Header */
.marketplace-page-header {
    margin-bottom: 1rem;
    padding-top: 0.5rem;
}

.marketplace-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Category Tabs */
.marketplace-category-tabs {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.5rem;
}

.category-tab {
    padding: 0.75rem 1.25rem;
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    color: #6b7280;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.category-tab:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.category-tab.active {
    background: #1f2937;
    color: #ffffff;
}

.tab-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.category-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.3);
}

/* Marketplace Layout */
.marketplace-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
    margin-top: 0;
}

/* Sidebar */
.marketplace-sidebar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
    word-wrap: break-word;
    word-break: break-word;
}

.marketplace-sidebar::-webkit-scrollbar {
    width: 6px;
}

.marketplace-sidebar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.marketplace-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.marketplace-sidebar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Prevent content overflow in sidebar */
.marketplace-sidebar * {
    max-width: 100%;
    box-sizing: border-box;
}

.filter-section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.filter-option {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.filter-option span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.sidebar-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.reset-filters {
    font-size: 0.875rem;
    color: #174f86;
    text-decoration: none;
    font-weight: 500;
}

.reset-filters:hover {
    text-decoration: underline;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: #4b5563;
    padding: 0.5rem 0;
}

.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #174f86;
}

.filter-option:hover {
    color: #1f2937;
}

.stars-filter {
    color: #fbbf24;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.filter-range {
    margin-top: 0.5rem;
}

.range-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.range-input {
    flex: 1;
    min-width: 80px;
    max-width: 100%;
    padding: 0.625rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1f2937;
    box-sizing: border-box;
}

.range-input:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.range-separator {
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
}

/* Main Content Area */
.marketplace-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.marketplace-search-bar {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1rem;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
}

.search-input-main {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
}

.search-input-main:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.marketplace-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1.25rem 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-highlight {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.marketplace-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin: 0 auto;
    max-width: 700px;
    line-height: 1.7;
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.hero-stat-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hero-stat-card:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.12);
    transform: translateY(-2px);
}

.hero-stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
}

.hero-stat-icon svg {
    width: 28px;
    height: 28px;
    color: #ffffff;
}

.hero-stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

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

/* Marketplace Filters */
.marketplace-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    padding: 1.75rem;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.search-box {
    flex: 1;
    position: relative;
    max-width: 400px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #9ca3af;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.filter-group {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}

.filter-select:focus {
    outline: none;
    border-color: #174f86;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

/* Marketplace Profiles Grid */
.marketplace-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.marketplace-profile-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.marketplace-profile-card:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.12);
    transform: translateY(-2px);
}

.profile-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.profile-card-image {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    flex-shrink: 0;
}

.profile-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.marketplace-profile-card:hover .profile-card-image img {
    transform: scale(1.05);
}

.card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 2;
}

.card-favorite {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
}

.card-favorite svg {
    width: 20px;
    height: 20px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.card-favorite:hover,
.card-favorite.active {
    background: #ffffff;
}

.card-favorite.active svg {
    color: #ef4444;
    fill: #ef4444;
}

.profile-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
}

.profile-initials {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.profile-badge {
    position: absolute;
    top: 0rem;
    right: 0rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #174f86;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

.profile-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.marketplace-profile-card:hover .profile-card-title {
    color: #174f86;
}

.profile-card-description {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-card-details {
    padding: 0.625rem 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-item > span {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 0.6875rem;
    color: #6b7280;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    font-size: 0.8125rem;
    color: #1f2937;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Reviews Section */
.profile-card-reviews {
    padding: 0.625rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.reviews-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.stars-display {
    display: flex;
    gap: 0.125rem;
}

.star {
    color: #d1d5db;
    font-size: 0.75rem;
    line-height: 1;
}

.star.filled {
    color: #fbbf24;
}

.star.half {
    color: #fbbf24;
    opacity: 0.5;
}

.rating-value {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2937;
}

.review-count {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Lister Section */
.profile-card-lister {
    padding-top: 0.625rem;
}

.lister-label {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: block;
    margin-bottom: 0.375rem;
}

.lister-info {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.lister-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.lister-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
    min-width: 0;
}

.lister-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lister-company {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* No Profiles Message */
.no-profiles-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 2px dashed #e5e7eb;
    border-radius: 20px;
}

.no-profiles-message svg {
    width: 64px;
    height: 64px;
    color: #9ca3af;
    margin: 0 auto 1.5rem;
}

.no-profiles-message h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.no-profiles-message p {
    font-size: 1rem;
    color: #6b7280;
    margin: 0;
}

/* Marketplace Pagination */
.marketplace-pagination {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.marketplace-pagination ul.page-numbers,
.marketplace-pagination .page-numbers {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.marketplace-pagination ul.page-numbers li,
.marketplace-pagination .page-numbers li {
    margin: 0;
    list-style: none;
}

.marketplace-pagination ul.page-numbers a,
.marketplace-pagination ul.page-numbers span,
.marketplace-pagination .page-numbers a,
.marketplace-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #ffffff;
}

.marketplace-pagination ul.page-numbers a:hover,
.marketplace-pagination .page-numbers a:hover {
    border-color: #174f86;
    color: #174f86;
    background: #f0f7ff;
}

.marketplace-pagination ul.page-numbers .current,
.marketplace-pagination .page-numbers .current {
    border-color: #174f86;
    background: #174f86;
    color: #ffffff;
}

/* Marketplace Site Footer */
.marketplace-site-footer {
    background: #1f2937;
    color: #ffffff;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.marketplace-footer-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.footer-description {
    font-size: 0.9375rem;
    color: #d1d5db;
    line-height: 1.6;
    margin: 0;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    font-size: 0.9375rem;
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: #9ca3af;
    margin: 0;
}

/* Responsive for Marketplace */
@media (max-width: 1024px) {
    .marketplace-layout {
        grid-template-columns: 240px 1fr;
        gap: 1.25rem;
    }
    
    .marketplace-sidebar {
        max-height: calc(100vh - 100px);
        top: 80px;
    }
    
    .marketplace-profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1rem;
    }
    
    .profile-card-image {
        height: 150px;
    }
}

@media (max-width: 900px) {
    .marketplace-layout {
        grid-template-columns: 220px 1fr;
        gap: 1rem;
    }
    
    .marketplace-sidebar {
        padding: 1.25rem;
    }
    
    .filter-section-title {
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .marketplace-main {
        padding: 0.5rem 0 2rem;
    }
    
    .marketplace-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 0;
    }
    
    .marketplace-page-header {
        margin-bottom: 0.75rem;
        padding-top: 0.25rem;
    }
    
    .marketplace-sidebar {
        position: static;
        max-height: none;
        order: 2;
        padding: 1.25rem;
        overflow: visible;
        width: 100%;
        box-sizing: border-box;
    }
    
    .marketplace-main-content {
        order: 1;
        width: 100%;
        overflow-x: hidden;
    }
    
    .marketplace-category-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 1.25rem;
    }
    
    .marketplace-header-container {
        padding: 0.625rem 1rem;
    }
    
    .marketplace-category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .marketplace-profiles-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }
    
    .profile-card-image {
        height: 140px;
    }
    
    .profile-card-content {
        padding: 0.875rem;
        gap: 0.625rem;
    }
    
    .profile-card-title {
        font-size: 0.9375rem;
    }
    
    .profile-card-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .marketplace-profiles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-card-image {
        height: 180px;
    }
    
    .marketplace-page-title {
        font-size: 1.5rem;
    }
    
    .category-tab {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }
    
    .marketplace-sidebar {
        padding: 1rem;
        overflow: visible;
        max-height: none;
    }
    
    .filter-section {
        margin-bottom: 1.5rem;
    }
    
    .filter-section-title {
        font-size: 0.875rem;
    }
    
    .filter-option {
        font-size: 0.875rem;
        padding: 0.4375rem 0;
    }
    
    .range-inputs {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    
    .range-separator {
        display: none;
    }
    
    .range-input {
        width: 100%;
        min-width: 100%;
    }
    
    .marketplace-search-bar {
        margin-bottom: 0.5rem;
    }
    
    .search-input-main {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.875rem;
    }
    
    .sidebar-header {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .reset-filters {
        font-size: 0.8125rem;
    }
    .marketplace-header-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem;
    }
    
    .marketplace-nav {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 0.875rem;
    }
    
    .marketplace-main {
        padding: 2rem 0;
    }
    
    .marketplace-hero {
        padding: 1.5rem 0;
        margin-bottom: 2.5rem;
    }
    
    .hero-content {
        margin-bottom: 2rem;
    }
    
    .hero-badge {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.875rem;
    }
    
    .marketplace-title {
        font-size: 2rem;
    }
    
    .marketplace-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .hero-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .hero-stat-card {
        padding: 1.5rem;
    }
    
    .hero-stat-icon {
        width: 48px;
        height: 48px;
    }
    
    .hero-stat-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .hero-stat-value {
        font-size: 1.75rem;
    }
    
    .marketplace-filters {
        padding: 1.25rem;
    }
    
    .marketplace-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-group {
        flex-direction: column;
    }
    
    .filter-select {
        width: 100%;
    }
    
    .marketplace-profiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info-header-modern,
    .form-header-modern {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-header-icon,
    .form-header-icon {
        width: 44px;
        height: 44px;
    }
    
    .info-header-icon svg,
    .form-header-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .contact-info-header-modern h3,
    .form-header-modern h3 {
        font-size: 1.25rem;
    }
    
    .contact-card-modern {
        padding: 1.25rem;
    }
    
    .contact-icon-modern {
        width: 48px;
        height: 48px;
    }
    
    .contact-icon-modern svg {
        width: 24px;
        height: 24px;
    }
    
    .contact-form-section-modern {
        padding: 1.5rem;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .form-group-modern input,
    .form-group-modern textarea {
        padding: 0.75rem 1rem;
    }
    
    .btn-submit-modern {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
    
    .tab-content .contact-section-modern .section-description {
        font-size: 0.9375rem;
    }
}

/* AI Services Section */
.ai-services-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.ai-service-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.ai-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 50%, #174f86 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.ai-service-card:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.15);
    transform: translateY(-4px);
}

.ai-service-card:hover::before {
    transform: scaleX(1);
}

.ai-service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #174f86;
    flex-shrink: 0;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.ai-service-card:hover .ai-service-icon {
    background: linear-gradient(135deg, #174f86 0%, #1e6ba8 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.ai-service-icon svg {
    width: 32px;
    height: 32px;
    stroke-width: 2;
}

.ai-service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.ai-service-card:hover .ai-service-title {
    color: #174f86;
}

.ai-service-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* Responsive for AI Services */
@media (max-width: 768px) {
    .ai-services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .ai-service-card {
        padding: 1.5rem;
    }
    
    .ai-service-icon {
        width: 56px;
        height: 56px;
    }
    
    .ai-service-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .ai-service-title {
        font-size: 1.125rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .ai-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Presentation Materials Section */
.presentation-materials-section,
.presentation-materials-section-overview {
    margin: 3rem 0;
    padding: 2rem 0;
}

.presentation-header {
    margin-bottom: 2rem;
}

.presentation-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-top: 0.5rem;
}

/* Presentation Templates Grid - Full View */
.presentation-templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.template-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.template-card:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.15);
    transform: translateY(-4px);
}

.template-preview {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.template-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card:hover .template-image {
    transform: scale(1.05);
}

.template-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 1.5rem 1.5rem 0.75rem 1.5rem;
    line-height: 1.3;
}

.template-description {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 1.5rem 1rem 1.5rem;
    flex: 1;
}

.template-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
}

.template-feature {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.template-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
    background: #174f86;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.template-download-btn:hover {
    background: #1e6ba8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

.template-download-btn svg {
    width: 20px;
    height: 20px;
}

/* Presentation Templates Grid - Overview Preview */
.presentation-templates-grid-overview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.template-card-overview {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.template-card-overview:hover {
    border-color: #174f86;
    box-shadow: 0 6px 20px rgba(23, 79, 134, 0.15);
    transform: translateY(-3px);
}

.template-preview-overview {
    width: 100%;
    height: 140px;
    overflow: hidden;
    background: #f9fafb;
    position: relative;
}

.template-image-overview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card-overview:hover .template-image-overview {
    transform: scale(1.08);
}

.template-card-overview h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1rem;
    text-align: center;
    line-height: 1.3;
}

/* Responsive for Presentation Templates */
@media (max-width: 768px) {
    .presentation-templates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .presentation-templates-grid-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .template-preview {
        height: 180px;
    }
    
    .template-preview-overview {
        height: 120px;
    }
    
    .template-card-overview h3 {
        font-size: 0.875rem;
        margin: 0.75rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .presentation-templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .presentation-templates-grid-overview {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Video Preview Section */
.video-preview-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.video-preview-container {
    margin: 2rem 0;
    max-width: 100%;
}

.video-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
    background: #000000;
}

.video-preview-wrapper:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    transform: translateY(-4px);
}

.video-preview-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-preview-wrapper:hover .video-preview-image {
    transform: scale(1.05);
    opacity: 0.9;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.video-preview-wrapper:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-overlay svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.video-preview-wrapper:hover .video-play-overlay svg {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.video-play-overlay circle {
    transition: fill 0.3s ease;
}

.video-preview-wrapper:hover .video-play-overlay circle {
    fill: rgba(23, 79, 134, 1);
}

/* Responsive for Video Preview */
@media (max-width: 768px) {
    .video-preview-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .video-preview-wrapper {
        border-radius: 12px;
        max-width: 100%;
    }
    
    .video-play-overlay svg {
        width: 56px;
        height: 56px;
    }
}

/* Opportunities Preview Section */
.opportunities-preview-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

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

.opportunity-preview-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.opportunity-preview-card:hover {
    border-color: #174f86;
    box-shadow: 0 6px 20px rgba(23, 79, 134, 0.15);
    transform: translateY(-3px);
    background: #f9fafb;
}

.opportunity-preview-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.opportunity-preview-card:hover .opportunity-preview-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.opportunity-preview-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    transition: color 0.3s ease;
}

.opportunity-preview-card:hover h3 {
    color: #174f86;
}

/* Responsive for Opportunities Preview */
@media (max-width: 768px) {
    .opportunities-preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .opportunity-preview-card {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .opportunity-preview-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
    
    .opportunity-preview-card h3 {
        font-size: 0.9375rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .opportunities-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modern Opportunities Section (Tab Content) */
.tab-content .opportunities-section {
    padding: 2rem 0;
}

.tab-content .opportunities-section .section-header {
    margin-bottom: 3rem;
}

.tab-content .opportunities-section .section-description {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.6;
    max-width: 700px;
}

.opportunities-modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.opportunity-modern-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.opportunity-modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.opportunity-modern-card:hover {
    border-color: #174f86;
    box-shadow: 0 12px 32px rgba(23, 79, 134, 0.15);
    transform: translateY(-6px);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.opportunity-modern-card:hover::before {
    transform: scaleX(1);
}

.opportunity-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #174f86;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.1);
}

.opportunity-card-icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.opportunity-modern-card:hover .opportunity-card-icon {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(23, 79, 134, 0.25);
}

.opportunity-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.opportunity-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.opportunity-modern-card:hover .opportunity-card-title {
    color: #174f86;
}

.opportunity-card-category {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.375rem 0.75rem;
    background: #f3f4f6;
    border-radius: 6px;
    display: inline-block;
    width: fit-content;
    transition: all 0.3s ease;
}

.opportunity-modern-card:hover .opportunity-card-category {
    background: #e0f2fe;
    color: #174f86;
}

.opportunity-card-status {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.status-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.status-badge-modern.available {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #059669;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15);
}

.opportunity-modern-card:hover .status-badge-modern.available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
    transform: scale(1.05);
}

.status-badge-modern.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
}

.status-badge-modern.unavailable {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #dc2626;
}

/* Responsive for Modern Opportunities Section */
@media (max-width: 768px) {
    .opportunities-modern-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .opportunity-modern-card {
        padding: 1.5rem;
    }
    
    .opportunity-card-icon {
        width: 48px;
        height: 48px;
    }
    
    .opportunity-card-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .opportunity-card-title {
        font-size: 1rem;
    }
    
    .tab-content .opportunities-section .section-description {
        font-size: 0.9375rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .opportunities-modern-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1400px) {
    .opportunities-modern-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Reviews Preview Section */
.reviews-preview-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.reviews-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.review-preview-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.review-preview-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: #e5e7eb;
    line-height: 1;
    z-index: 0;
}

.review-preview-card:hover {
    border-color: #174f86;
    box-shadow: 0 8px 24px rgba(23, 79, 134, 0.15);
    transform: translateY(-4px);
}

.review-preview-card:hover::before {
    color: #dbeafe;
}

.review-preview-rating {
    font-size: 1.25rem;
    color: #f59e0b;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.review-preview-text {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    font-style: italic;
    position: relative;
    z-index: 1;
    flex: 1;
}

.review-preview-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid #f3f4f6;
    position: relative;
    z-index: 1;
}

/* Responsive for Reviews Preview */
@media (max-width: 768px) {
    .reviews-preview-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .review-preview-card {
        padding: 1.5rem;
    }
    
    .review-preview-card::before {
        font-size: 3rem;
        top: 0.75rem;
        left: 1.25rem;
    }
    
    .review-preview-rating {
        font-size: 1.125rem;
    }
    
    .review-preview-text {
        font-size: 0.875rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .reviews-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Modern Reviews Section (Tab Content) */
.tab-content .reviews-section {
    padding: 2rem 0;
}

.tab-content .reviews-section .section-header {
    margin-bottom: 3rem;
}

.tab-content .reviews-section .section-description {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.6;
    max-width: 700px;
}

/* Review Summary Cards */
.review-summary-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.summary-card-modern {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.summary-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #174f86 0%, #3b82f6 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-card-modern:hover {
    border-color: #174f86;
    box-shadow: 0 12px 32px rgba(23, 79, 134, 0.15);
    transform: translateY(-4px);
}

.summary-card-modern:hover::before {
    transform: scaleX(1);
}

.summary-icon-modern {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #174f86;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.1);
}

.summary-icon-modern svg {
    width: 28px;
    height: 28px;
    stroke-width: 2;
}

.summary-card-modern:hover .summary-icon-modern {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(23, 79, 134, 0.25);
}

.summary-content-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-value-modern {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.summary-card-modern:hover .summary-value-modern {
    color: #174f86;
}

.summary-label-modern {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.summary-card-modern:hover .summary-label-modern {
    color: #174f86;
}

/* Reviews List */
.reviews-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.review-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #174f86 0%, #3b82f6 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card-modern:hover {
    border-color: #174f86;
    box-shadow: 0 12px 32px rgba(23, 79, 134, 0.15);
    transform: translateX(4px);
}

.review-card-modern:hover::before {
    transform: scaleY(1);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    gap: 1.5rem;
}

.reviewer-info-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.reviewer-avatar-modern {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.2);
    transition: all 0.3s ease;
}

.review-card-modern:hover .reviewer-avatar-modern {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(23, 79, 134, 0.3);
}

.reviewer-details-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.reviewer-name-modern {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.review-card-modern:hover .reviewer-name-modern {
    color: #174f86;
}

.review-date-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    transition: color 0.3s ease;
}

.review-date-modern svg {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.review-card-modern:hover .review-date-modern {
    color: #174f86;
}

.review-card-modern:hover .review-date-modern svg {
    color: #174f86;
}

.review-rating-modern {
    flex-shrink: 0;
}

.stars-modern {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.star {
    font-size: 1.25rem;
    color: #d1d5db;
    transition: all 0.3s ease;
    line-height: 1;
}

.star.filled {
    color: #fbbf24;
    text-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.review-card-modern:hover .star.filled {
    color: #f59e0b;
    transform: scale(1.1);
}

.review-card-body {
    position: relative;
    padding-left: 0.5rem;
}

.review-text-modern {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
    position: relative;
    padding-left: 1.5rem;
}

.review-text-modern::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -0.5rem;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: #e5e7eb;
    line-height: 1;
    transition: color 0.3s ease;
}

.review-card-modern:hover .review-text-modern::before {
    color: #dbeafe;
}

/* Responsive for Modern Reviews Section */
@media (max-width: 768px) {
    .review-summary-modern {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .summary-card-modern {
        padding: 1.5rem;
    }
    
    .summary-icon-modern {
        width: 48px;
        height: 48px;
    }
    
    .summary-icon-modern svg {
        width: 24px;
        height: 24px;
    }
    
    .summary-value-modern {
        font-size: 1.75rem;
    }
    
    .review-card-modern {
        padding: 1.5rem;
    }
    
    .review-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .reviewer-avatar-modern {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
    
    .reviewer-name-modern {
        font-size: 1rem;
    }
    
    .review-text-modern {
        font-size: 0.9375rem;
        padding-left: 1.25rem;
    }
    
    .review-text-modern::before {
        font-size: 2.5rem;
    }
    
    .tab-content .reviews-section .section-description {
        font-size: 0.9375rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .review-summary-modern {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Chatbot Preview Section */
.chatbot-preview-section {
    margin: 3rem 0;
    padding: 2rem 0;
}

.chatbot-preview-container {
    margin: 2rem 0;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.chatbot-preview-window {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    min-height: 200px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.chatbot-preview-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #174f86 0%, #1e6ba8 100%);
    border-radius: 20px 20px 0 0;
    z-index: 0;
}

.chatbot-preview-window::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 16px 0 0 #ffffff, 32px 0 0 #ffffff;
    z-index: 1;
}

.chatbot-preview-message {
    background: #f3f4f6;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    max-width: 85%;
    position: relative;
    z-index: 1;
    margin-top: 40px;
    animation: fadeInUp 0.5s ease;
}

.chatbot-preview-message.bot {
    align-self: flex-start;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-bottom-left-radius: 4px;
}

.chatbot-preview-message.bot::before {
    content: '';
    position: absolute;
    left: -8px;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 12px 0;
    border-color: transparent #e0efff transparent transparent;
}

.chatbot-preview-message p {
    margin: 0;
    font-size: 0.9375rem;
    color: #1f2937;
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive for Chatbot Preview */
@media (max-width: 768px) {
    .chatbot-preview-section {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .chatbot-preview-window {
        border-radius: 16px;
        padding: 1.25rem;
        min-height: 180px;
    }
    
    .chatbot-preview-window::before {
        height: 50px;
        border-radius: 16px 16px 0 0;
    }
    
    .chatbot-preview-window::after {
        top: 12px;
        left: 16px;
        width: 6px;
        height: 6px;
        box-shadow: 12px 0 0 #ffffff, 24px 0 0 #ffffff;
    }
    
    .chatbot-preview-message {
        margin-top: 35px;
        padding: 0.875rem 1rem;
        max-width: 90%;
    }
    
    .chatbot-preview-message p {
        font-size: 0.875rem;
    }
}

/* Modern Chatbot Section (Tab Content) */
.tab-content .chatbot-section {
    padding: 2rem 0;
}

.tab-content .chatbot-section .section-header {
    margin-bottom: 3rem;
}

.tab-content .chatbot-section .section-description {
    font-size: 1rem;
    color: #6b7280;
    margin-top: 0.75rem;
    line-height: 1.6;
    max-width: 700px;
}

.chatbot-container-modern {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-top: 2rem;
}

.chatbot-window-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 600px;
    overflow: hidden;
    position: relative;
}

/* Chatbot Header Bar */
.chatbot-header-bar {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chatbot-avatar-modern {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.chatbot-avatar-modern svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.chatbot-header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.chatbot-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.chatbot-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.9);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Chatbot Messages Area */
.chatbot-messages-modern {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: #f8fafc;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.chatbot-messages-modern::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages-modern::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.chatbot-messages-modern::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.chatbot-messages-modern::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.chatbot-message-modern {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    animation: fadeInUp 0.4s ease;
}

.chatbot-message-modern.bot-message-modern {
    align-self: flex-start;
}

.chatbot-message-modern.user-message-modern {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar-modern {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(23, 79, 134, 0.2);
}

.message-avatar-modern svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.user-message-modern .message-avatar-modern {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

.message-bubble-modern {
    max-width: 75%;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bot-bubble {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
    color: #1f2937;
}

.user-message-modern .message-bubble-modern {
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border-bottom-right-radius: 4px;
    color: #ffffff;
}

.message-bubble-modern p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.message-time {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.5rem;
}

.user-message-modern .message-time {
    color: rgba(255, 255, 255, 0.7);
}

/* Chatbot Input Area */
.chatbot-input-area-modern {
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.input-wrapper-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
}

.input-wrapper-modern:focus-within {
    border-color: #174f86;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(23, 79, 134, 0.1);
}

.chatbot-input-modern {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: #1f2937;
    outline: none;
    padding: 0.5rem 0;
}

.chatbot-input-modern::placeholder {
    color: #9ca3af;
}

.chatbot-send-btn-modern {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #174f86 0%, #3b82f6 100%);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(23, 79, 134, 0.2);
}

.chatbot-send-btn-modern:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.3);
}

.chatbot-send-btn-modern:active {
    transform: scale(0.95);
}

.chatbot-send-btn-modern svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Suggested Questions */
.chatbot-suggestions-modern {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.suggestions-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.suggestions-header svg {
    color: #174f86;
}

.suggestions-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.suggestion-chips-modern {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.suggestion-chip-modern {
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.9375rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.suggestion-chip-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #174f86 0%, #3b82f6 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.suggestion-chip-modern:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-color: #174f86;
    color: #174f86;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(23, 79, 134, 0.1);
}

.suggestion-chip-modern:hover::before {
    transform: scaleY(1);
}

.suggestion-chip-modern span {
    position: relative;
    z-index: 1;
}

/* Responsive for Modern Chatbot Section */
@media (max-width: 1024px) {
    .chatbot-container-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .chatbot-window-modern {
        height: 500px;
    }
    
    .chatbot-suggestions-modern {
        order: -1;
    }
}

@media (max-width: 768px) {
    .chatbot-window-modern {
        height: 450px;
        border-radius: 16px;
    }
    
    .chatbot-header-bar {
        padding: 1rem 1.25rem;
    }
    
    .chatbot-avatar-modern {
        width: 40px;
        height: 40px;
    }
    
    .chatbot-avatar-modern svg {
        width: 20px;
        height: 20px;
    }
    
    .chatbot-name {
        font-size: 0.9375rem;
    }
    
    .chatbot-messages-modern {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .message-bubble-modern {
        max-width: 85%;
        padding: 0.875rem 1rem;
    }
    
    .message-bubble-modern p {
        font-size: 0.875rem;
    }
    
    .chatbot-input-area-modern {
        padding: 1rem 1.25rem;
    }
    
    .input-wrapper-modern {
        padding: 0.5rem;
    }
    
    .chatbot-send-btn-modern {
        width: 36px;
        height: 36px;
    }
    
    .chatbot-send-btn-modern svg {
        width: 18px;
        height: 18px;
    }
    
    .chatbot-suggestions-modern {
        padding: 1.5rem;
    }
    
    .suggestion-chip-modern {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
    
    .tab-content .chatbot-section .section-description {
        font-size: 0.9375rem;
    }
}

/* Company Video Section - Modern Design */
.company-video-section {
    margin: 0;
    padding: 0;
}

.video-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.video-header .section-heading {
    margin-bottom: 0.75rem;
}

.video-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.video-container {
    margin: 2.5rem 0;
}

.video-player-wrapper {
    background: #000000;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
    position: relative;
}

.video-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000000;
}

.video-iframe,
.video-element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
}

.video-info {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 1.5rem 2rem;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.video-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.video-duration,
.video-views,
.video-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
}

.video-duration svg,
.video-views svg,
.video-date svg {
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.video-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.video-description-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.video-description-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

.video-description-box p {
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

.video-features {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.video-features h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.6;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.feature-list li:hover {
    background: #f0f7ff;
    color: #174f86;
    transform: translateX(4px);
}

.feature-list li svg {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-list li:hover svg {
    color: #174f86;
}

/* Responsive for Company Video Section */
@media (max-width: 768px) {
    .video-header {
        margin-bottom: 2rem;
        text-align: left;
    }
    
    .video-description {
        font-size: 0.9375rem;
    }
    
    .video-player-wrapper {
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
    
    .video-info {
        padding: 1.25rem 1.5rem;
        position: relative;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
    }
    
    .video-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .video-meta {
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .video-duration,
    .video-views,
    .video-date {
        font-size: 0.8125rem;
    }
    
    .video-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-description-box,
    .video-features {
        padding: 1.5rem;
    }
    
    .video-description-box h3,
    .video-features h3 {
        font-size: 1.125rem;
    }
    
    .feature-list li {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
}

.btn-link {
    background: none;
    border: none;
    color: #174f86;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.btn-link:hover {
    color: #1e6ba8;
}

.btn-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.forgot-password-message {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.forgot-password-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.forgot-password-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.field-hint {
    display: block;
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}


/* Responsive Login Page */
@media (max-width: 768px) {
    .login-page {
        padding: 2rem 1rem;
    }

    .login-card {
        padding: 2.5rem 2rem;
        border-radius: 0.875rem;
    }

    .login-title {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.25rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-title {
        font-size: 1.25rem;
    }

    .code-inputs-container {
        gap: 0.5rem;
    }

    .code-input {
        width: 45px;
        height: 55px;
        font-size: 1.25rem;
    }
}
