html {
    scroll-behavior: smooth;
    /* smooth scrolling */
}

body {
    color: #ffffff;
}

.glass-stat {
    background: #064079d9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.gradient-text {
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.legal-gradient-text {
    background: linear-gradient(to right, #FFF, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.medical-gradient-text{
    background: linear-gradient(to right, #FFF, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.godial-gradient-text{
    background: linear-gradient(to right, #FFF, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.agency-gradient {
    background: linear-gradient(to right, #ec4899, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.field-gradient {
    background: linear-gradient(to right, #22c55e, #84cc16);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.wealth-gradient {
    background: linear-gradient(to right, #10b981, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.creator-gradient {
    background: linear-gradient(to right, #d946ef, #8b5cf6, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.proptech-gradient {
    background: linear-gradient(to right, #06b6d4, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.edu-gradient {
    background: linear-gradient(to right, #f97316, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gradient-blue {
    background: linear-gradient(to right, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gray-500 {
    --tw-text-opacity: 1;
    color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
/* Dropdown Animation */
.group:hover .group-hover\:block {
    display: block;
    animation: fade-in 0.2s ease-out;
}
/* Card Hover Effects */
        .team-card { transition: all 0.3s ease-in-out; }
        .team-card:hover { transform: translateY(-5px); border-color: rgba(59, 130, 246, 0.5); box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2); }
        
        /* Social Icon Slide-Up */
        .social-overlay { transform: translateY(100%); transition: transform 0.3s ease-in-out; }
        .team-card:hover .social-overlay { transform: translateY(0); }

        /* Dropdown Animation */
        .group:hover .group-hover\:block { display: block; animation: fade-in 0.2s ease-out; }
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Accordion Styles */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary~* {
    animation: sweep .5s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        transform: translateY(-10px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }
}

.road-wrapper {
    position: relative;
    width: 800px;
}

.road-img {
    width: 100%;
    display: block;
}

.road-line {
    position: absolute;
    inset: 0;
    pointer-events: none;
    left: 21px;
    top: 5px;
}

/* Floating markers */
.marker-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-7px);
    }
}

.modules-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.features {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 70px;
}

.slider {
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}

/* Fade mask */
.fade-mask {
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%);
}

.track {
    display: flex;
    gap: 14px;
    width: max-content;
}

.track span {
    background: rgba(6, 64, 121, 0.85);
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
}

/* Animations */
.track.left {
    animation: slide-left 30s linear infinite;
}

.track.right {
    animation: slide-right 30s linear infinite;
}

@keyframes slide-left {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slide-right {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.features span {
    padding-right: 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.features span:last-child {
    border-right: none;
}

.parallax-section {
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.parallax-section.visible {
    transform: translateY(0);
    opacity: 1;
}

/* road for mobile */
.glass-panel-home {
    background: #064079d9;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}
.gradient-text {
    background: linear-gradient(to right, #ffffff, #9ca3af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* The Road Styling */
.road-container {
    width: 80px;
    /* Wider width for road effect */
    background: linear-gradient(to right, #1a1a1a, #0a0a0a, #1a1a1a);
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
}

/* Dashed Center Line */
.road-markings {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    transform: translateX(-50%);
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 50%, transparent 50%);
    background-size: 2px 40px;
    /* Dash size */
}

/* Moving Beam Effect on the Road */
.beam {
    background: linear-gradient(to bottom, transparent, rgba(59, 130, 246, 0.4), rgba(139, 92, 246, 0.4), transparent);
    background-size: 100% 200%;
    animation: flow 4s linear infinite;
}

@keyframes flow {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}

/* Dropdown Animation */
.group:hover .group-hover\:block {
    display: block;
    animation: fade-in 0.2s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* road for mobile */
.group:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .mega-menu {
        transition: all 0.2s ease-in-out;
        transform: translateY(10px);
    }
/* Legal Core */
@media (min-width: 1536px) {
    .road-wrapper {
    position: relative;
    width: 800px;
    }
}
@media (min-width: 1280px) {
    .road-wrapper {
        width: 650px;
    }

    .road-line {
        width: 610px;
        top: -62px;
    }

    .medical_pro_box {
        right: 34px !important;
    }

    .saleoid_box {
        left: 39px !important;
    }

    .field_service_box {
        left: 37px !important;
        top: 25% !important
    }

    .field_service_box_flag {
        top: -81px !important;
        right: -63px !important;
    }

    .go_dial_box {
        right: -5px !important;
    }
}
@media (max-width: 1192px) {
    .road-wrapper {
        width: 650px;
    }

    .road-line {
        width: 610px;
        top: -62px;
    }

    .medical_pro_box {
        right: 34px !important;
    }

    .saleoid_box {
        left: 39px !important;
    }

    .field_service_box {
        left: 37px !important;
        top: 25% !important
    }

    .field_service_box_flag {
        top: -50px !important
    }

    .go_dial_box {
        right: -5px !important;
    }
}
@media (max-width: 768px) {
    .saleoid_mob_img,
    .field_ser_img,
    .legal_cor_img,
    .medipro_img,
    .godial_img {
        top: -55px;
    }
    .features{flex-flow: wrap;}
    .journyIcon{top: -55px;}
}
@media (max-width: 580px) {
.features span{border-right: 0;}
}
