/* =================================================================== */
/*                      1. ROOT & GLOBAL STYLES                        */
/* =================================================================== */
:root {
    --color-primary: #FF6600;
    --color-secondary: #FFA500;
    --color-text: #FFFFFF;
    --color-text-dark: #B0B0B0;
    --color-bg-dark: #1A1A1A;
    --color-bg-light: #2C2C2C;
    
    --font-family: 'Poppins', sans-serif;
    --transition-speed: 0.3s;
    --transition-fast: 0.2s;
    --container-width: 1200px;
    --container-padding: 5%;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

#constellation-canvas {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%; z-index: -1; opacity: 0.6;
}

.container {
    max-width: var(--container-width); margin: 0 auto; padding: 0 var(--container-padding);
}

.animate-fade-in { opacity: 0; animation: fadeIn 1s ease-out forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* =================================================================== */
/*                      2. UTILITY & REUSABLE CLASSES                  */
/* =================================================================== */
.glass-effect {
    background: rgba(44, 44, 44, 0.7); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn {
    display: inline-block; padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-weight: 600; text-decoration: none;
    transition: all var(--transition-speed) ease; border: none; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    color: #FFFFFF;
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 102, 0, 0.3);
}
.btn-primary i { margin-left: 0.5rem; transition: transform var(--transition-speed) ease; }
.btn-primary:hover i { transform: translateX(5px); }

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-bg-light);
    color: var(--color-text);
}
.btn-secondary:hover {
    background: var(--color-bg-light);
    border-color: var(--color-bg-light);
    transform: translateY(-3px);
}

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block; padding: 0.4rem 1rem; font-weight: 600;
    margin-bottom: 1rem; border-radius: 20px;
    background: rgba(255, 102, 0, 0.1); color: var(--color-primary);
}
.section-title { font-size: 2.8rem; font-weight: 700; margin-bottom: 1rem; }
.section-subtitle {
    font-size: 1.1rem; color: var(--color-text-dark); max-width: 600px; margin: 0 auto;
}


/* =================================================================== */
/*                      3. HEADER & NAVIGATION                         */
/* =================================================================== */
.header {
    position: fixed; top: 1.5rem; left: 0; width: 100%;
    z-index: 100; padding: 0 var(--container-padding);
}
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.6rem 1.5rem; border-radius: 50px;
}
.logo {
    display: flex; align-items: center; text-decoration: none;
    color: #FFFFFF; font-size: 1.4rem; font-weight: 700;
}

.logo-globe-container {
    width: 38px; height: 38px; margin-right: 12px;
    position: relative; display: grid; place-items: center;
    perspective: 800px;
}
.logo-globe {
    width: 100%; height: 100%; position: absolute;
    transform-style: preserve-3d; animation: rotate-globe 20s linear infinite;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(255,165,0,0.2), transparent),
        radial-gradient(circle at 70% 70%, rgba(255,102,0,0.3), transparent);
    border-radius: 50%; border: 1px solid rgba(255,165,0,0.2);
}
@keyframes rotate-globe { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

.logo-globe::before, .logo-globe::after {
    content: ''; position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 1px solid rgba(255, 165, 0, 0.4);
}
.logo-globe::before { transform: rotateX(90deg); }
.logo-globe::after { transform: rotateY(90deg); }

.logo-globe-orbit {
    position: absolute; width: 140%; height: 140%; top: -20%; left: -20%;
    border-radius: 50%; transform-style: preserve-3d;
    animation: rotate-orbit 10s linear infinite;
}
@keyframes rotate-orbit { from { transform: rotateZ(0deg) rotateY(60deg); } to { transform: rotateZ(360deg) rotateY(60deg); } }

.logo-globe-e {
    width: 12px; height: 12px; background: var(--color-primary);
    color: #FFFFFF; border-radius: 50%; position: absolute;
    top: -6px; left: 50%; transform: translateX(-50%); font-size: 8px;
    font-weight: bold; display: grid; place-items: center;
    box-shadow: 0 0 10px var(--color-primary);
}

.nav-menu { 
    display: flex; list-style: none; position: relative;
    padding: 0.4rem; background: rgba(26, 26, 26, 0.5); border-radius: 50px;
}
.nav-menu::before {
    content: ''; position: absolute; top: var(--pill-top, 0.4rem);
    left: var(--pill-left, 0); width: var(--pill-width, 0);
    height: calc(100% - 0.8rem);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 50px; z-index: 0;
    transition: left var(--transition-speed) ease, width var(--transition-speed) ease;
}
.nav-item { margin: 0; }
.nav-link {
    color: var(--color-text); text-decoration: none; font-weight: 500;
    padding: 0.4rem 1.2rem; font-size: 0.9rem; border-radius: 50px;
    position: relative; z-index: 1; transition: color var(--transition-fast) ease;
}
.nav-link.active, .nav-link.is-active { color: #FFFFFF; font-weight: 600; } 

.nav-contact-btn { display: block; }
.hamburger { display: none; cursor: pointer; }
.hamburger .bar {
    display: block; width: 25px; height: 3px;
    margin: 5px auto; background-color: #FFFFFF;
    transition: all var(--transition-speed) ease-in-out;
}

/* =================================================================== */
/*                      4. PAGE HEADER                           */
/* =================================================================== */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
    background-color: var(--color-bg-light);
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    padding-top: 150%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,102,0,0.05), transparent 50%);
    transform: translate(-50%, -50%);
    animation: pulse-bg 8s ease-in-out infinite;
}
@keyframes pulse-bg {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
}
.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-text-dark);
}
.breadcrumb a {
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}
.breadcrumb a:hover {
    color: var(--color-primary);
}
.breadcrumb i {
    font-size: 0.8rem;
}

