/* Modern Fortune 500 Design */
body,
html {
    font-family: 'Visby', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    background: linear-gradient(to bottom, #0a192f 0%, #172a45 100%);
    color: #e6f1ff;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0e2033;
    ;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

#main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

@media (max-width: 768px) {
    #hero {
        padding: 2rem 1rem;
    }

    .process-container .process-grid {
        grid-template-columns: 1fr !important;
    }

    .process-step {
        max-width: 100% !important;
    }

    .floating-shapes {
        display: none;
    }

    h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .countdown-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }

    .countdown-item {
        padding: 1rem !important;
    }

    .badge-container {
        flex-direction: column;
        gap: 1rem !important;
        padding: 1rem !important;
    }

    .divider {
        width: 100% !important;
        height: 1px !important;
    }

    form {
        padding: 1rem !important;
    }

    .dot-grid {
        grid-template-columns: repeat(8, 1fr) !important;
        gap: 0.3rem !important;
    }
}

#hero {
    position: relative;
    background: linear-gradient(to bottom, #0a192f 0%, #172a45 100%);
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    overflow: hidden;
}

.shape-1,
.shape-2,
.shape-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.shape-1 {
    width: 800px;
    height: 800px;
    background: #64ffda;
    top: -300px;
    left: -300px;
    animation: float1 15s ease-in-out infinite;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #112240;
    bottom: -100px;
    right: -100px;
    animation: float2 12s ease-in-out infinite;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: #1e90ff;
    top: 50%;
    right: 10%;
    animation: float3 18s ease-in-out infinite;
}

@keyframes float1 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(100px, 100px) rotate(180deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-50px, -50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes float3 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(0, 50px) scale(1.2);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1.5s linear infinite;
}

/* Animations */
.animate-fadeIn {
    animation: fadeIn 1.5s ease-in-out;
}

.animate-slideUp {
    animation: slideUp 1s ease-out;
}

.animate-popIn {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    80% {
        transform: scale(1.05);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Process Flow */
.process-step {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    margin-bottom: 0;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    background: #64ffda/20;
}

.process-step p {
    margin-bottom: 0;
    line-height: 1.5;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-icon {
    transition: all 0.3s ease;
}

/* Dot Grid */
.dot-grid-container {
    padding: 2rem 0;
}

.dot-grid {
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    gap: 0.5rem;
    padding: 1rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.dot:hover {
    transform: scale(2);
    background-color: #64ffda;
    box-shadow: 0 0 10px rgba(100, 255, 218, 0.5);
}

.dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.dot:hover::after {
    width: 30px;
    height: 30px;
}

.font-visby {
    font-family: 'Visby', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* PDF Download Styles */
.pdf-container {
    z-index: 9999;
}

.pdf-content {
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #4F46E5, #10B981);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #4338CA, #0D9488);
}

/* Carousel Styles */
.carousel-container {
    scroll-behavior: smooth;
}

.carousel-slides::-webkit-scrollbar {
    display: none;
}

.carousel-slides {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.carousel-slide {
    min-width: 300px;
    height: 500px;
    object-fit: contain;
    scroll-snap-align: start;
}

.carousel-indicator.active {
    background: #64ffda;
    width: 1rem;
}

@media (max-width: 768px) {
    .carousel-slide {
        min-width: 90%;
        height: 400px;
    }
}

/* Animation classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Enterprise approach section */
.enterprise-approach-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.enterprise-approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Enhanced form styling */
input,
select,
textarea {
    background: rgba(16, 42, 67, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Enhanced card hover effect */
.bg-white {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
}

.bg-white:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

/* Ensure text is visible on dark backgrounds */
.text-gray-200 {
    color: rgba(229, 231, 235, 1);
}

.text-gray-300 {
    color: rgba(209, 213, 219, 1);
}

/* Silk-inspired interactive canvas */
.silk-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

silk-draw {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

silk-draw:hover {
    opacity: 0.7;
}

/* Form enhancements */
input,
select {
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
    border-color: #4F46E5;
}

/* Gradient text */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Dual Ring Loader */
.pg-loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0a192f 0%, #172a45 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.pg-loader-container.hidden {
    opacity: 0;
    pointer-events: none;
}

.pg-loader {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    position: relative;
}

.pg-loader-dual-ring {
    width: 100%;
    height: 100%;
    border: 6px solid transparent;
    border-top: 6px solid #ffffff;
    border-right: 6px solid #ffffff;
    border-radius: 50%;
    animation: pg-spin 1.5s linear infinite;
}

.pg-loader-text {
    margin-top: 20px;
    font-size: 1.2rem;
    color: white;
}

#toast-container {
    z-index: 9999;
}

.toast-enter {
    transform: translateX(100%);
    opacity: 0;
}

.toast-enter-active {
    transform: translateX(0);
    opacity: 1;
    transition: all 0.3s ease-out;
}

.toast-exit {
    transform: translateX(0);
    opacity: 1;
}

.toast-exit-active {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease-in;
}

/* Animation */
@keyframes pg-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* body.careers {
    background: #0e2033;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, system-ui, sans-serif;
} */

.glass {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px)
}

.card {
    box-shadow: 0 8px 30px rgba(2, 12, 27, .15);
}

/* .card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
} */

.pill {
    display: inline-flex;
    align-items: center;
    padding: .32rem .65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    font-size: .75rem;
    color: white;
}

/* .glass {
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
} */

.ring-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(100, 255, 218, .35)
}

label.service-chip {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .6rem .75rem;
    border-radius: .7rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    line-height: 1.3rem
}

label.service-chip:hover {
    background: rgba(255, 255, 255, .12)
}

label.service-chip input {
    accent-color: var(--primary);
    margin-top: .15rem;
    flex-shrink: 0
}

.max-w-prose { max-width: 65ch; }

#cat-panel {
    background: rgba(10, 25, 47, 0.98) !important;
    backdrop-filter: none !important;
}

.text-teal {
    color: #00A39A;
}

.bg-teal {
    background: #00A39A;
}

.text-orange {
    color: #FF7B00;
}

.bg-orange {
    background: #FF7B00;
}

/* -- Normalize styles -- */
.max-w-4xl {
    max-width: 900px !important;
}

@keyframes grow {
    from {
        width: 0%
    }

    to {
        width: var(--target-width)
    }
}

.animate-grow {
    animation: grow 1.2s ease-out forwards;
    animation-delay: .15s;
}

.carousel-slides::-webkit-scrollbar {
    display: none
}

.carousel-slide {
    min-width: 300px;
    height: 500px;
    object-fit: contain;
    scroll-snap-align: start;
}

.carousel-indicator.active {
    background: #64ffda;
    width: 1rem;
}

@media (max-width:768px) {
    .carousel-slide {
        min-width: 90%;
        height: 400px
    }
}

@media print {
    body {
        background: #fff;
    }

    .no-print {
        display: none !important;
    }

    a[href]:after {
        content: "";
    }

    .card,
    .shadow,
    .shadow-lg,
    .shadow-xl {
        box-shadow: none !important;
    }
}
