/* Demo Request Page Styles */
.page-header {
    background-color: #3b82f6;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #2563eb;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInDown 1s ease-out forwards;
}

.page-header .lead {
    font-size: 1.25rem;
    color: #e2e8f0;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.demo-request-section {
    padding: 80px 0;
}

.demo-info {
    padding: 2rem;
    background-color: #f8fafc;
    border-radius: 12px;
    height: 100%;
}

.demo-info h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1e293b;
    text-align: center;
}

.demo-benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: #334155;
}

.benefit-item p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.divider-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
    margin: 0 auto;
    min-height: 400px;
}

.form-container {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.form-container p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

.form-row .form-group {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

.col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.mr-2 {
    margin-right: 0.5rem;
}

.justify-content-center {
    justify-content: center;
}

.d-none {
    display: none;
}

.d-lg-block {
    display: block;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #334155;
}

.form-group .required {
    color: #ef4444;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.form-check-input {
    margin-right: 0.5rem;
}

.form-check-label {
    font-size: 0.9rem;
    color: #64748b;
}

.btn {
    display: inline-block;
    font-weight: 500;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 4px;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
}

.btn-primary {
    color: #ffffff;
    background-color: #3b82f6;
    border: 1px solid #3b82f6;
}

.btn-primary:hover {
    background-color: #2563eb;
    border-color: #2563eb;
}

.btn-block {
    display: block;
    width: 100%;
}

.form-disclaimer {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
    text-align: center;
}

.form-disclaimer a {
    color: #3b82f6;
    text-decoration: none;
}

.form-disclaimer a:hover {
    text-decoration: underline;
}

.testimonials-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1e293b;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: #334155;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
}

.author-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.author-info p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .demo-info {
        margin-bottom: 3rem;
    }
    
    .divider-line {
        display: none;
    }
    
    .d-lg-block {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .demo-request-section {
        padding: 50px 0;
    }
    
    .demo-info,
    .form-container {
        padding: 1.5rem;
    }
    
    .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .form-row .form-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .demo-info h2 {
        font-size: 1.5rem;
    }
    
    .benefit-item {
        padding: 0.75rem;
    }
    
    .benefit-item i {
        font-size: 1.25rem;
    }
    
    .form-container {
        padding: 1rem;
    }
}

/* Bootstrap-like grid system */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.col-md-4, .col-md-6, .col-lg-6 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
    
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Form validation styles */
.was-validated .form-control:invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.bg-light {
    background-color: #f8fafc !important;
}

.text-center {
    text-align: center !important;
}

/* Animation Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}
