/* ===================================
   SERVICES PAGE STYLES
   =================================== */

/* Hero Section */
.services-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #374151 100%);
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.services-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.92) 0%,
        rgba(55, 65, 81, 0.88) 100%
    );
    z-index: 2;
}

.services-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.services-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.services-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Service Block with Background */
.service-block {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.service-block-bg {
    background: #F9FAFB;
}

.service-block-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.service-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.90) 0%,
        rgba(55, 65, 81, 0.85) 100%
    );
    z-index: 2;
}

.service-block-content {
    position: relative;
    z-index: 3;
}

.service-block-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-block-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-block-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
}

/* Service Categories Grid */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1E3A8A, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #FFFFFF;
    transition: all 0.4s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.service-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.service-card-text {
    font-size: 1rem;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1E3A8A;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-link:hover {
    color: #10B981;
    gap: 1rem;
}

.service-card-link i {
    transition: transform 0.3s ease;
}

.service-card-link:hover i {
    transform: translateX(5px);
}

/* GxP Standards Grid */
.gxp-standards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gxp-standard {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gxp-standard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

.gxp-standard-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10B981, #1E3A8A);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: #FFFFFF;
}

.gxp-standard h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.gxp-standard p {
    font-size: 0.9rem;
    color: #6B7280;
}

/* PV Services List */
.pv-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pv-service-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.pv-service-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.pv-service-item i {
    font-size: 1.8rem;
    color: #10B981;
    min-width: 40px;
}

.pv-service-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1E3A8A;
}

/* Service Block CTA */
.service-block-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Services CTA Section */
.services-cta {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.services-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.88) 0%,
        rgba(16, 185, 129, 0.82) 100%
    );
    z-index: 1;
}

.services-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.services-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.services-cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet */
@media (max-width: 768px) {
    .services-hero {
        min-height: 60vh;
    }

    .services-hero-title {
        font-size: 2.2rem;
    }

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

    .service-block {
        padding: 60px 0;
    }

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

    .service-block-description {
        font-size: 1rem;
    }

    .service-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gxp-standards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .pv-services {
        grid-template-columns: 1fr;
    }

    .services-cta {
        padding: 80px 0;
    }

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

    .services-cta-text {
        font-size: 1.1rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .services-hero {
        min-height: 50vh;
    }

    .services-hero-title {
        font-size: 1.8rem;
    }

    .services-hero-subtitle {
        font-size: 1rem;
    }

    .service-block {
        padding: 40px 0;
    }

    .service-block-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .gxp-standards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gxp-standard {
        padding: 1.5rem 1rem;
    }

    .gxp-standard-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

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

    .services-cta-title {
        font-size: 1.6rem;
    }

    .services-cta-text {
        font-size: 1rem;
    }
}

/* ===================================
   SERVICE PAGE SPECIFIC STYLES
   (для certification, pharmacovigilance, etc.)
   =================================== */

/* Service Hero (singular) */
.service-hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1E3A8A 0%, #374151 100%);
}

.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.92) 0%, rgba(55, 65, 81, 0.88) 100%);
    z-index: 2;
}

.service-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Service Section */
.service-section {
    padding: 80px 0;
}

.service-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.service-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.service-text p {
    font-size: 1.1rem;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Standards Grid */
.service-standards {
    background: #F9FAFB;
}

.standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.standard-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
}

.standard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-color: #1E3A8A;
}

.standard-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #1E3A8A, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #FFFFFF;
}

.standard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 0.5rem;
}

.standard-desc {
    font-size: 1rem;
    color: #6B7280;
    margin: 0;
}

/* Service Approach Section (with parallax) */
.service-approach {
    position: relative;
    overflow: hidden;
}

.service-approach-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.service-approach-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.90) 0%, rgba(55, 65, 81, 0.85) 100%);
    z-index: 2;
}

.service-approach-content {
    position: relative;
    z-index: 3;
}

.service-approach-content .service-section-title {
    color: #FFFFFF;
}

.service-approach-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.service-approach-text p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Service Workflow Section (with parallax) */
.service-workflow {
    position: relative;
    overflow: hidden;
}

.service-workflow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.service-workflow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.90) 0%, rgba(55, 65, 81, 0.85) 100%);
    z-index: 2;
}

.service-workflow-content {
    position: relative;
    z-index: 3;
}

.service-workflow-content .service-section-title {
    color: #FFFFFF;
}

/* Workflow Steps */
.workflow-steps {
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.workflow-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3A8A, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1E3A8A;
    line-height: 1.4;
    margin: 0;
}

/* Service Includes Section */
.service-includes {
    background: #F9FAFB;
}

.includes-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #FFFFFF;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #E5E7EB;
}

.include-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #1E3A8A;
}

.include-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1E3A8A, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.include-item:hover .include-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

.include-item span {
    font-size: 1.05rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.5;
}

/* Service CTA Section */
.service-cta {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.service-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.88) 0%, rgba(16, 185, 129, 0.82) 100%);
    z-index: 1;
}

.service-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.service-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-cta-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

/* Responsive for new styles */
@media (max-width: 768px) {
    .workflow-step {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .includes-list {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .include-item {
        padding: 1.5rem;
    }

    .service-cta {
        padding: 70px 0;
    }

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

    .service-cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .workflow-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .include-item {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .include-icon {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

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

    .service-cta-title {
        font-size: 1.7rem;
    }

    .service-cta-text {
        font-size: 1rem;
    }
}
