/* Layout Enhancements for Service Overview Sections */

/* Service Overview Section Styling */
.testimonials {
    padding: 60px 0;
    background-color: #f8f9fa;
    margin: 40px 0;
}

.testimonials .container {
    max-width: 1200px;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 40px;
    position: relative;
}

.testimonials h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.testimonial-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
    position: relative;
    overflow: hidden;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.testimonial-item p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

/* Enhanced styling for service descriptions */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #eef2f7;
    position: relative;
    overflow: hidden;
}

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

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
}

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

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

.testimonial-author {
    border-top: 1px solid #eef2f7;
    padding-top: 20px;
}

.author-info h4 {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 5px;
}

.author-info .author-title {
    font-size: 0.9rem;
    color: #6b7280;
    display: block;
}

.package-tag, .industry-tag {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Adjustments for different sections */
.testimonials-section {
    padding: 80px 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonials {
        padding: 40px 0;
    }

    .testimonials h2 {
        font-size: 1.7rem;
    }

    .testimonial-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-item,
    .testimonial-card {
        padding: 20px;
    }
}

/* Enhanced quick actions section */
.quick-actions {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.action-item {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

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

.action-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* Academic authority section enhancement */
.academic-authority {
    background-color: white;
    padding: 60px 0;
}

.authority-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.authority-item {
    text-align: center;
    padding: 25px 15px;
}

.authority-item h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.authority-item p {
    color: #666;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Enhanced data showcase section */
.data-showcase {
    padding: 60px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: 40px 0;
    border-radius: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Improved section spacing and typography */
section {
    margin: 40px 0;
}

.core-values, .assessment-overview, .academic-authority {
    padding: 60px 0;
}

.value-grid, .assessment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item, .assessment-item {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f7;
}

.value-item:hover, .assessment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.value-item h3, .assessment-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p, .assessment-item p {
    color: #666;
    line-height: 1.6;
}

/* Enhanced buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn.primary {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn.tertiary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #e0e6ed;
}

/* Page header enhancements */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    border-radius: 12px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero .subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 400;
}

.hero .value-proposition {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
    line-height: 1.7;
    font-weight: 300;
}

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

/* Footer enhancements */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after, .footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #667eea;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    max-width: 1200px;
    margin: 0 auto;
}

/* Improved accessibility and focus states */
*:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Smooth animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-item, .value-item, .assessment-item, .action-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Enhanced visual hierarchy */
h1, h2, h3, h4 {
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}