/* service-pages - shared styles for all service detail pages, scoped to .page-service */
/* Per-service accent colors are set on the body.page-<slug> rules below. */

/* ---- Per-service accent palettes ---- */
body.page-research-paper-help {
    --svc-primary: #4361ee;
    --svc-primary-dark: #3a0ca3;
    --svc-secondary: #f72585;
    --svc-accent: #4cc9f0;
}
body.page-citation-referencing-help {
    --svc-primary: #3a0ca3;
    --svc-primary-dark: #270a8c;
    --svc-secondary: #4cc9f0;
    --svc-accent: #f72585;
}
body.page-dissertation-thesis-support {
    --svc-primary: #7209b7;
    --svc-primary-dark: #5a189a;
    --svc-secondary: #f72585;
    --svc-accent: #4cc9f0;
}
body.page-essay-editing-outlining {
    --svc-primary: #4cc9f0;
    --svc-primary-dark: #2b9dc4;
    --svc-secondary: #4361ee;
    --svc-accent: #f72585;
}
body.page-business-plan-case-study {
    --svc-primary: #f59e0b;
    --svc-primary-dark: #b45309;
    --svc-secondary: #4361ee;
    --svc-accent: #7209b7;
}
body.page-certification-exam-prep {
    --svc-primary: #10b981;
    --svc-primary-dark: #059669;
    --svc-secondary: #4361ee;
    --svc-accent: #f59e0b;
}
body.page-platform-course-guidance {
    --svc-primary: #6366f1;
    --svc-primary-dark: #4f46e5;
    --svc-secondary: #f72585;
    --svc-accent: #4cc9f0;
}
body.page-research-paper-formatting {
    --svc-primary: #db2777;
    --svc-primary-dark: #be185d;
    --svc-secondary: #4361ee;
    --svc-accent: #f59e0b;
}

body.page-service {
    --font-main: 'Poppins', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: #444;
    background: #ffffff;
    overflow-x: hidden;
}
body.page-service * {
    box-sizing: inherit;
}
.page-service img {
    max-width: 100%;
    display: block;
}
.page-service h1,
.page-service h2,
.page-service h3,
.page-service h4,
.page-service h5,
.page-service h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #161616;
    margin: 0 0 1rem;
}

/* ---- Reveal animation ---- */
.page-service .reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.page-service .reveal.show {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ---- HERO ---- */
.page-service .service-hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 100px;
    background:
        radial-gradient(circle at 85% 20%, rgba(76, 201, 240, 0.22), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(247, 37, 133, 0.10), transparent 30%),
        linear-gradient(135deg, #f8faff 0%, #ffffff 55%, #f9f5ff 100%);
}
.page-service .service-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(67, 97, 238, 0.06);
    top: -180px;
    right: -150px;
    z-index: 0;
}
.page-service .hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 50px;
    background: rgba(67, 97, 238, 0.09);
    color: var(--svc-primary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.page-service .hero-label i {
    font-size: 0.85rem;
}
.page-service .service-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08;
    color: #161616;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}
.page-service .service-hero h1 span {
    color: var(--svc-primary);
}
.page-service .hero-text {
    max-width: 620px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5d6270;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}
.page-service .hero-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 20px;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}
.page-service .hero-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #30343d;
    font-size: 0.92rem;
    font-weight: 500;
}
.page-service .hero-check-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    color: var(--svc-primary);
    font-size: 0.72rem;
}
.page-service .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}
.page-service .hero-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 25px;
    border-radius: 50px;
    color: #ffffff;
    background: linear-gradient(45deg, var(--svc-secondary), #ff5c8a);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(247, 37, 133, 0.25);
    transition: all 0.3s ease;
}
.page-service .hero-primary-btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(247, 37, 133, 0.35);
}
.page-service .hero-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 25px;
    border-radius: 50px;
    color: var(--svc-primary);
    background: #ffffff;
    border: 2px solid var(--svc-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.page-service .hero-secondary-btn:hover {
    background: var(--svc-primary);
    color: #ffffff;
}
.page-service .hero-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.page-service .trust-item {
    display: flex;
    flex-direction: column;
}
.page-service .trust-item strong {
    font-size: 1.1rem;
    color: #222;
}
.page-service .trust-item span {
    color: #777;
    font-size: 0.75rem;
}
.page-service .trust-divider {
    width: 1px;
    height: 35px;
    background: #dfe2e8;
}

/* ---- Hero visual ---- */
.page-service .hero-visual {
    position: relative;
    padding: 20px;
    z-index: 2;
}
.page-service .hero-image-box {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    padding: 10px;
    box-shadow:
        0 30px 70px rgba(36, 48, 85, 0.18),
        0 10px 30px rgba(67, 97, 238, 0.12);
    transform: rotate(1deg);
    transition: transform 0.4s ease;
}
.page-service .hero-image-box:hover {
    transform: rotate(0deg) translateY(-5px);
}
.page-service .hero-image-box img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
}
.page-service .hero-glow {
    position: absolute;
    width: 230px;
    height: 230px;
    background: rgba(247, 37, 133, 0.16);
    filter: blur(55px);
    border-radius: 50%;
    bottom: -40px;
    left: -50px;
    z-index: 0;
}
.page-service .floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
    animation: floatingCard 4s ease-in-out infinite;
}
.page-service .floating-card-one {
    top: 45px;
    left: -20px;
}
.page-service .floating-card-two {
    right: -20px;
    bottom: 45px;
    animation-delay: 1s;
}
.page-service .floating-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}
.page-service .floating-icon.blue {
    background: var(--svc-primary);
}
.page-service .floating-icon.pink {
    background: var(--svc-secondary);
}
.page-service .floating-card strong {
    display: block;
    color: #20232a;
    font-size: 0.78rem;
}
.page-service .floating-card small {
    display: block;
    color: #777;
    font-size: 0.68rem;
    margin-top: 2px;
}
@keyframes floatingCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---- Sections ---- */
.page-service .section-padding {
    padding: 100px 0;
}
.page-service .section-label {
    vertical-align: top;
    display: inline-block;
    color: var(--svc-primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-bottom: 12px;
}
.page-service .section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    color: #151515;
    margin-bottom: 15px;
}
.page-service .section-title span {
    color: var(--svc-primary);
}
.page-service .section-description {
    max-width: 680px;
    margin: 0 auto;
    color: #6b707b;
    line-height: 1.8;
}
.page-service .features-section {
    background: #ffffff;
}
.page-service .feature-card {
    height: 100%;
    position: relative;
    padding: 30px;
    border: 1px solid #edf0f5;
    border-radius: 22px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
}
.page-service .feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--svc-primary), var(--svc-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.page-service .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(34, 43, 69, 0.10);
    border-color: transparent;
}
.page-service .feature-card:hover::before {
    transform: scaleX(1);
}
.page-service .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    font-size: 1.25rem;
}
.page-service .feature-icon.blue {
    background: rgba(67, 97, 238, 0.1);
    color: var(--svc-primary);
}
.page-service .feature-icon.pink {
    background: rgba(247, 37, 133, 0.1);
    color: var(--svc-secondary);
}
.page-service .feature-icon.cyan {
    background: rgba(76, 201, 240, 0.12);
    color: #159bc5;
}
.page-service .feature-card h3 {
    font-size: 1.15rem;
    color: #252833;
    margin-bottom: 12px;
}
.page-service .feature-card p {
    color: #6d727c;
    font-size: 0.9rem;
    line-height: 1.75;
    margin: 0;
}

