/* ============================================================
   Shared styles for service pages
   (service category / service group / service detail / group all-services)
   Extracted from inline <style> blocks - identical in all four pages.
   ============================================================ */

.service-page-wrapper {
            background-color: var(--white);
            color: var(--text-body);
            font-family: 'Inter', sans-serif;
            line-height: 1.7;
            /* clip (not hidden) prevents a horizontal scrollbar WITHOUT turning the
               wrapper into a vertical scroll container — fixes intermittent mobile
               scroll-lock where the page felt stuck/ended. */
            overflow-x: clip;
        }

/* Hero Section Enhancements */
        .service-hero {
            position: relative;
            padding: 200px 0 120px;
            background-color: #0c121d;
            color: var(--white);
            overflow: hidden;
            min-height: 80vh;
            display: flex;
            align-items: center;
        }

.hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            z-index: 0;
            animation: cinematicFocus 25s ease-out infinite alternate;
        }

@keyframes cinematicFocus {
            0%   { transform: scale(1);   filter: brightness(0.8); }
            100% { transform: scale(1.1); filter: brightness(1);   }
        }

.service-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 100%);
            z-index: 1;
        }

.service-hero .container {
            position: relative;
            z-index: 10;
        }

/* ── Bottom breadcrumb ─────────────────────────────── */
        .hero-breadcrumb {
            position: absolute;
            bottom: 40px;
            left: 0; right: 0;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 1.2px;
            z-index: 10;
        }

.hero-breadcrumb a { color: rgba(255,255,255,0.75) !important; text-decoration: none; font-weight: 600; transition: color 0.25s ease; }

.hero-breadcrumb .bc-sep { color: rgba(255,255,255,0.4); margin: 0 8px; }

.hero-breadcrumb .bc-current { color: rgba(255,255,255,0.95); font-weight: 700; }

/* Quote Section Styling */
       .quote-section {
    padding: 40px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.quote-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.quote-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6366f1;
    background: #eef2ff;
    padding: 6px 14px;
    border-radius: 999px;
}

.quote-eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

.quote-text,
.quote-text * {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 500;
    line-height: 1.4;
    color: #0f0f0f;
    text-align: center;
    letter-spacing: -0.02em;
}

.quote-text strong {
    font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quote-divider {
    width: 40px;
    height: 2px;
    background: #e5e7eb;
    border-radius: 999px;
}

.transformation-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1f1f1f, #2e2e2e);
    color: #ffffff;
}

/* Left Content */
.transformation-section .large-info {
    margin-bottom: 30px;
}

.transformation-section .large-info h1,
.transformation-section .large-info h2 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.transformation-section .large-info h3,
.transformation-section .large-info h4 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-bottom: 15px;
    color: #e0e0e0;
}

.transformation-section .large-info p {
    font-size: 1.05rem;
    line-height: 1.9;
    opacity: 0.85;
    margin-bottom: 18px;
}

/* Fade effect */
.transformation-desc-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, #2e2e2e, transparent);
}

/* Expanded state */
.transformation-desc-wrapper.active {
    max-height: 1000px;
}

.transformation-desc-wrapper.active::after {
    display: none;
}

/* Text styling */
.transformation-desc,
.transformation-desc * {
    font-size: 1rem;
    line-height: 1.8;
    color: #f5f5f5;
}

.transformation-desc-wrapper.expanded {
            max-height: 800px;
        }

/* 7. HOW ALPHA CAN HELP SECTION - EY STYLE REFINEMENT */
        .help-section {
            padding: 120px 0;
            background: #ffffff;
            border-top: 1px solid #f0f0f0;
            border-bottom: 1px solid #f0f0f0;
        }

.help-flex {
            display: flex;
            align-items: flex-start;
            gap: 100px;
        }

.help-info {
            flex: 1.2;
        }

.help-info h2 {
            font-size: 3.2rem;
            font-weight: 300;
            /* Thin weight for EY style */
            margin-bottom: 60px;
            color: #2e2e2e;
            font-family: 'Inter', sans-serif;
        }

.help-text-block h4 {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: #2e2e2e;
        }

.help-text-block p {
            font-size: 1.15rem;
            color: #666;
            line-height: 1.7;
            margin-bottom: 25px;
        }

.help-enquiry-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 24px;
            padding: 13px 28px;
            background: #1a1a1a;
            color: #ffffff;
            font-weight: 700;
            font-size: 0.95rem;
            border: 2px solid #1a1a1a;
            border-radius: 8px;
            cursor: pointer;
            text-decoration: none;
            letter-spacing: 0.3px;
            transition: var(--transition);
        }

.help-enquiry-btn:hover {
            background: #066D77;
            border-color: #009095;
            color: #ffffff;
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0, 144, 149, 0.3);
        }

.leader-sidebar {
            width: 320px;
            flex-shrink: 0;
            padding-top: 100px;
            /* Align with content start */
        }

