/* DIDC Main Stylesheet */
@import url('./brand-tokens.css');
@import url('./bootstrap.min.css');
@import url('./styles.css?v=2');
@import url('./cta-styles.css');
@import url('./primer-animations.css');

/* Additional override styles */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    background: #f9fafb !important;
}

.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
}

.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%) !important;
    padding: 8rem 0 6rem !important;
}

/* Enhanced Hero Section Styles */
.hero-modern {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 20%, #cbd5e1 100%);
    color: #1e293b;
    padding-top: 0;
    margin-top: -1px; /* Seamless connection with header */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(220, 38, 38, 0.1), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(220, 38, 38, 0.08), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(220, 38, 38, 0.06), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(220, 38, 38, 0.05), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: float 20s infinite ease-in-out;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top center, rgba(220, 38, 38, 0.08) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
}

.badge-text {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
}

.text-gradient {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #475569;
    max-width: 600px;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    font-family: 'Poppins', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    color: white;
    box-shadow: 0 10px 40px rgba(220, 38, 38, 0.3);
    transition: all 0.3s ease;
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.4);
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    color: white;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(220, 38, 38, 0.2);
    color: #1e293b;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: #dc2626;
    transform: translateY(-2px);
    color: #1e293b;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-trusted {
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    padding-top: 2rem;
}

.trusted-text {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.trusted-logos {
    flex-wrap: wrap;
}

.trusted-logo {
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.trusted-logo:hover {
    opacity: 1;
    color: #dc2626;
}

/* Tech Showcase */
.visual-container {
    position: relative;
    width: 100%;
    height: 600px;
}

.tech-showcase {
    position: relative;
    width: 100%;
    height: 100%;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.tech-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #dc2626;
}

.tech-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 1.1rem;
}

.tech-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: #dc2626;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s infinite;
}

.central-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.4);
    animation: rotate 20s linear infinite;
}