/* ---- How it works ---- */
.page-service .process-section {
    background: linear-gradient(135deg, #f7f9ff 0%, #ffffff 100%);
}
.page-service .process-card {
    height: 100%;
    position: relative;
    padding: 35px 28px;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid #edf0f6;
    text-align: center;
    transition: all 0.35s ease;
}
.page-service .process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(67, 97, 238, 0.10);
}
.page-service .process-number {
    position: absolute;
    top: 18px;
    right: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    color: #dce1ef;
}
.page-service .process-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--svc-primary), #6d7ff5);
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 12px 25px rgba(67, 97, 238, 0.25);
}
.page-service .process-card h3 {
    font-size: 1.15rem;
    color: #252833;
    margin-bottom: 12px;
}
.page-service .process-card p {
    color: #6d727c;
    font-size: 0.88rem;
    line-height: 1.75;
    margin: 0;
}

/* ---- Why choose us ---- */
.page-service .why-section {
    background: #ffffff;
}
.page-service .why-image-wrapper {
    position: relative;
}
.page-service .why-image-wrapper img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 25px 55px rgba(28, 37, 62, 0.14);
}
.page-service .why-badge {
    position: absolute;
    left: -20px;
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.13);
}
.page-service .why-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(247, 37, 133, 0.1);
    color: var(--svc-secondary);
}
.page-service .why-badge strong {
    display: block;
    font-size: 0.82rem;
    color: #222;
}
.page-service .why-badge span {
    display: block;
    color: #777;
    font-size: 0.68rem;
    margin-top: 2px;
}
.page-service .why-content .section-description {
    margin: 0;
    max-width: 600px;
}
.page-service .why-list {
    margin-top: 30px;
}
.page-service .why-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 22px;
}
.page-service .why-check {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 97, 238, 0.1);
    color: var(--svc-primary);
    font-size: 0.75rem;
}
.page-service .why-item strong {
    display: block;
    color: #242832;
    margin-bottom: 5px;
}
.page-service .why-item p {
    color: #6d727c;
    font-size: 0.86rem;
    line-height: 1.65;
    margin: 0;
}

/* ---- Inner image below hero ---- */
.page-service .inner-image-section {
    padding: 60px 0;
    background: #ffffff;
}
.page-service .inner-image-section .container {
    max-width: 1000px;
}
.page-service .inner-image-section img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 25px 55px rgba(28, 37, 62, 0.14);
    display: block;
    margin: 0 auto;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
    .page-service .section-padding {
        padding: 70px 0;
    }
    .page-service .service-hero {
        padding: 70px 0 80px;
    }
    .page-service .hero-image-box img {
        height: 380px;
    }
    .page-service .why-image-wrapper img {
        height: 380px;
    }
}
@media (max-width: 767px) {
    .page-service .hero-checks {
        grid-template-columns: 1fr;
    }
    .page-service .hero-image-box img {
        height: 320px;
    }
    .page-service .why-image-wrapper img {
        height: 320px;
    }
    .page-service .section-title {
        font-size: clamp(1.75rem, 8vw, 2.6rem);
    }
}
