/* Enhanced Services Page Styles with Harvard-inspired Typography */

/* Import Harvard-style fonts */
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;0,700;1,400&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Services Hero Section */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-family: 'Libre Baskerville', 'Georgia', serif;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Service Showcase */
.service-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    padding: 4rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-showcase:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.service-showcase.reverse {
    direction: rtl;
}

.service-showcase.reverse>* {
    direction: ltr;
}

.service-showcase-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-showcase:hover .image-placeholder {
    transform: scale(1.05);
}

.service-showcase-content {
    padding: 2rem 0;
}

.service-label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: #dbeafe;
    color: var(--primary-color);
    border-radius: 30px;
    font-family: 'Crimson Text', serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.service-showcase-title {
    font-family: 'Libre Baskerville', 'Georgia', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.service-showcase-description {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.service-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #f3f4f6;
    transform: translateX(8px);
}

.benefit-item i {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Why Choose Cards */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.why-choose-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.why-choose-card:hover .why-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.why-choose-card h3 {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-choose-card p {
    font-family: 'Crimson Text', serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* CTA Section */
.cta-title {
    font-family: 'Libre Baskerville', 'Georgia', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-description {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .service-showcase,
    .service-showcase.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        direction: ltr;
    }

    .service-showcase-image {
        height: 350px;
    }

    .service-showcase-title {
        font-size: 2rem;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-hero {
        height: 50vh;
        min-height: 400px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .service-showcase {
        margin-bottom: 3rem;
        padding: 1.5rem;
    }

    .service-showcase-image {
        height: 300px;
    }

    .image-placeholder {
        font-size: 4rem;
    }

    .service-showcase-title {
        font-size: 1.75rem;
    }

    .service-showcase-description {
        font-size: 1.1rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }
}

/* Extended Service Detail Styles */

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.application-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}