



.hero_pa{
    margin-top: 50px;
    gap: 20px;
    display: flex;
        position: relative;
    width: 100%;
    /* overflow: hidden; */
}


        .header {
            text-align: center;
            margin-bottom: 40px;
            width: 100%;
            max-width: 800px;
        }

        .header h1 {
            font-size: 36px;
            color: #000000;
            margin-bottom: 10px;
            background: linear-gradient(90deg, #3498db, #2ecc71);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .header p {
            font-size: 18px;
            color: #000000;
            max-width: 600px;
            margin: 0 auto;
        }

        .container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .card {
        /* border: 1px solid #bc8a1b; */
    /* border-radius: 8px; */
    overflow: hidden;
    border: 1px solid #444444;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    /* border: none; */
    width: 50%;
    display: flex;
    flex-direction: column;
        }

   

        .card-header {
            position: relative;
            text-align: center;
        }

        .card-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            font-size: 36px;
            transition: transform 0.3s;
        }

        .search-card .card-icon {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
        }

        .offer-card .card-icon {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
        }

    

        .card h2 {
            font-size: 28px;
    color: #bc8a1b;
    margin-bottom: 15px;
    text-align: center;
        }

        .card p {
             color: #000000;
            line-height: 1.6;
            text-align: center;
            margin-bottom: 25px;
            font-size: 16px;
            padding: 0 10px;
        }

        .features {
            list-style: none;
            padding: 0 30px 25px;
            flex-grow: 1;
        }

        .features li {
            padding: 5px 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
             color: #000000;
            font-size: 15px;
            transition: all 0.3s;
        }

   

        .features li:last-child {
            border-bottom: none;
        }

        .features li i {
            margin-right: 12px;
            font-size: 18px;
            width: 24px;
        }

        .search-card .features li i {
                color: #bc8a1b;
        }

        .offer-card .features li i {
               color: #bc8a1b;
        }

        .card-footer {
            padding: 0 30px 40px;
            margin-top: auto;
        }

        .btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            width: 100%;
            padding: 18px;
            font-size: 18px;
            font-weight: 600;
            border-radius: 12px;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-search {
            background: linear-gradient(135deg, #3498db, #2980b9);
            color: white;
        }

        .btn-offer {
            background: linear-gradient(135deg, #2ecc71, #27ae60);
            color: white;
        }


        .btn:active {
            transform: scale(0.98);
        }

        .category-badge {
     position: absolute;
    top: 20px;
    right: 20px;
    background: #bc8a1b;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        /* Paslaugų rūšių indikatorius */
        .services-indicator {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: #f8f9fa;
            padding: 10px 20px;
            border-radius: 25px;
            margin-top: 15px;
            color: #5d6d7e;
            font-size: 14px;
            border: 1px solid #e9ecef;
        }

        .services-indicator i {
            color: #3498db;
        }

        /* Mobiliam režimui - abi kortelės po 50vh */
        @media (max-width: 768px) {
            body {
                padding: 10px;
                justify-content: flex-start;
            }
            
            .header {
                margin-bottom: 20px;
            }
            
            .header h1 {
                font-size: 28px;
            }
            
            .header p {
                font-size: 16px;
            }
            
            .container {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(2, 50vh); /* Dvi eilės po 50% ekrano aukščio */
                gap: 15px;
                height: 100vh;
                max-width: 100%;
            }
            
            .card {
                height: 100%;
                min-height: 0; /* Leidžia kortelėms susitraukti pagal grid */
                margin: 0;
                overflow-y: auto; /* Jei turinys netelpa - galima slinkti */
                border-radius: 15px;
            }
            
   
            
            .card-icon {
                width: 70px;
                height: 70px;
                font-size: 30px;
                margin-bottom: 20px;
            }
            
            .card h2 {
                font-size: 24px;
                margin-bottom: 12px;
            }
            
            .card p {
                margin-bottom: 20px;
                padding: 0 5px;
            }
            
            .features {
                padding: 0 20px 20px;
            }
            
            .features li {
                font-size: 14px;
                padding: 10px 0;
            }
            
            .card-footer {
                padding: 0 20px 25px;
            }
            
            .btn {
                padding: 15px;
                font-size: 16px;
            }
            
            .category-badge {
                top: 15px;
                right: 15px;
                padding: 5px 12px;
                font-size: 11px;
            }
        }

        /* Papildomi stiliai mažiems ekranams */
        @media (max-width: 460px) {
            .container {
                grid-template-rows: repeat(2, 50vh);
                gap: 10px;
            }
            
            .header h1 {
                font-size: 24px;
            }
            
            .header p {
                font-size: 14px;
                padding: 0 10px;
            }
            
      
            
            .card-icon {
                width: 60px;
                height: 60px;
                font-size: 26px;
                margin-bottom: 15px;
            }
            
            .card h2 {
                font-size: 22px;
                margin-bottom: 10px;
            }
            
            .card p {
                font-size: 14px;
                margin-bottom: 15px;
                padding: 0;
                line-height: 1.5;
            }
            
            .features {
                padding: 0 15px 15px;
            }
            
            .features li {
                font-size: 13px;
                padding: 8px 0;
            }
            
            .features li i {
                font-size: 16px;
                margin-right: 10px;
                width: 20px;
            }
            
            .card-footer {
                padding: 0 15px 20px;
            }
            
            .btn {
                padding: 12px;
                font-size: 15px;
                gap: 8px;
            }
            
            .category-badge {
                padding: 4px 10px;
                font-size: 10px;
            }
        }

        /* Labai mažiems ekranams (pvz., seni telefonai) */
        @media (max-width: 360px) {
            .container {
                grid-template-rows: repeat(2, 50vh);
                gap: 8px;
            }
            
            .card h2 {
                font-size: 20px;
            }
            
            .card p {
                font-size: 13px;
            }
            
            .features li {
                font-size: 12px;
            }
            
            .btn {
                font-size: 14px;
                padding: 10px;
            }
        }