* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}
.container {
    margin: 20px auto;
    border-radius: 20px;
    padding: 0;
    background: transparent;
}
select.form-control, input.form-control, label.form-label {
    font-family: 'Tajawal', 'Noto Sans Arabic', 'Arial', sans-serif !important;
}
select.form-control {
    color: #333 !important;
    background-color: #fff !important;
    padding: 5px;
}
.secsub-cont {
    width: 100%;
}

.sec-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.card-header {
    background: linear-gradient(135deg, #c8ac67 0%, #b8966b 100%);
    color: #ffffff;
    padding: 25px 30px;
    margin: 0;
    border: none;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

.card-header h4 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.card-body {
    padding: 40px 30px;
    background: #ffffff;
}

.section-header {
    margin-bottom: 30px;
    margin-top: 20px;
}

.section-header h5 {
    color: #c8ac67;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.section-header h5::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #c8ac67, #b8966b);
    border-radius: 2px;
}

.section-header hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, #c8ac67 0%, transparent 100%);
    margin: 0;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group.row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
}

.form-group label {
    color: #2c3e50;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    display: block;
    position: relative;
}

.col-3 {
    width: 25%;
    padding-right: 15px;
    display: flex;
    align-items: center;
    min-height: 45px;
}

.col-9 {
    width: 75%;
    padding-left: 15px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8ecf0;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #c8ac67;
    box-shadow: 0 0 0 3px rgba(200, 172, 103, 0.1);
    transform: translateY(-2px);
}


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

select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8ac67' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    appearance: none;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.skill-checkbox {
    background: #f8f9fa;
    border: 2px solid #e8ecf0;
    border-radius: 10px;
    padding: 12px ;
    transition: all 0.3s ease;
    position: relative;
}

.skill-checkbox:hover {
    border-color: #c8ac67;
    background: #fdfcfa;
    transform: translateY(-2px);
}

.skill-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
}

.skill-checkbox input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #c8ac67;
    cursor: pointer;
}

.skill-checkbox input[type="checkbox"]:checked + label,
.skill-checkbox:has(input[type="checkbox"]:checked) {
    background: rgba(200, 172, 103, 0.1);
    border-color: #c8ac67;
    color: #c8ac67;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

.text-danger {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.required-icon {
    color: #e74c3c;
    margin-left: 5px;
    font-size: 12px;
}

.btns {
    margin-top: 40px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e8ecf0;
}

.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #c8ac67 0%, #b8966b 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(200, 172, 103, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(200, 172, 103, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.other-field {
    display: none;
    margin-top: 10px;
}

.other-label {
    display: none;
    color: #c8ac67;
    font-weight: 500;
    margin-bottom: 5px;
}

input[type="file"] {
    padding: 10px;
    border: 2px dashed #c8ac67;
    border-radius: 12px;
    background: rgba(200, 172, 103, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    background: rgba(200, 172, 103, 0.1);
    border-color: #b8966b;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    animation: fadeInUp 0.6s ease forwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
.form-group:nth-child(7) { animation-delay: 0.7s; }
.form-group:nth-child(8) { animation-delay: 0.8s; }
.form-group:nth-child(9) { animation-delay: 0.9s; }
.form-group:nth-child(10) { animation-delay: 1.0s; }

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 0;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-header h4 {
        font-size: 22px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .form-group.row {
        flex-direction: column;
    }
    
    .col-3, .col-9 {
        width: 100%;
        padding: 0;
    }
    
    .col-3 {
        margin-bottom: 8px;
        min-height: auto;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .card-header h4 {
        font-size: 18px;
    }
    
    .section-header h5 {
        font-size: 16px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 13px;
    }
}

.form-group:hover .form-control {
    border-color: rgba(200, 172, 103, 0.5);
}

.card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(200, 172, 103, 0.02) 0%, transparent 100%);
    pointer-events: none;
}

.form-control::placeholder {
    color: #95a5a6;
    opacity: 0.8;
}

.notification {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.notification.error {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.notification.success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
}