/* ===========================
   Service Page Styles
   =========================== */

/* Service Hero */
.service-hero {
    min-height: 70vh;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 160px 0 100px;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="service-grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23service-grid)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
}

.service-hero .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.breadcrumbs {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumbs span {
    color: var(--accent-gold);
}

.service-hero .hero-title {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.service-hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.service-hero .hero-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.service-hero .hero-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* Benefits Section */
.benefits-section {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border-top: 4px solid var(--accent-gold);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 97, 0.1), transparent);
    transition: left 0.5s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-top-color: #d4b574;
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: all var(--transition-base);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2) rotateY(360deg);
    animation: bounce 0.6s ease;
}

.benefit-card h3 {
    color: var(--primary-navy);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.benefit-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-gold), var(--primary-navy));
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    padding-bottom: 60px;
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
    background: var(--light-bg);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    background: var(--white);
}

.timeline-content h3 {
    color: var(--primary-navy);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.timeline-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Requirements Section */
.requirements-section {
    padding: var(--section-padding) 0;
    background: var(--light-bg);
}

.requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.requirements-content h2 {
    margin-bottom: 30px;
}

.requirement-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.requirement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.requirement-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-gold);
}

.req-check {
    width: 40px;
    height: 40px;
    background: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.requirement-item h4 {
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.requirement-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.requirements-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.3) 0%, transparent 60%);
}

.placeholder-icon {
    font-size: 6rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    opacity: 0.8;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: var(--white);
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.faq-item {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    transition: all var(--transition-base);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--white);
    border-left-width: 6px;
}

.faq-item h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.faq-item p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Stats Section (optional) */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    margin-bottom: 10px;
    display: block;
}

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

/* Responsive */
@media (max-width: 968px) {
    .service-hero {
        padding: 140px 0 80px;
    }

    .service-hero .hero-title {
        font-size: 2.5rem;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero .hero-title {
        font-size: 2rem;
    }

    .service-hero .hero-subtitle {
        font-size: 1.1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-icon {
        font-size: 3rem;
    }

    .timeline-item {
        padding-left: 50px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .timeline::before {
        left: 15px;
    }
}
