/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile breakpoint */
@media (max-width: 480px) {
    .opaque-container {
        margin: 5rem 1rem 0.5rem;
        padding: 1rem;
    }

    .process-timeline {
        margin-top: 3rem;
        flex-direction: column;
        gap: 3rem;
    }

    .process-stage {
        display: flex;
        flex-direction: column;
        padding: 2.5rem 1rem 1rem;
    }

    .stage-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        align-self: start;
        position: absolute;
        top: -36px;
    }

    .stage-content h3 {
        font-size: 1.2rem;
    }

    .stage-content p {
        font-size: 0.9rem;
    }
}

/* Tablet breakpoint */
@media (min-width: 481px) and (max-width: 1200px) {
    .opaque-container {
        margin: 5.5rem 2rem 1rem;
        padding: 2rem 1rem;
    }

    .process-timeline {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .process-stage {
        padding: 1.5rem;
    }

    .stage-number {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .stage-content h3 {
        font-size: 1.5rem;
    }

    .stage-content p {
        font-size: 1rem;
    }
}

/* Desktop breakpoint */
@media (min-width: 1200px) {
    .opaque-container {
        margin: 5.5rem 2rem 1rem;
        padding: 2rem 1rem;
    }

    .process-timeline {
        margin: 3.5rem 0rem 0rem;
        gap: 1rem;
    }

    .process-stage {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .stage-number {
        align-self: center;
        position: absolute;
        top: -36px;
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }

    .stage-content {
        margin-top: 2rem;
    }

    .stage-content h3 {
        font-size: 1.5rem;
    }

    .stage-content p {
        font-size: 1rem;
    }
}

body {
    background: linear-gradient(#112846EE, #112846EE), url("/images/web-pictures/process-page.jpg");
    background-size: cover;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
}

.opaque-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 31px;
    animation: fadeInUp 0.2s ease-out forwards;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 15;
}

.process-title {
    color: #ffffff;
    text-align: center;
    animation: fadeInUp 0.2s ease-out forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-weight: 600;
    margin-bottom: 2rem;
}

.process-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, #2196F3);
    border-radius: 2px;
}

.process-description {
    opacity: 1 !important;
    animation: none !important;
    margin-top: 1rem;
    margin-bottom: 0;
    max-width: 1000px;
    color: #e0e0e0;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline {
    display: flex;
}

.process-stage {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: rgba(59, 78, 102, 1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: slideInLeft 0.2s ease-out forwards;
}

.process-stage:nth-child(1) { animation-delay: 0.0s }
.process-stage:nth-child(2) { animation-delay: 0.05s }
.process-stage:nth-child(3) { animation-delay: 0.1s }
.process-stage:nth-child(4) { animation-delay: 0.15s }
.process-stage:nth-child(5) { animation-delay: 0.2s }

.stage-number {
    background: linear-gradient(135deg, #112846, #2196F3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    z-index: 3;
}

.stage-content h3 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.stage-content p {
    margin: 0;
}

/*
.process-page .bg-image {
    padding: 0 0.5rem 2rem 0.5rem;
}

.process-container {
    position: relative;
    z-index: 2;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

@media (min-width: 1025px) {
    .process-page {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: 100%;
    }
    .process-stage {
        margin: 0 0.5rem;
    }
    .process-container {
        min-height: 650px;
    }
}

.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    margin: 2rem;
}

@media (min-width: 1025px) {
    .process-timeline {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
        height: 550px;
    }
    
    .process-stage {
        flex: 1;
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        padding: 1.5rem;
        min-width: 0;
    }
    
    .stage-number {
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .stage-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
    }
    
    .stage-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .stage-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        margin: 0 0 1.5rem 0;
    }
    
    .stage-icon {
        margin-top: 1rem;
        font-size: 2rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 50px;
        top: 10px;
        bottom: 40px;
        width: 3px;
        background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
        z-index: 1;
        display: block;
        transform: translateX(-50%) scaleY(1);
        transform-origin: top;
        transition: none;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .process-timeline {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
        height: auto;
    }
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 80px;
        top: 50px;
        bottom: 20px;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
        z-index: 1;
        display: block;
        transform: translateX(-50%) scaleY(1);
        transform-origin: top;
        transition: none;
        margin-top: 9rem;
    }
    .process-stage {
        flex-direction: row;
        text-align: left;
        padding: 2rem;
        margin: 0 1rem;
    }
    .stage-number {
        margin-bottom: 0;
        margin-right: 1.5rem;
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    .stage-content {
        flex: 1;
        justify-content: flex-start;
    }
    .stage-content h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    .stage-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
    }
    .stage-icon {
        margin-top: 0;
        font-size: 2.2rem;
        flex-shrink: 0;
    }
}

@media (min-width: 1401px) {
    .process-timeline {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
        height: 550px;
        margin: 2rem 0;
    }
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 15%;
        width: calc(100% - 4rem);
        height: 3px;
        background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
        z-index: 1;
        display: block;
        transform: translate(-50%, -50%) scaleX(1);
        transform-origin: left;
        transition: transform 0.8s cubic-bezier(0.4,0,0.2,1);
    }
    .process-stage {
        flex: 1;
        flex-direction: column;
        text-align: center;
        justify-content: flex-start;
        padding: 1.5rem;
        min-width: 0;
        margin: 0 0.5rem;
    }
    .stage-number {
        margin-bottom: 1rem;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    .stage-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        min-width: 0;
    }
    .stage-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    .stage-content p {
        font-size: 0.9rem;
        line-height: 1.5;
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        margin: 0 0 1.5rem 0;
    }
    .stage-icon {
        margin-top: 1rem;
        font-size: 2rem;
    }
}

.process-stage {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    background: rgba(59, 78, 102, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    z-index: 2;
    transform: translateY(30px);
    margin: 0 1rem;
}

.process-stage.animate-in {
    transform: translateY(0);
}

.process-stage:hover,
.process-stage.hover {
    background: rgba(59, 78, 102, 1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.process-stage.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.stage-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #111c46, #1a2a5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.process-stage:hover .stage-number,
.process-stage.hover .stage-number {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.process-stage.active .stage-number {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.stage-content {
    flex: 1;
    color: white;
}

.stage-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    transition: color 0.3s ease;
}

.stage-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.5rem 0;
}

.process-page .stage-content p {
    color: #e0e0e0;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    display: block;
}

.stage-icon {
    font-size: 2.5rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.process-stage:hover .stage-icon,
.process-stage.hover .stage-icon {
    opacity: 1;
    transform: scale(1.1);
}

.process-stage.active .stage-icon {
    opacity: 1;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .process-page {
        padding: 3rem 0.25rem 1rem 0.25rem;
        min-height: auto;
    }
    
    .process-page h1 {
        margin-bottom: 0.8rem;
    }
    
    .process-page p {
        font-size: 1.2rem;
        margin-top: 0.8rem;
        margin-bottom: 0;
        padding: 0 1rem;
    }
    
    .process-container {
        padding: 2rem 1.5rem;
        margin: 0 auto;
    }
    
    .process-stage {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .stage-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        align-self: flex-start;
        margin-left: 0;
    }
    
    .stage-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .stage-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .stage-icon {
        font-size: 2rem;
        align-self: flex-end;
        margin-top: -2rem;
    }
    
    .process-timeline {
        gap: 2rem;
    }
    .process-timeline::before {
        content: '';
        position: absolute;
        left: 50px;
        top: 10px;
        bottom: 40px;
        width: 2px;
        background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.3) 100%);
        z-index: 1;
        display: block;
        transform: none;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .process-page {
        padding: 3.5rem 0.5rem 1.5rem 0.5rem;
        min-height: auto;
    }
    
    .process-page h1 {
        margin-bottom: 1rem;
    }
    
    .process-page p {
        font-size: 1.3rem;
        margin-top: 1rem;
        margin-bottom: 0;
        padding: 0 1.5rem;
    }
    
    .process-container {
        padding: 2rem 1.5rem;
        max-width: 900px;
        margin: 0 auto;
    }
    
    .process-stage {
        padding: 1.8rem;
        gap: 1.5rem;
        margin: 0 0.5rem;
        min-height: auto;
        max-height: none;
    }
    
    .stage-number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    
    .stage-content {
        flex: 1;
        min-width: 0;
    }
    
    .stage-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .stage-content p {
        font-size: 0.98rem;
        line-height: 1.5;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        margin: 0 0 1.5rem 0;
    }
    
    .stage-icon {
        font-size: 2.2rem;
        flex-shrink: 0;
    }
    
    .process-timeline {
        gap: 2rem;
    }
}

@media (max-width: 1024px) {
    .process-page .stage-content h3,
    .process-page .stage-content p {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    .process-page .stage-content p {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .process-page {
        padding: 2rem 0.1rem 0.5rem 0.1rem;
        min-height: auto;
    }
    
    .process-page h1 {
        margin-bottom: 0.5rem;
    }
    
    .process-page p {
        font-size: 1.1rem;
        margin-top: 0.5rem;
        margin-bottom: 0;
        padding: 0 0.5rem;
    }
    
    .process-container {
        padding: 1rem 0.5rem;
        margin: 0 auto;
    }
    
    .process-stage {
        padding: 1rem;
        gap: 0.8rem;
        margin: 0 0.25rem;
    }
    
    .stage-number {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .process-timeline::before {
        left: 50px;
        width: 2px;
    }
    
    .stage-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .stage-content p {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .stage-icon {
        font-size: 1.8rem;
    }
    
    .process-timeline {
        gap: 1.5rem;
    }
}

.process-stage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.process-stage:hover::before,
.process-stage.hover::before {
    opacity: 1;
}

.process-stage:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.cta-btn {
    z-index: 15;
    margin-top: 0;
}

@media (min-width: 1025px) {
    .process-page .stage-content p {
        margin-bottom: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .process-page .stage-content h3,
    .process-page .stage-content p {
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }
}

@media (min-width: 1025px) {
    .stage-number {
        margin-bottom: 0;
    }
}

@media (min-width: 1025px) {
    .process-page .stage-content h3 {
        margin-bottom: 0;
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
  .process-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 50px;
    bottom: 20px;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.3) 100%);
    transform: translateX(-50%) scaleY(1);
    transform-origin: top;
    z-index: 1;
    transition: none;
    display: block;
    margin-top: 4rem;
  }
}

.opaque-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .opaque-container {
        padding: 1.5rem 0.5rem;
        margin: 1.5rem 0.5rem;
        max-width: 98vw;
    }
}

@media (min-width: 1025px) {
    .opaque-container {
        max-width: 1450px;
    }
}

*/

.cta-btn {
    display: inline-block;
    margin: 2rem 0 0;
    padding: 0.9rem 2.2rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #112846;
    background: linear-gradient(90deg, #ffffff 0%, rgba(6, 165, 221, 1) 100%);
    border: none;
    border-radius: 30px;
    box-shadow: 0 4px 18px rgba(33,150,243,0.15);
    cursor: pointer;
    letter-spacing: 0.5px;
}

.cta-btn:hover, .cta-btn:focus {
    color: #ffffff;
    background: linear-gradient(90deg, #112846 0%, rgba(6, 165, 221, 1) 100%);
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 8px 32px rgba(33,150,243,0.25);
    outline: none;
}

/* Responsive CTA button sizing */
/* Mobile responsive sizing for CTA button */
@media (max-width: 575px) {
    .cta-btn {
        padding: 0.7rem 1.8rem; /* Smaller padding for mobile */
        font-size: 1rem; /* Smaller font for mobile */
    }
}

/* Tablet responsive sizing for CTA button */
@media (min-width: 576px) and (max-width: 991px) {
    .cta-btn {
        padding: 0.8rem 2rem; /* Slightly smaller padding for tablet */
        font-size: 1.1rem; /* Slightly smaller font for tablet */
    }
}