/* emr.css */
/* Additional styles for the electronic medical record system page */

/* Active menu item */
.menu a.active {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Section */
.emr-hero {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    padding: 80px 0;
}

.emr-hero h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

/* Introduction Section */
.emr-intro {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.intro-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.intro-text {
    max-width: 800px;
    text-align: center;
}

.intro-text p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.intro-image {
    max-width: 600px;
    text-align: center;
}

.rounded-img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

/* Product Showcase Section */
.product-showcase {
    padding: 60px 0;
    background-color: white;
}

.product-header {
    text-align: center;
    margin-bottom: 40px;
}

.product-title-box {
    display: inline-block;
    border: 2px solid #f0f0f0;
    padding: 20px 40px;
    border-radius: 8px;
}

.product-title-box h2 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #666;
}

.product-name {
    font-size: 2.4rem;
    color: var(--primary-color);
    margin: 0;
}

.pronunciation {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
    margin-left: 8px;
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.product-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.product-img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.product-description {
    flex: 1;
    min-width: 300px;
}

.product-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    display: inline-block;
    background-color: #e6f0ff;
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 30px;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.benefit-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.benefit-content p {
    color: #555;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-item h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-item p {
    color: #666;
}

/* Implementation Section */
.implementation {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.implementation h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-color);
}

.steps {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 3px;
    background-color: var(--primary-color);
    opacity: 0.3;
}

.step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    z-index: 2;
}

.step-content {
    margin-left: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.step-content h3 {
    color: var(--dark-color);
    margin-bottom: 10px;
}

.step-content p {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    flex: 1;
    min-width: 300px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial::before {
    content: "\201C";
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: 10px;
    left: 20px;
    line-height: 1;
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
    z-index: 1;
}

.testimonial-content p {
    line-height: 1.7;
    font-style: italic;
    color: #555;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.testimonial-info p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #ebf5ff;
}

.faq-question h4 {
    margin: 0;
    color: var(--dark-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 300px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), #4a90e2);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.demo-button {
    background-color: white;
    color: var(--primary-color);
}

.demo-button:hover {
    background-color: #f0f0f0;
    color: #004ea8;
}

/* Contact Form Section */
.contact-section {
    padding: 80px 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.contact-form-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.form-actions {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.submit-button:hover {
    background-color: #0055aa;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .product-content {
        flex-direction: column;
    }
    
    .product-image {
        margin-bottom: 30px;
    }
    
    .benefit-card {
        flex-direction: column;
    }
    
    .benefit-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .emr-hero h2 {
        font-size: 2rem;
    }
    
    .product-name {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .step-content {
        margin-left: 0;
    }
    
    .steps::before {
        display: none;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .product-title-box {
        padding: 15px 25px;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
}