	
	/* Page Banner */
        .page-banner {
  
            background: url('../img/imgtraining.jpg') center/cover;
        }

     .parallax-2 {
    background-image: url('../img/parax5.jpg');
}   
		
				.nowayin {
	display:none;
}

	
	

/* Main container styling */
.training-container {
    display: flex;
    flex-direction: row-reverse; /* For RTL layout */
    gap: 2rem;
    margin: 30px 0;
}

/* Info/Requirements column styling */
.training-info-column {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.training-info-content {
    text-align: right;
}
	
	body.dark-mode .training-info-content{
		color: black;
	}

.training-info-title {
    color: #8a2be2;
    font-weight: bold;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8a2be2;
}

.training-info-list {
    padding-right: 20px;
    margin-bottom: 2rem;
}
	
	body.dark-mode .training-info-list{
		color: black;
	}

.training-info-list li {
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.6;
}



.training-benefits {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 2rem;
}

.training-benefits h4 {
    color: #8a2be2;
    text-align: center;
    margin-bottom: 15px;
}

/* Form column styling */
.training-form-column {
    flex: 1.2;
}

.card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: none;
    height: 100%;
}

.card-body {
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Form Header Styling */
.training-header {
    background-color: blueviolet;
    color: white;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Form Structure */
.form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) {
    .form-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .full-width {
        grid-column: span 2;
    }
}

.form-section {
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-right: 4px solid blueviolet;
}

.form-section-title {
    font-weight: bold;
    margin-bottom: 1rem;
    color: blueviolet;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e6ea;
    text-align: center;
}

/* Form Elements Styling */
form {
    direction: rtl;
}

.form-group {
    margin-bottom: 1rem;
}

.noback {
    background-color: #f8f9fa;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.3s ease;
    font-size: 15px;
    width: 100%;
}

.noback:focus {
    background-color: #fff;
    border-color: blueviolet;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
    outline: none;
}

/* Textarea Styling */
textarea.noback {
    min-height: 100px;
    resize: vertical;
}

/* Button Styling */
.form-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
}

.btn {
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background-color: blueviolet;
    border-color: blueviolet;
}

.btn-primary:hover {
    background-color: #cc0000;
    border-color: #cc0000;
    transform: translateY(-2px);
}

.btn-danger {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-danger:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-2px);
}

/* Form Labels and Structure */
.form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}
	
	body.dark-mode .form-control::placeholder {
		color: white;
	}

/* Requiblueviolet Field Indicator */
.required-field::after {
    content: " *";
    color: #8a2be2;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .training-container {
        flex-direction: column;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .btn {
        width: 100%;
        margin: 5px 0;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}

/* Focus States for Accessibility */
.noback:focus {
    transform: scale(1.02);
}

/* Animation for Form Elements */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-control {
    animation: fadeIn 0.5s ease forwards;
}

/* Error styling for invalid fields */
.form-control:invalid {
    border-color: #8a2be2;
}

.form-control:invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Success styling for valid fields */
.form-control:valid {
    border-color: #198754;
}

/* Contact info styling */
.contact-info {
    margin-top: 2rem;
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 8px;
    text-align: center;
}

.contact-info h4 {
    color: #8a2be2;
    margin-bottom: 10px;
}
