@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(25px, 25px) rotate(90deg);
    }
    50% {
        transform: translate(0, 50px) rotate(180deg);
    }
    75% {
        transform: translate(-25px, 25px) rotate(270deg);
    }
}

@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);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatCard {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

.shape {
    opacity: 0.08;
    animation: float 25s infinite ease-in-out;
    z-index: 0;
}

.shape-1 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    animation-delay: 0s;
}
.shape-2 {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    animation-delay: 6s;
}
.shape-3 {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    animation-delay: 12s;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}
.hero-visual {
    animation: slideInRight 1s ease-out;
}

.stats-overlay {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    animation: fadeInUp 1s ease-out 0.5s both;
}

.floating-card {
    background: var(--card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    animation: floatCard 4s ease-in-out infinite;
}

.floating-card-1 {
    animation-delay: 0s;
}
.floating-card-2 {
    animation-delay: 1.5s;
}

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 28px rgba(227, 101, 29, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(227, 101, 29, 0.35);
}

.btn-secondary {
    background: var(--card);
    color: var(--sub-title);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--bg);
    border-color: var(--primary);
    color: var(--primary);
}

.trust-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.glass-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* ============================= */

.gradient-text {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.theme-toggle {
    background: var(--card);
    border: 2px solid var(--border-color);
    color: var(--sub-title);
}

.country-card {
    background: var(--card);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-color);
}

.country-card:hover .country-image {
    transform: scale(1.1);
}

.country-image {
    transition: transform 0.5s ease;
}

.flag-badge {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid var(--glass-border);
}

.processing-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.visa-type-badge {
    background: var(--secondary-bg);
    color: var(--desc);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.visa-type-badge:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.stagger-1 {
    animation-delay: 0.1s;
}
.stagger-2 {
    animation-delay: 0.2s;
}
.stagger-3 {
    animation-delay: 0.3s;
}
.stagger-4 {
    animation-delay: 0.4s;
}
.stagger-5 {
    animation-delay: 0.5s;
}
.stagger-6 {
    animation-delay: 0.6s;
}

.time-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =========================== */

.process-gradient-text {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.process-theme-toggle {
    background: var(--card);
    border: 2px solid var(--border-color);
    color: var(--sub-title);
}

.process-step-card {
    background: var(--card);
    border: 2px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.process-step-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1.5rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--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.5s ease;
}

.process-step-card:hover::after {
    opacity: 1;
}

.process-step-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px var(--shadow-color);
}

.process-step-number {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: all 0.4s ease;
}

.process-step-card:hover .process-step-number {
    transform: rotate(360deg) scale(1.15);
}

.process-connector {
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 4rem;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 0;
}

.process-connector::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--secondary);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

@keyframes process-slideIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes process-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.process-animate-slide {
    animation: process-slideIn 0.8s ease-out forwards;
}

.process-animate-pulse {
    animation: process-pulse 2s ease-in-out infinite;
}

.process-delay-1 {
    animation-delay: 0.1s;
}
.process-delay-2 {
    animation-delay: 0.2s;
}
.process-delay-3 {
    animation-delay: 0.3s;
}
.process-delay-4 {
    animation-delay: 0.4s;
}

.process-icon-wrapper {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.process-cta-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(227, 101, 29, 0.4);
    transition: all 0.3s ease;
}

.process-cta-btn:hover {
    box-shadow: 0 15px 40px rgba(227, 101, 29, 0.6);
    transform: translateY(-3px);
}

.process-bg-shape {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
}

.process-shape-1 {
    top: 5%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

.process-shape-2 {
    bottom: 5%;
    right: 10%;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
}

/* ======================= */

.assistance-gradient-text {
    background: linear-gradient(
        135deg,
        var(--gradient-start),
        var(--gradient-end)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.assistance-theme-toggle {
    background: var(--card);
    border: 2px solid var(--border-color);
    color: var(--sub-title);
}

.assistance-content-box {
    background: var(--card);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
}

.assistance-content-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px var(--shadow-color);
    border-color: var(--primary);
}

.assistance-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 2rem;
}

.assistance-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(227, 101, 29, 0.2),
        rgba(117, 14, 33, 0.2)
    );
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.assistance-image-container:hover::before {
    opacity: 1;
}

.assistance-image {
    transition: transform 0.6s ease;
}

.assistance-image-container:hover .assistance-image {
    transform: scale(1.1);
}

.assistance-meeting-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 30px rgba(227, 101, 29, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.assistance-meeting-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.assistance-meeting-btn:hover::before {
    opacity: 1;
}

.assistance-meeting-btn:hover {
    box-shadow: 0 15px 40px rgba(227, 101, 29, 0.6);
    transform: translateY(-3px) scale(1.05);
}

.assistance-meeting-btn span {
    position: relative;
    z-index: 1;
}

.assistance-info-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.assistance-info-item:hover {
    transform: translateX(8px);
    background: var(--glass-border);
}

@keyframes assistance-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes assistance-fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes assistance-fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes assistance-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.assistance-animate-up {
    animation: assistance-fadeInUp 0.8s ease-out forwards;
}

.assistance-animate-left {
    animation: assistance-fadeInLeft 0.8s ease-out forwards;
}

.assistance-animate-right {
    animation: assistance-fadeInRight 0.8s ease-out forwards;
}

.assistance-float-icon {
    animation: assistance-float 3s ease-in-out infinite;
}

.assistance-delay-1 {
    animation-delay: 0.2s;
}
.assistance-delay-2 {
    animation-delay: 0.4s;
}
.assistance-delay-3 {
    animation-delay: 0.6s;
}

.assistance-bg-pattern {
    position: absolute;
    opacity: 0.03;
    pointer-events: none;
}

.assistance-pattern-1 {
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
}

.assistance-pattern-2 {
    bottom: 15%;
    left: 10%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 40% 60% 60% 40%;
}

/* ========================= */

.gradient-border {
    position: relative;
    background: var(--card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--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.3s;
}

.gradient-border:hover::before {
    opacity: 1;
}

.gradient-border:hover {
    transform: scale(1.05);
}

.step-icon-bg {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.step-line {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--border-color));
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.pulse-ring {
    animation: pulse-ring 2s infinite;
}

.cta-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

@media (max-width: 768px) {
    .step-line {
        display: none;
    }
}

/* SVG Icons */
.icon {
    width: 40px;
    height: 40px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ============================ */
.accordion-item {
    background-color: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(227, 101, 29, 0.1);
}

.accordion-item.active {
    border-color: var(--primary);
    background: linear-gradient(
        135deg,
        var(--card) 0%,
        var(--transparent-bg-light) 100%
    );
}

.accordion-header {
    cursor: pointer;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background-color: var(--secondary-bg);
}

.accordion-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    background-color: var(--secondary-bg);
    color: var(--primary);
    border: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-item.active .accordion-content > div {
    animation: fadeIn 0.4s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pulse-ring {
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border-radius: 9999px;
    border: 2px solid var(--border-color);
    background-color: var(--card);
    color: var(--desc);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 101, 29, 0.1);
}

.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral);
}