.leader-label {
            font-size: 0.85rem;
            color: #666;
            margin-bottom: 10px;
            display: block;
        }

.leader-hr {
            border: 0;
            border-top: 1px solid #d1d5db;
            margin: 0 0 25px 0;
        }

.leader-profile {
            display: flex;
            align-items: center;
            gap: 20px;
        }

.leader-circle-img {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

.leader-meta {
            display: flex;
            flex-direction: column;
        }

.leader-job-title {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.3;
            margin-bottom: 12px;
        }

/* Inquiry Modal Premium Styling */
        .inquiry-modal .modal-content {
            border-radius: 24px !important;
            overflow: hidden;
        }

.modal-content{
            padding-bottom: 10px !important;
        }

.inquiry-modal .step-num {
            font-size: 0.75rem;
            font-weight: 800;
            color: #4ade80;
            /* Brighter green for contrast on dark */
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

.inquiry-modal .step-text {
            font-size: 1rem;
            font-weight: 500;
        }

.inquiry-modal .form-floating>.form-control:focus~label,
        .inquiry-modal .form-floating>.form-control:not(:placeholder-shown)~label,
        .inquiry-modal .form-floating>.form-select~label {
            color: #1a1a1a;
            opacity: 0.8;
        }

.inquiry-modal .form-control,
        .inquiry-modal .form-select {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            font-size: 0.95rem;
        }

.inquiry-modal .form-control:focus,
        .inquiry-modal .form-select:focus {
            border-color: #1a1a1a;
            box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
        }

.inquiry-modal .modal-close-btn {
            background: #f3f4f6;
            border-radius: 50%;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: var(--transition);
        }

.inquiry-modal .modal-close-btn:hover {
            background: #e5e7eb;
            transform: rotate(90deg);
        }

/* Help List Styling */
        .help-list-section {
            padding: 100px 0;
            background: #ffffff;
        }

.help-list-section h2 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 60px;
        }

.help-list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 35px 0;
            border-top: 1px solid #e0e0e0;
            text-decoration: none;
            color: #1a1a1a;
            transition: var(--transition);
        }

.help-list-item:hover {
            color: var(--brand-primary);
            padding-left: 20px;
        }

.help-list-item:last-child {
            border-bottom: 1px solid #e0e0e0;
        }

.help-list-item h4 {
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0;
        }

.help-list-item i {
            font-size: 1.5rem;
            transition: transform 0.3s ease;
        }

.help-list-item:hover i {
            transform: translateX(10px);
        }

/* FAQ Accordion Styling */
        .faq-accordion {
            max-width: 1000px;
            margin: 0 auto;
        }

.faq-item {
            margin-bottom: 20px;
            border-bottom: 1px solid #eef2f6;
            transition: var(--transition);
        }

.faq-header {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 0;
            background: none;
            border: none;
            outline: none;
            cursor: pointer;
            text-align: left;
            transition: var(--transition);
        }

.faq-question {
            font-size: 1.6rem;
            font-weight: 700;
            color: #1a1a1a;
            margin: 0;
            transition: var(--transition);
        }

.faq-item.active .faq-question {
            color: #009095;
        }

.faq-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            background: transparent;
        }

.faq-body {
            padding: 0 0 30px 0;
            font-size: 1.1rem;
            line-height: 1.8;
            color: #555;
        }

.faq-item.active .faq-content {
            max-height: 500px;
        }

/* Split Section Layout (Case Studies & Related Content) */
        .split-section-ey {
            padding: 120px 0;
            background: #ffffff;
        }

.ey-section-title {
            font-size: 3rem;
            font-weight: 800;
            font-family: 'Inter', sans-serif;
            color: #1a1a1a;
            margin-bottom: 50px;
            letter-spacing: -0.03em;
        }

.ey-case-card {
            background: #ffffff;
            border-radius: 12px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            height: 100%;
            transition: var(--transition);
            border: 1px solid #f0f0f0;
        }

.ey-case-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

.ey-case-img-wrapper {
            width: 100%;
            height: 220px;
            overflow: hidden;
        }

.ey-case-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1s ease;
        }

.ey-case-card:hover .ey-case-img {
            transform: scale(1.08);
        }

.ey-case-body {
            padding: 25px 30px 40px;
        }

.ey-case-cat {
            color: #009095;
            text-transform: uppercase;
            font-weight: 800;
            font-size: 0.8rem;
            letter-spacing: 1.5px;
            margin-bottom: 20px;
            display: block;
        }

.ey-case-title {
            font-size: 1.7rem;
            font-weight: 800;
            color: #1a1a1a;
            margin-bottom: 25px;
            line-height: 1.25;
        }

.ey-case-link {
            color: #009095;
            font-weight: 700;
            text-decoration: none !important;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 1.1rem;
            transition: var(--transition);
        }

