        .section7 {
            margin-top: 7%;
            width: 100%;
            background-color: #f3f3f3;
            padding: 40px 0;
        }

        .section7 h1 {
            text-align: center;
            color: #2386c9;
            font-size: 40px;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            margin-top: 2%;
        }

        .section7 p {
            text-align: center;
            font-size: 20px;
            margin-top: 0%;
            margin-bottom: 30px;
            width: 60%;
            margin-left: 20%;
            margin-top: 0.5%;
        }

        .time-line {
            margin-top: 1%;
            display: flex;
            padding: 0 35px;
            align-items: center;
            justify-content: center;    
            width: 100%;
            margin: 0 auto;
        }

        .wrapper {
            width: 100%;
            position: relative;
            padding: 0 60px;
        }

        .wrapper i {
            top: 50%;
            height: 60px;
            width: 60px;
            cursor: pointer;
            font-size: 1.5rem;
            position: absolute;
            text-align: center;
            line-height: 60px;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            transform: translateY(-50%);
            transition: all 0.2s ease;
            z-index: 10;
            color: #333;
            border: 2px solid #a1a1a1;
        }

        .wrapper i:hover {
   
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(35, 134, 201, 0.3);
        }

        .wrapper i:active {
            transform: translateY(-50%) scale(0.95);
        }

        .wrapper i:first-child {
            left: 10px;
        }

        .wrapper i:last-child {
            right: 10px;
        }

        .wrapper .carousel {
            display: grid;
            grid-auto-flow: column;
            grid-auto-columns: calc((100% / 4) - 16px);
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            gap: 20px;
            border-radius: 12px;
            scroll-behavior: smooth;
            scrollbar-width: none;
            padding: 20px 0;
        }

        .carousel::-webkit-scrollbar {
            display: none;
        }

        .carousel.no-transition {
            scroll-behavior: auto;
        }

        .carousel.dragging {
            scroll-snap-type: none;
            scroll-behavior: auto;
        }

        .carousel.dragging .card {
            cursor: grab;
            user-select: none;
        }

        .carousel .card {
            scroll-snap-align: start;
            list-style: none;
            cursor: pointer;
            border-radius: 16px;
            background: linear-gradient(135deg, #181c1f 0%, #2a2f35 100%);
            
            transition: all 0.3s ease;
            overflow: hidden;
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 30px 20px;
        }

        .carousel .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(0,0,0,0.3);
            background: linear-gradient(135deg, #1f252a 0%, #323841 100%);
        }

        .carousel .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #a1a1a1, #a1a1a1, #a1a1a1);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .carousel .card:hover::before {
            opacity: 1;
        }

        .card-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            width: 100%;
        }

        .currency-pair-container {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .flag-container {
            display: flex;
            align-items: center;
            gap: 50px;
            width: 100%;
        }

        .flag1, .flag2 {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
            background: #333;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            transition: all 0.3s ease;
            position: relative;
        }

        .flag1:hover, .flag2:hover {
            transform: scale(1.1);
            border-color: #2386c9;
        }

        .flag1 img, .flag2 img {
            width:99%;
            height: 99%;
            object-fit: cover;
            border-radius: 50%;
        }

        .currency-text {
            color: #ffffff;
            font-size: 1.4rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0,0,0,0.3);
        }

        .currency-info {
            text-align: center;
            margin-top: 15px;
        }

        .currency-rate {
            color: #2386c9;
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .currency-change {
            font-size: 0.9rem;
            font-weight: 500;
        }

        .currency-change.positive {
            color: #28a745;
        }

        .currency-change.negative {
            color: #dc3545;
        }

        .vs-separator {
            color: white;
            font-size: 1.2rem;
            font-weight: bold;
        }

        /* Special styling for Bitcoin */
        .bitcoin-flag {
            background: linear-gradient(135deg, #f7931a 0%, #ff6b35 100%);
            color: white;
            font-weight: bold;
            border-color: #f7931a;
        }

         /* Responsive Design */
        @media (max-width: 1400px) {
            .wrapper .carousel {
                grid-auto-columns: calc((100% / 4) - 16px);
            }
        }

        @media (max-width: 1200px) {
            .wrapper .carousel {
                grid-auto-columns: calc((100% / 3) - 16px);
            }
            
            .flag-container {
                gap: 40px;
            }
        }

        @media (max-width: 992px) {
            .wrapper .carousel {
                grid-auto-columns: calc((100% / 2) - 16px);
            }
            
            .wrapper {
                padding: 0 50px;
            }
        }

        @media (max-width: 768px) {
            .section7 {
                padding: 30px 0;
            }

            .time-line {
                padding: 0 10px;
            }

            .wrapper {
                padding: 0 40px;
            }

            .wrapper .carousel {
                grid-auto-columns: calc((100% / 1.5) - 16px);
                gap: 15px;
            }

            .wrapper i {
                height: 50px;
                width: 50px;
                font-size: 1.2rem;
                line-height: 50px;
            }

            .carousel .card {
                padding: 25px 15px;
                min-height: 180px;
            }

            .flag1, .flag2 {
                width: 45px;
                height: 45px;
                font-size: 22px;
            }

            .flag-container {
                gap: 35px;
            }

            .currency-pair-container {
                gap: 12px;
            }
        }

        @media (max-width: 576px) {
            .wrapper {
                padding: 0 30px;
            }

            .wrapper .carousel {
                grid-auto-columns: calc(100% - 10px);
                gap: 10px;
            }

            .carousel .card {
                padding: 20px 15px;
                min-height: 160px;
            }

            .flag1, .flag2 {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .flag-container {
                gap: 70px;
            }

            .currency-pair-container {
                gap: 10px;
            }

            .wrapper i {
                height: 45px;
                width: 45px;
                font-size: 1.1rem;
                line-height: 45px;
            }

            .wrapper i:first-child {
                left: 5px;
            }

            .wrapper i:last-child {
                right: 5px;
            }
        }

        @media (max-width: 480px) {
            .section7 {
                padding: 20px 0;
            }
            
            .wrapper {
                padding: 0 25px;
            }

            .carousel .card {
                padding: 15px 10px;
                min-height: 140px;
            }

            .flag1, .flag2 {
                width: 36px;
                height: 36px;
                font-size: 18px;
            }

            .flag-container {
                gap: 45px;
            }

            .currency-info {
                margin-top: 10px;
            }
        }

        /* Extra small devices */
        @media (max-width: 360px) {
            .wrapper {
                padding: 0 20px;
            }

            .wrapper i {
                height: 40px;
                width: 40px;
                font-size: 1rem;
                line-height: 40px;
            }

            .flag1, .flag2 {
                width: 32px;
                height: 32px;
                font-size: 16px;
            }

            .flag-container {
                gap: 50px;
            }

            .carousel .card {
                padding: 12px 8px;
                min-height: 120px;
            }
        }
