/* 
 * Services Page Styles
 * SageArk Education & Career Services
 */

:root {
    --primary: #1e56a0;
    --primary-dark: #163172;
    --primary-light: #d6e4f0;
    --secondary: #f6c90e;
    --text-dark: #222831;
    --text-medium: #505965;
    --text-light: #777;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

/* General Styles */
.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.section-tag {
    display: block;
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    width: 100%;
    clear: both;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(30, 86, 160, 0.1);
    bottom: 0;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

/* Hero Section */
.page-hero {
    background-color: var(--primary-light);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 86, 160, 0.1) 0%, rgba(30, 86, 160, 0.05) 100%);
    z-index: 1;
}

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

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

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Cards - General Overview */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

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

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.learn-more {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.learn-more:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

/* Program Cards - Career Programs Section */
.program-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.program-icon-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    margin-bottom: 2rem;
}

.program-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.program-badge {
    position: absolute;
    top: -10px;
    right: 50px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.program-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.program-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.program-meta {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-medium);
}

.difficulty, .duration {
    display: flex;
    align-items: center;
}

.difficulty i, .duration i {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Admission Cards - College Admission Section */
.admission-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.admission-card {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow);
}

.admission-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.admission-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

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

.admission-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.admission-card p {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Testimonials Section */
.testimonials {
    position: relative;
}

.testimonial-slider {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.testimonial {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin: 1rem 0.5rem;
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-style: italic;
}

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

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

.author-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.author-details p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(30, 86, 160, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Call to Action Section */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.cta .btn-primary {
    background-color: var(--white);
    color: var(--primary);
    border: none;
    padding: 0.8rem 2rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.cta .btn-primary:hover {
    background-color: var(--secondary);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .service-cards, 
    .program-cards,
    .admission-cards {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .section-padding {
        padding: 5rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .service-cards, 
    .program-cards,
    .admission-cards {
        grid-template-columns: 1fr;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .services-subtitle {
        font-size: 1rem;
    }
    
    .testimonial {
        padding: 1.5rem;
    }
}
