/* ============================================================
   HOME PAGE — Missing Component Styles
   All classes used in home.php that had no CSS definition.
   This file must be loaded AFTER brand.css.
   ============================================================ */



/* ============================================================
   Timeline — How We Work Section
   ============================================================ */
.timeline-inner-container {
    position: relative;
    z-index: 1;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
            rgba(var(--bs-primary-rgb), 0.1) 0%,
            rgba(var(--bs-primary-rgb), 0.3) 50%,
            rgba(var(--bs-primary-rgb), 0.1) 100%);
    transform: translateX(-50%);
    border-radius: 10px;
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border-radius: 10px;
    transition: height 0.3s ease-out;
    box-shadow: 0 0 20px rgba(var(--bs-primary-rgb), 0.5);
}

.timeline-step {
    position: relative;
    margin-bottom: 28px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-number {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.2),
        0 0 0 4px #ffffff,
        0 0 0 8px rgba(var(--bs-primary-rgb), 0.06);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-number span {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.timeline-step:hover .timeline-number {
    transform: translate(-50%, -50%) scale(1.1) rotate(360deg);
    box-shadow: 0 8px 28px rgba(var(--bs-primary-rgb), 0.35),
        0 0 0 4px #ffffff,
        0 0 0 10px rgba(var(--bs-primary-rgb), 0.12);
}

.timeline-card {
    position: relative;
    width: calc(50% - 38px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.05);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.04);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 14px;
}

.timeline-card::before {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 13.5px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-card:hover::before {
    opacity: 1;
}

.timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(var(--bs-primary-rgb), 0.1);
}

.timeline-left {
    margin-right: auto;
}

.timeline-right {
    margin-left: auto;
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    transform: translateY(-50%);
}

.timeline-left::after {
    right: -20px;
}

.timeline-right::after {
    left: -20px;
}

.timeline-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.06), rgba(var(--bs-secondary-rgb), 0.06));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 0;
}

.timeline-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-card:hover .timeline-icon::before {
    opacity: 0.15;
}

.timeline-icon i {
    font-size: 1.2rem;
    background-image: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: var(--bs-primary) !important;
}

.timeline-card:hover .timeline-icon i {
    transform: scale(1.1) rotate(5deg);
}

.timeline-content {
    flex: 1;
    text-align: left;
}

.timeline-content h4,
.timeline-content h5 {
    color: var(--bs-primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.timeline-content p {
    line-height: 1.5;
    font-size: 0.82rem;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .timeline-line {
        left: 30px;
        transform: none;
    }

    .timeline-number {
        left: 30px;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 42px;
        height: 42px;
    }

    .timeline-number span {
        font-size: 0.9rem;
    }

    .timeline-step:hover .timeline-number {
        transform: translate(-50%, -50%) scale(1.08);
    }

    .timeline-card {
        width: calc(100% - 70px);
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .timeline-card::after {
        display: none;
    }

    .timeline-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .timeline-icon i {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .timeline-container {
        padding: 16px 0;
    }

    .timeline-step {
        margin-bottom: 24px;
    }

    .timeline-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .timeline-content h4,
    .timeline-content h5 {
        font-size: 0.95rem;
    }

    .timeline-content p {
        font-size: 0.78rem;
    }
}

/* ============================================================
   Country Flag Badge
   ============================================================ */
.country-flag-badge {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--bs-secondary);
    z-index: 2;
}
.country-flag-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ============================================================
   Team Tiles
   ============================================================ */
.pc-team-tile {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.06);
    cursor: pointer;
}
.pc-team-tile img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pc-team-tile:hover img {
    transform: scale(1.06);
}
.pc-team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--bs-primary-rgb), 0.92) 0%, rgba(var(--bs-primary-rgb), 0.4) 60%, transparent 100%);
    z-index: 2;
    padding: 24px;
}
.pc-team-tile:hover {
    border-color: var(--bs-secondary);
}
.pc-team-bio-expand {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.pc-team-tile:hover .pc-team-bio-expand {
    max-height: 200px;
}

/* ============================================================
   FAQ Section (Dark bg with accordion)
   ============================================================ */
.pc-faq-section {
    background: var(--pc-gradient-footer, linear-gradient(135deg, #153D29 0%, #1D5036 100%));
    color: #fff;
}
.pc-faq-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--bs-secondary-rgb), 0.07) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.pc-faq-row {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 6px;
    transition: all 0.25s ease;
}
.pc-faq-row:hover {
    border-color: rgba(var(--bs-secondary-rgb), 0.3);
    background: rgba(255, 255, 255, 0.06);
}

.pc-faq-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: color 0.2s;
    font-family: 'Poppins', sans-serif;
}
.pc-faq-btn:not(.collapsed) {
    color: var(--bs-secondary);
}

