/* Solutions Page Styles */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

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

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.search-box {
    display: flex;
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.search-box input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: var(--accent-color-dark);
}

.quick-subjects {
    margin-top: 20px;
    font-size: 0.9rem;
}

.quick-subjects span {
    margin-right: 10px;
    opacity: 0.8;
}

.quick-subjects a {
    color: white;
    margin: 0 8px;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.quick-subjects a:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Solution Types Section */
.solution-types-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

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

.solution-types {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.solution-type {
    flex: 1;
    min-width: 300px;
    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, box-shadow 0.3s;
}

.solution-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.solution-type .icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.solution-type .icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.solution-type h3 {
    margin-bottom: 15px;
    color: var(--text-color-dark);
}

.solution-type p {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.6;
}

.solution-type .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.solution-type .btn:hover {
    background-color: var(--primary-color-dark);
}

/* Subjects Section */
.subjects-section {
    padding: 80px 0;
}

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

.subjects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.subject-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: white;
}

.subject-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.subject-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.subject-content {
    padding: 20px;
}

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

.subject-content p {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 0.9rem;
}

.subject-content .btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.subject-content .btn:hover {
    background-color: var(--primary-color-dark);
}

.view-all-subjects {
    text-align: center;
    margin-top: 20px;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.upload-content {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.upload-text {
    flex: 1;
    min-width: 300px;
}

.upload-text h2 {
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.upload-text p {
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.6;
}

.upload-benefits {
    margin-bottom: 30px;
    padding-left: 0;
    list-style: none;
}

.upload-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.upload-benefits li i {
    color: var(--accent-color);
    margin-right: 10px;
}

.upload-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: var(--primary-color-dark);
}

.upload-note {
    font-size: 0.9rem;
    color: var(--text-color-light);
}

.upload-note a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.upload-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

.testimonial-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.testimonial-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--text-color);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--text-color-dark);
}

.testimonial-author p {
    margin: 5px 0 0;
    color: var(--text-color-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

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

.cta-content h2 {
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .solution-types {
        flex-direction: column;
    }
    
    .upload-content {
        flex-direction: column;
    }
    
    .upload-image {
        order: -1;
        margin-bottom: 30px;
    }
    
    .testimonial-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial-card {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .search-box {
        flex-direction: column;
        border-radius: 10px;
    }
    
    .search-box input {
        width: 100%;
        border-radius: 10px 10px 0 0;
    }
    
    .search-btn {
        width: 100%;
        border-radius: 0 0 10px 10px;
    }
    
    .quick-subjects a {
        margin: 5px;
        display: inline-block;
    }
    
    .upload-buttons {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
