/* ============================================
   DUBLIN PAIN CLINIC - BASE STYLES
   ============================================ */

/* ============================================
   HERO SECTION STYLES - REMOVED TO AVOID CONFLICT WITH INLINE STYLES
   ============================================ */

/* Hero styles removed to avoid conflict with inline styles in home.html */



/* ============================================
   SERVICES SECTION STYLES
   ============================================ */
.services-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
    padding: 80px 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    opacity: 0.3;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-eyebrow {
    display: inline-block;
    background: rgba(91, 163, 208, 0.1);
    color: #5BA3D0;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-description {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #5BA3D0, #4A8BC2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #5BA3D0;
}

.service-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.appointment-icon {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.assessment-icon {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.treatment-icon {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-meta {
    flex: 1;
}

.service-category {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
    margin: 0;
    line-height: 1.3;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-description {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 24px;
    flex: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    color: #374151;
    transition: transform 0.3s ease;
}

.feature-icon {
    width: 16px;
    height: 16px;
    background: #10B981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    flex-shrink: 0;
}

.service-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #5BA3D0;
    border: 2px solid #5BA3D0;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.service-button:hover {
    background: #5BA3D0;
    color: white;
    transform: translateX(4px);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.service-button:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   CTA SECTION STYLES
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #5BA3D0 0%, #4A8BC2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 40px 0;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 28px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button.primary {
    background: white;
    color: #5BA3D0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button.primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    color: #4A8BC2;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-4px);
    color: white;
}

.btn-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-text {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.btn-subtext {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 2px;
}

.cta-footer {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-text {
    font-size: 0.875rem;
    opacity: 0.8;
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {

    .services-section {
        padding: 60px 0;
    }

    .services-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .service-card {
        padding: 24px;
        min-height: auto;
    }

    .service-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-container {
        padding: 0 20px;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-description {
        font-size: 1.125rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .btn-content {
        align-items: center;
    }
}

@media (max-width: 480px) {

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-button {
        padding: 16px 20px;
    }
} 