/* =================================================================== */
/*                     CLIENT PAGE STYLES                       */
/* =================================================================== */

.client-solutions-section {
    padding: 6rem 0;
    background-color: var(--color-bg-dark);
}
.client-solutions-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 4rem;
}
.client-solutions-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}
.client-solutions-content h3 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}
.client-solutions-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}
.client-solutions-content p {
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.hiring-models-list {
    list-style: none;
    padding-left: 0;
}
.hiring-models-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: var(--color-text-dark);
}
.hiring-models-list i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.client-solutions-svg-area {
    display: flex;
    justify-content: center;
    align-items: center;
}
.client-solutions-svg {
    width: 100%;
    max-width: 400px;
    overflow: visible;
}
.cs-magnify-glass {
    fill: rgba(255, 102, 0, 0.1);
    stroke: var(--color-primary);
    stroke-width: 2;
}
.cs-magnify-handle {
    stroke: var(--color-primary);
    stroke-width: 8;
    stroke-linecap: round;
}
.cs-magnify-group {
    animation: cs-scan 6s ease-in-out infinite;
    transform-origin: 150px 150px;
}
@keyframes cs-scan {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(10deg); }
    75% { transform: translate(-20px, 20px) rotate(-10deg); }
}
.cs-candidate {
    fill: var(--color-bg-light);
    stroke: var(--color-secondary);
    stroke-width: 2;
    transition: all var(--transition-speed) ease;
}
.cs-candidate.selected {
    fill: var(--color-secondary);
    stroke: var(--color-text);
    animation: cs-pulse-select 2s ease-in-out infinite;
}
@keyframes cs-pulse-select {
    50% { r: 18; }
}

.client-process-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}
.client-benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 6rem;
}
.benefit-card {
    padding: 2rem;
    border-radius: 20px;
}
.benefit-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--color-bg-dark);
    margin-bottom: 1.5rem;
}
.benefit-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.benefit-card:hover .bi-speed path:first-child {
    stroke-dasharray: 200;
    animation: bi-rotate-arrow 1.5s linear infinite;
}
@keyframes bi-rotate-arrow { to { stroke-dashoffset: 400; } }
.benefit-card:hover .bi-expertise {
    animation: bi-pulse-expertise 1.5s ease-in-out infinite;
}
@keyframes bi-pulse-expertise { 50% { transform: scale(1.1) rotate(5deg); } }

.benefit-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.benefit-card p {
    color: var(--color-text-dark);
}
.process-steps-container {
    margin-top: 6rem;
}
.process-steps-list {
    list-style: none;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-steps-list::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    bottom: 25px;
    width: 2px;
    background: rgba(255, 102, 0, 0.2);
    transform: translateX(-50%);
}
.process-steps-list li {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-bg-dark);
    border: 2px solid rgba(255, 102, 0, 0.3);
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
}
.step-content h4 {
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}
.step-content p {
    color: var(--color-text-dark);
}