.pc-faq-btn-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(var(--bs-secondary-rgb), 0.12);
    border: 1.5px solid rgba(var(--bs-secondary-rgb), 0.35);
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s;
}
.pc-faq-btn-icon::before,
.pc-faq-btn-icon::after {
    content: '';
    position: absolute;
    background: var(--bs-secondary);
    border-radius: 1px;
    transition: transform 0.25s;
}
.pc-faq-btn-icon::before {
    width: 8px; height: 1.5px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.pc-faq-btn-icon::after {
    width: 1.5px; height: 8px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.pc-faq-btn:not(.collapsed) .pc-faq-btn-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}
.pc-faq-btn:not(.collapsed) .pc-faq-btn-icon {
    background: rgba(var(--bs-secondary-rgb), 0.25);
}

.pc-faq-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.55;
}

@media (min-width: 992px) {
    #pcHomeFaq {
        max-height: 440px;
        overflow-y: auto;
        padding-right: 10px;
    }
    
    #pcHomeFaq::-webkit-scrollbar {
        width: 4px;
    }
    
    #pcHomeFaq::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.01);
        border-radius: 10px;
    }
    
    #pcHomeFaq::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 10px;
        transition: background-color 0.2s;
    }
    
    #pcHomeFaq::-webkit-scrollbar-thumb:hover {
        background: var(--bs-secondary);
    }
}

/* ============================================================
   Multistep Contact Form (FAQ section right column)
   ============================================================ */
