     
     
        .rtw-header {
            background: linear-gradient(135deg, #e31b13, #000);
            padding: 30px;
            border-radius: 25px;
            margin-bottom: 20px;
            text-align: left;
        }

        .rtw-header h1 {
            font-size: 2.5rem;
            font-weight: bold;
            color: white;
            line-height: 1.2;
        }

        .rtw-header p {
            font-size: 1.2rem;
            color: white;
            margin-top: -5px;
        }

        .rtw-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
.rtw-grid6 {
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 30px;
    border: 1px solid #eee;
}
        .rtw-grid-row-2 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin-top: 20px;
        }

        .rtw-card {
            background: white;
            padding: 20px;
            border-radius: 25px;
            color: black;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        /* Instructor Card */
        .rtw-instructor {
            text-align: left;
            padding: 20px;
         
            align-items: flex-start !important;
        }

        .rtw-instructor-title {
            font-size: 1rem;
            color: #333;
            font-weight: bold;
            margin-bottom: 10px;
        }

        .rtw-instructor img {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            margin-bottom: 10px;
            object-fit: cover;
        }

        .rtw-instructor-name {
            background: #ff4545;
            color: white;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: bold;
            font-size: 1.1rem;
            display: inline-block;
            margin-top: 5px;
        }

        /* Certificate Card */
        .rtw-certificate {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            height: 100%;
            text-align: center;
            padding: 15px;
        }

        .rtw-certificate img {
            width: 100%;
            height: auto;
            border-radius: 15px;
        }

        .rtw-detail h3, .rtw-material h3 {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
        }

        .rtw-detail p {
            color: #ff4545;
            font-size: 1.8rem;
            font-weight: bold;
            line-height: 1.2;
            text-align: center;
        }

        .rtw-material button, .rtw-signup-button {
            background: #ff4545;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.3s;
        }

        .rtw-material button:hover, .rtw-signup-button:hover {
            background: #d63b3b;
        }

        .rtw-signup-button {
            margin-top: 20px;
            display: inline-block;
            font-weight: bold;
            font-size: 1.1rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .rtw-header {
                padding: 20px;
            }

            .rtw-header h1 {
                font-size: 2rem;
            }

            .rtw-grid, .rtw-grid-row-2 {
                grid-template-columns: 1fr;
            }

            .rtw-card {
                padding: 15px;
            }

            .rtw-certificate {
                max-width: 100%;
            }
        }
        
        
        
 /* Styl dla popupów */
.rtw-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Przyciemnione tło */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.rtw-popup[aria-hidden="false"] {
    display: flex;
}

.rtw-popup-content {
    background: #fff;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    text-align: left;
}

.rtw-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.rtw-popup-header h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #333;
}

.rtw-popup-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.rtw-popup-body p {
    margin-bottom: 20px;
    line-height: 1.5;
    color: #555;
}

.rtw-popup-body ul {
    padding: 0;
    list-style: none;
    margin-bottom: 20px;
}

.rtw-popup-body ul li {
    margin-bottom: 10px;
    color: #555;
}

.rtw-popup-footer {
    margin-top: 20px;
    text-align: right;
}

.rtw-button {
    display: inline-block;
    width: 100%;
    margin: 20px 0;
    padding: 10px 20px;
    background: #e31b13;
    color: #fff;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1rem;
    transition: background 0.3s;
    text-align: center;
    font-weight: bold;
}

.rtw-button:hover {
    background: #000;
}

/* Styl dla formularza */
.rtw-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.rtw-form label {
    font-weight: bold;
    color: #333;
}

.rtw-form input,
.rtw-form button {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
}

.rtw-form input:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

.rtw-form button {
    background: #0073aa;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.rtw-form button:hover {
    background: #005177;
}
