/* Training Request Form Styles */
body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.training-request-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.training-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.training-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #f7685e, #ff6b6b, #f7685e);
}

.training-form {
    position: relative;
    z-index: 1;
}

.training-form .form-group {
    margin-bottom: 25px;
}
.training-form .form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
}
.form-select:focus {
    outline: none;
    border-color: #f7685e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(247, 104, 94, 0.1);
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}
 
.training-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.training-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    /* line-height intentionally inherits default */
    transition: all 0.3s ease;
    background: #fafbfc;
}

.training-form .form-control:focus {
    outline: none;
    border-color: #f7685e;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(247, 104, 94, 0.1);
}

.training-form select.form-control {
    cursor: pointer;
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    padding-right: 20px;
}
            
.training-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
    /* default overflow */
}

.training-form .theme-btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 10px;
    min-width: 140px;
}

.training-form .btn-style-one {
    background: linear-gradient(135deg, #f7685e, #ff6b6b);
    color: #ffffff;
}

.training-form .btn-style-one:hover {
    background: linear-gradient(135deg, #e55a50, #f55a5a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(247, 104, 94, 0.3);
}

.training-form .btn-style-two {
    background: transparent;
    color: #666;
    border: 2px solid #e1e5e9;
}

.training-form .btn-style-two:hover {
    background: #f8f9fa;
    border-color: #f7685e;
    color: #f7685e;
}

/* Message Container Styles */
.message-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease;
}

.message-container.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.message-container.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.message-content {
    padding: 15px 20px;
    position: relative;
}

.close-message {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
}

.close-message:hover {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .training-request-section {
        padding: 40px 0;
    }
    
    .training-form-container {
        margin: 0 20px;
        padding: 30px 20px;
    }
    
    .training-form .theme-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .message-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .form-fields {
        gap: 20px;
    }
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading State */
.training-form .theme-btn.loading {
    position: relative;
    color: transparent;
}

.training-form .theme-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.training-form .form-control.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.training-form .form-control.success {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Required Field Indicator */
.training-form label::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
}

/* Hover Effects */
.training-form .form-group:hover label {
    color: #f7685e;
}

.training-form .form-control:hover {
    border-color: #f7685e;
}

/* Standalone Page Specific Styles */
.auto-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.sec-title .title {
    color: #f7685e;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.sec-title h2 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.sec-title .text {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* Form Fields Layout */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-fields .form-group {
    width: 100%;
    margin-bottom: 0;
}