.hub-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.hub-connections {
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.connection {
    position: absolute;
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, #dc2626, transparent);
    border-radius: 1px;
}

.connection-1 { top: 0; left: 50%; transform: translateX(-50%); }
.connection-2 { right: 0; top: 50%; transform: translateY(-50%) rotate(90deg); }
.connection-3 { bottom: 0; left: 50%; transform: translateX(-50%) rotate(180deg); }
.connection-4 { left: 0; top: 50%; transform: translateY(-50%) rotate(270deg); }

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.element-1 {
    top: 20%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.element-2 {
    bottom: 30%;
    left: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

.element-3 {
    top: 60%;
    right: 20%;
    animation: float 7s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.5); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-modern {
        min-height: 90vh;
        padding-top: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .central-hub {
        width: 100px;
        height: 100px;
        font-size: 0.8rem;
    }
    
    .visual-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .hero-modern {
        min-height: 80vh;
        padding-top: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Header to Hero Seamless Connection */
.navbar + main .hero-modern {
    margin-top: 0;
    padding-top: 4rem;
}

/* Ensure proper spacing from fixed header if any */
@media (min-width: 992px) {
    .hero-modern .container {
        padding-top: 2rem;
    }
}

/* Additional mobile refinements */
@media (max-width: 576px) {
    .hero-modern {
        padding-top: 0.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .visual-container {
        height: 300px;
    }
    
    .tech-card {
        padding: 1.5rem;
    }
}

/* Additional Styles for New Sections */

/* Service Cards Enhancement */
.service-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(220, 38, 38, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 38, 38, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

/* Industry Cards */
.industry-icon {
    transition: transform 0.3s ease;
}

.industry-icon:hover {
    transform: scale(1.1);
}

/* Metric Items */
.metric-item {
    padding: 2rem 1rem;
}

.metric-number {
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* Partner Logos */
.partner-logo {
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

/* Testimonial Cards */
.avatar {
    flex-shrink: 0;
}

/* Success Story Cards */
.success-story-card {
    transition: all 0.3s ease;
}

.success-story-card:hover {
    transform: translateY(-5px);
}

/* Call to Action Enhancements */
.cta-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

/* Value Proposition Icons */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Loading animation for tech cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-card {
    animation: fadeInUp 0.6s ease-out;
}

.tech-card:nth-child(1) { animation-delay: 0.1s; }
.tech-card:nth-child(2) { animation-delay: 0.2s; }
.tech-card:nth-child(3) { animation-delay: 0.3s; }
.tech-card:nth-child(4) { animation-delay: 0.4s; }

/* Enhanced button styles */
.btn-outline-primary:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

.btn-outline-success:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: white;
}

.btn-outline-warning:hover {
    background: #ca8a04;
    border-color: #ca8a04;
    color: white;
}

.btn-outline-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

/* Section spacing */
section {
    padding: 5rem 0;
}

section.py-5 {
    padding: 5rem 0 !important;
}

/* Improved focus states for accessibility */
.btn:focus,
.card:focus,
a:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-outline-primary {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .tech-card,
    .service-card,
    .partner-logo {
        transition: none;
    }
    
    .floating-element {
        animation: none;
    }
    
    .central-hub {
        animation: none;
    }
}

/* ===============================================
   CONTACT PAGE STYLES
   =============================================== */

/* Contact Page Hero Enhancements */
.contact-badge .badge {
    font-weight: 500;
    letter-spacing: 0.025em;
}

.contact-stats .col-4 {
    position: relative;
}

.contact-stats .col-4:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

/* Contact Options Hover Effects */
.contact-option {
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Contact Form Enhancements */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-section {
    position: relative;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section-title {
    font-weight: 600;
    letter-spacing: -0.025em;
}

.form-control-lg {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control-lg:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
    transform: translateY(-1px);
}

.form-select-lg {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-select-lg:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #ffffff;
}

/* File Upload Zone */
.file-drop-zone {
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f8fafc !important;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
    border-color: #3b82f6 !important;
    background: rgba(59, 130, 246, 0.05) !important;
    transform: translateY(-2px);
}

.file-drop-zone.drag-over {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.hover-bg-primary-subtle:hover {
    background: rgba(59, 130, 246, 0.05) !important;
}

/* Contact Information Cards */
.contact-info,
.business-hours,
.quick-actions {
    transition: all 0.3s ease;
}

.contact-info:hover,
.business-hours:hover,
.quick-actions:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08) !important;
}

/* Contact Items */
.contact-item {
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 12px;
}

.contact-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(5px);
}

/* Skip to content accessibility */
.skip-to-content {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1em;
    background: #000;
    color: #fff;
    text-decoration: none;
}

.skip-to-content:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 1rem;
}

/* Professional Button Styles for Contact Page */
.btn-lg {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-outline-primary {
    border: 2px solid #3b82f6;
    color: #3b82f6;
    background: transparent;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
}

.btn-outline-primary:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

/* Ensure consistent styling for all action buttons */
.quick-actions .btn {
    border-width: 2px;
    font-weight: 600;
}

.quick-actions .btn i {
    font-size: 1.1em;
}

/* ===============================================
   ASSESSMENT PAGE STYLES
   =============================================== */

/* Assessment Hero Section */
.assessment-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.assessment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagon" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,2 52,17 52,43 30,58 8,43 8,17" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23hexagon)"/></svg>') repeat;
    opacity: 0.3;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.badge-text {
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.text-gradient {
    background: linear-gradient(45deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assessment-benefits .benefit-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 16px;
}

.hero-stats {
    margin-top: 40px;
}

.stat-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.assessment-visual {
    padding: 40px 0;
}

.assessment-checklist {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.checklist-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.checklist-item i {
    font-size: 24px;
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.item-content h5 {
    margin-bottom: 8px;
    font-weight: 600;
    color: white;
}

.item-content p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
    line-height: 1.5;
}

/* Assessment Form Section */
.assessment-form-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.assessment-form-container {
    background: white;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}

.form-header {
    margin-bottom: 50px;
}

.form-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin: 0;
}

.form-section {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.form-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 18px;
}

.section-description {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
}

.form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control, .form-select {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    outline: none;
}

.form-control.is-valid, .form-select.is-valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'><path fill='%2328a745' d='m2.3 6.73.94-.94 1.88 1.88 3.44-3.44.94.94-4.38 4.38-2.82-2.82z'/></svg>");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: #dc3545;
}

.custom-checkbox {
    margin-bottom: 15px;
}

.custom-checkbox .form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
}

.custom-checkbox .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.custom-checkbox .form-check-label {
    font-size: 15px;
    color: var(--text-color);
    margin-left: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    line-height: 1.4;
}

.consent-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.consent-section .form-check-label {
    font-size: 14px;
    line-height: 1.6;
}

.consent-section .form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.consent-section .form-check-label a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.form-actions .btn {
    min-width: 250px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.form-note {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.form-progress {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
}

.progress-percentage {
    font-weight: 600;
    color: var(--primary-color);
}

/* Next Steps Section */
.next-steps-section {
    padding: 80px 0;
    background: white;
}

.step-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-icon {
    margin: 30px 0 20px;
}

.step-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.step-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-color);
}

.step-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .assessment-form-container {
        padding: 40px 30px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .hero-stats .row {
        text-align: center;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
    
    .assessment-checklist {
        padding: 30px 20px;
    }
    
    .checklist-item {
        flex-direction: column;
        text-align: center;
    }
    
    .checklist-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}