.ey-case-link:hover {
            gap: 15px;
            color: #00767a;
        }

/* Related Content - Overlaid Image Card */
        .related-content-block {
            padding-left: 20px;
        }

.ey-related-card {
            position: relative;

            overflow: hidden;
            height: 600px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            text-decoration: none !important;
            transition: var(--transition);
        }

.ey-related-card .rc-bg-img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
            transition: transform 1.2s ease;
        }

.ey-related-card:hover .rc-bg-img {
            transform: scale(1.1);
        }

.ey-related-card::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
            z-index: 1;
        }

.ey-related-content {
            position: relative;
            z-index: 2;
            padding: 60px 40px;
            color: #ffffff;
        }

.ey-related-card .rc-title {
            color: #ffffff;
            font-size: 2.6rem;
            font-weight: 900;
            margin-bottom: 25px;
            line-height: 1.1;
            transition: var(--transition);
        }

.consultant-info p {
            margin: 0;
            font-size: 0.9rem;
            color: #777;
        }

/* Bottom Interests */
        .bottom-interests {
            padding: 120px 0;
            background: #ffffff;
        }

.interest-card-link {
            text-decoration: none;
            color: inherit;
            display: block;
        }

.interest-card {
            background: #ffffff;
            border-radius: 30px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            border: 1px solid #f0f0f0;
            transition: all 0.4s ease;
            height: 100%;
        }

.interest-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
            border-color: var(--brand-primary);
        }

.interest-img-wrapper {
            width: 100%;
            height: 240px;
            overflow: hidden;
        }

.interest-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

.interest-card:hover .interest-img-wrapper img {
            transform: scale(1.1);
        }

.interest-content {
            padding: 30px;
        }

.interest-content h4 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 20px;
            color: #1a1a1a;
            line-height: 1.4;
        }

.interest-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            color: #009095;
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1.5px;
        }

.interest-meta i {
            transition: transform 0.3s ease;
        }

.interest-card:hover .interest-meta i {
            transform: translateX(5px);
        }

/* =============================================
               MAGAZINE / INSIGHTS SECTION (SCREENSHOT STYLE)
            ============================================= */
        .magazine-section {
            padding: 50px 0;
            background-color: #f8fafc;
        }

.mag-container {
            display: flex;
            align-items: stretch;
            gap: 40px;
            width: 1400px;
        }

/* --- Image Side --- */
        .mag-image-side {
            flex: 0 0 42%;
            max-height: 600px;
            position: relative;
            transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
            opacity: 1;
        }

/* --- When no image is available for current slide --- */
        .mag-container.no-img-active .mag-image-side {
            flex: 0 0 0%;
            opacity: 0;
            pointer-events: none;
            overflow: hidden;
        }

.mag-container.no-img-active {
            gap: 0;
        }

.mag-image-container {
            width: 100%;
            max-height: 700px;
            border-radius: 25px 25px 25px 25px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
        }

.mag-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            opacity: 1;
            transition: opacity 0.5s ease;
        }

/* Image nav buttons */
        .mag-img-nav {
            position: absolute;
            bottom: 28px;
            right: 28px;
            display: flex;
            gap: 12px;
            z-index: 10;
        }

.mag-img-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            color: #fff;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s ease, transform 0.2s ease;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
        }

.mag-img-btn:hover {
            background: rgba(255, 255, 255, 0.45);
            transform: scale(1.1);
        }

/* --- Text Side (Teal Block) --- */
        .mag-content-side {
            flex: 1;
            background-color: #004d4d;
            border-radius: 25px 25px 25px 25px;
            padding: 30px 0 80px 30px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            /* justify-content: center; */
            height: 700px;
        }

/* The Cards */
        .mag-card {
            background: #ffffff;
            border-radius: 30px;
            padding: 50px 45px;
            width: 92%;
             height: 100%;
            min-height: 650px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            border: 1px solid rgba(0, 0, 0, 0.05);
            margin-left: 60px;
        }

.mag-card .mag-desc {
            font-family: 'Libre Baskerville', serif;
            font-size: 1.1rem;
            line-height: 1.9;
            color: #444444;
            margin-bottom: 0;
        }

.mag-control-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(255, 255, 255, 0.1);
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(8px);
        }

.mag-control-btn:hover {
            background: #ffffff;
            color: #004d4d;
        }

.modal-dialog-centered{
            margin-top:7vh !important;
        }

/* Glow border on hover */
.glass-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);

    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

/* Click press */
.glass-btn:active {
    transform: scale(0.96);
}

/* Icon animation */
.glass-btn i {
    transition: transform 0.3s ease;
}

.glass-btn:hover i {
    transform: translateX(6px);
}

/* Soft inner glow */
.glass-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 60%);
    opacity: 0;
    transition: 0.4s;
}

.glass-btn:hover::after {
    opacity: 1;
}