.pc-multistep-container {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.pc-multistep-container.pc-dark-bg {
    background: var(--pc-gradient-premium, linear-gradient(135deg, #153D29 0%, #1D5036 55%, #CDAF68 100%)) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 60px rgba(21, 61, 41, 0.35), 0 4px 18px rgba(21, 61, 41, 0.2);
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-radius 0.4s ease;
    border-radius: 20px !important;
}
.pc-multistep-container.pc-dark-bg:hover {
    box-shadow: 0 28px 80px rgba(21, 61, 41, 0.45), 0 0 0 3px rgba(var(--bs-secondary-rgb), 0.35), 0 8px 24px rgba(21, 61, 41, 0.25);
    transform: translateY(-3px) scale(1.004);
    border-radius: 22px !important;
}

/* ============================================================
   Contact Page — Section & Parallax Layout
   ============================================================ */
#pc-contact-section {
    min-height: auto;
}

/* Column wrappers — kept for hover targeting, no transform applied */
.pc-parallax-info-inner,
.pc-parallax-form-wrapper {
    position: relative;
}

/* Left column info item hover-lift */
.pc-parallax-info-inner .d-flex.align-items-center {
    padding: 8px 10px;
    border-radius: 10px;
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pc-parallax-info-inner .d-flex.align-items-center:hover {
    background: rgba(29, 80, 54, 0.05);
    box-shadow: 0 4px 16px rgba(29, 80, 54, 0.08);
    transform: translateX(4px);
}

/* Icon badge hover bounce */
.pc-parallax-info-inner .rounded-circle {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.pc-parallax-info-inner .d-flex.align-items-center:hover .rounded-circle {
    transform: scale(1.18) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(29, 80, 54, 0.22);
}

/* Office hours card hover */
.pc-parallax-info-inner > div:last-child {
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.pc-parallax-info-inner > div:last-child:hover {
    background: rgba(205, 175, 104, 0.12) !important;
    box-shadow: 0 4px 16px rgba(205, 175, 104, 0.15);
    transform: translateY(-2px);
}

/* Contact title heading underline accent */
.pc-parallax-info-inner h1 {
    position: relative;
    display: inline-block;
}
.pc-parallax-info-inner h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: var(--bs-secondary, #CDAF68);
    border-radius: 2px;
    margin-top: 10px;
}

/* Glow ring animation on the form container */
@keyframes pcContactGlowPulse {
    0%   { box-shadow: 0 20px 60px rgba(21, 61, 41, 0.35), 0 0 0 0px rgba(var(--bs-secondary-rgb), 0); }
    50%  { box-shadow: 0 24px 70px rgba(21, 61, 41, 0.4),  0 0 0 6px rgba(var(--bs-secondary-rgb), 0.12); }
    100% { box-shadow: 0 20px 60px rgba(21, 61, 41, 0.35), 0 0 0 0px rgba(var(--bs-secondary-rgb), 0); }
}
.pc-parallax-form-wrapper .pc-multistep-container.pc-dark-bg {
    animation: pcContactGlowPulse 4s ease-in-out infinite;
}
.pc-parallax-form-wrapper .pc-multistep-container.pc-dark-bg:hover {
    animation: none;
}


.pc-multistep-glow {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(var(--bs-secondary-rgb), 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Stepper progress track */
.pc-stepper-line {
    height: 2px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    z-index: 0;
}
.pc-stepper-progress {
    height: 100%;
    background: var(--bs-secondary);
    border-radius: 2px;
    transition: width 0.35s ease;
}

/* Step indicator circles */
.pc-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    cursor: pointer;
}
.pc-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}
.pc-step-indicator.active .pc-step-circle {
    background: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: var(--pc-primary-dark);
    box-shadow: 0 0 12px rgba(var(--bs-secondary-rgb), 0.45);
}
.pc-step-indicator.completed .pc-step-circle {
    background: rgba(var(--bs-secondary-rgb), 0.3);
    border-color: var(--bs-secondary);
    color: var(--bs-secondary);
}
.pc-step-label {
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pc-step-indicator.active .pc-step-label {
    color: var(--bs-secondary);
}

/* Form step panels */
.pc-form-step {
    display: none;
}
.pc-form-step.active {
    display: block;
    animation: fadeStepIn 0.3s ease;
}
@keyframes fadeStepIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Input overrides for dark bg */
.pc-multistep-container .form-control,
.pc-multistep-container .form-select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.85rem;
}
.pc-multistep-container .form-control::placeholder { color: rgba(255,255,255,0.4); }
.pc-multistep-container .form-control:focus,
.pc-multistep-container .form-select:focus {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: var(--bs-secondary) !important;
    box-shadow: 0 0 0 3px rgba(var(--bs-secondary-rgb), 0.2) !important;
    color: #fff !important;
}
.pc-multistep-container .form-select option {
    background: var(--pc-primary-dark, #153D29);
    color: #fff;
}
.pc-multistep-container label { color: rgba(255,255,255,0.6) !important; }
.pc-multistep-container .form-check-input {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}
.pc-multistep-container .form-check-input:checked {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* ============================================================
   Carousel 3D Slice Overlay (JS-injected animations)
   ============================================================ */
.pc-slice-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;
}

/* ============================================================
   CTA Section shapes
   ============================================================ */
.pc-cta-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   Falling Animated Background Icons (Immigration / Travel)
   ============================================================ */
.bg-patterns {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.pattern-item {
    position: absolute;
    opacity: 0;
    animation: fallDown 12s linear infinite;
    pointer-events: none;
}

.pattern-item i {
    font-size: 2.2rem;
    color: var(--bs-primary);
    opacity: 0.04; /* Extremely subtle and transparent */
    text-shadow: 0 0 10px rgba(var(--bs-primary-rgb), 0.15);
}

@keyframes fallDown {
    0% {
        top: -10%;
        opacity: 0;
        transform: translateY(0) rotate(0deg);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: translateY(0) rotate(360deg);
    }
}

/* Mobile responsive - reduce pattern density */
@media (max-width: 768px) {
    .pattern-item:nth-child(n+8) {
        display: none;
    }
    .pattern-item i {
        font-size: 1.5rem;
    }
}

/* ============================================================
   z-index utility
   ============================================================ */
.z-index-2 { position: relative; z-index: 2; }
.z-index-3 { position: relative; z-index: 3; }