.client-success-section {
    padding: 6rem 0;
    background-color: var(--color-bg-dark);
}
.success-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.success-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: all var(--transition-speed) ease;
}
.success-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 102, 0, 0.5);
}
.success-icon-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--color-bg-light);
    margin-bottom: 1.5rem;
}
.success-icon {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: var(--color-primary);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.success-card:hover .si-finance circle {
    animation: pulse-coin 1s ease-in-out infinite;
}
@keyframes pulse-coin { 50% { transform: scale(1.2); } }
.success-card:hover .si-health path:last-child {
    transform-origin: center;
    animation: spin-cross 2s linear infinite;
}
@keyframes spin-cross { to { transform: rotate(360deg); } }
.success-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.success-card p {
    color: var(--color-text-dark);
}

.faq-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}
.faq-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: flex-start;
}
.faq-intro .section-title {
    text-align: left;
}
.faq-intro p {
    color: var(--color-text-dark);
}
.faq-item {
    border-bottom: 1px solid rgba(255,102,0,0.2);
}
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.faq-question i {
    color: var(--color-primary);
    transition: transform var(--transition-speed) ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-text-dark);
}


/* [Other page-specific styles can remain below] */

/* =================================================================== */
/*                10. FINAL CTA SECTION (ABOUT PAGE)                   */
/* =================================================================== */
.final-cta-section {
    padding: 6rem 0;
    background: var(--color-bg-light);
}
.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    max-width: 600px;
}
.cta-content p {
    color: var(--color-text-dark);
    max-width: 600px;
}
.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}


/* =================================================================== */
/*                      SCROLL ANIMATIONS                          */
/* =================================================================== */
.animate-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-scroll[data-animation="fade-up"] { transform: translateY(50px); }
.animate-scroll[data-animation="fade-right"] { transform: translateX(-50px); }
.animate-scroll[data-animation="fade-left"] { transform: translateX(50px); }

.animate-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* =================================================================== */
/*                      FOOTER                                     */
/* =================================================================== */
.footer { padding-top: 6rem; background: var(--color-bg-dark); z-index: 1; position: relative; border-top: 1px solid rgba(255,102,0,0.1)}
.footer-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem; padding-bottom: 4rem;
}
.footer-col .logo { margin-bottom: 1rem; }
.footer-col .logo .logo-globe-container { transform: scale(0.9); }
.footer-col p { margin-bottom: 1.5rem; color: var(--color-text-dark); font-size: 0.9rem; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 1.5rem; color: var(--color-text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li span { color: var(--color-text-dark); }
.footer-col ul li a {
    color: var(--color-text-dark); text-decoration: none;
    transition: color var(--transition-speed) ease; position: relative;
    padding-bottom: 4px; display: inline-block;
    font-size: 0.9rem;
}
.footer-col ul li a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0;
    height: 2px; background: var(--color-primary);
    transition: width var(--transition-speed) ease;
}
.footer-col ul li a:hover { color: #FFFFFF; }
.footer-col ul li a:hover::after { width: 100%; }
.footer-col ul i { color: var(--color-primary); margin-right: 0.8rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 40px; height: 40px; display: grid; place-items: center;
    background: rgba(255,255,255,0.1); border-radius: 50%;
    color: #FFFFFF; text-decoration: none;
    transition: all var(--transition-speed) ease;
}
.social-links a:hover {
    color: var(--color-primary); transform: translateY(-3px); box-shadow: 0 0 15px var(--color-primary);
}
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem var(--container-padding); border-top: 1px solid rgba(255, 102, 0, 0.2);
    color: var(--color-text-dark);
}
.footer-bottom a { color: var(--color-text-dark); margin-left: 1.5rem; font-size: 0.9rem; }

/* =================================================================== */
/*                      RESPONSIVE MEDIA QUERIES                   */
/* =================================================================== */
@media (max-width: 1024px) {
    /* [All previous media queries remain here] */
    
    .client-solutions-container {
        grid-template-columns: 1fr;
    }
    .client-solutions-svg-area {
        margin-top: 3rem;
    }
    .faq-container {
        grid-template-columns: 1fr;
    }
    .faq-intro {
        text-align: center;
        margin-bottom: 2rem;
    }
    .faq-intro .section-title {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* [All previous media queries remain here] */
    
    .client-benefits-grid, .success-grid {
        grid-template-columns: 1fr;
    }
    .process-steps-list::before {
        left: 25px;
    }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}