:root {
    --color-red-500: #fb2c36;
    --color-red-600: #e40014;
    --color-orange-50: #fff7ed;
    --color-orange-100: #ffedd5;
    --color-orange-200: #ffd7a8;
    --color-orange-300: #ffb96d;
    --color-orange-400: #ff8b1a;
    --color-orange-500: #fe6e00;
    --color-orange-600: #f05100;
    --color-orange-700: #c54000;
    --color-green-50: #f0fdf4;
    --color-green-500: #00c758;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5dc;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
}

/* Scoped reset to ensure correct sizing within the About Us module */
.about-us-page,
.about-us-page * {
    box-sizing: border-box;
}

.about-us-page {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #171717;
    line-height: 1.6;
    font-size: 16px; /* Enforce 16px base size to prevent shrinking from theme defaults */
}

.about-us-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .about-us-container {
        padding: 0 16px;
    }
}

.about-us-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 1.125em; /* Converted rem to em */
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-decoration: none;
}

.about-us-page .btn-primary {
    background: #f05100;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(240, 81, 0, 0.3);
}

.about-us-page .btn-primary:hover {
    background: #c54000;
}

.about-us-page .btn-outline {
    background: transparent;
    border: 2px solid #ffd7a8;
    color: #f05100;
}

.about-us-page .btn-outline:hover {
    background: #fff7ed;
    border-color: #ffb96d;
}

.about-us-page .btn-white {
    background: white;
    color: #f05100;
}

.about-us-page .btn-white:hover {
    background: #f3f4f6;
}

.about-us-page .btn-transparent {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.about-us-page .btn-transparent:hover {
    background: rgba(255, 255, 255, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.25em; /* Converted rem to em */
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3em; /* Converted rem to em */
    }
}

.section-header p {
    font-size: 1.25em; /* Converted rem to em */
    color: var(--color-gray-500);
    max-width: 64rem;
    margin: 0 auto;
}

.hero-section {
    position: relative;
    padding-top: 85px;
    padding-bottom: 80px;
    background: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-svg {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.grid-lines {
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.05;
    }
    50% {
        opacity: 0.15;
    }
}

.rotating-circles {
    transform-origin: center;
    animation: rotateCircles 40s linear infinite;
}

@keyframes rotateCircles {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.particle-glow-1 {
    animation: particleGlow 4s ease-in-out infinite;
}

.particle-glow-2 {
    animation: particleGlow 5s ease-in-out infinite 0.4s;
}

.particle-glow-3 {
    animation: particleGlow 4.5s ease-in-out infinite 0.8s;
}

.particle-glow-4 {
    animation: particleGlow 5.5s ease-in-out infinite 0.6s;
}

@keyframes particleGlow {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.falling-particle-1 {
    animation: fallParticle 7s ease-in-out infinite;
}

.falling-particle-2 {
    animation: fallParticle 6s ease-in-out infinite 1s;
}

.falling-particle-3 {
    animation: fallParticle 5.5s ease-in-out infinite 0.5s;
}

.falling-particle-4 {
    animation: fallParticle 6.5s ease-in-out infinite 1.5s;
}

.falling-particle-5 {
    animation: fallParticle 5.8s ease-in-out infinite 0.7s;
}

.falling-particle-6 {
    animation: fallParticle 6.2s ease-in-out infinite 1.2s;
}

.falling-particle-7 {
    animation: fallParticle 5.2s ease-in-out infinite 0.3s;
}

.falling-particle-8 {
    animation: fallParticle 7.2s ease-in-out infinite 2s;
}

@keyframes fallParticle {
    0% {
        opacity: 0;
        cy: -40px;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        cy: 840px;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        justify-content: center;
        gap: 120px;
    }
}

.hero-image {
    position: relative;
    flex-shrink: 0;
    width: 207px;
    height: 207px;
}

@media (min-width: 768px) {
    .hero-image {
        width: 253px;
        height: 253px;
    }
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: rgba(240, 81, 0, 0.2);
    filter: blur(40px);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.25));
}

.hero-text {
    text-align: center;
    max-width: 60rem;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left;
    }
}

.hero-text h1 {
    font-size: 3em; /* Converted rem to em */
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 24px;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .hero-text h1 {
        font-size: 3.75em; /* Converted rem to em */
    }
}

.title-line {
    display: block;
    width: 48px;
    height: 4px;
    background: #f05100;
    margin-top: 24px;
}

@media (min-width: 768px) {
    .title-line {
        margin-left: 0;
    }
}

.hero-text p {
    font-size: 1.125em; /* Converted rem to em */
    color: var(--color-gray-600);
    margin-bottom: 48px;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.who-we-are-section {
    padding: 96px 0;
    background: var(--color-gray-50);
}

.who-we-are-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

@media (min-width: 768px) {
    .who-we-are-content {
        flex-direction: row;
        justify-content: center;
        gap: 100px;
    }
}

.who-we-are-text {
    width: 100%;
    max-width: 60rem;
    text-align: center;
}

@media (min-width: 768px) {
    .who-we-are-text {
        text-align: left;
        padding-left: 28px;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .feature-item {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--color-orange-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #f05100;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.feature-content h3 {
    font-size: 1.25em; /* Converted rem to em */
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 1em; /* Converted rem to em */
    color: var(--color-gray-600);
    line-height: 1.75;
}

.who-we-are-image {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 200px;
}

@media (min-width: 768px) {
    .who-we-are-image {
        width: 240px;
        height: 240px;
    }
}

.image-glow {
    position: absolute;
    inset: 0;
    background: rgba(240, 81, 0, 0.1);
    filter: blur(60px);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.who-we-are-image img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 10;
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.25));
}

.what-we-do-section {
    padding: 80px 0;
    background: white;
}

.timeline-container {
    position: relative;
    max-width: 48rem;
    margin: 0 auto 80px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-gray-200);
    transform: translateY(-50%);
}

.timeline-progress {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: #f05100;
    transform: translateY(-50%);
    width: 0%;
    transition: width 0.5s ease;
}

.timeline-nodes {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    padding: 0;
}

.timeline-node:hover .node-icon {
    transform: scale(1.1);
}

.timeline-node.active .node-icon {
    background: #f05100;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(240, 81, 0, 0.3);
    animation: nodePulse 0.5s ease;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.timeline-node.active span {
    color: #f05100;
}

.node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--color-gray-300);
    color: var(--color-gray-400);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
}

