/* =========================================================================
   ENTERPRISE SERVICES PORTAL & DETAIL STYLES (CITADEL + APPLE + MCKINSEY)
   ========================================================================= */
:root {
    --color-bg: #041B37;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-border: rgba(255, 255, 255, 0.1);
    --color-accent: #144bb8;
    --color-accent-hover: #1d4ed8;
    --color-glow: rgba(37, 99, 235, 0.4);
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.72);
    --font-heading: 'Cormorant Garamond', 'EB Garamond', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Mouse Follow Glow Canvas */
#glow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* Soft Background Orbit Rings */
.bg-orbit-rings {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1300px;
    height: 1300px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.12;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: spinOrbit 100s linear infinite;
}

.ring-1 { width: 750px; height: 750px; }
.ring-2 { width: 1100px; height: 1100px; animation-duration: 150s; animation-direction: reverse; }

@keyframes spinOrbit {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hero Section */
.services-hero {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 130px 40px 45px 40px;
    text-align: center;
}

.citadel-accent-dash {
    width: 42px;
    height: 4px;
    background: #2563eb;
    border-radius: 2px;
    margin: 0 auto 18px auto;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.65);
}

.hero-subtag {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4.2rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.citadel-highlight-strip {
    background: #144bb8;
    color: #ffffff;
    padding: 2px 18px;
    border-radius: 2px;
    box-shadow: 0 4px 24px rgba(20, 75, 184, 0.55);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    font-weight: 300;
    max-width: 780px;
    margin: 0 auto 35px auto;
}

/* Search Bar Box */
.portal-search-box {
    max-width: 680px;
    margin: 0 auto 40px auto;
    position: relative;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 4px;
    padding: 14px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #2563eb;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.45);
}

.search-icon {
    width: 20px;
    height: 20px;
    stroke: #60a5fa;
    margin-right: 14px;
    flex-shrink: 0;
}

.portal-search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 1.05rem;
}

.portal-search-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

/* Live Search Suggestions Dropdown */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #071938;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    margin-top: 8px;
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    display: none;
}

.suggestion-item {
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.suggestion-item:hover {
    background: rgba(37, 99, 235, 0.25);
}

.suggestion-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
}

.suggestion-cat {
    font-size: 0.76rem;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Portal Split Layout (Left Sidebar + Right Cards Grid) */
.portal-split-layout {
    position: relative;
    z-index: 10;
    max-width: 1340px;
    margin: 0 auto;
    padding: 0 40px 80px 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Sidebar (16 Categories) */
.category-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 24px 18px;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.sidebar-title {
    font-size: 0.76rem;
    font-weight: 700;
    color: #60a5fa;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.category-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.category-item.active {
    background: #144bb8;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(20, 75, 184, 0.45);
}

.cat-left-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-count-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.category-item.active .cat-count-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

/* Right Side Services Grid Header */
.grid-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.active-cat-name {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
}

.results-count-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Services Grid & Cards */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.service-card-portal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 30px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.service-card-portal:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(20, 75, 184, 0.35);
}

.card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 16px;
}

.card-service-title {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 10px;
}

.card-service-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 24px;
}

.card-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card-price-tag {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 400;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #144bb8;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 2px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-learn-more:hover {
    background: #1d4ed8;
    transform: translateX(3px);
}

/* =========================================================================
   SERVICE DETAIL PAGE STYLES (services/detail.html)
   ========================================================================= */
.detail-main-wrapper {
    position: relative;
    z-index: 10;
    max-width: 1280px;
    margin: 0 auto;
    padding: 130px 40px 100px 40px;
}

.detail-hero-card {
    background: linear-gradient(135deg, #144bb8 0%, #1d4ed8 100%);
    border-radius: 8px;
    padding: 50px;
    color: #ffffff;
    margin-bottom: 50px;
    box-shadow: 0 15px 40px rgba(20, 75, 184, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.detail-hero-title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 16px;
}

.detail-hero-sub {
    font-size: 1.15rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 680px;
}

/* Detail Split Grid */
.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.detail-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 40px;
    margin-bottom: 40px;
}

.block-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Benefits Grid */
.benefits-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.benefit-card-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 4px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Process Step Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    padding-left: 20px;
}

.process-step-item {
    display: flex;
    gap: 20px;
    position: relative;
}

.step-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #144bb8;
    color: #ffffff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-text-content h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.step-text-content p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
}

/* Documents Cards */
.docs-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.doc-group-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 4px;
}

.doc-group-box h5 {
    font-size: 0.84rem;
    font-weight: 700;
    color: #60a5fa;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
}

.doc-group-box ul {
    list-style: square;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* FAQ Accordion */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-answer {
    padding: 0 24px 20px 24px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    display: none;
}

.faq-item.is-open .faq-answer {
    display: block;
}

/* Sticky Right Sidebar Box */
.detail-sticky-sidebar {
    position: sticky;
    top: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    padding: 30px;
    backdrop-filter: blur(25px);
}