.timeline-node:hover .node-icon {
    border-color: #ff8b1a;
    color: #ff8b1a;
}

.timeline-node span {
    font-size: 0.875em; /* Converted rem to em */
    font-weight: 500;
    color: var(--color-gray-500);
    transition: color 0.3s ease;
}

.stage-details {
    max-width: 96rem;
    margin: 0 auto;
}

.stage-card {
    background: linear-gradient(to bottom right, var(--color-orange-50), white, var(--color-gray-50));
    border-radius: 24px;
    padding: 32px 40px;
    border: 1px solid var(--color-orange-100);
    box-shadow: 0 25px 50px -12px rgba(240, 81, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .stage-card {
        grid-template-columns: 1fr 1fr;
        padding: 40px;
    }
}

.stage-challenges,
.stage-solutions {
    display: flex;
    flex-direction: column;
}

.stage-header {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.stage-header img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    object-fit: contain;
}

.stage-header h3 {
    font-size: 1.5em; /* Converted rem to em */
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 8px;
}

.challenge-list,
.solution-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
    margin: 0;
    padding-left: 21px;
}

.challenge-list li,
.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.challenge-list li span:first-child {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-red-50);
    color: var(--color-red-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em; /* Converted rem to em */
    font-weight: 700;
    margin-top: 2px;
    border: 1px solid rgba(251, 44, 54, 0.1);
}

.solution-list li span:first-child {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: var(--color-green-50);
    color: var(--color-green-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em; /* Converted rem to em */
    font-weight: 700;
    margin-top: 2px;
    border: 1px solid rgba(0, 199, 88, 0.1);
}

.challenge-list li span:last-child,
.solution-list li span:last-child {
    color: var(--color-gray-700);
    line-height: 1.75;
}

.workflow-section {
    padding: 64px 0;
    background: white;
    position: relative;
    overflow: hidden;
}

.workflow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.workflow-bg-circle-1 {
    position: absolute;
    top: 25%;
    left: 0;
    width: 384px;
    height: 384px;
    background: rgba(255, 237, 213, 0.5);
    border-radius: 50%;
    filter: blur(60px);
    transform: translateX(-50%);
}

.workflow-bg-circle-2 {
    position: absolute;
    bottom: 25%;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(255, 247, 237, 0.5);
    border-radius: 50%;
    filter: blur(60px);
    transform: translateX(50%);
}

.workflow-steps {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .workflow-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .workflow-steps {
        grid-template-columns: repeat(4, 1fr);
    }
}

.workflow-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-connector {
    display: none;
    position: absolute;
    top: 48px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--color-gray-100);
    z-index: 0;
}

@media (min-width: 1024px) {
    .workflow-step:not(:last-child) .step-connector {
        display: block;
    }
}

.step-connector::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #ff8b1a, #ffb96d);
    opacity: 0;
    transform-origin: left;
    transform: scaleX(0);
    transition: all 0.7s ease;
}

.workflow-step:hover .step-connector::after {
    opacity: 1;
    transform: scaleX(1);
}

.step-icon-container {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 32px;
    transition: transform 0.5s ease;
}

.workflow-step:hover .step-icon-container {
    transform: translateY(-8px);
}

.step-icon-bg {
    position: absolute;
    inset: 0;
    background: var(--color-orange-50);
    border-radius: 16px;
    transform: rotate(6deg);
    transition: transform 0.5s ease;
}

.workflow-step:hover .step-icon-bg {
    transform: rotate(12deg);
}

.step-icon {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-orange-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8px;
    transition: box-shadow 0.5s ease;
}

.workflow-step:hover .step-icon {
    box-shadow: 0 10px 15px -3px rgba(255, 139, 26, 0.2);
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.workflow-step:hover .step-icon img {
    transform: scale(1.1);
}

.step-number {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: var(--color-gray-900);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875em; /* Converted rem to em */
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.25);
    transition: background 0.3s ease;
}

.workflow-step:hover .step-number {
    background: #f05100;
}

.workflow-step h3 {
    font-size: 1.25em; /* Converted rem to em */
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.workflow-step:hover h3 {
    color: #f05100;
}

.workflow-step p {
    font-size: 0.875em; /* Converted rem to em */
    color: var(--color-gray-500);
    white-space: nowrap;
    transition: color 0.3s ease;
}

.workflow-step:hover p {
    color: var(--color-gray-700);
}

.cta-section {
    padding: 96px 0;
    background: linear-gradient(to right, #f05100, #c54000);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-bg-shape-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 256px;
    height: 256px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    transform: translate(-50%, -50%);
}

.cta-bg-shape-2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 384px;
    height: 384px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    transform: translate(50%, 50%);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.25em; /* Converted rem to em */
    font-weight: 700;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .cta-content h2 {
        font-size: 3em; /* Converted rem to em */
    }
}

.cta-content p {
    font-size: 1.25em; /* Converted rem to em */
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    white-space: nowrap;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-white svg,
.btn-outline svg {
    margin-left: 8px;
    width: 20px;
    height: 20px;
}
